/* ==========================================================================
   FÁBIO ALEX PORANGA | SEGURANÇA DO TRABALHO — Industrial Orange
   ========================================================================== */

:root {
  --orange: #F47721;
  --orange-600: #E0650F;
  --orange-soft: rgba(244, 119, 33, .12);
  --black: #17191D;
  --black-2: #1E2025;
  --graphite: #41454C;
  --graphite-2: #2A2D33;
  --ice: #F5F5F2;
  --white: #FFFFFF;
  --text-dark: #17191D;
  --text-muted-dark: #555A62;
  --text-light: #F5F5F2;
  --text-muted-light: #B9BCC2;

  --ff-display: "Barlow Condensed", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --ff-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 18px 40px -18px rgba(0, 0, 0, .45);
  --shadow-soft: 0 10px 30px -12px rgba(23, 25, 29, .18);
  --ease: cubic-bezier(.22, .8, .24, 1);
  --header-h: 76px;
  --container: 1200px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 66px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-dark);
  background: var(--ice);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.08; }
p { margin: 0; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }

.skip-link {
  position: fixed; left: 1rem; top: -100px; z-index: 1000;
  background: var(--orange); color: var(--black); padding: .7rem 1rem; border-radius: 8px; font-weight: 700;
}
.skip-link:focus { top: 1rem; }

.accent { color: var(--orange); }

/* ---------- Scroll progress ---------- */
.scroll-progress { position: fixed; inset: 0 0 auto 0; height: 3px; z-index: 200; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; background: var(--orange); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Buttons ---------- */
.btn {
  --bg: var(--orange); --fg: var(--black);
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: .9rem 1.5rem; border-radius: 10px;
  font-family: var(--ff-display); font-weight: 700; font-size: 1.08rem; letter-spacing: .06em; text-transform: uppercase;
  background: var(--bg); color: var(--fg); border: 2px solid var(--bg);
  overflow: hidden; isolation: isolate;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s, color .25s, border-color .25s;
}
.btn::after { /* brilho na passagem do mouse */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .6s var(--ease);
}
.btn:hover::after { transform: translateX(120%); }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn__icon { width: 1.25em; height: 1.25em; flex: none; }
.btn--primary { box-shadow: 0 10px 24px -10px rgba(244,119,33,.7); }
.btn--primary:hover { --bg: #FF8A3A; box-shadow: 0 16px 30px -12px rgba(244,119,33,.85); }
.btn--ghost { --bg: transparent; --fg: var(--white); border-color: rgba(255,255,255,.45); backdrop-filter: blur(4px); }
.btn--ghost:hover { border-color: var(--orange); color: var(--orange); }
.btn--ghost:hover .btn__icon--arrow { animation: nudge .8s var(--ease) infinite; }
.btn--outline-dark { --bg: transparent; --fg: var(--black); border-color: rgba(23,25,29,.25); }
.btn--outline-dark:hover { border-color: var(--black); }
.btn--outline-light { --bg: transparent; --fg: var(--ice); border-color: rgba(245,245,242,.3); }
.btn--outline-light:hover { border-color: var(--orange); color: var(--orange); }
.btn--sm { padding: .6rem 1.05rem; font-size: .95rem; }
.btn--whatsapp { --bg: #25D366; --fg: #FFFFFF; box-shadow: 0 10px 24px -10px rgba(37,211,102,.6); }
.btn--whatsapp:hover { --bg: #2EE277; box-shadow: 0 16px 30px -12px rgba(37,211,102,.75); }
.btn--linkedin { --bg: #0A66C2; --fg: #FFFFFF; box-shadow: 0 10px 24px -10px rgba(10,102,194,.7); }
.btn--linkedin:hover { --bg: #0B76E0; box-shadow: 0 16px 30px -12px rgba(10,102,194,.85); }
.btn--lg { padding: 1.05rem 1.8rem; font-size: 1.15rem; }
@keyframes nudge { 50% { transform: translateY(3px); } }

/* ---------- Eyebrow / headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-family: var(--ff-display); font-weight: 700; font-size: .95rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--orange);
}
.eyebrow__bar { width: 34px; height: 4px; background: var(--orange); border-radius: 2px; position: relative; }
.eyebrow__bar::after { content: ""; position: absolute; right: -8px; top: 0; width: 4px; height: 4px; background: var(--orange); border-radius: 2px; }
.eyebrow--center { justify-content: center; }

.section { position: relative; padding: clamp(4.5rem, 9vw, 7.5rem) 0; }
.section--light { background: var(--ice); color: var(--text-dark); }
.section--dark { background: var(--black); color: var(--text-light); }
.section--graphite { background: var(--graphite-2); color: var(--text-light); }
.section__head { max-width: 760px; margin-bottom: clamp(2.5rem, 5vw, 3.5rem); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__title {
  margin-top: .8rem;
  font-family: var(--ff-display); font-weight: 800; text-transform: uppercase; letter-spacing: .01em;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
}
.section__title--xl { font-size: clamp(2.5rem, 6.2vw, 4.6rem); }
.section__desc { margin-top: 1rem; font-size: 1.08rem; color: var(--text-muted-dark); }
.section--dark .section__desc, .section--graphite .section__desc { color: var(--text-muted-light); }
.lead { font-size: 1.12rem; color: var(--text-muted-dark); margin-top: 1.2rem; }

/* ---------- Hazard strip ---------- */
.hazard-strip {
  height: 12px;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 18px, var(--black) 18px 36px);
}
.hazard-strip--thin { height: 6px; }

/* ==========================================================================
   HEADER
   ========================================================================== */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--header-h);
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease), height .35s var(--ease);
}
.header.is-scrolled {
  background: rgba(23, 25, 29, .92);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 10px 30px -15px rgba(0,0,0,.6);
  --header-h: 66px;
}
.header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }

.brand { display: flex; align-items: center; gap: .75rem; color: var(--white); }
.brand__logo { width: 42px; height: 47px; flex: none; filter: drop-shadow(0 6px 14px rgba(244,119,33,.35)); transition: transform .45s var(--ease); }
.brand:hover .brand__logo { transform: translateY(-2px) rotate(-6deg); }
.brand__text { display: flex; flex-direction: column; line-height: 1.05; }
.brand__text strong { font-family: var(--ff-display); font-weight: 800; font-size: 1.5rem; text-transform: uppercase; letter-spacing: .05em; }
.brand__text small { margin-top: .2rem; font-family: var(--ff-display); font-weight: 700; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange); }
.brand--footer .brand__logo { filter: none; }

