/*
Theme Name: Professor Felipe Fiani
Theme URI: https://felipefiani.com.br
Author: Professor Felipe Fiani
Description: Tema profissional one-page para apresentação, preceptorias, cursos e materiais didáticos.
Version: 2.14.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: professor-felipe-fiani
*/

:root {
  --ff-bg: #17191b;
  --ff-bg-soft: #1d1f21;
  --ff-panel: #222527;
  --ff-panel-light: #292c2f;
  --ff-mint: #68e0cf;
  --ff-mint-dark: #3cb9a8;
  --ff-white: #f4f4f2;
  --ff-muted: #a2a5a5;
  --ff-line: rgba(255, 255, 255, 0.11);
  --ff-line-strong: rgba(255, 255, 255, 0.2);
  --ff-rail: 124px;
  --ff-shell: min(1180px, calc(100vw - var(--ff-rail) - 96px));
  --ff-shadow: 0 28px 80px rgba(0, 0, 0, 0.36);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 20px; }
body {
  margin: 0;
  color: var(--ff-white);
  background: var(--ff-bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
body.ff-menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
p { color: var(--ff-muted); }
::selection { color: var(--ff-bg); background: var(--ff-mint); }
.screen-reader-text,
.ff-skip-link { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.ff-skip-link:focus { z-index: 9999; top: 12px; left: 12px; width: auto; height: auto; padding: 10px 14px; clip: auto; color: var(--ff-bg); background: var(--ff-mint); }
.ff-shell,
.ff-container { width: var(--ff-shell); margin-inline: auto; }
.ff-main { min-height: 100vh; margin-left: var(--ff-rail); overflow: hidden; }

/* Navegação lateral */
.ff-rail {
  position: fixed;
  z-index: 1000;
  inset: 0 auto 0 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  width: var(--ff-rail);
  background: #121416;
  border-right: 1px solid var(--ff-line);
}
.ff-rail-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  min-height: 88px;
  border-bottom: 1px solid var(--ff-line);
}
.ff-rail-brand span { font-size: 22px; font-weight: 900; letter-spacing: -.06em; }
.ff-rail-brand .ff-brand-f-one { color: var(--ff-white); }
.ff-rail-brand .ff-brand-f-two { color: var(--ff-mint); }
.ff-rail-nav { display: flex; flex: 1; flex-direction: column; justify-content: center; }
.ff-rail-nav a {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 66px;
  padding: 8px;
  color: #777b7c;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
  text-align: center;
  transition: color 180ms ease, background 180ms ease;
}
.ff-rail-nav a::before { position: absolute; right: -1px; top: 50%; width: 3px; height: 0; content: ""; background: var(--ff-mint); transform: translateY(-50%); transition: height 180ms ease; }
.ff-rail-nav a:hover,
.ff-rail-nav a.is-active { color: var(--ff-mint); background: rgba(255, 255, 255, 0.025); }
.ff-rail-nav a.is-active::before { height: 32px; }
.ff-rail-nav small { color: inherit; font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.ff-rail-nav span { margin-top: 2px; font-size: 10.5px; font-weight: 900; line-height: 1.18; letter-spacing: .025em; text-transform: uppercase; }
.ff-rail-socials { display: flex; justify-content: center; gap: 6px; padding: 17px 6px 20px; border-top: 1px solid var(--ff-line); }
.ff-rail-socials a { display: grid; place-items: center; width: 27px; height: 27px; border: 1px solid var(--ff-line); border-radius: 5px; transition: border-color 180ms ease, transform 180ms ease; }
.ff-rail-socials a:hover { border-color: var(--ff-mint); transform: translateY(-2px); }
.ff-rail-socials img { width: 16px; height: 16px; }
.ff-menu-toggle { display: none; }

.ff-corner-brand {
  position: absolute;
  z-index: 20;
  top: 34px;
  left: calc(var(--ff-rail) + 42px);
  display: flex;
  align-items: baseline;
  gap: 10px;
  pointer-events: none;
}
.ff-corner-brand span { color: #fff; font-size: 17px; font-weight: 900; letter-spacing: -.025em; }
.ff-corner-brand small { color: var(--ff-mint); font-size: 9px; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; }
.ff-corner-cta {
  position: absolute;
  z-index: 30;
  top: 25px;
  right: 34px;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  min-height: 50px;
  padding: 0 6px 0 20px;
  color: var(--ff-white);
  border: 1px solid var(--ff-line-strong);
  border-radius: 999px;
  background: rgba(23, 25, 27, 0.75);
  backdrop-filter: blur(12px);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .04em;
}
.ff-corner-cta b { display: grid; place-items: center; width: 38px; height: 38px; color: var(--ff-bg); border-radius: 50%; background: var(--ff-mint); }
.ff-corner-cta b img { width: 21px; height: 21px; }

/* Elementos globais */
.ff-kicker,
.ff-eyebrow { display: inline-block; color: var(--ff-mint); font-size: 11px; font-weight: 900; letter-spacing: .23em; text-transform: uppercase; }
.ff-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 56px;
  padding: 0 24px;
  color: var(--ff-bg);
  border: 1px solid var(--ff-mint);
  border-radius: 2px;
  background: var(--ff-mint);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}
.ff-button:hover { color: var(--ff-mint); background: transparent; transform: translateY(-2px); }
.ff-button-ghost { color: var(--ff-white); border-color: var(--ff-line-strong); background: transparent; }
.ff-button-ghost:hover { color: var(--ff-bg); border-color: var(--ff-mint); background: var(--ff-mint); }
.ff-button-light { color: var(--ff-bg); background: var(--ff-white); border-color: var(--ff-white); }
.ff-text-button,
.ff-text-link { display: inline-flex; align-items: center; gap: 14px; color: var(--ff-white); font-size: 12px; font-weight: 800; letter-spacing: .04em; }
.ff-text-button span,
.ff-text-link span { color: var(--ff-mint); font-size: 18px; }
.ff-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.ff-lead { color: var(--ff-white); font-size: clamp(1.12rem, 1.6vw, 1.38rem); line-height: 1.5; }

/* Hero */
.ff-vhero { position: relative; display: grid; grid-template-columns: minmax(360px, 45%) 1fr; min-height: min(840px, 100vh); background: var(--ff-bg); }
.ff-vhero-gallery { position: relative; min-height: 680px; overflow: hidden; background: radial-gradient(circle at 50% 45%, #2a2e30 0, #1d2022 48%, #151719 76%); }
.ff-vhero-gallery::before { position: absolute; inset: 11% 10%; content: ""; border: 1px solid rgba(104, 224, 207, .12); border-radius: 50%; }
.ff-vhero-gallery > img { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; opacity: 0; object-fit: contain; object-position: center bottom; filter: none; transform: scale(1.015); transition: opacity .8s ease, transform 6s ease; }
.ff-vhero-gallery > img.is-active { opacity: 1; transform: scale(1); }
.ff-vhero-static { background: #000; }
.ff-vhero-static > img { opacity: 1; object-fit: contain; object-position: center; transform: scale(1); }
.ff-vhero-static .ff-home-photo { animation: ff-home-zoom 14s ease-in-out infinite alternate; }
.ff-vhero-shade { position: absolute; z-index: 2; inset: 0; background: linear-gradient(90deg, transparent 82%, var(--ff-bg)), linear-gradient(0deg, rgba(23, 25, 27, .34), transparent 32%); pointer-events: none; }
.ff-slider-dots { position: absolute; z-index: 3; right: 24px; bottom: 30px; display: flex; gap: 8px; }
.ff-slider-dots i { width: 22px; height: 2px; background: rgba(255, 255, 255, .32); transition: width 180ms ease, background 180ms ease; }
.ff-slider-dots i.is-active { width: 42px; background: var(--ff-mint); }
.ff-vhero-copy { position: relative; display: flex; flex-direction: column; justify-content: center; padding: 110px clamp(42px, 5.5vw, 88px) 60px; }
.ff-vhero-number { position: absolute; top: 10%; right: -20px; color: transparent; font-size: clamp(140px, 22vw, 360px); font-weight: 900; line-height: .8; -webkit-text-stroke: 1px rgba(255, 255, 255, .045); pointer-events: none; }
.ff-vhero-copy h1 { position: relative; margin: 16px 0 10px; color: var(--ff-white); font-size: clamp(4rem, 6.3vw, 6.8rem); font-weight: 850; line-height: .86; letter-spacing: -.075em; }
.ff-vhero-copy h1 em { color: var(--ff-mint); font-family: inherit; font-style: normal; font-weight: 850; letter-spacing: -.075em; -webkit-text-stroke: 0; }
.ff-role { min-height: 30px; margin: 18px 0 0; color: var(--ff-mint); font-size: clamp(1.02rem, 1.35vw, 1.28rem); font-weight: 650; }
.ff-role span { display: inline-block; opacity: 1; transform: translateY(0); transition: opacity 220ms ease, transform 220ms ease; }
.ff-role span.is-changing { opacity: 0; transform: translateY(7px); }
.ff-vhero-intro { max-width: 560px; margin: 14px 0 28px; font-size: clamp(.98rem, 1.2vw, 1.08rem); }
.ff-vhero-facts { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 650px; margin-top: 38px; border-top: 1px solid var(--ff-line); }
.ff-vhero-facts div { padding: 22px 20px 0 0; border-right: 1px solid var(--ff-line); }
.ff-vhero-facts div + div { padding-left: 20px; }
.ff-vhero-facts strong { display: block; color: var(--ff-white); font-size: 1.25rem; }
.ff-vhero-facts span { display: block; margin-top: 3px; color: var(--ff-muted); font-size: 10px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.ff-vhero-socials { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 30px; }
.ff-vhero-socials a { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 6px 10px; color: var(--ff-muted); border: 1px solid var(--ff-line); border-radius: 4px; font-size: 10px; font-weight: 850; letter-spacing: .04em; text-transform: uppercase; transition: color 180ms ease, border-color 180ms ease, transform 180ms ease; }
.ff-vhero-socials a:hover { color: var(--ff-white); border-color: var(--ff-mint); transform: translateY(-2px); }
.ff-vhero-socials img { width: 17px; height: 17px; }

@keyframes ff-home-zoom {
  from { transform: scale(1); }
  to { transform: scale(1.055); }
}

/* Seções one-page */
.ff-onepage { background: var(--ff-bg); }
.ff-dark-section { position: relative; padding: clamp(72px, 8vw, 108px) 0; border-top: 1px solid var(--ff-line); }
.ff-section-alt { background: var(--ff-bg-soft); }
.ff-section-head { display: grid; grid-template-columns: 64px minmax(340px, 1fr) minmax(230px, .65fr); gap: 28px; align-items: end; margin-bottom: clamp(42px, 5vw, 62px); }
.ff-section-head > p { margin: 0; }
.ff-section-no { align-self: start; display: block; padding-top: 8px; color: var(--ff-mint); font-family: inherit; font-size: 13px; font-style: normal; font-weight: 800; }
.ff-section-no::after { display: block; width: 36px; height: 1px; margin-top: 14px; content: ""; background: var(--ff-mint); }
.ff-section-head h2 { margin: 10px 0 0; font-size: clamp(2.35rem, 3.7vw, 4.25rem); font-weight: 800; line-height: 1.02; letter-spacing: -.055em; }
.ff-about-grid { display: grid; grid-template-columns: minmax(300px, .78fr) minmax(400px, 1fr); gap: clamp(42px, 5vw, 72px); align-items: center; padding-left: 88px; }
.ff-about-photo { position: relative; min-height: 500px; background: radial-gradient(circle, #2a2e30, transparent 68%); }
.ff-about-photo::before { display: none; }
.ff-about-photo img { position: relative; z-index: 1; width: 100%; height: 500px; object-fit: contain; object-position: center bottom; filter: none; }
.ff-about-photo span { position: absolute; z-index: 2; right: -30px; bottom: 24px; padding: 12px 18px; color: var(--ff-bg); background: var(--ff-mint); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.ff-about-copy > p { max-width: 720px; }
.ff-data-list { margin: 42px 0; border-top: 1px solid var(--ff-line); }
.ff-data-list div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 17px 0; border-bottom: 1px solid var(--ff-line); }
.ff-data-list span { color: var(--ff-muted); font-size: 11px; font-weight: 800; text-transform: uppercase; }
.ff-data-list strong { font-size: 14px; font-weight: 650; }
.ff-about-text-only { display: grid; grid-template-columns: 1.15fr .85fr; gap: 70px; align-items: start; padding-left: 88px; }
.ff-about-text-only .ff-data-list { margin: 0; }

.ff-services-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ff-line); border-left: 1px solid var(--ff-line); }
.ff-service { min-height: 245px; padding: 30px 26px; border-right: 1px solid var(--ff-line); border-bottom: 1px solid var(--ff-line); transition: background 200ms ease, transform 200ms ease; }
.ff-service:hover { z-index: 1; background: var(--ff-panel); transform: translateY(-8px); }
.ff-service > span { color: var(--ff-mint); font-family: inherit; font-size: 12px; font-style: normal; font-weight: 800; }
.ff-service h3 { margin: 44px 0 10px; font-size: 1.28rem; }
.ff-service p { margin: 0; font-size: .92rem; }
.ff-feature-strip { display: grid; grid-template-columns: 1fr 1fr auto; gap: 26px; align-items: center; margin-top: 30px; padding: 25px 28px; border-left: 3px solid var(--ff-mint); background: var(--ff-panel); }
.ff-feature-strip div { display: grid; gap: 5px; }
.ff-feature-strip span { color: var(--ff-mint); font-size: 10px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.ff-feature-strip strong { max-width: 360px; font-size: .92rem; font-weight: 650; }
.ff-feature-strip a { display: inline-flex; align-items: center; gap: 22px; color: var(--ff-mint); font-size: 11px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }

.ff-resume-layout { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(42px, 6vw, 76px); padding-left: 88px; }
.ff-timeline { position: relative; }
.ff-timeline::before { position: absolute; top: 12px; bottom: 12px; left: 120px; width: 1px; content: ""; background: var(--ff-line-strong); }
.ff-timeline article { position: relative; display: grid; grid-template-columns: 96px 1fr; gap: 54px; padding: 0 0 44px; }
.ff-timeline article::before { position: absolute; z-index: 1; top: 7px; left: 115px; width: 11px; height: 11px; content: ""; border: 3px solid var(--ff-bg); border-radius: 50%; background: var(--ff-mint); box-shadow: 0 0 0 1px var(--ff-mint); }
.ff-section-alt .ff-timeline article::before { border-color: var(--ff-bg-soft); }
.ff-timeline time { padding-top: 2px; color: var(--ff-mint); font-size: 10px; font-weight: 900; letter-spacing: .02em; text-align: right; white-space: nowrap; }
.ff-timeline h3 { margin: 0 0 5px; font-size: 1.05rem; line-height: 1.35; }
.ff-timeline p { margin: 0; color: var(--ff-white); font-size: .9rem; }
.ff-timeline p > span { display: block; margin-top: 2px; color: var(--ff-muted); font-size: .8rem; }
.ff-timeline-subitem { display: grid; gap: 2px; margin-top: 18px; padding: 15px 18px; border-left: 2px solid var(--ff-mint); background: rgba(104, 224, 207, .055); }
.ff-timeline-subitem small { color: var(--ff-mint); font-size: 9px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.ff-timeline-subitem strong { color: var(--ff-white); font-size: .88rem; }
.ff-timeline-subitem span { color: var(--ff-muted); font-size: .78rem; }
.ff-timeline-wide { max-width: 900px; margin-left: 88px; }
.ff-section-actions { margin: 18px 0 0 88px; }
.ff-resume-visual { position: relative; align-self: start; margin-top: 10px; }
.ff-resume-visual img { width: 100%; min-height: 560px; object-fit: cover; filter: grayscale(100%) brightness(.78); }
.ff-resume-visual > div { position: absolute; right: -1px; bottom: -1px; display: grid; min-width: 78%; padding: 27px 30px; background: var(--ff-mint); }
.ff-resume-visual strong,
.ff-resume-visual span { color: var(--ff-bg); }
.ff-resume-visual strong { font-size: 1.18rem; }
.ff-resume-visual span { font-family: inherit; font-size: 1rem; font-style: normal; }

.ff-course-panel { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 520px; background: var(--ff-panel); box-shadow: var(--ff-shadow); }
.ff-course-photo { min-height: 500px; overflow: hidden; background: radial-gradient(circle, #303436, #202325 70%); }
.ff-course-photo img { width: 100%; height: 100%; object-fit: contain; object-position: center bottom; filter: none; transition: transform 500ms ease; }
.ff-course-panel:hover .ff-course-photo img { filter: none; transform: scale(1.015); }
.ff-course-content { display: flex; flex-direction: column; justify-content: center; padding: clamp(40px, 5vw, 68px); }
.ff-course-content h3 { margin: 14px 0 18px; font-size: clamp(2.35rem, 3.6vw, 4.1rem); line-height: .98; letter-spacing: -.055em; }
.ff-course-content h3 em { color: var(--ff-mint); font-family: inherit; font-style: normal; font-weight: 800; }
.ff-course-content p { max-width: 560px; }
.ff-course-content ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 34px; padding: 0; list-style: none; }
.ff-course-content li { padding: 7px 11px; color: var(--ff-muted); border: 1px solid var(--ff-line); font-size: 10px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.ff-course-content .ff-button { align-self: flex-start; }
.ff-classroom-wide { position: relative; margin-top: 44px; min-height: 390px; overflow: hidden; }
.ff-classroom-wide img { width: 100%; height: 520px; object-fit: cover; filter: grayscale(100%) brightness(.55); }
.ff-classroom-wide::after { position: absolute; inset: 0; content: ""; background: linear-gradient(90deg, rgba(23, 25, 27, .92), rgba(23, 25, 27, .05)); }
.ff-classroom-wide > div { position: absolute; z-index: 2; top: 50%; left: clamp(36px, 7vw, 90px); display: grid; max-width: 600px; transform: translateY(-50%); }
.ff-classroom-wide span { color: var(--ff-mint); font-size: 10px; font-weight: 900; letter-spacing: .16em; text-transform: uppercase; }
.ff-classroom-wide strong { margin-top: 12px; font-size: clamp(1.8rem, 3vw, 3.3rem); line-height: 1.08; letter-spacing: -.045em; }
.ff-career-list { margin-left: 88px; border-top: 1px solid var(--ff-line); }
.ff-career-company { padding: 5px 0 2px; border-bottom: 1px solid var(--ff-line); }
.ff-career-company > header { display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: center; padding: 22px 0 16px; }
.ff-career-logo { display: grid; place-items: center; width: 52px; height: 52px; overflow: hidden; color: var(--ff-mint); border: 1px solid rgba(104, 224, 207, .25); border-radius: 8px; background: rgba(104, 224, 207, .06); font-size: 11px; font-weight: 950; letter-spacing: .03em; }
.ff-career-logo.is-novo { color: #101817; background: var(--ff-mint); }
.ff-career-logo.is-pimentel { color: #f0c642; border-color: rgba(240, 198, 66, .34); background: rgba(35, 110, 174, .22); font-size: 20px; }
.ff-career-logo.is-ifsp { color: #65c77c; border-color: rgba(101, 199, 124, .28); background: rgba(101, 199, 124, .07); }
.ff-career-logo.is-anhanguera { color: #fff; border-color: rgba(241, 91, 35, .38); background: #e95724; font-size: 18px; }
.ff-career-logo.has-image { padding: 3px; border-color: rgba(255, 255, 255, .18); background: #fff; }
.ff-career-logo img { width: 100%; height: 100%; object-fit: contain; }
.ff-career-company > header h3 { margin: 0; color: var(--ff-white); font-size: 1.08rem; line-height: 1.25; }
.ff-career-company > header p { margin: 3px 0 0; color: var(--ff-muted); font-size: .75rem; }
.ff-career-roles { margin-left: 25px; border-left: 1px solid var(--ff-line-strong); }
.ff-career-roles > div { position: relative; display: grid; grid-template-columns: 155px minmax(0, 1fr); gap: 26px; padding: 5px 0 23px 45px; }
.ff-career-roles > div::before { position: absolute; top: 9px; left: -5px; width: 9px; height: 9px; content: ""; border: 2px solid var(--ff-bg); border-radius: 50%; background: var(--ff-mint); box-shadow: 0 0 0 1px var(--ff-mint); }
.ff-career-roles time { padding-top: 1px; color: var(--ff-mint); font-size: 9px; font-weight: 900; letter-spacing: .035em; text-transform: uppercase; }
.ff-career-roles h4 { margin: 0 0 5px; color: var(--ff-white); font-size: .95rem; line-height: 1.35; }
.ff-career-roles p { max-width: 850px; margin: 0; color: var(--ff-muted); font-size: .8rem; line-height: 1.6; }
.ff-career-compact .ff-career-roles > div { padding-bottom: 18px; }
.ff-classroom-gallery { display: grid; grid-template-columns: 1.3fr .7fr; gap: 18px; margin: 36px 0 0 88px; }
.ff-classroom-gallery figure { position: relative; min-width: 0; margin: 0; overflow: hidden; background: var(--ff-panel); }
.ff-classroom-gallery img { width: 100%; height: 390px; object-fit: cover; filter: saturate(.72) brightness(.78); transition: filter 250ms ease, transform 550ms ease; }
.ff-classroom-gallery figure:hover img { filter: saturate(1) brightness(.88); transform: scale(1.02); }
.ff-classroom-gallery figcaption { position: absolute; right: 14px; bottom: 14px; left: 14px; padding: 10px 13px; color: var(--ff-white); background: rgba(20, 22, 24, .82); backdrop-filter: blur(8px); font-size: 10px; font-weight: 850; letter-spacing: .05em; text-transform: uppercase; }

.ff-products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-left: 88px; }
.ff-product-offer { position: relative; display: flex; flex-direction: column; min-height: 500px; padding: clamp(34px, 4vw, 54px); border: 1px solid var(--ff-line); background: var(--ff-panel); }
.ff-product-offer-featured { border-color: rgba(104, 224, 207, .45); background: linear-gradient(145deg, rgba(104, 224, 207, .07), var(--ff-panel) 55%); }
.ff-product-number { position: absolute; top: 28px; right: 30px; color: rgba(255, 255, 255, .12); font-size: 2.5rem; font-weight: 900; }
.ff-product-offer h3 { max-width: 520px; margin: 22px 0 16px; font-size: clamp(2rem, 3vw, 3rem); line-height: 1.03; letter-spacing: -.045em; }
.ff-product-offer p { max-width: 580px; }
.ff-product-offer ul { display: grid; gap: 8px; margin: 22px 0 32px; padding: 0; list-style: none; }
.ff-product-offer li { color: var(--ff-muted); font-size: .88rem; }
.ff-product-offer li::before { margin-right: 9px; color: var(--ff-mint); content: "✓"; }
.ff-product-offer .ff-button { align-self: flex-start; margin-top: auto; }

.ff-material-panel { display: grid; grid-template-columns: minmax(320px, .8fr) 1.2fr; gap: clamp(42px, 6vw, 76px); align-items: center; padding-left: 88px; }
.ff-material-photo { position: relative; min-height: 470px; background: radial-gradient(circle, #292d2f, transparent 68%); }
.ff-material-photo::after { display: none; }
.ff-material-photo img { position: relative; z-index: 1; width: 100%; height: 470px; object-fit: contain; object-position: center bottom; filter: none; }
.ff-material-types { display: flex; flex-wrap: wrap; gap: 9px; margin: 32px 0; }
.ff-material-types span { padding: 9px 13px; color: var(--ff-mint); border: 1px solid rgba(104, 224, 207, .28); background: rgba(104, 224, 207, .055); font-size: 10px; font-weight: 900; letter-spacing: .07em; text-transform: uppercase; }
.ff-material-panel .ff-button { margin-top: 22px; }
.ff-material-text-only { display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; padding-left: 88px; }
.ff-material-text-only .ff-material-types { margin-top: 0; }

.ff-contact-section { padding-bottom: 120px; background: #141618; }
.ff-contact-layout { display: grid; grid-template-columns: 1.35fr .65fr; gap: clamp(42px, 6vw, 76px); padding-left: 88px; }
.ff-contact-main > p { max-width: 650px; margin: 0 0 44px; font-size: 1.15rem; }
.ff-contact-big { display: flex; align-items: center; justify-content: space-between; padding: 21px 0; border-top: 1px solid var(--ff-line); font-size: clamp(1.15rem, 1.8vw, 1.65rem); font-weight: 700; letter-spacing: -.025em; transition: color 180ms ease, padding 180ms ease; }
.ff-contact-big:last-child { border-bottom: 1px solid var(--ff-line); }
.ff-contact-big b { display: grid; place-items: center; width: 46px; height: 46px; color: var(--ff-bg); border-radius: 50%; background: var(--ff-mint); font-size: 18px; }
.ff-contact-big:hover { padding-left: 12px; color: var(--ff-mint); }
.ff-contact-details { padding: 36px; background: var(--ff-panel); }
.ff-contact-details > div { display: grid; gap: 4px; padding: 0 0 20px; margin-bottom: 20px; border-bottom: 1px solid var(--ff-line); }
.ff-contact-details span { color: var(--ff-mint); font-size: 9px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.ff-contact-details strong { font-size: .93rem; }
.ff-contact-details nav { display: grid; gap: 9px; margin-top: 32px; }
.ff-contact-details nav a { color: var(--ff-muted); font-size: 12px; font-weight: 800; }
.ff-contact-details nav a:hover { color: var(--ff-mint); }
.ff-social-links a { display: flex; align-items: center; gap: 11px; min-height: 39px; padding: 6px 8px; border: 1px solid transparent; border-radius: 5px; transition: color 180ms ease, border-color 180ms ease, background 180ms ease; }
.ff-social-links a:hover { color: var(--ff-white); border-color: var(--ff-line); background: rgba(255, 255, 255, .025); }
.ff-social-links img { width: 21px; height: 21px; flex: 0 0 21px; }

.ff-reveal { opacity: 0; transform: translateY(30px); transition: opacity 700ms ease, transform 700ms cubic-bezier(.2, .8, .2, 1); }
.ff-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* Páginas internas e conteúdo */
.ff-page-hero { position: relative; padding: 130px 0 72px; overflow: hidden; background: var(--ff-bg-soft); border-bottom: 1px solid var(--ff-line); }
.ff-page-hero::after { position: absolute; top: -100px; right: -60px; content: "FF"; color: transparent; font-size: 340px; font-weight: 900; line-height: 1; -webkit-text-stroke: 1px rgba(255, 255, 255, .035); }
.ff-page-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .65fr; gap: 70px; align-items: center; }
.ff-page-hero-grid img { width: 100%; height: 430px; object-fit: contain; object-position: center bottom; filter: none; }
.ff-page-hero h1 { max-width: 930px; margin: 12px 0 18px; font-size: clamp(2.65rem, 4.5vw, 4.8rem); line-height: 1; letter-spacing: -.055em; }
.ff-page-hero p { position: relative; z-index: 1; max-width: 720px; font-size: 1.08rem; }
.ff-page-hero-simple { min-height: 460px; display: flex; align-items: center; }
.ff-section { padding: 76px 0; background: var(--ff-bg); }
.ff-section-light { background: var(--ff-bg); }
.ff-section-heading { display: grid; grid-template-columns: 1.1fr .7fr; gap: 60px; align-items: end; margin-bottom: 60px; }
.ff-section-heading h2,
.ff-content-block h2,
.ff-empty-feature h2 { margin: 10px 0 0; font-size: clamp(2rem, 3vw, 3.1rem); line-height: 1.08; letter-spacing: -.04em; }
.ff-section-heading > p { margin: 0; }
.ff-process-grid,
.ff-contact-grid,
.ff-post-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.ff-contact-grid { grid-template-columns: repeat(3, 1fr); }
.ff-process-grid article,
.ff-contact-grid article,
.ff-post-card { padding: 32px; border: 1px solid var(--ff-line); background: var(--ff-panel); }
.ff-process-grid article > span,
.ff-contact-icon,
.ff-post-card > span { color: var(--ff-mint); font-family: inherit; font-style: normal; }
.ff-process-grid h3,
.ff-contact-grid h2,
.ff-post-card h2 { margin: 42px 0 10px; }
.ff-contact-grid h2 { margin-top: 55px; }
.ff-link-stack { display: grid; gap: 8px; margin-top: 25px; color: var(--ff-mint); font-weight: 800; }
.ff-two-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.ff-large-card { padding: clamp(34px, 4vw, 56px); border: 1px solid var(--ff-line); background: var(--ff-panel); }
.ff-large-card h2 { font-size: clamp(1.8rem, 2.6vw, 2.7rem); line-height: 1.08; }
.ff-large-card-dark { background: #111315; }
.ff-final-cta { padding: 60px 0; background: var(--ff-mint); }
.ff-final-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.ff-final-cta .ff-eyebrow,
.ff-final-cta h2,
.ff-final-cta p { color: var(--ff-bg); }
.ff-final-cta h2 { margin: 10px 0 0; font-size: clamp(1.9rem, 3vw, 3.1rem); line-height: 1.05; }
.ff-final-cta p { margin-bottom: 0; }
.ff-product-card { display: grid; grid-template-columns: 1.1fr .7fr; gap: 48px; align-items: center; padding: clamp(38px, 5vw, 66px); background: var(--ff-panel); }
.ff-product-card h2 { font-size: clamp(2.25rem, 3.8vw, 3.8rem); line-height: 1; letter-spacing: -.05em; }
.ff-check-list { display: grid; gap: 10px; padding: 0; margin: 30px 0; list-style: none; }
.ff-check-list li::before { margin-right: 10px; color: var(--ff-mint); content: "✓"; }
.ff-product-badge { display: grid; place-items: center; min-height: 360px; padding: 45px; color: var(--ff-bg); background: var(--ff-mint); text-align: center; transform: rotate(-2deg); }
.ff-product-badge strong,
.ff-product-badge span,
.ff-product-badge em { display: block; }
.ff-product-badge strong { font-size: 1.2rem; text-transform: uppercase; }
.ff-product-badge span { font-size: 2.2rem; }
.ff-product-badge em { font-family: inherit; font-size: 2.7rem; font-style: normal; font-weight: 800; line-height: 1; }
.ff-empty-feature { padding-block: 64px; text-align: center; }
.ff-empty-feature > p { max-width: 680px; margin-inline: auto; }
.ff-empty-feature .ff-actions { justify-content: center; margin-top: 30px; }
.ff-reading-layout { display: grid; grid-template-columns: 1fr 330px; gap: 80px; align-items: start; }
.ff-prose { max-width: 850px; }
.ff-prose h2 { margin: 60px 0 15px; color: var(--ff-white); font-size: 2rem; }
.ff-prose h2:first-child { margin-top: 0; }
.ff-prose a { color: var(--ff-mint); text-decoration: underline; }
.ff-prose .ff-timeline { margin-top: 30px; }
.ff-prose .ff-timeline::before { display: none; }
.ff-prose .ff-timeline > div { display: grid; gap: 4px; padding: 20px 0; border-bottom: 1px solid var(--ff-line); }
.ff-prose .ff-timeline span { color: var(--ff-mint); font-size: 10px; font-weight: 900; text-transform: uppercase; }
.ff-prose .ff-timeline small { color: var(--ff-muted); }
.ff-side-card { position: sticky; top: 30px; padding: 34px; border-top: 3px solid var(--ff-mint); background: var(--ff-panel); }
.ff-side-card h2 { margin-top: 0; }
.ff-side-card .ff-button { width: 100%; margin-top: 10px; }
.ff-lab-band { background: #121416; }
.ff-split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.ff-rounded-image { width: 100%; min-height: 430px; object-fit: cover; filter: grayscale(100%) brightness(.75); }
.ff-plugin-notice { padding: 50px; border: 1px solid var(--ff-line); background: var(--ff-panel); text-align: center; }
.ff-post-grid { grid-template-columns: repeat(3, 1fr); }
.ff-post-card h2 { font-size: 1.35rem; }

.ff-materials-mode .ff-rail,
.ff-materials-mode .ff-corner-brand,
.ff-materials-mode .ff-corner-cta,
.ff-materials-mode .ff-footer { display: none; }
.ff-materials-mode .ff-main { margin-left: 0; overflow: visible; }
.ff-materials-app-page { min-height: 100vh; background: #0e1011; }
.ff-materials-app-page .ff-plugin-notice { min-height: 100vh; display: grid; place-content: center; }

.ff-footer { margin-left: var(--ff-rail); padding: 36px 0; color: var(--ff-muted); border-top: 1px solid var(--ff-line); background: #101214; }
.ff-footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.ff-footer-inner > div { display: grid; }
.ff-footer strong { color: var(--ff-white); }
.ff-footer span,
.ff-footer p { margin: 0; font-size: 11px; }

@media (max-width: 1180px) {
  :root { --ff-rail: 108px; --ff-shell: min(1040px, calc(100vw - var(--ff-rail) - 56px)); }
  .ff-rail-nav a { min-height: 61px; }
  .ff-about-grid,
  .ff-resume-layout,
  .ff-material-panel,
  .ff-contact-layout { padding-left: 0; }
  .ff-about-text-only,
  .ff-material-text-only { padding-left: 0; }
  .ff-timeline-wide,
  .ff-section-actions,
  .ff-experience-grid,
  .ff-career-list,
  .ff-classroom-gallery,
  .ff-products-grid { margin-left: 0; }
  .ff-section-head { grid-template-columns: 58px 1fr; }
  .ff-section-head > p { grid-column: 2; }
  .ff-services-grid { grid-template-columns: repeat(2, 1fr); }
  .ff-service { min-height: 230px; }
  .ff-service h3 { margin-top: 38px; }
}

@media (max-width: 900px) {
  :root { --ff-rail: 0px; --ff-shell: min(100% - 40px, 760px); }
  html { scroll-padding-top: 75px; }
  .ff-main,
  .ff-footer { margin-left: 0; }
  .ff-rail { inset: 0 0 auto; flex-direction: row; align-items: center; width: 100%; height: 74px; padding: 0 20px; background: rgba(18, 20, 22, .94); backdrop-filter: blur(15px); border-right: 0; border-bottom: 1px solid var(--ff-line); }
  .ff-rail-brand { min-height: 0; margin-right: auto; border: 0; }
  .ff-rail-brand span { width: auto; height: auto; font-size: 22px; }
  .ff-menu-toggle { position: relative; z-index: 4; display: grid; align-content: center; gap: 5px; width: 46px; height: 46px; padding: 10px; color: var(--ff-white); border: 1px solid var(--ff-line); background: transparent; }
  .ff-menu-toggle > span:not(.screen-reader-text) { display: block; width: 23px; height: 1px; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
  .ff-menu-open .ff-menu-toggle > span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .ff-menu-open .ff-menu-toggle > span:nth-child(2) { opacity: 0; }
  .ff-menu-open .ff-menu-toggle > span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
  .ff-rail-nav { position: fixed; z-index: 3; inset: 74px 0 0; display: flex; flex-direction: column; justify-content: center; padding: 30px; opacity: 0; visibility: hidden; background: #121416; transform: translateY(-10px); transition: opacity 200ms ease, visibility 200ms ease, transform 200ms ease; }
  .ff-menu-open .ff-rail-nav { opacity: 1; visibility: visible; transform: translateY(0); }
  .ff-rail-nav a { grid-template-columns: 40px 1fr; place-items: center start; width: min(420px, 100%); min-height: 64px; margin-inline: auto; padding: 8px 18px; border-bottom: 1px solid var(--ff-line); text-align: left; }
  .ff-rail-nav a::before { right: auto; left: 0; }
  .ff-rail-nav span { margin: 0; font-size: 15px; }
  .ff-rail-socials { display: none; }
  .ff-corner-brand { position: fixed; z-index: 1001; top: 21px; left: 76px; }
  .ff-corner-cta { position: fixed; z-index: 1001; top: 14px; right: 82px; min-height: 46px; }
  .ff-corner-cta span { display: none; }
  .ff-corner-cta { padding: 3px; border: 0; background: transparent; }
  .ff-corner-cta b { width: 40px; height: 40px; }
  .ff-vhero { grid-template-columns: 1fr; min-height: auto; padding-top: 74px; }
  .ff-vhero-gallery { min-height: 540px; }
  .ff-vhero-shade { background: linear-gradient(180deg, rgba(10, 11, 12, .05), rgba(23, 25, 27, .96)); }
  .ff-vhero-copy { min-height: 520px; margin-top: -55px; padding: 58px 30px 60px; }
  .ff-vhero-copy h1 { font-size: clamp(3.8rem, 13vw, 5.7rem); }
  .ff-vhero-number { top: 20%; }
  .ff-dark-section { padding: 76px 0; }
  .ff-section-head { grid-template-columns: 44px 1fr; gap: 18px; margin-bottom: 62px; }
  .ff-section-head > p { grid-column: 2; }
  .ff-section-head h2 { font-size: clamp(2.3rem, 7vw, 3.8rem); }
  .ff-about-grid,
  .ff-about-text-only,
  .ff-resume-layout,
  .ff-material-panel,
  .ff-material-text-only,
  .ff-contact-layout,
  .ff-course-panel,
  .ff-page-hero-grid,
  .ff-product-card,
  .ff-reading-layout,
  .ff-split { grid-template-columns: 1fr; }
  .ff-about-photo { max-width: 560px; }
  .ff-about-photo span { right: -1px; }
  .ff-feature-strip { grid-template-columns: 1fr 1fr; }
  .ff-feature-strip a { grid-column: 1 / -1; }
  .ff-resume-visual { max-width: 600px; }
  .ff-course-panel { min-height: 0; }
  .ff-course-photo { min-height: 470px; }
  .ff-course-content { padding: 44px 36px; }
  .ff-material-photo { max-width: 520px; }
  .ff-contact-layout { gap: 55px; }
  .ff-products-grid { grid-template-columns: 1fr; }
  .ff-product-offer { min-height: 440px; }
  .ff-page-hero { padding-top: 145px; }
  .ff-page-hero-grid img { max-height: 480px; }
  .ff-process-grid { grid-template-columns: repeat(2, 1fr); }
  .ff-post-grid { grid-template-columns: repeat(2, 1fr); }
  .ff-side-card { position: static; }
}

@media (max-width: 600px) {
  :root { --ff-shell: calc(100vw - 30px); }
  body { font-size: 15px; }
  .ff-corner-brand span { font-size: 15px; }
  .ff-corner-brand small { display: none; }
  .ff-vhero-gallery { min-height: 430px; }
  .ff-vhero-copy { min-height: 480px; padding-inline: 20px; }
  .ff-vhero-copy h1 { font-size: clamp(3.65rem, 18vw, 4.9rem); }
  .ff-vhero-facts { grid-template-columns: 1fr; }
  .ff-vhero-facts div,
  .ff-vhero-facts div + div { padding: 14px 0; border-right: 0; border-bottom: 1px solid var(--ff-line); }
  .ff-section-head { display: block; }
  .ff-section-no { margin-bottom: 24px; }
  .ff-section-head > p { margin-top: 25px; }
  .ff-about-grid { gap: 55px; }
  .ff-about-text-only,
  .ff-material-text-only { grid-template-columns: 1fr; gap: 38px; }
  .ff-services-grid,
  .ff-feature-strip,
  .ff-process-grid,
  .ff-contact-grid,
  .ff-post-grid,
  .ff-two-cards { grid-template-columns: 1fr; }
  .ff-feature-strip a { grid-column: auto; }
  .ff-service { min-height: 215px; }
  .ff-experience-grid,
  .ff-classroom-gallery { grid-template-columns: 1fr; }
	.ff-career-company > header { grid-template-columns: 46px minmax(0, 1fr); gap: 13px; }
	.ff-career-logo { width: 46px; height: 46px; }
	.ff-career-roles { margin-left: 22px; }
	.ff-career-roles > div { grid-template-columns: 1fr; gap: 3px; padding-left: 34px; }
  .ff-classroom-gallery img { height: 330px; }
  .ff-timeline::before { left: 7px; }
  .ff-timeline article { grid-template-columns: 1fr; gap: 7px; padding-left: 38px; }
  .ff-timeline article::before { left: 2px; }
  .ff-timeline time { text-align: left; }
  .ff-resume-visual img { min-height: 430px; }
  .ff-course-photo { min-height: 390px; }
  .ff-course-content { padding: 42px 24px; }
  .ff-course-content h3 { font-size: 2.35rem; }
  .ff-classroom-wide img { height: 460px; }
  .ff-classroom-wide::after { background: linear-gradient(90deg, rgba(23, 25, 27, .92), rgba(23, 25, 27, .28)); }
  .ff-classroom-wide > div { left: 24px; right: 24px; }
  .ff-material-photo::after { inset: 10px -8px -10px 8px; }
  .ff-contact-details { padding: 28px 24px; }
  .ff-footer-inner,
  .ff-final-cta-inner { align-items: flex-start; flex-direction: column; }
  .ff-page-hero h1 { font-size: 2.7rem; }
  .ff-page-hero-simple { min-height: 430px; }
  .ff-section { padding: 60px 0; }
  .ff-section-heading { grid-template-columns: 1fr; gap: 20px; }
  .ff-product-card { padding: 30px 22px; }
  .ff-product-badge { min-height: 300px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .ff-reveal { opacity: 1; transform: none; }
}

/* Interface 2.5 — composição inspirada no painel de referência */
:root {
  --ff-bg: #080d11;
  --ff-bg-soft: #0c1318;
  --ff-panel: #10171d;
  --ff-panel-light: #151e25;
  --ff-line: rgba(190, 218, 218, .12);
  --ff-line-strong: rgba(190, 218, 218, .22);
  --ff-rail: 150px;
  --ff-topbar: 74px;
  --ff-shell: min(1180px, calc(100vw - var(--ff-rail) - 96px));
}

body { background: radial-gradient(circle at 85% 8%, rgba(104, 224, 207, .065), transparent 28%), var(--ff-bg); font-family: Inter, ui-sans-serif, system-ui, sans-serif; }
html { scroll-padding-top: calc(var(--ff-topbar) + 14px); }
.ff-main { min-height: 100vh; margin-left: var(--ff-rail); padding-top: var(--ff-topbar); transition: margin-left 220ms ease; }
.ff-footer { margin-left: var(--ff-rail); background: #080d11; transition: margin-left 220ms ease; }

.ff-rail {
  z-index: 1200;
  width: var(--ff-rail);
  padding: 0 9px;
  border-color: rgba(190, 218, 218, .12);
  background: linear-gradient(180deg, #090f13, #0b1217 55%, #080d11);
  box-shadow: 12px 0 40px rgba(0, 0, 0, .18);
  transition: width 220ms ease;
}
.ff-rail::after { position: absolute; inset: 0; z-index: -1; content: ""; background: linear-gradient(155deg, transparent 52%, rgba(104, 224, 207, .035)); pointer-events: none; }
.ff-rail-brand { display: none; }
.ff-menu-toggle {
  display: grid;
  align-content: center;
  gap: 5px;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  margin: 13px auto 5px;
  padding: 11px;
  color: var(--ff-white);
  border: 0;
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}
.ff-menu-toggle:hover { color: var(--ff-mint); background: rgba(104, 224, 207, .075); }
.ff-menu-toggle > span:not(.screen-reader-text) { display: block; width: 24px; height: 2px; border-radius: 2px; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
.ff-rail-nav { justify-content: flex-start; gap: 4px; padding: 12px 0 8px; overflow: auto; scrollbar-width: none; }
.ff-rail-nav::-webkit-scrollbar { display: none; }
.ff-rail-nav a {
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  padding: 8px 6px;
  color: #b7c0c1;
  border: 0;
  border-radius: 12px;
  transition: color 180ms ease, background 180ms ease, transform 180ms ease;
}
.ff-rail-nav a::before { top: 9px; bottom: 9px; left: -9px; right: auto; width: 4px; height: auto; border-radius: 0 5px 5px 0; opacity: 0; transform: none; transition: opacity 180ms ease; }
.ff-rail-nav a:hover,
.ff-rail-nav a.is-active { color: var(--ff-mint); background: linear-gradient(90deg, rgba(3, 92, 83, .76), rgba(8, 64, 61, .54)); transform: none; }
.ff-rail-nav a.is-active::before { height: auto; opacity: 1; }
.ff-rail-nav svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ff-rail-nav span { max-width: 120px; margin: 0; color: currentColor; font-size: 10.5px; font-weight: 750; line-height: 1.18; letter-spacing: -.01em; text-transform: none; }
.ff-rail-socials { gap: 7px; padding: 13px 5px 17px; border-color: var(--ff-line); }
.ff-rail-socials a { width: 28px; height: 28px; border-radius: 7px; background: rgba(255, 255, 255, .02); }
.ff-rail-socials img { width: 16px; height: 16px; }

.ff-topbar {
  position: fixed;
  z-index: 1100;
  top: 0;
  right: 0;
  left: var(--ff-rail);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--ff-topbar);
  padding: 0 28px 0 34px;
  border-bottom: 1px solid var(--ff-line);
  background: rgba(8, 13, 17, .9);
  box-shadow: 0 12px 36px rgba(0, 0, 0, .2);
  backdrop-filter: blur(18px);
  transition: left 220ms ease;
}
.ff-topbar-brand { display: flex; gap: 15px; align-items: center; }
.ff-topbar-monogram { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; color: var(--ff-white); font-size: 29px; font-weight: 950; line-height: 1; letter-spacing: -12px; }
.ff-topbar-monogram b { color: var(--ff-white); text-shadow: 4px 0 rgba(255, 255, 255, .22); }
.ff-topbar-monogram i { color: var(--ff-mint); font-style: normal; }
.ff-topbar-brand > strong { color: var(--ff-white); font-size: 18px; font-weight: 850; letter-spacing: -.025em; }
.ff-topbar-brand > small { padding-left: 14px; color: var(--ff-mint); border-left: 1px solid var(--ff-line); font-size: 9px; font-weight: 900; letter-spacing: .22em; text-transform: uppercase; }
.ff-topbar-actions { display: flex; gap: 14px; align-items: center; }
.ff-topbar-labs{display:flex;gap:8px;align-items:center}.ff-topbar-labs a{display:grid;place-items:center;width:44px;height:44px;color:var(--ff-white);border:1px solid var(--ff-line-strong);border-radius:50%;background:rgba(255,255,255,.025);transition:color 180ms ease,border-color 180ms ease,background 180ms ease,transform 180ms ease}.ff-topbar-labs a:hover{color:var(--ff-bg);border-color:var(--ff-mint);background:var(--ff-mint);transform:translateY(-2px)}.ff-topbar-labs svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ff-topbar-labs span{font-family:"Segoe UI Symbol",Inter,sans-serif;font-size:22px;line-height:1}
.ff-topbar-resume { display: inline-flex; gap: 9px; align-items: center; justify-content: center; min-height: 44px; padding: 0 18px; color: var(--ff-white); border: 1px solid var(--ff-line-strong); border-radius: 999px; font-size: 10.5px; font-weight: 850; letter-spacing: .025em; }
.ff-topbar-resume:hover { color: var(--ff-mint); border-color: var(--ff-mint); background: rgba(104, 224, 207, .06); }
.ff-topbar-resume svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ff-topbar-whatsapp { display: inline-flex; gap: 10px; align-items: center; justify-content: center; min-height: 44px; padding: 0 21px; color: var(--ff-white); border: 1px solid var(--ff-mint-dark); border-radius: 999px; font-size: 11px; font-weight: 850; }
.ff-topbar-whatsapp:hover { color: var(--ff-bg); background: var(--ff-mint); }
.ff-topbar-whatsapp img { width: 21px; height: 21px; }
.ff-corner-cta { display: none; }

.ff-vhero {
  grid-template-columns: minmax(390px, 47%) 1fr;
  min-height: calc(100svh - var(--ff-topbar));
  overflow: hidden;
  border-bottom: 1px solid rgba(104, 224, 207, .55);
  background: radial-gradient(circle at 74% 45%, #111b21 0, #0a1116 43%, #070b0e 76%);
}
.ff-vhero-gallery { min-height: calc(100svh - var(--ff-topbar)); background: #000; }
.ff-vhero-gallery::before { inset: 9%; border-color: rgba(104, 224, 207, .09); }
.ff-vhero-static > img { object-fit: contain; object-position: center; }
.ff-vhero-shade { background: linear-gradient(90deg, transparent 76%, #091015), linear-gradient(0deg, rgba(8, 13, 17, .2), transparent 40%); }
.ff-vhero-copy { isolation: isolate; justify-content: center; padding: 54px clamp(38px, 4.5vw, 78px) 42px; }
.ff-vhero-copy::before,
.ff-vhero-copy::after { position: absolute; z-index: -1; content: ""; border: 2px solid rgba(104, 224, 207, .42); border-radius: 34px; transform: rotate(31deg); pointer-events: none; }
.ff-vhero-copy::before { top: 58px; right: -68px; width: 114px; height: 330px; }
.ff-vhero-copy::after { top: 110px; right: -160px; width: 155px; height: 360px; opacity: .42; }
.ff-vhero-number { display: none; }
.ff-vhero-copy h1 { margin: 15px 0 6px; font-size: clamp(4rem, 5.4vw, 6rem); line-height: .86; letter-spacing: -.075em; text-shadow: 0 5px 24px rgba(0, 0, 0, .28); }
.ff-vhero-copy h1 em { color: #37dbc9; }
.ff-role { position: relative; min-height: 42px; margin: 18px 0 0; padding-bottom: 16px; color: var(--ff-white); font-size: clamp(1.05rem, 1.35vw, 1.3rem); font-weight: 800; }
.ff-role::after { position: absolute; bottom: 0; left: 0; width: 72px; height: 3px; border-radius: 3px; content: ""; background: var(--ff-mint); box-shadow: 0 0 15px rgba(104, 224, 207, .35); }
.ff-vhero-intro { max-width: 640px; margin: 17px 0 24px; color: #c9cece; font-size: clamp(.95rem, 1.18vw, 1.08rem); line-height: 1.55; }
.ff-vhero-copy .ff-actions { gap: 13px; }
.ff-hero-whatsapp { min-height: 50px; padding-inline: 21px; border-radius: 9px; background: linear-gradient(135deg, #62e2d0, #28d5c0); box-shadow: 0 12px 30px rgba(31, 184, 164, .16); }
.ff-hero-whatsapp img { width: 21px; height: 21px; }
.ff-hero-whatsapp b { margin-left: 4px; font-size: 18px; }
.ff-hero-secondary { min-height: 50px; padding: 0 22px; color: var(--ff-white); border: 1px solid var(--ff-line-strong); border-radius: 9px; background: rgba(8, 13, 17, .42); font-size: 10px; font-weight: 850; letter-spacing: .035em; }
.ff-hero-secondary:hover { color: var(--ff-mint); border-color: var(--ff-mint); }
.ff-vhero-socials { gap: 9px; margin-top: 22px; }
.ff-vhero-socials a { min-height: 40px; padding: 7px 12px; color: #d3d7d6; border-color: var(--ff-line-strong); border-radius: 8px; background: rgba(13, 20, 25, .74); text-transform: none; }
.ff-vhero-socials a:hover { color: var(--ff-white); background: rgba(104, 224, 207, .08); }
.ff-vhero-socials img { width: 18px; height: 18px; }
.ff-vhero-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 790px; margin-top: 28px; border: 0; }
.ff-vhero-facts > div,
.ff-vhero-facts > div + div { display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 11px; align-items: center; min-height: 105px; padding: 18px; border: 1px solid var(--ff-line-strong); border-radius: 10px; background: linear-gradient(145deg, rgba(20, 30, 37, .92), rgba(10, 15, 20, .9)); box-shadow: inset 0 1px rgba(255, 255, 255, .025); }
.ff-vhero-facts i { display: grid; place-items: center; color: var(--ff-mint); }
.ff-vhero-facts i svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ff-vhero-facts > div > span { display: grid; }
.ff-vhero-facts strong { color: var(--ff-white); font-size: 1.35rem; line-height: 1.05; }
.ff-vhero-facts small { margin-top: 6px; color: #aeb6b6; font-size: 8.5px; font-weight: 800; line-height: 1.25; letter-spacing: .045em; text-transform: uppercase; }

.ff-onepage { background: radial-gradient(circle at 15% 10%, rgba(104, 224, 207, .035), transparent 22%), #080d11; }
.ff-dark-section { padding-block: clamp(68px, 7vw, 96px); background: linear-gradient(135deg, rgba(255, 255, 255, .008), transparent 48%); }
.ff-section-alt { background: linear-gradient(135deg, #0d151a, #0a1015); }
.ff-section-head { margin-bottom: clamp(38px, 4vw, 54px); }
.ff-section-head h2 { font-size: clamp(2.25rem, 3.4vw, 3.85rem); }
.ff-page-hero { padding-top: 92px; }

body.ff-rail-compact { --ff-rail: 88px; }
.ff-rail-compact .ff-rail-nav span { display: none; }
.ff-rail-compact .ff-rail-nav a { min-height: 64px; }
.ff-rail-compact .ff-rail-socials { display: grid; grid-template-columns: 28px 28px; }

.ff-materials-mode .ff-topbar { display: none; }
.ff-materials-mode .ff-main { margin-left: 0; padding-top: 0; }

body.admin-bar .ff-topbar { top: 32px; }
body.admin-bar .ff-rail { top: 32px; }

@media (max-width: 1180px) and (min-width: 901px) {
  :root { --ff-rail: 132px; --ff-shell: min(1040px, calc(100vw - var(--ff-rail) - 54px)); }
  .ff-rail-nav a { min-height: 70px; }
  .ff-vhero { grid-template-columns: minmax(350px, 45%) 1fr; }
  .ff-vhero-copy { padding-inline: 36px; }
  .ff-vhero-copy h1 { font-size: clamp(3.7rem, 5.2vw, 5rem); }
  .ff-vhero-facts > div,
  .ff-vhero-facts > div + div { grid-template-columns: 34px 1fr; padding: 14px; }
  .ff-vhero-facts i svg { width: 29px; height: 29px; }
}

@media (max-width: 900px) {
  :root { --ff-rail: 0px; --ff-shell: min(100% - 40px, 760px); }
  body.ff-rail-compact { --ff-rail: 0px; }
  .ff-main { margin-left: 0; padding-top: 74px; }
  .ff-footer { margin-left: 0; }
  .ff-topbar { display: none; }
  .ff-rail { inset: 0 0 auto; display: flex; flex-direction: row; align-items: center; width: 100%; height: 74px; padding: 0 18px; border-right: 0; border-bottom: 1px solid var(--ff-line); background: rgba(8, 13, 17, .94); backdrop-filter: blur(16px); }
  .ff-rail-brand { display: flex; align-items: center; justify-content: center; gap: 1px; min-height: 0; margin-right: auto; border: 0; }
  .ff-rail-brand span { font-size: 24px; }
  .ff-menu-toggle { flex-basis: 46px; width: 46px; height: 46px; margin: 0 0 0 auto; border: 1px solid var(--ff-line); }
  .ff-rail-nav { position: fixed; z-index: 3; inset: 74px 0 0; display: flex; flex-direction: column; justify-content: center; gap: 2px; padding: 24px; opacity: 0; visibility: hidden; background: #080d11; transform: translateY(-10px); transition: opacity 200ms ease, visibility 200ms ease, transform 200ms ease; }
  .ff-menu-open .ff-rail-nav { opacity: 1; visibility: visible; transform: translateY(0); }
  .ff-rail-nav a { display: grid; grid-template-columns: 34px 1fr; gap: 14px; place-items: center start; width: min(430px, 100%); min-height: 61px; margin-inline: auto; padding: 8px 18px; border-radius: 10px; text-align: left; }
  .ff-rail-nav span,
  .ff-rail-compact .ff-rail-nav span { display: block; max-width: none; font-size: 14px; }
  .ff-rail-socials { position: fixed; z-index: 4; bottom: 25px; left: 50%; display: flex; padding: 12px 15px; opacity: 0; visibility: hidden; border: 1px solid var(--ff-line); border-radius: 12px; background: #0e151a; transform: translate(-50%, 8px); transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease; }
  .ff-menu-open .ff-rail-socials { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
  body.admin-bar .ff-rail { top: 32px; }
  body.admin-bar .ff-rail-nav { top: 106px; }
  body.admin-bar .ff-corner-cta { top: 46px; }
  .ff-corner-cta { position: fixed; z-index: 1201; top: 14px; right: 78px; display: inline-flex; min-height: 46px; padding: 3px; border: 0; background: transparent; }
  .ff-corner-cta span { display: none; }
  .ff-corner-cta b { width: 40px; height: 40px; }
  .ff-vhero { grid-template-columns: 1fr; min-height: auto; }
  .ff-vhero-gallery { min-height: 535px; }
  .ff-vhero-shade { background: linear-gradient(180deg, rgba(8, 13, 17, .02), #080d11 98%); }
  .ff-vhero-copy { min-height: 520px; margin-top: -40px; padding: 54px 30px 58px; }
  .ff-vhero-copy::before { right: -85px; opacity: .55; }
  .ff-vhero-copy::after { display: none; }
  .ff-vhero-copy h1 { font-size: clamp(3.8rem, 13vw, 5.5rem); }
  .ff-vhero-facts { max-width: none; }
  .ff-page-hero { padding-top: 74px; }
}

@media (max-width: 782px) {
  body.admin-bar .ff-topbar { top: 46px; }
  body.admin-bar .ff-rail { top: 46px; }
  body.admin-bar .ff-rail-nav { top: 120px; }
  body.admin-bar .ff-corner-cta { top: 60px; }
}

@media (max-width: 660px) {
  :root { --ff-shell: calc(100vw - 30px); }
  .ff-vhero-gallery { min-height: 440px; }
  .ff-vhero-copy { min-height: 0; padding-inline: 20px; }
  .ff-vhero-copy h1 { font-size: clamp(3.45rem, 17vw, 4.7rem); }
  .ff-vhero-copy .ff-actions { display: grid; grid-template-columns: 1fr; width: 100%; }
  .ff-hero-whatsapp,
  .ff-hero-secondary { width: 100%; }
  .ff-vhero-socials { display: grid; grid-template-columns: 1fr 1fr; }
  .ff-vhero-socials a { justify-content: center; }
  .ff-vhero-facts { grid-template-columns: 1fr; gap: 10px; }
  .ff-vhero-facts > div,
  .ff-vhero-facts > div + div { min-height: 88px; }
}

/* Interface 2.12 — consolidação definitiva da experiência mobile */
@media (max-width: 900px) {
  :root { --ff-topbar: 68px; }

  .ff-main { padding-top: var(--ff-topbar); }
  .ff-rail {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1200;
    width: 100%;
    height: var(--ff-topbar);
    min-height: var(--ff-topbar);
    padding: 0 16px 0 20px;
    overflow: visible;
    background: rgba(8, 13, 17, .97);
    border-bottom: 1px solid rgba(190, 218, 218, .14);
    box-shadow: 0 8px 26px rgba(0, 0, 0, .25);
  }

  .ff-rail-brand { position: relative; z-index: 6; }
  .ff-rail-brand span { font-size: 24px; line-height: 1; }
  .ff-menu-toggle {
    position: relative;
    z-index: 6;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin: 0 0 0 auto;
    padding: 10px;
    color: var(--ff-mint);
    border-color: rgba(104, 224, 207, .22);
    border-radius: 10px;
    background: rgba(104, 224, 207, .045);
  }

  .ff-rail-nav {
    position: fixed;
    inset: var(--ff-topbar) 0 0;
    z-index: 3;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 4px;
    width: 100%;
    height: calc(100dvh - var(--ff-topbar));
    padding: 20px 18px 112px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    opacity: 0;
    visibility: hidden;
    background: linear-gradient(180deg, #080d11, #0b1217);
    transform: translateY(-8px);
    -webkit-overflow-scrolling: touch;
  }
  .ff-menu-open .ff-rail-nav { opacity: 1; visibility: visible; transform: none; }
  .ff-rail-nav a {
    display: grid;
    flex: 0 0 auto;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 15px;
    place-items: center start;
    width: min(460px, 100%);
    min-height: 58px;
    margin: 0 auto;
    padding: 9px 17px;
    border-radius: 10px;
    text-align: left;
  }
  .ff-rail-nav span,
  .ff-rail-compact .ff-rail-nav span {
    display: block;
    max-width: none;
    font-size: 14px;
    font-weight: 850;
    line-height: 1.2;
    letter-spacing: .035em;
    text-transform: uppercase;
  }

  .ff-rail-socials {
    position: fixed;
    z-index: 5;
    right: 18px;
    bottom: max(18px, env(safe-area-inset-bottom));
    left: 18px;
    display: flex;
    justify-content: center;
    width: auto;
    padding: 11px 14px;
    opacity: 0;
    visibility: hidden;
    border: 1px solid var(--ff-line);
    border-radius: 12px;
    background: rgba(14, 21, 26, .98);
    transform: translateY(8px);
  }
  .ff-menu-open .ff-rail-socials { opacity: 1; visibility: visible; transform: none; }

  .ff-corner-cta {
    position: fixed;
    z-index: 1201;
    top: 12px;
    right: 72px;
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    min-height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--ff-mint);
    box-shadow: 0 7px 22px rgba(36, 215, 192, .22);
  }
  .ff-corner-cta b {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 0;
    background: transparent;
    box-shadow: none;
  }
  .ff-corner-cta b img { width: 24px; height: 24px; }

  .ff-vhero { padding-top: 0; }
  .ff-vhero-gallery { min-height: clamp(430px, 72svh, 560px); }
  .ff-vhero-copy {
    z-index: 3;
    min-height: 0;
    margin-top: -148px;
    padding: 54px 24px 54px;
    background: linear-gradient(180deg, transparent, rgba(8, 13, 17, .76) 94px, #080d11 170px);
  }
  .ff-vhero-copy h1,
  .ff-vhero-copy h1 em {
    line-height: .98;
    letter-spacing: -.012em;
  }
  .ff-vhero-copy h1 { font-size: clamp(3.35rem, 14vw, 5rem); }

  .ff-dark-section { padding-block: 64px; }
  .ff-section-head { margin-bottom: 38px; }
  .ff-section-head h2 { font-size: clamp(2.15rem, 9vw, 3.4rem); line-height: 1.03; }
  .ff-about-story { padding-left: 0; }
  .ff-about-copy p { font-size: .94rem; line-height: 1.62; }
  .ff-about-pillars { grid-template-columns: 1fr; }
  .ff-about-pillars article,
  .ff-about-pillars article.is-wide {
    grid-column: auto;
    grid-template-columns: 50px minmax(0, 1fr);
    min-height: 0;
    padding: 18px;
  }
  .ff-products-grid,
  .ff-open-library-grid { grid-template-columns: 1fr; gap: 18px; margin-left: 0; }
  .ff-product-cover { aspect-ratio: 16 / 9; }
  .ff-product-offer-body { padding: 30px 24px; }
  .ff-open-library-card { min-height: 0; padding: 32px 24px; }
}

@media (max-width: 782px) {
  body.admin-bar .ff-rail { top: 46px; }
  body.admin-bar .ff-rail-nav { top: calc(46px + var(--ff-topbar)); height: calc(100dvh - 46px - var(--ff-topbar)); }
  body.admin-bar .ff-corner-cta { top: 58px; }
}

@media (max-width: 480px) {
  :root { --ff-shell: calc(100vw - 28px); }
  .ff-vhero-gallery { min-height: 445px; }
  .ff-vhero-copy { margin-top: -132px; padding: 48px 18px 48px; }
  .ff-vhero-copy h1 { font-size: clamp(3.25rem, 16vw, 4.35rem); }
  .ff-vhero-socials { grid-template-columns: 1fr 1fr; }
  .ff-vhero-facts > div,
  .ff-vhero-facts > div + div { padding: 16px; }
  .ff-section-head { display: block; }
  .ff-section-no { margin-bottom: 18px; }
  .ff-about-pillars article,
  .ff-about-pillars article.is-wide { grid-template-columns: 42px minmax(0, 1fr); gap: 13px; padding: 16px; }
  .ff-about-pillars svg { width: 34px; height: 34px; }
  .ff-product-offer h3 { font-size: 1.9rem; }
}

/* Interface 2.6 — refinamentos mobile, navegação e identidade institucional */
.ff-rail-nav span {
  font-size: 11.5px;
  font-weight: 850;
  line-height: 1.2;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.ff-career-logo.has-image {
  padding: 4px;
  border-color: rgba(255, 255, 255, .2);
  background: #fff;
}
.ff-career-logo.has-image img { border-radius: 3px; }
.ff-career-logo.has-image.is-anhanguera-logo {
  padding: 0;
  border-color: #ff4b1b;
  background: #ff4b1b;
}
.ff-career-logo.has-image.is-anhanguera-logo img { border-radius: 0; }

@media (max-width: 900px) {
  .ff-vhero { padding-top: 0; }
  .ff-rail-nav span,
  .ff-rail-compact .ff-rail-nav span {
    font-size: 14.5px;
    font-weight: 850;
    letter-spacing: .045em;
    text-transform: uppercase;
  }
}

/* Interface 2.7 — menu móvel, conteúdo editorial e produtos */
.ff-vhero-copy h1,
.ff-vhero-copy h1 em {
  line-height: .92;
  letter-spacing: -.045em;
}

.ff-about-story { padding-left: 88px; }
.ff-about-copy { max-width: 980px; }
.ff-about-copy p { margin: 0 0 14px; color: #c6cccb; font-size: .94rem; line-height: 1.58; }
.ff-about-copy .ff-about-highlight { color: var(--ff-mint); font-size: 1.06rem; font-weight: 850; }
.ff-about-pillars { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 30px; }
.ff-about-pillars article { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; align-items: center; min-height: 116px; padding: 19px 21px; border: 1px solid var(--ff-line); border-radius: 10px; background: linear-gradient(145deg, rgba(18, 27, 33, .88), rgba(9, 14, 18, .9)); }
.ff-about-pillars article.is-wide { grid-column: 1 / -1; }
.ff-about-pillars i { display: grid; place-items: center; color: var(--ff-mint); }
.ff-about-pillars svg { width: 43px; height: 43px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.ff-about-pillars svg.ff-about-icon-compact { stroke-width: 1.3; }
.ff-about-pillars h3 { margin: 0 0 5px; color: var(--ff-white); font-size: .9rem; line-height: 1.3; text-transform: uppercase; }
.ff-about-pillars p { margin: 0; color: var(--ff-muted); font-size: .76rem; line-height: 1.5; }

.ff-career-roles > .ff-career-role-no-duration { grid-template-columns: minmax(0, 1fr); gap: 0; }

.ff-product-offer { min-height: 0; padding: 0; overflow: hidden; }
.ff-product-offer-body { position: relative; display: flex; flex: 1; flex-direction: column; padding: clamp(32px, 3.6vw, 48px); }
.ff-product-offer-body .ff-product-number { top: 25px; right: 27px; }
.ff-product-cover { aspect-ratio: 16 / 9; margin: 0; overflow: hidden; border-bottom: 1px solid var(--ff-line); background: #073f40; }
.ff-product-cover img { width: 100%; height: 100%; object-fit: cover; transition: transform 500ms ease; }
.ff-product-cover-preceptoria img { object-position: center center; }
.ff-product-offer:hover .ff-product-cover img { transform: scale(1.015); }
.ff-product-lead { color: #d7dcdb; font-size: .98rem; }
.ff-product-offer li { padding-left: 1px; line-height: 1.55; }
.ff-product-offer li strong { color: var(--ff-white); }
.ff-product-price { display: flex; gap: 10px; align-items: baseline; margin: 2px 0 13px; }
.ff-product-price strong { color: var(--ff-mint); font-size: 1.85rem; line-height: 1; letter-spacing: -.04em; }
.ff-product-price span { color: var(--ff-white); font-size: .82rem; font-weight: 750; text-transform: uppercase; }

.ff-open-library-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-left: 88px; }
.ff-open-library-card { position: relative; display: flex; flex-direction: column; min-height: 440px; padding: clamp(32px, 4vw, 50px); overflow: hidden; border: 1px solid var(--ff-line); background: linear-gradient(145deg, rgba(17, 24, 29, .95), rgba(9, 14, 18, .95)); }
.ff-open-library-card::after { position: absolute; right: -70px; bottom: -90px; width: 220px; height: 220px; content: ""; border: 1px solid rgba(104, 224, 207, .16); border-radius: 50%; }
.ff-open-library-card.is-youtube { border-color: rgba(104, 224, 207, .32); }
.ff-open-library-icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 23px; border: 1px solid rgba(104, 224, 207, .28); border-radius: 12px; background: rgba(104, 224, 207, .08); }
.ff-open-library-icon img { width: 29px; height: 29px; }
.ff-open-library-card h3 { max-width: 520px; margin: 18px 0 13px; color: var(--ff-white); font-size: clamp(1.75rem, 2.5vw, 2.65rem); line-height: 1.05; letter-spacing: -.04em; }
.ff-open-library-card p { position: relative; z-index: 1; margin: 0 0 20px; font-size: .9rem; line-height: 1.6; }
.ff-open-library-card .ff-material-types { position: relative; z-index: 1; margin: 4px 0 28px; }
.ff-open-library-card .ff-button { position: relative; z-index: 1; align-self: flex-start; margin-top: auto; }

@media (max-width: 1180px) {
  .ff-about-story,
  .ff-open-library-grid { margin-left: 0; padding-left: 0; }
}

@media (max-width: 900px) {
  .ff-rail { overflow: visible; background: #080d11; backdrop-filter: none; }
  .ff-rail-nav {
    position: fixed;
    top: 74px;
    right: 0;
    bottom: auto;
    left: 0;
    display: flex;
    height: calc(100svh - 74px);
    padding: 18px 22px 105px;
    overflow-y: auto;
    justify-content: flex-start;
    background: #080d11;
  }
  .ff-rail-nav a { flex: 0 0 auto; width: min(430px, 100%); min-height: 58px; }
  .ff-rail-socials { position: fixed; z-index: 5; }
  body.admin-bar .ff-rail-nav { top: 106px; height: calc(100svh - 106px); }
  .ff-corner-cta b { border: 1px solid var(--ff-mint); background: #0c171b; box-shadow: 0 0 0 4px rgba(104, 224, 207, .07); }
  .ff-corner-cta b img { width: 22px; height: 22px; }
  .ff-about-story { padding-left: 0; }
  .ff-products-grid,
  .ff-open-library-grid { grid-template-columns: 1fr; margin-left: 0; }
}

@media (max-width: 782px) {
  body.admin-bar .ff-rail-nav { top: 120px; height: calc(100svh - 120px); }
}

@media (max-width: 660px) {
  .ff-vhero-copy h1,
  .ff-vhero-copy h1 em { line-height: .96; letter-spacing: -.025em; }
  .ff-about-pillars { grid-template-columns: 1fr; }
  .ff-about-pillars article,
  .ff-about-pillars article.is-wide { grid-column: auto; grid-template-columns: 48px minmax(0, 1fr); padding: 17px; }
  .ff-about-pillars svg { width: 38px; height: 38px; }
  .ff-product-offer-body { padding: 30px 22px; }
  .ff-product-offer h3 { font-size: 2rem; }
  .ff-open-library-card { min-height: 400px; padding: 30px 22px; }
}

@media (max-width: 660px) {
  .ff-vhero-gallery { min-height: 440px; }
  .ff-vhero-shade {
    background: linear-gradient(180deg, transparent 48%, rgba(8, 13, 17, .2) 66%, rgba(8, 13, 17, .86) 92%, #080d11 100%);
  }
  .ff-vhero-copy {
    z-index: 3;
    min-height: 0;
    margin-top: -190px;
    padding: 72px 20px 54px;
    background: linear-gradient(180deg, transparent 0, rgba(8, 13, 17, .48) 52px, rgba(8, 13, 17, .96) 178px, #080d11 230px);
  }
  .ff-vhero-copy > .ff-kicker {
    text-shadow: 0 2px 12px #000, 0 0 20px rgba(0, 0, 0, .9);
  }
  .ff-vhero-copy h1 {
    margin-top: 12px;
    text-shadow: 0 5px 25px rgba(0, 0, 0, .92);
  }
}

/* 2.12 deve permanecer por último: neutraliza regras responsivas legadas. */
@media (max-width: 900px) {
  :root { --ff-topbar: 68px; }
  .ff-main { padding-top: var(--ff-topbar); }
  .ff-rail { height: var(--ff-topbar); min-height: var(--ff-topbar); padding: 0 16px 0 20px; overflow: visible; }
  .ff-menu-toggle { width: 44px; height: 44px; color: var(--ff-mint); border-color: rgba(104, 224, 207, .22); background: rgba(104, 224, 207, .045); }
  .ff-rail-nav {
    inset: var(--ff-topbar) 0 0;
    height: calc(100dvh - var(--ff-topbar));
    padding: 20px 18px 112px;
    overflow-x: hidden;
    overflow-y: auto;
    justify-content: flex-start;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
  }
  .ff-rail-nav a { flex: 0 0 auto; width: min(460px, 100%); min-height: 58px; }
  .ff-rail-nav span,
  .ff-rail-compact .ff-rail-nav span { display: block; font-size: 14px; line-height: 1.2; letter-spacing: .035em; }
  .ff-rail-socials { right: 18px; bottom: max(18px, env(safe-area-inset-bottom)); left: 18px; justify-content: center; width: auto; }
  .ff-corner-cta { top: 12px; right: 72px; width: 44px; height: 44px; min-height: 44px; padding: 0; border-radius: 50%; background: var(--ff-mint); box-shadow: 0 7px 22px rgba(36, 215, 192, .22); }
  .ff-corner-cta b { width: 44px; height: 44px; border: 0; background: transparent; box-shadow: none; }
  .ff-corner-cta b img { width: 24px; height: 24px; }
  .ff-vhero-gallery { min-height: clamp(430px, 72svh, 560px); }
  .ff-vhero-copy { min-height: 0; margin-top: -148px; padding: 54px 24px; background: linear-gradient(180deg, transparent, rgba(8, 13, 17, .76) 94px, #080d11 170px); }
  .ff-vhero-copy h1,
  .ff-vhero-copy h1 em { line-height: .98; letter-spacing: -.012em; }
  .ff-vhero-copy h1 { font-size: clamp(3.35rem, 14vw, 5rem); }
  .ff-about-pillars { grid-template-columns: 1fr; }
  .ff-about-pillars article,
  .ff-about-pillars article.is-wide { grid-column: auto; min-height: 0; }
  .ff-products-grid,
  .ff-open-library-grid { grid-template-columns: 1fr; gap: 18px; margin-left: 0; }
  .ff-open-library-card { min-height: 0; }
}

@media (max-width: 782px) {
  body.admin-bar .ff-rail-nav { top: calc(46px + var(--ff-topbar)); height: calc(100dvh - 46px - var(--ff-topbar)); }
  body.admin-bar .ff-corner-cta { top: 58px; }
}

@media (max-width: 480px) {
  .ff-vhero-gallery { min-height: 445px; }
  .ff-vhero-copy { margin-top: -132px; padding: 48px 18px; }
  .ff-vhero-copy h1 { font-size: clamp(3.25rem, 16vw, 4.35rem); }
}
.ff-mobile-labs{display:none}
@media(max-width:900px){.ff-mobile-labs{position:relative;z-index:6;display:flex;gap:7px;margin-left:auto}.ff-mobile-labs a{display:grid;place-items:center;width:38px;height:38px;color:var(--ff-mint);border:1px solid rgba(104,224,207,.24);border-radius:50%;background:rgba(104,224,207,.05)}.ff-mobile-labs svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.ff-mobile-labs span{font-family:"Segoe UI Symbol",Inter,sans-serif;font-size:20px}.ff-menu-toggle{margin-left:8px!important}}