.nav { display: flex; align-items: center; gap: 1.5rem; }
.nav__cta, .nav__li { white-space: nowrap; }
.brand__text small { white-space: nowrap; }
.nav__actions { display: flex; align-items: center; gap: .6rem; }
.nav__li { width: 44px; height: 44px; padding: 0; }
.nav__li .btn__icon { width: 20px; height: 20px; }
.nav__li-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nav__list { display: flex; gap: 1.3rem; }
.nav__link {
  position: relative; color: rgba(255,255,255,.85); font-weight: 500; font-size: .95rem; padding: .4rem 0;
  transition: color .25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--orange);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease);
}
.nav__link:hover, .nav__link.is-active { color: var(--white); }
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; width: 46px; height: 46px; border-radius: 10px; position: relative; background: rgba(255,255,255,.06); }
.burger span {
  position: absolute; left: 12px; right: 12px; height: 2px; background: var(--white); border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s;
}
.burger span:nth-child(1) { top: 16px; }
.burger span:nth-child(2) { top: 22px; }
.burger span:nth-child(3) { top: 28px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; color: var(--white); overflow: hidden; background: var(--black);
  padding: calc(var(--header-h) + 3rem) 0 6rem;
}
.hero__bg {
  position: absolute; inset: -4%;
  background: url("assets/img/hero-industrial.svg") center / cover no-repeat;
  animation: heroZoom 22s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.07) translate(-1%, -1%); } }
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(23,25,29,.95) 0%, rgba(23,25,29,.82) 38%, rgba(23,25,29,.35) 75%, rgba(23,25,29,.55) 100%),
    linear-gradient(0deg, rgba(23,25,29,.9) 0%, transparent 35%);
}
.hero__content { position: relative; z-index: 2; }
.hero__content > * { max-width: 660px; }

/* Foto do Fábio na abertura */
.hero__photo { position: absolute; top: 0; right: 0; bottom: 0; width: 56%; z-index: 1; overflow: hidden; }
.hero__photo { -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 34%); mask-image: linear-gradient(90deg, transparent 0%, #000 34%); }
.hero__photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: 62% 18%;
  animation: photoIn 1.4s var(--ease) .1s both;
}
@keyframes photoIn { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }
.hero__fade {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg, #17191D 0%, rgba(23,25,29,.97) 38%, rgba(23,25,29,.55) 52%, rgba(23,25,29,.08) 66%, rgba(23,25,29,0) 78%),
    linear-gradient(0deg, rgba(23,25,29,.95) 0%, rgba(23,25,29,0) 26%),
    linear-gradient(180deg, rgba(23,25,29,.75) 0%, rgba(23,25,29,0) 16%),
    radial-gradient(ellipse at 78% 40%, rgba(244,119,33,.10), transparent 55%);
}
.hero__title {
  margin: 1.2rem 0 1.4rem;
  font-family: var(--ff-display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(2.9rem, 5.4vw, 5.6rem); line-height: .95; letter-spacing: .005em;
}
.hero__line { display: block; }
.hero__line--accent { color: var(--orange); }
.hero__subtitle { max-width: 560px; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: rgba(255,255,255,.85); }

.hero__id {
  display: inline-flex; align-items: center; gap: .9rem; margin-top: 2rem;
  padding: .85rem 1.2rem .85rem .9rem; border-left: 4px solid var(--orange);
  background: rgba(255,255,255,.06); border-radius: 0 12px 12px 0;
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero__id-icon { width: 40px; height: 40px; color: var(--orange); }
.hero__id strong { display: block; font-family: var(--ff-display); font-size: 1.35rem; letter-spacing: .05em; text-transform: uppercase; }
.hero__id span { font-size: .92rem; color: rgba(255,255,255,.75); }

.hero__chips { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: 1.6rem; max-width: 720px; }
.hero__chips li {
  display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .85rem .45rem .6rem; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); font-size: .9rem; font-weight: 600; color: rgba(255,255,255,.92);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.hero__chips svg { width: 18px; height: 18px; padding: 3px; border-radius: 50%; background: var(--orange); color: var(--black); flex: none; }
.hero__stat { display: flex; align-items: center; gap: .6rem; margin-left: .6rem; padding-left: 1.2rem; border-left: 1px solid rgba(255,255,255,.18); }
.hero__stat strong { font-family: var(--ff-display); font-weight: 800; font-size: 2.9rem; line-height: .9; color: var(--orange); }
.hero__stat span { font-family: var(--ff-display); font-weight: 700; font-size: .95rem; text-transform: uppercase; letter-spacing: .08em; line-height: 1.1; color: rgba(255,255,255,.85); }
.hero__stat strong .counter, .about__badge strong .counter { font: inherit; color: inherit; letter-spacing: 0; text-transform: none; }
.hero__stat strong { display: inline; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.2rem; }

.hero__anim { opacity: 0; transform: translateY(26px); animation: heroIn .9s var(--ease) forwards; animation-delay: calc(.15s + var(--d) * .13s); }
@keyframes heroIn { to { opacity: 1; transform: none; } }

.hero__credit {
  position: absolute; right: 1.25rem; bottom: 1.6rem; z-index: 2;
  font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.55);
}
.hero__scroll {
  position: absolute; left: 50%; bottom: 2rem; z-index: 2; translate: -50% 0;
  width: 28px; height: 46px; border: 2px solid rgba(255,255,255,.5); border-radius: 16px;
}
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 9px; margin-left: -2px; border-radius: 2px; background: var(--orange); animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
.hero > .hazard-strip { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; }

/* ==========================================================================
   REVEAL
   ========================================================================== */
.reveal { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--rd, 0s); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   SOBRE
   ========================================================================== */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.about__media { position: relative; isolation: isolate; }
.about__media::before { /* bloco listrado deslocado */
  content: ""; position: absolute; inset: 26px -26px -26px 26px; z-index: -1; border-radius: var(--radius);
  background: repeating-linear-gradient(-45deg, rgba(244,119,33,.22) 0 12px, transparent 12px 24px);
}
.about__frame { /* cantoneiras laranja */
  position: absolute; inset: -14px; z-index: 2; pointer-events: none;
  background:
    linear-gradient(var(--orange), var(--orange)) top left / 70px 5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) top left / 5px 70px no-repeat,
    linear-gradient(var(--orange), var(--orange)) bottom right / 70px 5px no-repeat,
    linear-gradient(var(--orange), var(--orange)) bottom right / 5px 70px no-repeat;
}
.about__photo.has-photo { background: var(--black); }
.about__photo.has-photo::before { border: 0; inset: 0; border-radius: 0; z-index: 1; background: linear-gradient(0deg, rgba(23,25,29,.55) 0%, rgba(23,25,29,0) 35%); }
.about__photo picture { display: block; width: 100%; height: 100%; }
.about__photo.has-photo img { object-position: 32% 18%; transform: scale(1.1); transition: transform 1.6s var(--ease); }
.about__media.reveal .about__photo { clip-path: inset(10% 10% 10% 10% round 14px); transition: clip-path 1.2s var(--ease); }
.about__media.is-visible .about__photo { clip-path: inset(0 0 0 0 round 14px); }
.about__media.is-visible .about__photo.has-photo img { transform: scale(1); }
.about__media:hover .about__photo.has-photo img { transform: scale(1.03); }
.about__photo {
  margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; position: relative;
  background: linear-gradient(145deg, var(--graphite) 0%, var(--black) 100%);
  box-shadow: var(--shadow);
}
.about__photo::before { /* moldura laranja */
  content: ""; position: absolute; inset: 14px; border: 2px dashed rgba(244,119,33,.45); border-radius: 10px; pointer-events: none; z-index: 2;
}
.about__photo img { width: 100%; height: 100%; object-fit: cover; }
.placeholder { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 1rem; padding: 2rem; text-align: center; color: rgba(245,245,242,.65); font-size: .95rem; }
.placeholder svg { width: 96px; color: var(--orange); opacity: .85; }
.about__badge {
  position: absolute; z-index: 3; right: -18px; bottom: 28px; display: flex; align-items: center; gap: .9rem;
  padding: 1rem 1.3rem; border-radius: 14px; background: var(--orange); color: var(--black);
  font-family: var(--ff-display); font-weight: 700; text-transform: uppercase; line-height: 1.1; letter-spacing: .04em;
  box-shadow: var(--shadow);
}
.about__badge strong { font-size: 3.4rem; font-weight: 800; line-height: .9; }
.about__badge span { font-size: .95rem; }
.text-strong { color: var(--text-dark); font-weight: 700; }
.subhead { margin-top: 2.2rem; font-family: var(--ff-display); font-weight: 700; font-size: 1.25rem; text-transform: uppercase; letter-spacing: .12em; display: flex; align-items: center; gap: .7rem; }
.subhead::after { content: ""; flex: 1; height: 1px; background: rgba(23,25,29,.12); }

/* Qualificações */
.quals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; margin-top: 1.1rem; }
.qual {
  position: relative; display: flex; gap: .9rem; align-items: center; padding: 1rem 1.1rem; border-radius: var(--radius-sm);
  background: var(--white); border: 1px solid rgba(23,25,29,.08); box-shadow: var(--shadow-soft); overflow: hidden;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
}
.qual::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--orange); transform: scaleY(.35); transition: transform .45s var(--ease); }
.qual:hover { transform: translateY(-4px); border-color: rgba(244,119,33,.45); box-shadow: 0 18px 34px -18px rgba(23,25,29,.35); }
.qual:hover::before { transform: scaleY(1); }
.qual__icon { flex: none; width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center; background: var(--black); color: var(--orange); transition: background-color .3s, color .3s; }
.qual:hover .qual__icon { background: var(--orange); color: var(--black); }
.qual__icon svg { width: 26px; height: 26px; }
.qual__type { display: block; font-size: .72rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-600); }
.qual__title { display: block; font-weight: 700; font-size: .95rem; line-height: 1.3; margin-top: .1rem; }

.checklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .8rem 1.4rem; margin-top: 1.8rem; }
.checklist li { position: relative; padding-left: 2rem; font-weight: 600; }
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .2em; width: 1.3rem; height: 1.3rem; border-radius: 6px;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%2317191D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}

.credentials { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; margin-top: 2.2rem; }
.credentials:empty { display: none; }
.cred {
  padding: 1.1rem 1.1rem 1.2rem; border-radius: var(--radius-sm); background: var(--white);
  border: 1px solid rgba(23,25,29,.08); box-shadow: var(--shadow-soft);
}
.cred h3 { font-family: var(--ff-display); font-size: 1.1rem; text-transform: uppercase; letter-spacing: .06em; display: flex; align-items: center; gap: .5rem; }
.cred h3::before { flex: none; content: ""; width: 10px; height: 10px; background: var(--orange); border-radius: 3px; }
.cred ul { margin-top: .6rem; font-size: .92rem; color: var(--text-muted-dark); display: grid; gap: .3rem; }
.cred--pending { border-style: dashed; border-color: rgba(23,25,29,.2); background: transparent; box-shadow: none; }
.cred--pending ul { font-style: italic; }

/* ==========================================================================
   TREINAMENTOS
   ========================================================================== */
.trainings { overflow: hidden; }
.trainings::before { /* textura de grade */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 30%, transparent 75%);
}
.trainings .container { position: relative; }

.cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.card {
  position: relative; display: flex; flex-direction: column;
  border-radius: var(--radius); background: linear-gradient(180deg, var(--black-2) 0%, #191B1F 100%);
  border: 1px solid rgba(255,255,255,.07); overflow: hidden;
  transition: transform .45s var(--ease), border-color .35s, box-shadow .45s var(--ease);
}
.card:hover, .card:focus-within { transform: translateY(-8px); border-color: rgba(244,119,33,.55); box-shadow: 0 26px 50px -24px rgba(244,119,33,.45); }

/* Mídia (foto ou ícone) */
.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--graphite-2); isolation: isolate; }
.card__media picture, .card__media img { display: block; width: 100%; height: 100%; }
.card__media img { object-fit: cover; transform: scale(1.001); transition: transform .9s var(--ease), filter .5s; filter: saturate(.95); }
.card:hover .card__media img, .card:focus-within .card__media img { transform: scale(1.06); filter: saturate(1.05); }
.card__media::after { /* degradê para o código da NR */
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(0deg, rgba(23,25,29,.92) 0%, rgba(23,25,29,.35) 38%, rgba(23,25,29,0) 62%),
              linear-gradient(180deg, rgba(23,25,29,.45) 0%, rgba(23,25,29,0) 26%);
}
.card__media::before { /* faixa de sinalização inferior */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; z-index: 2;
  background: repeating-linear-gradient(-45deg, var(--orange) 0 10px, var(--black) 10px 20px);
  transform: scaleX(.22); transform-origin: left; transition: transform .6s var(--ease);
}
.card:hover .card__media::before, .card:focus-within .card__media::before { transform: scaleX(1); }
.card__placeholder {
  position: absolute; inset: 0; display: grid; place-items: center; color: var(--orange);
  background:
    radial-gradient(circle at 70% 40%, rgba(244,119,33,.22), transparent 60%),
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px) 0 0 / 28px 28px,
    linear-gradient(145deg, var(--graphite) 0%, var(--black) 100%);
}
.card__placeholder svg { width: 38%; max-width: 110px; height: auto; opacity: .9; transition: transform .8s var(--ease); }
.card:hover .card__placeholder svg { transform: scale(1.08) rotate(-4deg); }
.card__chip {
  position: absolute; top: .75rem; left: .75rem; z-index: 2; width: 40px; height: 40px; border-radius: 11px;
  display: grid; place-items: center; background: rgba(23,25,29,.72); color: var(--orange);
  border: 1px solid rgba(244,119,33,.45); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  transition: background-color .35s, color .35s;
}
.card__chip svg { width: 22px; height: 22px; }
.card:hover .card__chip { background: var(--orange); color: var(--black); }
.card--icon .card__chip { display: none; }
.card__nr {
  position: absolute; left: 1rem; bottom: .7rem; z-index: 2; display: flex; align-items: baseline; gap: .3rem;
  font-family: var(--ff-display); font-weight: 800; color: var(--white); line-height: 1; font-size: 3rem;
  text-shadow: 0 4px 18px rgba(0,0,0,.55);
}
.card__nr small { font-size: 1.05rem; letter-spacing: .14em; color: var(--orange); }
.card__ill {
  position: absolute; top: .8rem; right: .8rem; z-index: 2; padding: .2rem .5rem; border-radius: 5px;
  font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(23,25,29,.7); color: rgba(245,245,242,.85); border: 1px solid rgba(255,255,255,.14);
}

/* Corpo */
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1.1rem 1.3rem 1.3rem; }
.card__tag { font-family: var(--ff-display); font-weight: 700; font-size: .95rem; letter-spacing: .16em; color: var(--orange); }
.card__title { margin-top: .2rem; font-family: var(--ff-display); font-weight: 700; font-size: 1.45rem; text-transform: uppercase; color: var(--white); }
.card__text { margin-top: .7rem; font-size: .92rem; color: var(--text-muted-light); flex: 1; }
.card__actions { display: grid; gap: .6rem; margin-top: 1.3rem; }
.card__actions .btn { width: 100%; font-size: .95rem; padding: .8rem 1rem; min-height: 48px; }

/* Cabeçalho do painel com foto */
.modal__head.has-photo { min-height: 220px; align-items: flex-end; background-size: cover; background-repeat: no-repeat; }

.card__badge {
  display: inline-flex; align-items: center; gap: .35rem; align-self: flex-start; margin-top: .7rem; padding: .3rem .6rem; border-radius: 6px;
  background: rgba(244,119,33,.14); border: 1px solid rgba(244,119,33,.35); color: var(--orange);
  font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
}
.card__badge svg { width: 14px; height: 14px; }

/* ==========================================================================
   MODALIDADES
   ========================================================================== */
.modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.mode {
  position: relative; display: flex; flex-direction: column; padding: 2.2rem 2rem 2rem; border-radius: 18px; overflow: hidden;
  background: var(--white); border: 1px solid rgba(23,25,29,.08); box-shadow: var(--shadow-soft);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease), border-color .3s;
}
.mode::after { content: ""; position: absolute; right: -60px; top: -60px; width: 200px; height: 200px; border-radius: 50%; background: radial-gradient(circle, rgba(244,119,33,.16), transparent 70%); transition: transform .6s var(--ease); }
.mode:hover { transform: translateY(-6px); border-color: rgba(244,119,33,.5); box-shadow: 0 28px 50px -26px rgba(23,25,29,.4); }
.mode:hover::after { transform: scale(1.4); }
.mode--dark { background: var(--black); color: var(--text-light); border-color: rgba(255,255,255,.08); }
.mode__head { display: flex; align-items: center; gap: 1rem; }
.mode__icon { width: 62px; height: 62px; border-radius: 16px; display: grid; place-items: center; background: var(--orange); color: var(--black); flex: none; }
.mode__icon svg { width: 32px; height: 32px; }
.mode__label { font-family: var(--ff-display); font-weight: 700; font-size: .9rem; letter-spacing: .18em; text-transform: uppercase; color: var(--orange-600); }
.mode--dark .mode__label { color: var(--orange); }
.mode__title { font-family: var(--ff-display); font-weight: 800; font-size: 1.9rem; text-transform: uppercase; }
.mode__text { margin-top: 1.2rem; color: var(--text-muted-dark); }
.mode--dark .mode__text { color: var(--text-muted-light); }
.mode__list { margin-top: 1.2rem; display: grid; gap: .55rem; flex: 1; align-content: start; }
.mode__list li { position: relative; padding-left: 1.7rem; font-weight: 600; font-size: .95rem; }
.mode__list li::before { content: ""; position: absolute; left: 0; top: .3em; width: 1.05rem; height: 1.05rem; border-radius: 50%; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%2317191D' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 72% no-repeat; }
.mode__note { margin-top: 1.2rem; display: flex; gap: .6rem; padding: .8rem .9rem; border-radius: 10px; font-size: .85rem; background: rgba(244,119,33,.1); color: #f0c9a8; border: 1px dashed rgba(244,119,33,.45); }
.mode__note svg { width: 18px; height: 18px; flex: none; margin-top: .15rem; color: var(--orange); }
.mode .btn { margin-top: 1.6rem; align-self: flex-start; }

/* ==========================================================================
   CERTIFICAÇÃO
   ========================================================================== */
.cert { overflow: hidden; }
.cert::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 15% 50%, rgba(244,119,33,.16), transparent 55%); pointer-events: none; }
.cert__inner { position: relative; display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
.cert__visual { position: relative; display: grid; place-items: center; padding: 2rem 0; }
.cert__doc {
  position: relative; width: min(340px, 100%); aspect-ratio: 1 / 1.3; padding: 2.2rem 2rem; border-radius: 14px;
  background: var(--ice); box-shadow: 0 40px 70px -30px #000, 0 0 0 10px rgba(244,119,33,.12);
  display: flex; flex-direction: column; align-items: center; gap: .9rem; transform: rotate(-4deg); transition: transform .6s var(--ease);
}
.cert__doc::before { content: ""; position: absolute; inset: 10px; border: 2px solid rgba(244,119,33,.55); border-radius: 8px; pointer-events: none; }
.cert__visual:hover .cert__doc { transform: rotate(0) translateY(-6px); }
.cert__logo { width: 58px; height: 65px; margin-bottom: .6rem; }
.cert__line { display: block; width: 80%; height: 9px; border-radius: 5px; background: rgba(23,25,29,.12); }
.cert__line--title { width: 70%; height: 16px; background: var(--black); margin-bottom: .4rem; }
.cert__line--short { width: 55%; }
.cert__seal { position: absolute; right: 1.6rem; bottom: 1.6rem; width: 70px; height: 70px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: var(--black); box-shadow: 0 0 0 6px rgba(244,119,33,.25); }
.cert__seal svg { width: 34px; height: 34px; }
.cert__tag { position: absolute; bottom: 0; left: 50%; translate: -50% 0; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-muted-light); }
.cert__list { margin: 1.6rem 0 2rem; display: grid; gap: .8rem; }
.cert__list li { position: relative; padding-left: 2rem; color: var(--text-light); }
.cert__list li::before { content: ""; position: absolute; left: 0; top: .15em; width: 1.3rem; height: 1.3rem; border-radius: 6px; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m6 12.5 4 4 8-9' fill='none' stroke='%2317191D' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat; }

/* ==========================================================================
   SERVIÇOS
   ========================================================================== */
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; }
.service {
  position: relative; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start;
  padding: 1.4rem; border-radius: var(--radius); background: var(--white);
  border: 1px solid rgba(23,25,29,.08); box-shadow: var(--shadow-soft);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s;
}
.service:hover, .service:focus-within { transform: translateY(-5px); border-color: rgba(244,119,33,.5); box-shadow: 0 20px 40px -20px rgba(23,25,29,.35); }
.service__icon {
  width: 50px; height: 50px; border-radius: 12px; display: grid; place-items: center;
  background: var(--black); color: var(--orange); transition: background-color .3s, color .3s;
}
.service:hover .service__icon { background: var(--orange); color: var(--black); }
.service__icon svg { width: 26px; height: 26px; }
.service__sigla { font-family: var(--ff-display); font-weight: 800; font-size: 1.55rem; letter-spacing: .03em; line-height: 1; }
.service__name { margin-top: .3rem; font-size: .92rem; color: var(--text-muted-dark); line-height: 1.45; }
.service__link {
  grid-column: 1 / -1; display: inline-flex; align-items: center; gap: .5rem; justify-self: start;
  margin-top: .3rem; padding: .5rem .2rem; font-weight: 700; font-size: .9rem; color: var(--orange-600);
  border-bottom: 2px solid transparent; transition: border-color .25s, gap .25s;
}
.service__link svg { width: 18px; height: 18px; }
.service__link:hover { border-color: var(--orange); gap: .75rem; }

.notice {
  display: flex; gap: .8rem; align-items: flex-start; margin-top: 2rem; padding: 1.1rem 1.25rem;
  border-radius: var(--radius-sm); background: rgba(65,69,76,.07); border-left: 4px solid var(--graphite);
  font-size: .9rem; color: var(--text-muted-dark);
}
.notice svg { width: 22px; flex: none; color: var(--graphite); margin-top: .1rem; }

/* ==========================================================================
   DIFERENCIAIS
   ========================================================================== */
.features { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; }
.feature {
  position: relative; padding: 2rem 1.5rem; border-radius: var(--radius);
  background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.08);
  transition: transform .4s var(--ease), background-color .3s, border-color .3s;
}
.feature:hover { transform: translateY(-6px); background: rgba(244,119,33,.07); border-color: rgba(244,119,33,.4); }
.feature__icon {
  position: relative; display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: 1.4rem;
  color: var(--orange);
}
.feature__icon::before { /* hexágono */
  content: ""; position: absolute; inset: 0; background: var(--orange-soft);
  clip-path: polygon(25% 5%, 75% 5%, 100% 50%, 75% 95%, 25% 95%, 0 50%);
  transition: background-color .3s;
}
.feature:hover .feature__icon::before { background: var(--orange); }
.feature:hover .feature__icon { color: var(--black); }
.feature__icon svg { position: relative; width: 30px; height: 30px; }
.feature h3 { font-family: var(--ff-display); font-weight: 700; font-size: 1.4rem; text-transform: uppercase; color: var(--white); }
.feature p { margin-top: .6rem; color: var(--text-muted-light); font-size: .95rem; }

/* ==========================================================================
   GALERIA
   ========================================================================== */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.gallery__item { position: relative; }
.gallery__btn {
  position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; border-radius: var(--radius); overflow: hidden;
  background: var(--graphite); box-shadow: var(--shadow-soft);
}
.gallery__btn img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.gallery__btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(23,25,29,.85) 0%, rgba(23,25,29,.05) 55%);
  transition: opacity .4s;
}
.gallery__btn:hover img, .gallery__btn:focus-visible img { transform: scale(1.06); }
.gallery__cap {
  position: absolute; left: 1rem; right: 1rem; bottom: .9rem; z-index: 2; text-align: left;
  color: var(--white); font-family: var(--ff-display); font-weight: 700; font-size: 1.2rem; line-height: 1.15; text-transform: uppercase; letter-spacing: .03em;
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
}
.gallery__zoom {
  flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange); color: var(--black); transform: scale(.6); opacity: 0; transition: transform .35s var(--ease), opacity .3s;
}
.gallery__zoom svg { width: 18px; }
.gallery__btn:hover .gallery__zoom, .gallery__btn:focus-visible .gallery__zoom { transform: scale(1); opacity: 1; }
.tag-illustrative {
  position: absolute; top: .8rem; left: .8rem; z-index: 2;
  padding: .25rem .6rem; border-radius: 6px; font-size: .7rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(23,25,29,.75); color: var(--ice); border: 1px solid rgba(255,255,255,.15);
}

/* Lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 4rem 4.5rem;
  background: rgba(10, 11, 13, .94); opacity: 0; transition: opacity .35s var(--ease);
}
.lightbox[hidden] { display: none; }
.lightbox.is-open { opacity: 1; }
.lightbox__figure { margin: 0; max-width: min(1100px, 100%); transform: scale(.95); transition: transform .4s var(--ease); }
.lightbox.is-open .lightbox__figure { transform: none; }
.lightbox__figure img { max-height: 76vh; width: auto; margin-inline: auto; border-radius: 12px; box-shadow: 0 30px 80px -20px #000; }
.lightbox__figure figcaption { margin-top: 1rem; text-align: center; color: var(--ice); font-weight: 500; }
.lightbox__figure figcaption small { display: block; color: var(--text-muted-light); font-size: .8rem; margin-top: .2rem; }
.lightbox__close, .lightbox__nav {
  position: absolute; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(255,255,255,.08); color: var(--white); transition: background-color .25s, color .25s, transform .25s;
}
.lightbox__close:hover, .lightbox__nav:hover { background: var(--orange); color: var(--black); }
.lightbox__close svg, .lightbox__nav svg { width: 24px; }
.lightbox__close { top: 1.2rem; right: 1.2rem; }
.lightbox__nav--prev { left: 1.2rem; top: 50%; translate: 0 -50%; }
.lightbox__nav--next { right: 1.2rem; top: 50%; translate: 0 -50%; }

/* ==========================================================================
   CONTATO
   ========================================================================== */
.contact { overflow: hidden; text-align: center; }
.contact__glow {
  position: absolute; left: 50%; top: 60%; width: 900px; height: 900px; translate: -50% -50%;
  background: radial-gradient(circle, rgba(244,119,33,.18), transparent 60%); pointer-events: none;
}
.contact__inner { position: relative; }
.contact__buttons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem; max-width: 1000px; margin-inline: auto; }
.contact-btn {
  position: relative; display: flex; align-items: center; gap: 1rem; padding: 1.25rem 1.3rem; text-align: left;
  border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.12);
  overflow: hidden; isolation: isolate;
  transition: transform .4s var(--ease), border-color .3s, box-shadow .4s var(--ease);
}
.contact-btn { --c: var(--orange); --on-c: var(--black); }
.contact-btn--wa { --c: #25D366; --on-c: #FFFFFF; }
.contact-btn--li { --c: #0A66C2; --on-c: #FFFFFF; }
.contact-btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: var(--c);
  transform: translateY(101%); transition: transform .45s var(--ease);
}
.contact-btn:hover, .contact-btn:focus-visible { transform: translateY(-5px); border-color: var(--c); box-shadow: 0 22px 40px -20px var(--c); }
.contact-btn:hover::before, .contact-btn:focus-visible::before { transform: none; }
.contact-btn__icon {
  flex: none; width: 54px; height: 54px; border-radius: 14px; display: grid; place-items: center;
  background: var(--c); color: var(--on-c); transition: background-color .3s, color .3s;
}
.contact-btn:hover .contact-btn__icon, .contact-btn:focus-visible .contact-btn__icon { background: var(--on-c); color: var(--c); }
.contact-btn__icon svg { width: 28px; height: 28px; }
.contact-btn__text { display: flex; flex-direction: column; min-width: 0; }
.contact-btn__text small { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted-light); font-weight: 600; transition: color .3s; }
.contact-btn__text strong { font-size: 1.05rem; color: var(--white); overflow-wrap: anywhere; transition: color .3s; }
.contact-btn__text em { font-style: normal; font-size: .85rem; color: var(--text-muted-light); overflow-wrap: anywhere; transition: color .3s; }
.contact-btn:hover small, .contact-btn:hover strong, .contact-btn:hover em,
.contact-btn:focus-visible small, .contact-btn:focus-visible strong, .contact-btn:focus-visible em { color: var(--on-c); }
.contact__region { display: inline-flex; align-items: center; gap: .5rem; margin-top: 2.2rem; color: var(--text-muted-light); font-weight: 500; }
.contact__region svg { width: 20px; color: var(--orange); }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer { background: #111215; color: var(--text-muted-light); font-size: .9rem; }
.footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem 2rem; padding: 2rem 0 9rem; }
.footer__inner strong { display: block; color: var(--white); font-family: var(--ff-display); font-size: 1.2rem; text-transform: uppercase; letter-spacing: .04em; }
.footer__nav { display: flex; gap: 1.4rem; }
.footer__social { display: flex; flex-wrap: wrap; gap: .7rem; }
.footer__nav a:hover { color: var(--orange); }

/* ==========================================================================
   BOTÕES FLUTUANTES (LinkedIn acima, WhatsApp abaixo)
   ========================================================================== */
.fab-stack {
  position: fixed; z-index: 150;
  right: max(1.1rem, env(safe-area-inset-right)); bottom: max(1.1rem, env(safe-area-inset-bottom));
  display: flex; flex-direction: column; align-items: flex-end; gap: .85rem;
}
.fab {
  --fab-c: #25D366; --fab-glow: rgba(37,211,102,.6);
  position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center;
  background: var(--fab-c); color: var(--white); box-shadow: 0 12px 28px -8px var(--fab-glow);
  transition: transform .35s var(--ease), box-shadow .35s, opacity .45s var(--ease);
  opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none;
}
.fab--li { --fab-c: #0A66C2; --fab-glow: rgba(10,102,194,.65); }
.fab-stack.is-visible .fab { opacity: 1; transform: none; pointer-events: auto; }
.fab-stack.is-visible .fab--li { transition-delay: 0s, 0s, .12s; }
.fab svg { width: 32px; height: 32px; }
.fab--li svg { width: 28px; height: 28px; }
.fab::before { /* pulso discreto */
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--fab-c);
  animation: pulse 2.6s ease-out infinite;
}
.fab--li::before { animation-delay: 1.3s; }
.fab::after { /* brilho discreto */
  content: ""; position: absolute; inset: 0; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle at 32% 28%, rgba(255,255,255,.35), transparent 55%);
  opacity: .55; transition: opacity .35s;
}
@keyframes pulse { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(1.6); opacity: 0; } }
.fab-stack.is-visible .fab:hover, .fab-stack.is-visible .fab:focus-visible { transform: scale(1.08); box-shadow: 0 16px 34px -8px var(--fab-glow), 0 0 0 4px rgba(255,255,255,.08); }
.fab:hover::after, .fab:focus-visible::after { opacity: 1; }
.fab__tip {
  position: absolute; right: calc(100% + .7rem); white-space: nowrap; padding: .45rem .8rem; border-radius: 8px;
  background: var(--black); color: var(--white); font-size: .85rem; font-weight: 600;
  opacity: 0; transform: translateX(8px); transition: opacity .25s, transform .25s; pointer-events: none;
}
.fab:hover .fab__tip, .fab:focus-visible .fab__tip { opacity: 1; transform: none; }

/* ==========================================================================
   MODAL (Saiba mais)
   ========================================================================== */
.modal { position: fixed; inset: 0; z-index: 300; display: grid; place-items: center; padding: 1.25rem; }
.modal[hidden] { display: none; }
.modal__backdrop { position: absolute; inset: 0; background: rgba(10,11,13,.75); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); opacity: 0; transition: opacity .35s var(--ease); }
.modal__panel {
  position: relative; width: min(640px, 100%); max-height: calc(100vh - 2.5rem); max-height: calc(100dvh - 2.5rem); overflow: auto;
  border-radius: 18px; background: var(--ice); color: var(--text-dark); box-shadow: 0 40px 80px -30px #000;
  opacity: 0; transform: translateY(30px) scale(.97); transition: opacity .4s var(--ease), transform .4s var(--ease);
}
.modal.is-open .modal__backdrop { opacity: 1; }
.modal.is-open .modal__panel { opacity: 1; transform: none; }
.modal__head {
  display: flex; align-items: center; gap: 1rem; padding: 1.8rem 4rem 1.5rem 1.8rem;
  background: var(--black); color: var(--white); position: relative;
}
.modal__head::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 6px; background: repeating-linear-gradient(-45deg, var(--orange) 0 12px, var(--black) 12px 24px); }
.modal__icon { flex: none; width: 60px; height: 60px; border-radius: 14px; display: grid; place-items: center; background: var(--orange); color: var(--black); }
.modal__icon svg { width: 32px; height: 32px; }
.modal__code { font-family: var(--ff-display); font-weight: 700; letter-spacing: .16em; color: var(--orange); }
.modal__title { font-family: var(--ff-display); font-weight: 800; font-size: clamp(1.5rem, 4vw, 2rem); text-transform: uppercase; }
.modal__close {
  position: absolute; top: 1rem; right: 1rem; z-index: 2; width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center; color: var(--white); background: rgba(255,255,255,.08); transition: background-color .25s, color .25s;
}
.modal__close:hover { background: var(--orange); color: var(--black); }
.modal__close svg { width: 22px; }
.modal__body { padding: 1.6rem 1.8rem .5rem; }
.modal__desc { color: var(--text-muted-dark); }
.modal__body h4 { margin-top: 1.4rem; font-family: var(--ff-display); font-size: 1.15rem; text-transform: uppercase; letter-spacing: .08em; }
.modal__topics { margin-top: .7rem; display: grid; gap: .5rem; }
.modal__topics li { position: relative; padding-left: 1.5rem; }
.modal__topics li::before { content: ""; position: absolute; left: 0; top: .55em; width: 10px; height: 10px; border-radius: 3px; background: var(--orange); }
.modal__note { margin-top: 1.4rem; padding: .9rem 1rem; border-radius: 10px; background: var(--orange-soft); font-size: .88rem; color: #6a3a12; }
.modal__foot { display: flex; flex-wrap: wrap; gap: .75rem; padding: 1.2rem 1.8rem 1.8rem; }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .nav { gap: 1.2rem; }
  .nav__list { gap: 1.1rem; }
}

@media (max-width: 1280px) {
  :root { --header-h: 68px; }
  .burger { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; gap: 2.2rem;
    padding: 6rem 2rem 3rem; background: rgba(23,25,29,.98);
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s linear .35s;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .35s var(--ease), transform .35s var(--ease), visibility 0s; }
  .nav__list { flex-direction: column; align-items: center; gap: 1.1rem; }
  .nav__link { font-family: var(--ff-display); font-size: 1.9rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; }
  .nav.is-open .nav__list li { animation: navIn .5s var(--ease) both; }
  .nav.is-open .nav__list li:nth-child(2) { animation-delay: .04s; }
  .nav.is-open .nav__list li:nth-child(3) { animation-delay: .08s; }
  .nav.is-open .nav__list li:nth-child(4) { animation-delay: .12s; }
  .nav.is-open .nav__list li:nth-child(5) { animation-delay: .16s; }
  .nav.is-open .nav__list li:nth-child(6) { animation-delay: .2s; }
  .nav__cta { font-size: 1.1rem; padding: .95rem 1.6rem; }
  .nav__actions { flex-direction: column; align-items: stretch; gap: .8rem; width: min(320px, 100%); }
  .nav__actions .btn { width: 100%; height: auto; font-size: 1.1rem; padding: .95rem 1.6rem; }
  .nav__actions .nav__cta { order: -1; }
  .nav__li-text { position: static; width: auto; height: auto; overflow: visible; clip: auto; }
  .brand { position: relative; z-index: 2; }
}

@media (max-width: 960px) {
  .hero { align-items: flex-start; padding-top: calc(var(--header-h) + 44svh); }
  .hero__photo { top: calc(var(--header-h) - 12px); bottom: auto; left: 0; width: 100%; height: 58svh; }
  .hero__photo img { object-position: 46% 14%; }
  .hero__photo { -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent 100%); mask-image: linear-gradient(180deg, #000 70%, transparent 100%); }
  .hero__fade {
    background:
      linear-gradient(180deg, rgba(23,25,29,.9) 0%, rgba(23,25,29,0) 12svh, rgba(23,25,29,0) 34svh, rgba(23,25,29,.88) 48svh, #17191D 58svh),
      radial-gradient(ellipse at 50% 30%, rgba(244,119,33,.08), transparent 60%);
  }
  .hero__content > * { max-width: none; }

  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; width: 100%; margin-inline: auto; }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact__buttons { grid-template-columns: 1fr; max-width: 460px; }
  .modes { grid-template-columns: 1fr; }
  .cert__inner { grid-template-columns: 1fr; }
  .cert__visual { order: 2; }
  .credentials { grid-template-columns: 1fr; }
}
@keyframes navIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (max-width: 640px) {
  .container { width: min(100% - 2rem, var(--container)); }
  .cards, .services, .features { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .checklist, .quals { grid-template-columns: 1fr; }
  .hero__chips li { font-size: .82rem; padding: .38rem .7rem .38rem .5rem; }
  .hero__id { flex-wrap: wrap; }
  .hero__stat { margin-left: 0; padding-left: 0; border-left: 0; width: 100%; padding-top: .7rem; border-top: 1px solid rgba(255,255,255,.14); }
  .brand__text strong { font-size: 1.3rem; }
  .brand__text small { font-size: .55rem; letter-spacing: .05em; white-space: nowrap; }
  .hero .eyebrow { display: none; }
  .hero__title { margin-top: 0; }
  .hero__chips { display: grid; grid-template-columns: 1fr 1fr; }
  .hero__chips li { border-radius: 12px; line-height: 1.25; }
  .brand__logo { width: 36px; height: 40px; }
  .mode { padding: 1.8rem 1.4rem 1.5rem; }
  .mode .btn { width: 100%; }
  .about__badge strong { font-size: 2.6rem; }
  .hero { padding-bottom: 5rem; }
  .hero__overlay { background: linear-gradient(180deg, rgba(23,25,29,.75) 0%, rgba(23,25,29,.88) 60%, rgba(23,25,29,.96) 100%); }
  .hero__actions .btn { width: 100%; font-size: 1.05rem; letter-spacing: .04em; padding-inline: 1rem; white-space: nowrap; }
  .eyebrow { font-size: .82rem; letter-spacing: .14em; }
  .eyebrow__bar { flex: none; width: 24px; }
  .hero__scroll { display: none; }
  .hero__credit { bottom: 1.4rem; left: 1rem; right: auto; }
  .about__badge { right: 10px; bottom: 14px; padding: .8rem 1rem; font-size: .9rem; }
  .lightbox { padding: 4.5rem .75rem 5.5rem; }
  .lightbox__nav { top: auto; bottom: 1.2rem; translate: none; }
  .lightbox__nav--prev { left: calc(50% - 60px); }
  .lightbox__nav--next { right: calc(50% - 60px); }
  .modal { padding: 0; align-items: end; }
  .modal__panel { border-radius: 18px 18px 0 0; max-height: 92vh; max-height: 92dvh; }
  .modal__foot .btn { flex: 1 1 100%; }
  .footer__inner { flex-direction: column; text-align: center; }
  .fab { width: 54px; height: 54px; }
  .fab svg { width: 29px; height: 29px; }
  .fab--li svg { width: 25px; height: 25px; }
  .fab-stack { gap: .7rem; }
  .fab__tip { display: none; }
  .footer__inner { padding-bottom: 10rem; }
}

/* ==========================================================================
   MOVIMENTO REDUZIDO
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .hero__bg { animation: none; }
  .hero__anim, .reveal { opacity: 1 !important; transform: none !important; }
  .fab::before { display: none; }
}
.modal__head.has-photo::before {
  content: "Imagem ilustrativa"; position: absolute; top: 1.25rem; left: 1.8rem; padding: .2rem .5rem; border-radius: 5px;
  font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  background: rgba(23,25,29,.7); color: rgba(245,245,242,.85); border: 1px solid rgba(255,255,255,.14);
}
@media (max-width: 640px) { .footer__social { justify-content: center; } .footer__social .btn { flex: 1 1 100%; } }
.noscript-list { display: grid; gap: .5rem; color: var(--text-light); font-weight: 600; }
