/* br-site-core.css — consolidado em 2026-04-04 */

/* ===== main-refined-10.css ===== */
:root {
  --bg: #0d0d0d;
  --fg: #e8e8e8;
  --accent: #f8d90f;
  --accent2: #ff005c;
  --radius: 10px;
  --ts: 0.35s ease;
  --max: 1200px;
  --font-head: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;
}

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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: var(--font-body);
  color: var(--fg);
  background: var(--bg);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--radius);
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: var(--ts);
}

a:hover {
  color: var(--fg);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  background: rgba(13, 13, 13, 0.9);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 20;
}

.logo {
  font-family: var(--font-head);
  font-size: 1.5rem;
  letter-spacing: 2px;
}

nav ul {
  display: flex;
  gap: 2rem;
  list-style: none;
}

nav a {
  font-weight: 600;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}

@media (min-width: 769px) {
  .burger {
    display: none !important;
  }
}

.burger span {
  width: 24px;
  height: 3px;
  background: var(--fg);
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  overflow: hidden;
  background: url("1.png") center/cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 1rem;
  transform: translateY(10vh);
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2rem;
  border: 2px solid var(--accent);
  background: transparent;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  transition: var(--ts);
}

.btn:hover {
  background: var(--accent);
  color: var(--bg);
}

section {
  padding: 6rem 1.5rem;
}

.container {
  max-width: var(--max);
  margin: 0 auto;
}

section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--accent);
  text-align: center;
}

.reveal {
  opacity: 0;
  transform: scale(0.95) translateY(40px);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  align-items: center;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.service-card {
  padding: 2rem;
  background: #1a1a1a;
  border-radius: var(--radius);
  text-align: center;
  transition: var(--ts);
}

.service-card:hover {
  transform: translateY(-6px);
  background: #222;
}

.service-card h3 {
  margin-bottom: 1rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}

form {
  display: grid;
  gap: 1rem;
  max-width: 600px;
  margin: 0 auto;
}

input,
textarea {
  padding: 0.9rem;
  border: none;
  border-radius: var(--radius);
  background: #1a1a1a;
  color: var(--fg);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

footer {
  text-align: center;
  padding: 2rem 0;
  background: #000;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  nav ul {
    position: fixed;
    top: 60px;
    right: -100%;
    flex-direction: column;
    background: rgba(13, 13, 13, 0.95);
    width: 200px;
    height: calc(100vh - 60px);
    padding: 2rem 1rem;
    transition: var(--ts);
  }

  nav ul.open {
    right: 0;
  }

  .burger {
    display: flex;
  }

  .hero h1 {
    font-size: 2.2rem;
  }
}

.about-grid p {
  text-align: justify;
  word-spacing: -0.05em;
  letter-spacing: 0.01em;
}

.portfolio-item.big {
  grid-column: span 4;
  grid-row: span 2;
}

.social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.social-icons a {
  color: var(--fg);
  font-size: 1.5rem;
  transition: var(--ts);
}

.social-icons a:hover {
  color: var(--accent);
}

.service-card h3 i {
  margin-right: 0.5rem;
}

.carousel-section {
  padding: 6rem 1.5rem;
}

.carousel-container {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  overflow: hidden;
  max-width: 600px;
  width: 100%;
}

.carousel-track {
  display: flex;
  transition: transform var(--ts);
}

.carousel-track img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  border: none;
  color: var(--fg);
  font-size: 2rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 5;
  border-radius: var(--radius);
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

#portfolio img {
  transition: transform 0.3s ease;
}

#portfolio img:hover {
  transform: scale(1.15);
}

.social-icons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
}

@media (max-width: 768px) {
  .portfolio-grid,
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .btn {
    padding: 0.7rem 1.2rem;
  }

  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .social-icons {
    justify-content: flex-start;
  }
}

body {
  padding-top: 80px;
  overflow-x: hidden;
}

.image-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.image-modal img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius);
}

.image-modal .close-modal {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

.about-grid p {
  text-align: justify;
  word-spacing: -0.05em;
  letter-spacing: 0.01em;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
}

.modal-content {
  overflow-y: auto;
  max-height: 90vh;
  position: relative;
  padding-bottom: 2rem;
}

.modal-content .close-modal {
  position: sticky;
  top: 0;
  background-color: #1a1a1a;
}

.carousel-dots {
  text-align: center;
  margin-top: 1rem;
}

.carousel-dots span {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background-color: #888;
  border-radius: 50%;
  cursor: pointer;
}

.carousel-dots span.active {
  background-color: var(--accent);
}

#podcast audio {
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  display: block;
  margin: 0 auto;
}

body.light-theme #podcast p {
  color: #333 !important;
}

body.light-theme #podcast h2 {
  color: #111 !important;
}

input,
textarea {
  font-size: 16px;
}

@media (max-width: 768px) {
  #user-location-time {
    z-index: 1;
    position: relative;
  }
}

body.light-theme .mobile-menu {
  background-color: #ffffff;
}

body.light-theme .mobile-menu a {
  color: #000 !important;
}

body.light-theme .mobile-menu li {
  color: #000 !important;
}

.mobile-menu {
  z-index: 1000 !important;
  position: relative;
}

#user-location-time {
  z-index: 0 !important;
  position: relative;
}


a:hover,
button:hover {
  cursor: pointer;
  transition: all 0.3s ease;
  filter: brightness(1.2);
}

#gallery .carousel-container {
  max-width: 1000px;
  width: 100%;
}

#contact form {
  max-width: 600px;
  margin: 0 auto;
}

#contact textarea {
  width: 100%;
  height: 150px;
}

#scrollTopBtn {
  display: none;
  position: fixed;
  bottom: 40px;
  right: 30px;
  z-index: 99;
  font-size: 18px;
  background-color: #f8d90f;
  color: black;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 50%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  transition: 0.3s;
}

#scrollTopBtn:hover {
  background-color: #ffce00;
}

.modal-overlay {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.85);
  justify-content: center;
  align-items: center;
}

.modal-content {
  background-color: #1a1a1a;
  color: #e8e8e8;
  padding: 2rem;
  border-radius: 10px;
  max-width: 600px;
  width: 90%;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  font-size: 0.95rem;
  overflow-y: auto;
  max-height: 90vh;
}

.modal-content h2,
.modal-content h3 {
  color: #f8d90f;
  margin-top: 0;
}

.modal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
}

.close-modal {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

body.light-theme {
  background: #f5f5f5;
  color: #111;
}

body.light-theme a {
  color: #111;
}

body.light-theme .btn {
  border-color: #111;
  color: #111;
}

body.light-theme .btn:hover {
  background: #111;
  color: #fff;
}


body.light-theme .service-card,
body.light-theme .modal-content,
body.light-theme input,
body.light-theme textarea {
  background: #eaeaea;
  color: #111;
}

body.light-theme .portfolio-item img:hover {
  filter: brightness(90%);
}


.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

#themeToggle {
  transition: all 0.3s ease;
}

body.light-theme #user-location-time {
  color: #000 !important;
}

#user-location-time {
  opacity: 0;
  animation: fadeIn 1s ease forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

#robozinho-container {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  animation: flutuar 3s ease-in-out infinite;
}

#fechar-robo {
  position: absolute;
  top: 0px;
  left: -3px;
  width: 16px;
  height: 16px;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: all 0.3s ease;
  z-index: 1000;
}

#fechar-robo svg {
  width: 10px;
  height: 10px;
  display: block;
}

#fechar-robo:hover,
#fechar-robo:focus-visible {
  transform: scale(1.05);
  filter: brightness(1.1);
  outline: none;
}

body.light-theme #fechar-robo {
  background: white !important;
  color: black !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.08);
  top: 0px;
}

body.light-theme #fechar-robo:hover,
body.light-theme #fechar-robo:focus-visible {
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.2);
}

#fechar-robo:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

@media (max-width: 768px) {
  #fechar-robo {
    display: none !important;
  }
}

#robozinho {
  width: 90px;
  height: auto;
  transition: transform 0.4s ease;
}

#robozinho:hover {
  transform: scale(1.05) rotate(-2deg);
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.4));
}

#robo-fala {
  background: #fff;
  color: #000;
  padding: 10px 15px;
  border-radius: 10px;
  font-size: 0.85rem;
  max-width: 220px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  animation: fadeInOut 5s ease-in-out;
}

@keyframes flutuar {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-5px);
  }
}

body {
  transition:
    background-color 0.5s ease,
    color 0.5s ease;
}

#robozinho {
  will-change: transform;
}

@media (max-width: 768px) {
  .about-grid p {
    text-align: left !important;
  }

  .hero {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 3rem 1rem;
    min-height: 100vh;
  }

  .hero-content {
    transform: none;
    padding-top: 2rem;
  }
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr !important;
    text-align: left;
  }

  .about-grid img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 1rem;
  }

  .about-grid p {
    padding: 0 1rem;
    font-size: 1rem;
    word-spacing: normal !important;
    letter-spacing: normal !important;
  }

  #user-location-time {
    font-size: 0.75rem;
    text-align: left;
    padding: 0 1rem;
    display: block !important;
  }

  #videos video {
    width: 100% !important;
    height: auto;
    background: #000;
  }
}

@media (max-width: 768px) {
  section {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
    margin-bottom: 0 !important;
  }

  #videos {
    padding-bottom: 2rem !important;
  }

  #videos video {
    margin-bottom: 0 !important;
    height: auto !important;
    display: block;
    object-fit: cover;
  }

  .about-grid p,
  #podcast p {
    text-align: justify !important;
    padding: 0 1rem;
  }

  #robozinho-container,
  #robo-fala {
    display: none !important;
  }

  #user-location-time {
    font-size: 0.75rem;
    padding: 0 1rem;
    display: block;
  }
}

body.light-theme {
  --accent: #d4b80f;
}

@media (max-width: 768px) {
  nav ul.open {
    height: auto !important;
    max-height: none !important;
  }

  body.light-theme nav ul.open {
    background-color: rgba(255, 255, 255, 0.85) !important;
  }

  body.light-theme nav ul.open li a {
    color: #333 !important;
  }

  body:not(.light-theme) nav ul.open {
    background-color: rgba(13, 13, 13, 0.9) !important;
  }

  body:not(.light-theme) nav ul.open li a {
    color: var(--accent) !important;
  }

  .burger span {
    background-color: var(--fg) !important;
  }

  body.light-theme .burger span {
    background-color: #000 !important;
  }
}

body.light-theme .modal-content h2,
body.light-theme .modal-content h3 {
  color: #000 !important;
}

body.light-theme .modal-content {
  background-color: #fff !important;
  color: #111 !important;
}

body.light-theme .modal-content ul li {
  color: #000 !important;
}

body.light-theme .close-modal {
  color: #000 !important;
  background-color: transparent !important;
}

#portfolio .portfolio-item img:hover {
  filter: none !important;
}

#portfolio .portfolio-item:hover,
#portfolio .portfolio-item:hover img {
  filter: none !important;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.burger:focus-visible {
  box-shadow: 0 0 0 3px rgba(248, 217, 15, 0.35);
}

a:focus-visible,
button:focus-visible {
  border-radius: 6px;
}

.burger {
  background: transparent;
  border: 0;
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  -webkit-appearance: none;
  appearance: none;
}

.burger span {
  width: 24px;
  height: 3px;
  display: block;
  background: var(--fg);
  border-radius: 2px;
}

.burger:focus {
  outline: none;
}

section {
  scroll-margin-top: 80px;
}

@supports (min-height: 100dvh) {
  .hero {
    min-height: 100dvh !important;
  }
}

.hero {
  min-height: 100vh;
}

.burger {
  color: inherit;
}

.burger span {
  background: currentColor !important;
}

body.light-theme .burger {
  color: #111;
}

body:not(.light-theme) .burger {
  color: #fff;
}

@media (max-width: 768px) {
  header {
    transition: transform 0.28s ease;
    will-change: transform;
  }

  header.hide-on-mobile {
    transform: translateY(-100%);
  }
}

.dark-mode-toggle,
#back-to-top {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 20px;
  z-index: 9999;
}

.dark-mode-toggle {
  left: 20px;
}

#back-to-top {
  right: 20px;
}

.dark-mode-toggle img,
.dark-mode-toggle svg,
.dark-mode-toggle i,
#back-to-top img,
#back-to-top svg,
#back-to-top i {
  width: 60%;
  height: 60%;
  object-fit: contain;
  display: block;
  margin: auto;
}

.dark-mode-toggle,
#back-to-top {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  bottom: 20px;
  z-index: 9999;
  padding: 0;
}

#ai-play:active {
  transform: scale(0.98);
}

#ai-play[aria-pressed="true"] {
  filter: brightness(0.95);
}

#ai-play svg {
  width: 60%;
  height: 60%;
  display: block;
  pointer-events: none;
}

body.light-theme #robozinho-container #fechar-robo {
  background: #ffffff !important;
  color: #000000 !important;
  border: 1px solid rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
  top: 0px !important;
}

body:not(.light-theme) #robozinho-container #fechar-robo {
  background: rgba(0, 0, 0, 0.6) !important;
  color: #ffffff !important;
  border: none !important;
}

:root {
  --fs-body: clamp(0.95rem, 0.28vw + 0.9rem, 1.05rem);
  --lh-body: 1.7;
  --fs-h2: clamp(1.6rem, 1.2vw + 1.2rem, 2.2rem);
  --fs-h3: clamp(1.125rem, 0.6vw + 1rem, 1.375rem);
}

section h2 {
  font-size: var(--fs-h2);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

section h2,
section h3 {
  text-align: center;
  width: 100%;
}

section h3 {
  font-size: var(--fs-h3);
  line-height: 1.25;
}

section p,
.service-card p,
#videos p,
.carousel-section p,
.portfolio-grid p {
  font-size: var(--fs-body);
  line-height: var(--lh-body);
}

#scroll-progress {
  opacity: 0;
  transition: opacity 0.25s ease;
}

#portfolio .intro-text {
  white-space: normal !important;
  overflow: visible !important;
  text-overflow: clip !important;
  text-wrap: balance;
}

@media (max-width: 768px) {
  #portfolio .intro-text {
    font-size: clamp(0.95rem, 0.7vw + 0.9rem, 1rem);
    line-height: 1.6;
    margin-left: auto;
    margin-right: auto;
    max-width: 36ch;
  }
}

:root {
  --fs-h1: clamp(2.25rem, 3.5vw + 1rem, 4.25rem);
}

.hero h1,
section h2,
section h3 {
  letter-spacing: -0.015em;
}

.hero h1 {
  font-size: var(--fs-h1);
  line-height: 1.05;
}

section h2 {
  line-height: 1.15;
}

section h3 {
  line-height: 1.2;
}

.btn {
  border-radius: 9999px !important;
  transition:
    transform 0.15s ease,
    box-shadow 0.2s ease,
    background-color 0.2s ease,
    color 0.2s ease;
  will-change: transform;
}

.btn:hover,
.btn:focus {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  outline: none;
}

section h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 0.25rem;
}

@keyframes grad-move {
  0% {
    background-position: 0% 50%;
  }

  100% {
    background-position: 200% 50%;
  }
}

h2 i,
h3 i,
.social-icons i {
  background: linear-gradient(90deg, #f8d90f, #ff8a00, #f8d90f);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: grad-move 8s linear infinite;
}

.service-card,
.portfolio-item img,
.carousel-track img,
#videos video {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    filter 0.25s ease;
}

.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.15);
}

.portfolio-item img:hover,
.carousel-track img:hover {
  transform: scale(1.03);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

#videos video:hover {
  transform: scale(1.01);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.2);
  filter: saturate(1.05);
}

#ai-play.playing {
  animation: pulse 1.4s ease-in-out infinite;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(248, 217, 15, 0.5);
  }

  70% {
    box-shadow: 0 0 0 12px rgba(248, 217, 15, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(248, 217, 15, 0);
  }
}

a,
button,
[role="button"],
.portfolio-item img,
.carousel-track img {
  cursor: pointer;
}

#ai-play {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  background: #f8d90f;
  color: #000;
  cursor: pointer;
}

@media (max-width: 480px) {
  #ai-play {
    bottom: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
  }
}

#themeToggle {
  z-index: 9999;
}

[role="button"]:focus {
  outline: 3px solid rgba(248, 217, 15, 0.7);
  outline-offset: 2px;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: none;
}

section h2 {
  position: relative;
  display: block;
  width: 100%;
  text-align: center;
  padding-bottom: 0.35rem;
}

section h2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #f8d90f, #ff8a00, #f8d90f);
  background-size: 200% 100%;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease 0.05s;
  border-radius: 3px;
  animation: grad-move 6s linear infinite;
}

.reveal.active h2::after,
section.reveal.active h2::after,
section .reveal.active h2::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation: none !important;
    transition: none !important;
  }
}

body:not(.aos-ready) [data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

body.aos-disabled [data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

:root {
  --text-strong: #ffffff;
  --text-soft: rgba(255, 255, 255, 0.92);
  --text-muted: rgba(255, 255, 255, 0.78);
  --text-dim: rgba(255, 255, 255, 0.68);
}

body:not(.light-theme) #podcast p,
body:not(.light-theme) #videos p,
body:not(.light-theme) .service-card p {
  color: var(--text-soft);
}

body:not(.light-theme) .carousel-section p,
body:not(.light-theme) .portfolio-grid p {
  color: var(--text-muted);
}

body.light-theme #podcast p,
body.light-theme #videos p,
body.light-theme .service-card p,
body.light-theme .carousel-section p {
  color: #202020;
}

section h2,
section h3 {
  color: var(--text-strong);
}

#fechar-robo,
#themeToggle,
#ai-play,
.carousel-btn {
  min-width: 44px;
  min-height: 44px;
}

.carousel-container {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: 100%;
}

.carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
}

:focus-visible {
  outline: 3px solid rgba(248, 217, 15, 0.8);
  outline-offset: 2px;
}

.sr-only {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

#contact input,
#contact textarea,
#contact button {
  min-height: 44px;
}

#contact input:focus,
#contact textarea:focus {
  box-shadow: 0 0 0 3px rgba(248, 217, 15, 0.35);
}

body.light-theme #services h3 {
  color: #000 !important;
}

body.light-theme section h2,
body.light-theme section h3 {
  color: #111 !important;
}

body.light-theme #about p,
body.light-theme #services p,
body.light-theme #videos p,
body.light-theme .carousel-section p,
body.light-theme .portfolio-grid p,
body.light-theme #contact label,
body.light-theme #contact input::placeholder,
body.light-theme #contact textarea::placeholder {
  color: #222 !important;
}

.carousel-btn {
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 9999px;
  padding: 0.35rem 0.65rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.carousel-btn:focus-visible {
  outline: 3px solid rgba(248, 217, 15, 0.85);
  outline-offset: 2px;
}

body.light-theme .carousel-btn {
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  border-color: rgba(0, 0, 0, 0.25);
}

body.light-theme header #user-location-time {
  color: #111 !important;
}

body.light-theme header nav a {
  color: #111;
}

body.light-theme header nav a:focus-visible,
body.light-theme header nav a:hover {
  text-decoration: underline;
}

body.light-theme .btn {
  background: #111;
  color: #fff;
  border: 1px solid #111;
}

body.light-theme .btn:hover,
body.light-theme .btn:focus {
  background: #000;
  color: #fff;
}

body.light-theme #contact input,
body.light-theme #contact textarea {
  border: 1px solid rgba(0, 0, 0, 0.25);
  color: #111;
  background: #fff;
}

@media (prefers-reduced-motion: no-preference) {
  .mi-fade-up {
    opacity: 0;
    transform: translateY(8px);
    transition:
      opacity 0.5s ease,
      transform 0.5s ease;
    will-change: opacity, transform;
  }

  .mi-in {
    opacity: 1;
    transform: none;
  }

  .btn {
    transition:
      transform 0.15s ease,
      box-shadow 0.2s ease,
      background-color 0.2s ease,
      color 0.2s ease;
  }

  .btn:active {
    transform: translateY(0);
  }

  .service-card.mi-fade-up {
    transition-duration: 0.6s;
    transition-timing-function: cubic-bezier(0.2, 0.7, 0.2, 1);
  }
}

#gallery,
#videos,
#portfolio {
  content-visibility: auto;
}

#menu-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 9980;
  backdrop-filter: saturate(120%) blur(1px);
}

#nav-list.open ~ #menu-backdrop {
  display: block;
}

@media (min-width: 769px) {
  #menu-backdrop {
    display: none !important;
  }
}

.carousel-container:focus {
  outline: 3px solid rgba(248, 217, 15, 0.8);
  outline-offset: 3px;
}

.image-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
  z-index: 10000;
}

.image-modal img {
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 10px;
}

.image-modal .close-modal {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 28px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border-radius: 999px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 9999px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 24px;
  user-select: none;
}

.modal-nav.prev {
  left: 18px;
}

.modal-nav.next {
  right: 18px;
}

.modal-nav:focus-visible,
.close-modal:focus-visible {
  outline: 3px solid rgba(248, 217, 15, 0.85);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  .modal-nav {
    width: 42px;
    height: 42px;
    font-size: 20px;
  }
}

#modalFooter {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto;
  gap: 8px;
  text-align: center;
  max-width: 92vw;
  color: #fff;
  font-size: 0.95rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 14px;
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

#modalProgress {
  font-weight: 600;
  letter-spacing: 0.3px;
}

#modalCaption {
  opacity: 0.95;
}

.modal-caption {
  font-size: 16px;
  margin-top: 10px;
  text-align: center;
  color: #f1f1f1;
  line-height: 1.4;
  padding: 5px 10px;
  word-wrap: break-word;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 768px) {
  .modal-caption {
    font-size: 14px;
    padding: 8px;
    -webkit-line-clamp: 2;
  }
}

.modal-type-badge {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 10001;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  padding: 6px 10px;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.2px;
  backdrop-filter: saturate(120%) blur(1px);
  max-width: 70vw;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

@media (max-width: 480px) {
  .modal-type-badge {
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 0.85rem;
    padding: 5px 9px;
  }
}

body.light-theme .modal-type-badge {
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  border-color: rgba(0, 0, 0, 0.25);
}

#scrollTopBtn {
  display: none;
}

@media (max-width: 480px) {
  .carousel button,
  .modal .nav-btn,
  .nav-prev,
  .nav-next,
  .close,
  .fechar,
  .modal-close,
  #closeModal,
  button,
  .btn {
    min-width: 48px;
    min-height: 48px;
  }
}

header .logo {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-weight: 600;
}

header .logo i {
  transition: color 0.2s ease;
}

header .logo:hover i {
  color: #f8d90f;
}

@media (max-width: 768px) {
  .hero h1 {
    margin-bottom: 2rem;
  }

  .hero p {
    margin-bottom: 2.5rem;
  }
}

#user-location-time {
  font-size: clamp(0.8rem, 1.2vw + 0.7rem, 0.95rem);
  text-wrap: balance;
}

@media (max-width: 480px) {
  #user-location-time {
    font-size: 0.85rem;
    padding: 0 8px;
  }
}

@media (max-width: 768px) {
  #about p {
    text-align: left !important;
    text-wrap: balance;
  }
}

@media (max-width: 768px) {
  #podcast p {
    text-align: left !important;
  }
}

#videos p.aos-animate {
  opacity: 1 !important;
  transform: none !important;
}

@media (max-width: 768px) {
  #podcast p,
  #videos p {
    margin-bottom: 1.25rem !important;
  }

  .btn {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

:root {
  --header-offset: 88px;
}

@media (max-width: 768px) {
  :root {
    --header-offset: 72px;
  }
}

section[id] {
  scroll-margin-top: var(--header-offset);
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  z-index: 10001;
}

#scroll-progress .bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #f8d90f, #ff8a00, #f8d90f);
  background-size: 200% 100%;
  animation: grad-move 6s linear infinite;
}

body.modal-zoom-out header,
body.modal-zoom-out section,
body.modal-zoom-out footer,
body.modal-zoom-out .hero {
  transform: scale(0.985);
  filter: blur(1px) brightness(0.92);
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.hero.theme-fade * {
  transition:
    background-color 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease,
    fill 0.2s ease,
    stroke 0.2s ease;
}

.skip-link {
  position: absolute;
  top: -40px;
  left: 10px;
  background: #f8d90f;
  color: #000;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  transition: top 0.2s ease;
  z-index: 10002;
}

.skip-link:focus {
  top: 10px;
  outline: 3px solid rgba(0, 0, 0, 0.6);
}

header nav a.active {
  color: #f8d90f !important;
  font-weight: 700;
  text-decoration: none;
}

.mi-fade-up,
.reveal {
  will-change: opacity, transform;
}

.mi-fade-up {
  opacity: 0;
  transform: translateY(10px);
}

.mi-fade-up.mi-in {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.5s cubic-bezier(0.2, 0.7, 0.2, 1),
    transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1);
}

img.blur-up {
  filter: blur(12px);
  transform: scale(1.02);
  transition:
    filter 0.5s ease,
    transform 0.5s ease;
}

img.blur-up.loaded {
  filter: blur(0);
  transform: none;
}

header nav a {
  opacity: 0.85;
  transition:
    color 0.2s ease,
    opacity 0.2s ease;
  text-decoration: none !important;
}

header nav a:hover,
header nav a:focus-visible {
  opacity: 1;
  text-decoration: none !important;
}

header nav a.active {
  color: #f8d90f !important;
  opacity: 1;
  font-weight: 600;
  text-decoration: none !important;
}

.intro-text {
  text-align: center;
  font-size: clamp(1rem, 0.6vw + 0.9rem, 1.1rem);
  font-weight: 300;
  color: rgba(255, 255, 255, 0.9);
  max-width: 900px;
  margin: 10px auto 28px auto;
  line-height: 1.65;
}

body.light-theme .intro-text {
  color: #222;
}

section {
  padding: 80px 0;
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
}

h2 + .intro-text {
  margin-top: 14px;
}

.intro-text {
  margin-bottom: 10px !important;
}

@media (max-width: 768px) {
  .intro-text {
    margin-bottom: 8px !important;
  }
}

@media (max-width: 768px) {
  body,
  section {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    margin-top: 150px;
  }
}

header,
#hero,
footer {
  content-visibility: visible;
}

#portfolio,
#portfolio * {
  visibility: visible !important;
  opacity: 1 !important;
}

.portfolio-text {
  line-height: 1.5;
}

@media (max-width: 768px) {
  .portfolio-text {
    font-size: 0.95rem;
  }
}

@media (min-width: 769px) {
  .portfolio-text {
    font-size: 1.05rem;
  }
}

h2 {
  font-weight: 700;
}

@media (max-width: 768px) {
  header nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 8px 10px;
  }
}

#scrollTopBtn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 10002;
  border: none;
  border-radius: 9999px;
  padding: 10px 14px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  background: #f8d90f;
  color: #000;
  font-weight: 700;
  cursor: pointer;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  pointer-events: none;
}

#scrollTopBtn.visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

#scrollTopBtn:focus-visible {
  outline: 3px solid rgba(0, 0, 0, 0.6);
  outline-offset: 2px;
}

@media (max-width: 480px) {
  #scrollTopBtn {
    bottom: 16px;
    right: 16px;
  }
}

@supports not (text-wrap: balance) {
  .intro-text,
  #about p {
    text-wrap: wrap;
  }
}

body.light-theme header nav a {
  text-decoration: none !important;
}

body.light-theme header nav a:hover,
body.light-theme header nav a:focus-visible {
  text-decoration: none !important;
}

body.light-theme header nav a.active {
  color: #111 !important;
  font-weight: 700;
}

body.light-theme header nav a.active::after {
  content: none !important;
}

body.light-theme header nav a {
  -webkit-tap-highlight-color: rgba(248, 217, 15, 0.45);
}

body:not(.light-theme) header nav a {
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0.35);
}

#scrollTopBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}

#themeToggle,
#ai-play,
#scrollTopBtn {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
}

@media (max-width: 768px) {
  .hero .hero-content {
    margin-top: 140px !important;
  }
}

@media (max-width: 768px) {
  header {
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  header > div.logo {
    order: 1;
  }

  header nav {
    order: 2;
  }

  header .burger,
  header .social-icons {
    order: 3;
  }

  .menu-social-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    padding: 0 10px;
  }

  .menu-social-row .burger {
    margin: 0;
  }

  .menu-social-row .social-icons a {
    font-size: 1.2rem;
  }

  header #user-location-time {
    order: 4;
    text-align: right;
    padding: 6px 10px 0 0;
    font-size: 0.8rem;
  }
}

@media (max-width: 768px) {
  header {
    display: grid !important;
    grid-template-columns: 1fr;
    grid-template-areas: "logo" "actions" "info" "nav";
    row-gap: 6px;
    align-items: center;
    justify-items: center;
    padding: 10px 12px;
  }

  header .logo {
    grid-area: logo;
    justify-self: center;
    text-align: center !important;
    font-weight: 800;
    letter-spacing: 0.2px;
  }

  header .menu-social-row {
    grid-area: actions;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 14px;
    width: 100%;
  }

  header .menu-social-row .social-icons {
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
  }

  header .menu-social-row .social-icons i {
    font-size: 1.24rem;
    line-height: 1;
  }

  header #burger {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 1px solid transparent;
    background: transparent;
  }

  header #burger span {
    display: block;
    width: 20px;
    height: 2px;
    margin: 2px 0;
    border-radius: 2px;
    transition: background-color 0.2s ease;
  }

  header #burger:focus-visible {
    outline: 3px solid rgba(248, 217, 15, 0.85);
    outline-offset: 2px;
  }

  header #user-location-time {
    grid-area: info;
    text-align: center !important;
    font-size: 0.85rem;
    line-height: 1.25;
    padding: 2px 8px;
    border-radius: 8px;
    white-space: nowrap;
  }

  header nav {
    grid-area: nav;
    justify-self: stretch;
  }

  body.light-theme header .logo,
  body.light-theme header #user-location-time {
    color: #111 !important;
  }

  body:not(.light-theme) header .logo,
  body:not(.light-theme) header #user-location-time {
    color: #fff !important;
  }

  body.light-theme header .menu-social-row .social-icons i {
    color: #111 !important;
  }

  body:not(.light-theme) header .menu-social-row .social-icons i {
    color: #f8d90f !important;
  }

  body.light-theme header #burger span {
    background: #111 !important;
  }

  body:not(.light-theme) header #burger span {
    background: #f8d90f !important;
  }

  header .menu-social-row .social-icons i {
    background: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
    color: inherit !important;
  }

  @media (max-width: 380px) {
    header #user-location-time {
      white-space: normal;
      text-wrap: balance;
    }
  }
}

@media (max-width: 768px) {
  header {
    row-gap: 8px !important;
  }

  header #burger {
    width: 44px !important;
    height: 44px !important;
  }

  header .menu-social-row {
    gap: 16px !important;
  }

  header .menu-social-row .social-icons i {
    font-size: 1.28rem !important;
  }
}

@media (max-width: 360px) {
  header #user-location-time {
    white-space: normal !important;
    text-wrap: balance;
  }
}

#scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.25s ease;
}

#scroll-progress .bar {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #f5c542, #ffd26a);
}

#scrollTopBtn {
  position: fixed;
  right: 1rem;
  bottom: 1.25rem;
  padding: 0.6rem 0.8rem;
  border: none;
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 1.1rem;
  cursor: pointer;
  backdrop-filter: blur(6px);
  opacity: 0;
  transform: translateY(10px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
  z-index: 9999;
}

#scrollTopBtn.visible {
  opacity: 1;
  transform: translateY(0);
}

.user-time {
  font-size: 0.95rem;
  opacity: 0.9;
  margin: 0.25rem 0;
}

.light-theme .user-time {
  color: #111;
}

.aos-disabled * {
  animation: none !important;
  transition: none !important;
}

header nav a.active {
  text-decoration: underline;
  text-underline-offset: 0.3em;
  text-decoration-thickness: 2px;
}

#videos video {
  display: block;
  width: 100%;
  height: auto;
}

.light-theme #vamos-conversar {
  background-color: #f5c542 !important;
  color: #111 !important;
}

.dark-theme #vamos-conversar {
  background: transparent !important;
  border: 2px solid #f5c542 !important;
  color: #f5c542 !important;
}

html:not(.light-theme) #vamos-conversar {
  background: transparent !important;
  border: 2px solid #f5c542 !important;
  color: #f5c542 !important;
}

#robo {
  display: inline-block;
  margin: 14px 0 26px;
  line-height: 0;
}

#robo .pose {
  display: none;
  max-width: min(240px, 55vw);
  height: auto;
  opacity: 0;
  transform: translateY(4px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease;
}

#robo .pose.is-visible {
  display: block;
  opacity: 1;
  transform: none;
}

@media (max-width: 480px) {
  #robo .pose {
    max-width: 200px;
  }
}

section h2.aos-animate::after {
  transform: scaleX(1);
}

.typed-cursor {
  display: inline-block;
  font-weight: 400;
  line-height: 1;
  margin-left: 2px;
}

#typed-text {
  text-wrap: balance;
}

#robo .pose {
  font-size: 0;
  line-height: 0;
}

#robo .pose {
  aspect-ratio: 1 / 1;
}

#typed-text {
  display: inline-block;
  max-width: 60ch;
  white-space: normal !important;
}

.hero p {
  overflow-wrap: anywhere;
}

[data-aos] {
  opacity: 1 !important;
  transform: none !important;
}

nav a.is-active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

#particles-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
  opacity: 0.3;
  transition: opacity 0.5s ease;
}

@media (max-width: 1024px), (prefers-reduced-motion: reduce) {
  #particles-canvas {
    display: none !important;
  }
}

body.scrolled #particles-canvas {
  opacity: 0.15;
}

#portfolio *[class*="arrow"],
#portfolio *[class*="slick"],
#portfolio *[data-role*="injected"],
#portfolio button[aria-label*="Next" i],
#portfolio button[aria-label*="Anterior" i],
#portfolio button[aria-label*="Próxima" i],
#portfolio button[aria-label*="Prev" i],
#portfolio .carousel-btn,
#portfolio .slick-prev,
#portfolio .slick-next,
#portfolio .slick-arrow,
#portfolio button {
  opacity: 0 !important;
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 20px;
  height: 20px;
  border: 2px solid #f8d90f;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 99999;
  mix-blend-mode: difference;
  transition:
    width 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    background-color 0.35s ease,
    opacity 0.4s ease;
  will-change: transform;
}

.custom-cursor-dot {
  position: fixed;
  top: 0;
  left: 0;
  width: 4px;
  height: 4px;
  background: #f8d90f;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 99999;
  transition:
    opacity 0.4s ease,
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

body.hovering .custom-cursor {
  width: 50px;
  height: 50px;
  background-color: rgba(248, 217, 15, 0.1);
  border-color: transparent;
}

body.scrolled .custom-cursor {
  opacity: 0.6;
}

@media (min-width: 992px) and (pointer: fine) {
  body,
  a,
  button,
  input,
  textarea,
  .logo,
  .portfolio-item {
    cursor: none !important;
  }
}

@media (max-width: 1024px), (pointer: coarse) {
  .custom-cursor,
  .custom-cursor-dot {
    display: none !important;
  }
}

.custom-cursor,
.custom-cursor-dot {
  pointer-events: none !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .custom-cursor,
  .custom-cursor-dot {
    display: none !important;
  }

  #robo {
    animation: none !important;
  }
}

.cv-section-title {
  font-family: "Poppins", sans-serif !important;
  font-weight: 600 !important;
}

.br-glass {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    inset 0 0 0.5px rgba(255, 255, 255, 0.12),
    0 4px 18px rgba(0, 0, 0, 0.35);
  border-radius: 16px;
  transition: all 0.35s ease;
}

html.light-theme .br-glass {
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

body,
p,
li {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    sans-serif !important;
  line-height: 1.6;
  font-weight: 400;
}

h1,
h2,
h3 {
  letter-spacing: -0.01em;
}

#br-preload {
  position: fixed;
  inset: 0;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999999;
  transition: opacity 0.5s ease;
}

#br-preload.fade-out {
  opacity: 0;
  pointer-events: none;
}

#br-preload .pulse {
  width: 56px;
  height: 56px;
  border: 4px solid rgba(248, 217, 15, 0.15);
  border-top-color: #f8d90f;
  border-right-color: #79ffeb;
  background: conic-gradient(from 0deg, #f8d90f, #79ffeb, #f8d90f);
  animation: brSpin 1.2s linear infinite;
  box-shadow: 0 0 30px rgba(248, 217, 15, 0.6);
  opacity: 0.9;
}

@keyframes brSpin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 860px) {
  #br-preload {
    display: none !important;
  }

  html {
    opacity: 1 !important;
  }
}

html {
  opacity: 0;
  transition: opacity 0.001s linear;
}

.theme-toggle {
  visibility: hidden;
}

#robo .pose {
  display: none;
}

.close-modal,
.gallery-close,
.robo-close {
  position: relative;
  font-size: 0 !important;
  color: transparent !important;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 0;
  outline: none;
  cursor: pointer;
}

.close-modal::before,
.close-modal::after,
.gallery-close::before,
.gallery-close::after,
.robo-close::before,
.robo-close::after {
  content: "";
  position: absolute;
  width: 24px;
  height: 2px;
  top: 50%;
  left: 50%;
  transform-origin: center;
  background: currentColor;
}

.close-modal::before,
.gallery-close::before,
.robo-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.close-modal::after,
.gallery-close::after,
.robo-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

html.light-theme .close-modal,
html.light-theme .gallery-close,
html.light-theme .robo-close {
  color: #111;
}

html.dark-theme .close-modal,
html.dark-theme .gallery-close,
html.dark-theme .robo-close {
  color: #fff;
}

html.dark-theme .close-modal:hover,
html.dark-theme .gallery-close:hover,
html.dark-theme .robo-close:hover {
  background: rgba(255, 255, 255, 0.25);
}

html.light-theme .close-modal:hover,
html.light-theme .gallery-close:hover,
html.light-theme .robo-close:hover {
  background: rgba(0, 0, 0, 0.08);
}

.theme-toggle .icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  background: currentColor;
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.theme-toggle .icon-sun {
  -webkit-mask-image: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>   <g fill='%23000' stroke='%23000' stroke-width='0'>     <circle cx='12' cy='12' r='5'/>     <g>       <rect x='11' y='1' width='2' height='4'/>       <rect x='11' y='19' width='2' height='4'/>       <rect x='19' y='11' width='4' height='2'/>       <rect x='1' y='11' width='4' height='2'/>       <rect x='17.071' y='3.515' width='2' height='4' transform='rotate(45 18.071 5.515)'/>       <rect x='4.929' y='16.485' width='2' height='4' transform='rotate(45 5.929 18.485)'/>       <rect x='3.515' y='4.929' width='2' height='4' transform='rotate(-45 4.515 6.929)'/>       <rect x='16.485' y='17.071' width='2' height='4' transform='rotate(-45 17.485 19.071)'/>     </g>   </g> </svg>");
  mask-image: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>   <g fill='%23000' stroke='%23000' stroke-width='0'>     <circle cx='12' cy='12' r='5'/>     <g>       <rect x='11' y='1' width='2' height='4'/>       <rect x='11' y='19' width='2' height='4'/>       <rect x='19' y='11' width='4' height='2'/>       <rect x='1' y='11' width='4' height='2'/>       <rect x='17.071' y='3.515' width='2' height='4' transform='rotate(45 18.071 5.515)'/>       <rect x='4.929' y='16.485' width='2' height='4' transform='rotate(45 5.929 18.485)'/>       <rect x='3.515' y='4.929' width='2' height='4' transform='rotate(-45 4.515 6.929)'/>       <rect x='16.485' y='17.071' width='2' height='4' transform='rotate(-45 17.485 19.071)'/>     </g>   </g> </svg>");
}

.theme-toggle .icon-moon {
  -webkit-mask-image: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>   <path d='M21 12.5A9 9 0 0 1 9.5 3a9 9 0 1 0 11.5 9.5Z' fill='%23000'/> </svg>");
  mask-image: url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'>   <path d='M21 12.5A9 9 0 0 1 9.5 3a9 9 0 1 0 11.5 9.5Z' fill='%23000'/> </svg>");
}

#themeToggle {
  opacity: 0 !important;
  visibility: hidden;
}

#robo .pose {
  display: none !important;
}

#robozinho {
  opacity: 0;
  transition: opacity 0.25s ease-out;
}

html {
  visibility: visible;
}

html[data-prerender="true"] body {
  visibility: hidden;
}

#themeToggle i,
#themeToggle svg,
#themeToggle [class*="fa-"],
#themeIcon i,
#themeIcon svg {
  display: none !important;
}

#themeToggle::before {
  content: "";
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  vertical-align: middle;
  background: currentColor;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='5.5'/><rect x='11.2' y='1.6' width='1.6' height='3.2' rx='0.8'/><rect x='11.2' y='19.2' width='1.6' height='3.2' rx='0.8'/><rect x='19.2' y='11.2' width='3.2' height='1.6' rx='0.8'/><rect x='1.6' y='11.2' width='3.2' height='1.6' rx='0.8'/><g transform='rotate(45 12 12)'><rect x='11.4' y='2.6' width='1.2' height='2.4' rx='0.6'/><rect x='11.4' y='19.0' width='1.2' height='2.4' rx='0.6'/><rect x='19.0' y='11.4' width='2.4' height='1.2' rx='0.6'/><rect x='2.6' y='11.4' width='2.4' height='1.2' rx='0.6'/></g></svg>");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='5.5'/><rect x='11.2' y='1.6' width='1.6' height='3.2' rx='0.8'/><rect x='11.2' y='19.2' width='1.6' height='3.2' rx='0.8'/><rect x='19.2' y='11.2' width='3.2' height='1.6' rx='0.8'/><rect x='1.6' y='11.2' width='3.2' height='1.6' rx='0.8'/><g transform='rotate(45 12 12)'><rect x='11.4' y='2.6' width='1.2' height='2.4' rx='0.6'/><rect x='11.4' y='19.0' width='1.2' height='2.4' rx='0.6'/><rect x='19.0' y='11.4' width='2.4' height='1.2' rx='0.6'/><rect x='2.6' y='11.4' width='2.4' height='1.2' rx='0.6'/></g></svg>");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

html:not(.light-theme) #themeToggle {
  color: #000 !important;
}

html.light-theme #themeToggle::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M21 12.79A9 9 0 1 1 11.21 3a7 7 0 1 0 9.79 9.79z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M21 12.79A9 9 0 1 1 11.21 3a7 7 0 1 0 9.79 9.79z'/></svg>");
}

#themeToggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

body,
p,
a,
span {
  font-family: "Inter", "Poppins", sans-serif !important;
}

h1,
h2,
h3,
.hero h1 {
  font-weight: 700 !important;
}

#imageModal .modal-nav {
  appearance: none;
  -webkit-appearance: none;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  cursor: pointer;
  box-shadow: none !important;
  outline: none;
}

#imageModal .modal-nav:hover {
  background: rgba(0, 0, 0, 1);
  border-color: rgba(255, 255, 255, 0.65);
}

#imageModal .modal-nav:focus-visible {
  outline: 3px solid #f8d90f;
  outline-offset: 2px;
  box-shadow: none !important;
}

#imageModal .modal-nav::before,
#imageModal .modal-nav::after {
  content: none !important;
  box-shadow: none !important;
}

header nav #nav-list li a:hover,
header nav #nav-list li a:focus,
header nav #nav-list li a:active,
#nav-list li a:hover,
#nav-list li a:focus,
#nav-list li a:active,
#nav-list a[href="#about"]:hover,
#nav-list a[href="#about"]:focus,
#nav-list a[href="#about"]:active {
  color: #fff !important;
}

#nav-list a.active {
  color: #f8d90f !important;
  text-shadow: 0 0 6px rgba(248, 217, 15, 0.35);
  transition:
    color 0.25s ease,
    text-shadow 0.25s ease;
}

html.light-theme header nav #nav-list li a {
  color: #111 !important;
  text-shadow: none !important;
}

html.light-theme header nav #nav-list li a:hover,
html.light-theme header nav #nav-list li a:focus,
html.light-theme header nav #nav-list li a:active,
html.light-theme #nav-list li a:hover,
html.light-theme #nav-list li a:focus,
html.light-theme #nav-list li a:active {
  color: #111 !important;
  text-shadow: none !important;
}

html.light-theme #nav-list a.active {
  color: #111 !important;
  text-shadow: none !important;
}

html.light-theme header nav #nav-list li a:focus-visible {
  outline: 3px solid #f8d90f;
  outline-offset: 3px;
  border-bottom: none;
}

#gallery .carousel-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

#gallery .carousel-track {
  display: flex;
  gap: 0;
  transition: transform 0.5s ease;
  will-change: transform;
}

#gallery .carousel-track img {
  flex: 0 0 100%;
  width: 100%;
  height: auto;
  object-fit: contain;
  user-select: none;
  -webkit-user-drag: none;
}

#gallery .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

#gallery .carousel-btn.prev {
  left: 8px;
}

#gallery .carousel-btn.next {
  right: 8px;
}

#gallery .carousel-btn:focus-visible {
  outline: 3px solid #f8d90f;
  outline-offset: 2px;
}

#imageModal[aria-hidden="true"] {
  display: none !important;
}

#imageModal[aria-hidden="false"] {
  display: flex !important;
}

.logo:focus {
  outline: none !important;
  box-shadow: none !important;
}

.logo:hover {
  color: #f8d90f !important;
  transition: color 0.25s ease;
}

#portfolio-grid .portfolio-item {
  display: block !important;
  visibility: visible !important;
}

#portfolio-grid img {
  max-width: 100%;
  height: auto;
  display: block;
}

#portfolio {
  overflow: visible !important;
}

#themeIcon .fa-fallback {
  display: none !important;
}

#themeIcon i {
  display: inline-block;
}

#themeIcon .icon-sun,
#themeIcon .icon-moon {
  display: none;
  line-height: 1;
}

html.light-theme #themeIcon .icon-moon {
  display: inline;
}

html.light-theme #themeIcon .icon-sun {
  display: none;
}

html:not(.light-theme) #themeIcon .icon-sun {
  display: inline;
}

html:not(.light-theme) #themeIcon .icon-moon {
  display: none;
}

.fa-ready #themeIcon .fa-fallback {
  display: none;
}

#themeIcon .icon-sun,
#themeIcon .icon-moon {
  transition:
    opacity 0.2s ease-out,
    transform 0.2s ease-out;
  opacity: 0;
  transform: scale(0.85);
}

html.light-theme #themeIcon .icon-moon,
html:not(.light-theme) #themeIcon .icon-sun {
  opacity: 1;
  transform: scale(1);
}

#imageModal .modal-nav,
#imageModal .modal-nav:focus,
#imageModal .modal-nav:focus-visible,
#imageModal .modal-nav:active,
#imageModal .modal-nav:hover {
  outline: none !important;
  box-shadow: none !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  transform: none !important;
}

#gallery .carousel-btn,
#gallery .carousel-btn:focus,
#gallery .carousel-btn:focus-visible,
#gallery .carousel-btn:active,
#gallery .carousel-btn:hover {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  transform: none !important;
}

#imageModal #modalImage {
  transition: opacity 0.45s ease-in-out;
  opacity: 1;
}

#imageModal #modalImage.is-fading {
  opacity: 0.12;
}

#gallery .carousel-track {
  transition: transform 0.6s ease-in-out !important;
}

#imageModal #modalImage {
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
  opacity: 1;
  transform: scale(1);
}

#imageModal #modalImage.is-fading {
  opacity: 0;
  transform: scale(0.98);
}

#gallery .carousel-track img {
  transition: none !important;
  opacity: 1 !important;
  transform: none !important;
}

body.modal-open .carousel-btn,
body.modal-open .slick-prev,
body.modal-open .slick-next,
body.modal-open #scrollTopBtn,
body.modal-open #themeToggle,
body.modal-open #ai-play {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

#imageModal .modal-nav {
  display: inline-flex !important;
}

#imageModal {
  z-index: 10000 !important;
}

#imageModal .modal-nav {
  z-index: 10002 !important;
}

#imageModal .close-modal {
  z-index: 10003 !important;
}

body.modal-open .carousel-btn,
body.modal-open .slick-prev,
body.modal-open .slick-next,
body.modal-open [class*="slick-"] {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#imageModal[aria-hidden="false"] .modal-nav {
  display: inline-flex !important;
}

.slick-prev,
.slick-next,
[class*="slick-"].slick-arrow {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

[data-killed-arrow="1"] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#imageModal .modal-nav,
#gallery .carousel-container .carousel-btn {
  display: inline-flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

#backToTopSquare {
  display: none;
}

body.light-theme #scrollTopBtn {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15) !important;
}

body:not(.light-theme) #scrollTopBtn {
  box-shadow: none !important;
}

#scrollTopBtn {
  background-color: #ffcc00 !important;
  color: #000 !important;
  border-radius: 9999px !important;
  width: 48px !important;
  height: 48px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  line-height: 1 !important;
}

#scrollTopBtn i,
#scrollTopBtn svg {
  color: #000 !important;
  width: 18px;
  height: 18px;
}

#scrollTopBtn:hover {
  background-color: #e6b800 !important;
}

.btn-circular {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: #ffd700;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  cursor: pointer;
  border: none;
}

.btn-circular:hover {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

#backToTop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  display: none;
  z-index: 999;
}

.dark-mode .btn-circular {
  background-color: #ffd700;
  color: #000;
}

:root {
  --space-2xs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
}

.container {
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 40px);
}

section h2 {
  margin-bottom: var(--space-sm) !important;
  line-height: 1.2;
}

section .intro-text {
  max-width: 68ch;
  margin-inline: auto;
  margin-bottom: var(--space-xl) !important;
}

section h2 + p {
  max-width: 68ch;
  margin-inline: auto;
  margin-top: 0 !important;
  margin-bottom: var(--space-xl) !important;
}

#about,
#services,
#gallery,
#videos,
#portfolio,
#contact {
  scroll-margin-top: var(--space-3xl);
}

#services .services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-xl);
}

@media (max-width: 768px) {
  #services .services-grid {
    gap: var(--space-lg);
  }
}

#videos .container > div[style*="display:grid"] {
  gap: var(--space-xl) !important;
}

@media (max-width: 768px) {
  #videos .container > div[style*="display:grid"] {
    gap: var(--space-lg) !important;
  }
}

#portfolio .intro-text {
  margin-bottom: var(--space-xl) !important;
}

#portfolio-grid {
  gap: var(--space-lg);
}

h2 {
  font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
}

h3 {
  font-size: clamp(1.125rem, 1rem + 0.6vw, 1.375rem);
}

p {
  line-height: 1.6;
}

#nav-list a.active {
  text-shadow: 0 0 6px rgba(248, 217, 15, 0.35);
}

#gallery .carousel-btn {
  top: 50%;
  transform: translateY(-50%);
}

#imageModal {
  z-index: 10000;
}

section {
  padding-block: clamp(32px, 6vw, 88px);
}

.hero {
  padding-block: clamp(48px, 8vw, 120px);
}

#about .container p {
  max-width: 68ch;
}

#gallery .carousel-container {
  max-width: 960px;
  margin-inline: auto;
}

@media (max-width: 1024px) {
  #gallery .carousel-container {
    max-width: 720px;
  }
}

@media (max-width: 768px) {
  #gallery .carousel-container {
    max-width: 100%;
  }
}

:root {
  --br-radius: 14px;
  --br-radius-lg: 18px;
  --br-shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.12);
  --br-shadow-md: 0 6px 18px rgba(0, 0, 0, 0.18);
  --br-shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.18);
  --br-card-gap: clamp(16px, 3vw, 28px);
  --br-card-pad: clamp(14px, 2.2vw, 22px);
  --br-anim-fast: 0.18s;
  --br-anim: 0.28s;
  --br-anim-slow: 0.45s;
}

#services .services-grid {
  gap: var(--br-card-gap) !important;
}

#services .service-card {
  border-radius: var(--br-radius-lg);
  padding: var(--br-card-pad);
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: saturate(120%) blur(1px);
  box-shadow: var(--br-shadow-sm);
  transition:
    transform var(--br-anim) ease,
    box-shadow var(--br-anim) ease,
    background var(--br-anim) ease;
}

html.light-theme #services .service-card {
  background: #fff;
}

#services .service-card:hover,
#services .service-card:focus-within {
  transform: translateY(-2px);
  box-shadow: var(--br-shadow-md);
  outline: none;
}

#services .service-card h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.btn,
#vamos-conversar {
  border-radius: 999px;
  padding: 0.9rem 1.25rem;
  min-height: 44px;
  line-height: 1.1;
  transition:
    transform var(--br-anim-fast) ease,
    box-shadow var(--br-anim-fast) ease;
  box-shadow: var(--br-shadow-sm);
}

.btn:hover,
#vamos-conversar:hover {
  transform: translateY(-1px);
  box-shadow: var(--br-shadow-md);
}

.btn:active,
#vamos-conversar:active {
  transform: translateY(0);
}

#portfolio-grid img {
  border-radius: var(--br-radius);
  box-shadow: var(--br-shadow-sm);
}

#portfolio-grid .portfolio-item {
  transition:
    transform var(--br-anim) ease,
    box-shadow var(--br-anim) ease;
}

#portfolio-grid .portfolio-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--br-shadow-soft);
}

#gallery .carousel-btn {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  box-shadow: var(--br-shadow-sm);
  transition:
    transform var(--br-anim-fast) ease,
    box-shadow var(--br-anim-fast) ease;
}

#gallery .carousel-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--br-shadow-md);
}

#imageModal #modalImage {
  border-radius: var(--br-radius-lg);
}

@media (max-width: 768px) {
  header nav #nav-list li a {
    padding: 0.75rem 0.25rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0s !important;
    scroll-behavior: auto !important;
  }
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

#about .container p,
section p {
  hyphens: auto;
  text-wrap: pretty;
}

#about .container p,
#podcast p {
  hyphens: none !important;
}

header {
  background-color: rgba(0, 0, 0, 0.45) !important;
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  backdrop-filter: blur(10px) saturate(180%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition:
    background-color 0.4s ease,
    border-color 0.4s ease;
}

html.light-theme header {
  background-color: rgba(255, 255, 255, 0.75) !important;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

#services .service-card {
  background: rgba(255, 255, 255, 0.03) !important;
  -webkit-backdrop-filter: blur(4px) saturate(150%);
  backdrop-filter: blur(4px) saturate(150%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25) !important;
  transition: all 0.35s ease;
}

#services .service-card:hover {
  border-color: rgba(248, 217, 15, 0.5);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.08),
    rgba(121, 255, 235, 0.08)
  ) !important;
  box-shadow:
    0 6px 18px rgba(248, 217, 15, 0.15),
    0 0 8px rgba(121, 255, 235, 0.25) !important;
  transform: translateY(-4px) !important;
}

html.light-theme #services .service-card {
  background: rgba(255, 255, 255, 0.92) !important;
  border: 1px solid rgba(0, 0, 0, 0.12);
}

footer {
  background-color: rgba(0, 0, 0, 0.55) !important;
  -webkit-backdrop-filter: blur(4px) saturate(150%);
  backdrop-filter: blur(4px) saturate(150%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

html.light-theme footer {
  background-color: rgba(255, 255, 255, 0.85) !important;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

html {
  transition:
    background-color 0.4s ease,
    color 0.4s ease;
}

#gallery .carousel-track img,
#portfolio-grid img {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

#gallery .carousel-track img:hover,
#portfolio-grid img:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

section h2 > i {
  margin-right: 8px;
}

header nav #nav-list li a {
  position: relative;
  transition: color 0.22s ease;
}

header nav #nav-list li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 0;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition:
    width 0.22s ease,
    left 0.22s ease,
    opacity 0.22s ease;
  opacity: 0.9;
}

header nav #nav-list li a:hover::after,
header nav #nav-list li a:focus-visible::after,
header nav #nav-list li a.active::after {
  left: 0;
  width: 100%;
}

header nav #nav-list li a:focus-visible {
  outline: 2px solid #f8d90f;
  outline-offset: 3px;
  border-radius: 6px;
}

#nav-list a.active {
  font-weight: 600;
}

html.light-theme #nav-list a.active {
  color: #111 !important;
}

html:not(.light-theme) #nav-list a.active {
  color: #f8d90f !important;
}

@media (prefers-reduced-motion: reduce) {
  header nav #nav-list li a::after {
    transition: none !important;
  }
}

header {
  contain: layout paint;
}

#services {
  text-align: center;
}

#services .service-card h3,
#services .service-card p {
  text-align: center;
  word-break: keep-all;
  white-space: normal;
  hyphens: none;
  margin-inline: auto;
}

#services .service-card h3 {
  justify-content: center;
}

#videos .video-wrapper {
  position: relative;
}

#videos video {
  display: block;
  width: 100%;
  border-radius: 12px;
}

#videos .loader-neon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  transition:
    opacity 0.25s ease,
    visibility 0.25s ease;
  opacity: 0;
  visibility: hidden;
}

#videos .loader-neon.is-active {
  opacity: 1;
  visibility: visible;
}

#videos .loader-neon::before {
  content: "";
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid rgba(248, 217, 15, 0.25);
  border-top-color: #f8d90f;
  border-right-color: #79ffeb;
  animation:
    br-spin 1s linear infinite,
    br-glow 1.8s ease-in-out infinite alternate;
  box-shadow: 0 0 10px rgba(248, 217, 15, 0.25);
}

html.light-theme #videos .loader-neon::before {
  border: 3px solid rgba(0, 0, 0, 0.12);
  border-top-color: #f8d90f;
  border-right-color: #79ffeb;
}

@keyframes br-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes br-glow {
  0% {
    box-shadow:
      0 0 8px rgba(248, 217, 15, 0.35),
      0 0 0 rgba(121, 255, 235, 0);
  }

  100% {
    box-shadow:
      0 0 18px rgba(121, 255, 235, 0.45),
      0 0 0 rgba(248, 217, 15, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  #videos .loader-neon::before {
    animation: none;
  }
}

html.light-theme #dataHora {
  color: #111 !important;
}

html:not(.light-theme) #dataHora {
  color: #fff !important;
}

h1,
h2 {
  letter-spacing: normal !important;
  transition: none !important;
}

h1:hover,
h2:hover {
  letter-spacing: normal !important;
}

@media (max-width: 768px) {
  #about .container p {
    font-size: 0.95rem !important;
    line-height: 1.45 !important;
  }
}


.curriculo-nome {
  font-family: "Poppins", sans-serif !important;
  font-weight: 600;
  font-size: 2rem;
  transition: color 0.3s ease;
}

body.light-mode .curriculo-nome,
html[data-theme="light"] .curriculo-nome,
:root:not(.dark) .curriculo-nome {
  color: #000000 !important;
}

body.dark-mode .curriculo-nome,
html[data-theme="dark"] .curriculo-nome,
:root.dark .curriculo-nome {
  color: #f8d90f !important;
}

@media (prefers-color-scheme: dark) {
  .curriculo-nome {
    color: #f8d90f !important;
  }
}

@media (prefers-color-scheme: light) {
  .curriculo-nome {
    color: #000000 !important;
  }
}

:root .curriculo-nome {
  font-family: "Poppins", sans-serif !important;
  font-weight: 600;
  letter-spacing: 0.2px;
  transition: color 0.25s ease;
}

:root:not(.dark) .curriculo-nome,
html:not(.dark) body .curriculo-nome,
html[data-theme="light"] .curriculo-nome,
body.light-mode .curriculo-nome {
  color: #000 !important;
}

:root.dark .curriculo-nome,
html.dark body .curriculo-nome,
html[data-theme="dark"] .curriculo-nome,
body.dark-mode .curriculo-nome {
  color: #f8d90f !important;
}

@media (prefers-color-scheme: light) {
  .curriculo-nome {
    color: #000 !important;
  }
}

#nome-cv.curriculo-nome {
  font-family: "Poppins", sans-serif !important;
  font-weight: 600 !important;
  letter-spacing: 0.2px;
}

html.dark body #curriculo #nome-cv.curriculo-nome,
html.dark #curriculo #nome-cv.curriculo-nome,
html.dark body #nome-cv.curriculo-nome,
html.dark #nome-cv.curriculo-nome,
body.dark-mode #nome-cv.curriculo-nome,
html[data-theme="dark"] #nome-cv.curriculo-nome {
  color: #f8d90f !important;
  -webkit-text-fill-color: #f8d90f !important;
  -webkit-text-stroke: 0 !important;
  text-shadow: none !important;
  mix-blend-mode: normal !important;
  filter: none !important;
  opacity: 1 !important;
  background: none !important;
  background-clip: initial !important;
  -webkit-background-clip: initial !important;
  isolation: isolate !important;
  position: relative;
  z-index: 2;
}

html:not(.dark) #nome-cv.curriculo-nome,
:root:not(.dark) #nome-cv.curriculo-nome,
body.light-mode #nome-cv.curriculo-nome,
html[data-theme="light"] #nome-cv.curriculo-nome {
  color: #000 !important;
}

:where(h1, h2) {
  font-weight: 600 !important;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.slick-prev,
.slick-next,
[class*="slick-"].slick-arrow,
#gallery .carousel-btn,
#imageModal .modal-nav,
#imageModal .modal-nav > button {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  transform: none !important;
  filter: none !important;
  background: transparent;
}

.slick-prev:focus-visible,
.slick-next:focus-visible,
[class*="slick-"].slick-arrow:focus-visible,
#gallery .carousel-btn:focus-visible,
#imageModal .modal-nav:focus-visible,
#imageModal .modal-nav > button:focus-visible {
  outline: 2px solid currentColor !important;
  outline-offset: 2px !important;
}

.light-theme .site-nav a {
  color: #111 !important;
}

.light-theme .site-nav a:hover,
.light-theme .site-nav a:focus {
  color: #000 !important;
}

.light-theme .site-nav a.active {
  color: #000 !important;
  border-bottom: 2px solid #000 !important;
}

:root:not(.light-theme) .site-nav a {
  color: #f8d90f !important;
}

:root:not(.light-theme) .site-nav a:hover,
:root:not(.light-theme) .site-nav a:focus {
  color: #f8d90f !important;
}

:root:not(.light-theme) .site-nav a.active {
  color: #f8d90f !important;
  border-bottom: 2px solid #f8d90f !important;
}

.section-line,
.title-line,
.linha,
.linha-de,
.separator-line {
  height: 2px;
  display: block;
  width: 100%;
  border: 0;
  background: currentColor;
}

.light-theme .section-line,
.light-theme .title-line,
.light-theme .linha,
.light-theme .linha-de,
.light-theme .separator-line {
  color: #000 !important;
  background: #000 !important;
}

:root:not(.light-theme) .section-line,
:root:not(.light-theme) .title-line,
:root:not(.light-theme) .linha,
:root:not(.light-theme) .linha-de,
:root:not(.light-theme) .separator-line {
  color: #f8d90f !important;
  background: #f8d90f !important;
}

@media (prefers-reduced-motion: reduce) {
  .section-line,
  .title-line,
  .linha,
  .linha-de,
  .separator-line {
    animation: none !important;
    transition: none !important;
  }

  .slick-track,
  .slick-slide,
  #gallery .carousel,
  #imageModal .modal-content {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

:where(p, li, blockquote) {
  text-wrap: pretty;
}

:where(h1, h2, h3) {
  text-wrap: balance;
}

.nowrap {
  white-space: nowrap !important;
}

.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

#galleryImageModal img:focus,
#galleryImageModal img:active,
#galleryImageModal:focus {
  outline: none !important;
  border: none !important;
  box-shadow: none !important;
}

#galleryImageModal .gallery-nav {
  display: block !important;
  opacity: 0.85;
  transition: opacity 0.2s ease-in-out;
}

#galleryImageModal .gallery-nav:hover {
  opacity: 1;
}

#galleryImageModal #galleryPrev,
#galleryImageModal #galleryNext {
  z-index: 10001 !important;
}

#galleryImageModal .gallery-nav {
  display: block !important;
  opacity: 0;
  transform: translateY(-50%) translateX(20px);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

#galleryImageModal[aria-hidden="false"] #galleryPrev,
#galleryImageModal[aria-hidden="false"] #galleryNext {
  opacity: 0.85;
  transform: translateY(-50%) translateX(0);
}

#galleryImageModal .gallery-nav:hover {
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.6));
  transition:
    opacity 0.2s ease,
    filter 0.2s ease;
}

#galleryImageModal .gallery-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  font-size: 22px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease-in-out;
  z-index: 10006 !important;
}

#galleryImageModal .gallery-close:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: none;
  filter: none;
}

#imageModal .close-modal {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  background: rgba(0, 0, 0, 0.55) !important;
  color: #fff !important;
  font-size: 22px !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.25s ease-in-out !important;
  z-index: 10006 !important;
}

#imageModal .close-modal:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  transform: scale(1.05) !important;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5)) !important;
}

#galleryImageModal .gallery-close,
#imageModal .close-modal {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  background: rgba(0, 0, 0, 0.55) !important;
  color: #fff !important;
  font-size: 22px !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    filter 0.25s ease !important;
  z-index: 10010 !important;
  opacity: 0;
  animation: fadeInCloseBtn 0.4s ease forwards 0.1s;
}

#galleryImageModal .gallery-close:hover,
#imageModal .close-modal:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  transform: scale(1.05) !important;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5)) !important;
}

@keyframes fadeInCloseBtn {
  0% {
    opacity: 0;
    transform: scale(0.9);
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }
}

:root {
  --br-close-size: 44px;
  --br-close-font: 22px;
  --br-close-bg: rgba(0, 0, 0, 0.55);
  --br-close-border: 1px solid rgba(255, 255, 255, 0.25);
  --br-close-color: #fff;
  --br-close-z: 10010;
}

#galleryImageModal .gallery-close,
#imageModal .close-modal {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  width: var(--br-close-size) !important;
  height: var(--br-close-size) !important;
  border-radius: 50% !important;
  border: var(--br-close-border) !important;
  background: var(--br-close-bg) !important;
  color: var(--br-close-color) !important;
  font-size: var(--br-close-font) !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  z-index: var(--br-close-z) !important;
  box-shadow: none !important;
  text-shadow: none !important;
  outline: none !important;
  filter: none !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  opacity: 0;
  transform: scale(0.9);
  transition:
    background 0.25s ease,
    transform 0.25s ease,
    filter 0.25s ease,
    opacity 0.25s ease !important;
}

#galleryImageModal[aria-hidden="false"] .gallery-close,
#imageModal[aria-hidden="false"] .close-modal {
  opacity: 1 !important;
  transform: scale(1) !important;
}

#galleryImageModal .gallery-close:hover,
#imageModal .close-modal:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  transform: scale(1.05) !important;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.5)) !important;
}

#galleryImageModal .gallery-close:focus-visible,
#imageModal .close-modal:focus-visible {
  outline: 3px solid #f8d90f !important;
  outline-offset: 2px !important;
}

#galleryImageModal .gallery-close,
#imageModal .close-modal {
  visibility: visible !important;
  pointer-events: auto !important;
  display: flex !important;
}

#galleryImageModal .gallery-close,
#imageModal .close-modal {
  font-size: 0 !important;
  color: transparent !important;
  text-shadow: none !important;
}

#galleryImageModal .gallery-close::before,
#galleryImageModal .gallery-close::after,
#imageModal .close-modal::before,
#imageModal .close-modal::after {
  height: 2px !important;
  width: 14px !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  background: #fff !important;
}

#galleryImageModal .gallery-close:hover,
#imageModal .close-modal:hover {
  filter: none !important;
  background: rgba(255, 255, 255, 0.22) !important;
  box-shadow: none !important;
}

html.light-theme #imageModal .close-modal::before,
html.light-theme #imageModal .close-modal::after,
html.light-theme #galleryImageModal .gallery-close::before,
html.light-theme #galleryImageModal .gallery-close::after {
  background: #111 !important;
  box-shadow: none !important;
}

html.light-theme #imageModal .close-modal,
html.light-theme #galleryImageModal .gallery-close {
  background: rgba(255, 255, 255, 0.9) !important;
  border: 1px solid rgba(0, 0, 0, 0.2) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

#contact button,
#contact input[type="submit"],
#contact .btn-enviar {
  background: transparent !important;
  border: 2px solid #f8d90f !important;
  color: #f8d90f !important;
  transition: all 0.3s ease;
}

#contact button:hover,
#contact input[type="submit"]:hover,
#contact .btn-enviar:hover {
  background: linear-gradient(90deg, #f8d90f 0%, #f89b0f 100%) !important;
  color: #111 !important;
  box-shadow: 0 4px 14px rgba(248, 217, 15, 0.25) !important;
  transform: translateY(-1px);
}

html.light-theme #contact button,
html.light-theme #contact input[type="submit"],
html.light-theme #contact .btn-enviar {
  border-color: #111 !important;
  color: #111 !important;
}


html.light-theme .close-btn::before,
html.light-theme .close-btn::after,
html.light-theme .gallery-close::before,
html.light-theme .gallery-close::after,
html.light-theme .close-modal::before,
html.light-theme .close-modal::after {
  background: #111 !important;
}

html:not(.light-theme) .close-btn:hover,
html:not(.light-theme) .gallery-close:hover,
html:not(.light-theme) .close-modal:hover {
  background: rgba(255, 255, 255, 0.25) !important;
}

button:focus-visible,
a:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  .section-line,
  .title-line,
  .linha,
  .linha-decorativa {
    animation: none !important;
    transition: none !important;
  }
}

html:not(.light-theme) .lock-black-text {
  color: inherit !important;
}

html.light-theme #robo .pose[data-theme="light"].is-visible {
  display: block !important;
}

html.light-theme #robo .pose[data-theme="dark"] {
  display: none !important;
}

html:not(.light-theme) #robo .pose[data-theme="dark"].is-visible {
  display: block !important;
}

html:not(.light-theme) #robo .pose[data-theme="light"] {
  display: none !important;
}

@media (prefers-color-scheme: light) {
  #robo .pose[data-theme="dark"] {
    display: none !important;
  }
}

@media (prefers-color-scheme: dark) {
  #robo .pose[data-theme="light"] {
    display: none !important;
  }
}

.portfolio-carousel .slick-prev:focus,
.portfolio-carousel .slick-next:focus,
.portfolio-carousel .slick-prev:hover,
.portfolio-carousel .slick-next:hover {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.portfolio-carousel .slick-prev,
.portfolio-carousel .slick-next,
.gallery-carousel .slick-prev,
.gallery-carousel .slick-next {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.portfolio-carousel .slick-prev:focus,
.portfolio-carousel .slick-next:focus,
.portfolio-carousel .slick-prev:hover,
.portfolio-carousel .slick-next:hover,
.gallery-carousel .slick-prev:focus,
.gallery-carousel .slick-next:focus,
.gallery-carousel .slick-prev:hover,
.gallery-carousel .slick-next:hover {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  transform: none !important;
}

.portfolio-carousel .slick-prev:focus,
.portfolio-carousel .slick-next:focus,
.gallery-carousel .slick-prev:focus,
.gallery-carousel .slick-next:focus,
.portfolio-carousel .slick-prev:active,
.portfolio-carousel .slick-next:active,
.gallery-carousel .slick-prev:active,
.gallery-carousel .slick-next:active {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
}

.portfolio-carousel .slick-prev:hover,
.portfolio-carousel .slick-next:hover,
.gallery-carousel .slick-prev:hover,
.gallery-carousel .slick-next:hover {
  outline: none !important;
  box-shadow: none !important;
  border: none !important;
  transform: none !important;
}

#robo-fala {
  opacity: 1;
  transition: opacity 0.35s ease;
}

#robo-fala.is-hidden {
  opacity: 0;
  visibility: hidden;
}

#services .service-card h3 i {
  color: #f8d90f;
  text-shadow:
    0 0 6px rgba(248, 217, 15, 0.5),
    0 0 12px rgba(248, 217, 15, 0.25);
  transition:
    text-shadow 0.35s ease,
    transform 0.3s ease,
    color 0.3s ease;
}

#services .service-card:hover h3 i {
  color: #f8d90f;
  text-shadow:
    0 0 10px rgba(248, 217, 15, 0.85),
    0 0 20px rgba(121, 255, 235, 0.5),
    0 0 28px rgba(121, 255, 235, 0.35);
  transform: scale(1.15) rotate(2deg);
}

html.light-theme #services .service-card h3 i {
  text-shadow:
    0 0 4px rgba(248, 217, 15, 0.4),
    0 0 8px rgba(248, 217, 15, 0.2);
}

#robo img.pose[data-theme="dark"] {
  filter: drop-shadow(0 0 8px #f8d90f)
    drop-shadow(0 0 16px rgba(248, 217, 15, 0.5));
  transition: filter 0.5s ease;
}

@keyframes holoPulse {
  0% {
    filter: drop-shadow(0 0 6px rgba(248, 217, 15, 0.6))
      drop-shadow(0 0 12px rgba(248, 217, 15, 0.4));
  }

  50% {
    filter: drop-shadow(0 0 10px rgba(248, 217, 15, 0.95))
      drop-shadow(0 0 20px rgba(121, 255, 235, 0.6));
  }

  100% {
    filter: drop-shadow(0 0 6px rgba(248, 217, 15, 0.6))
      drop-shadow(0 0 12px rgba(248, 217, 15, 0.4));
  }
}

html:not(.light-theme) #robo img.pose.is-visible {
  animation: holoPulse 5s infinite ease-in-out;
}

html.light-theme #robo img.pose[data-theme="light"] {
  filter: drop-shadow(0 0 4px rgba(248, 217, 15, 0.25));
}

:root {
  --cp-yellow: #f8d90f;
  --cp-cyan: #79ffeb;
  --cp-magenta: #ff2bbf;
  --cp-grid: rgba(255, 255, 255, 0.06);
}

html:not(.light-theme) body {
  background-image:
    radial-gradient(
      1200px 600px at 20% -10%,
      rgba(255, 255, 255, 0.04),
      transparent 60%
    ),
    radial-gradient(
      1000px 500px at 120% 110%,
      rgba(121, 255, 235, 0.06),
      transparent 60%
    ),
    linear-gradient(0deg, transparent 95%, var(--cp-grid) 96%),
    linear-gradient(90deg, transparent 95%, var(--cp-grid) 96%),
    url("data:image/svg+xml;utf8, <svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence baseFrequency='0.8' numOctaves='1' stitchTiles='stitch' /></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='0.035'/></svg>");
  background-size:
    100% 100%,
    100% 100%,
    18px 18px,
    18px 18px,
    160px 160px;
  background-attachment: fixed;
}

html:not(.light-theme) header {
  background-color: rgba(0, 0, 0, 0.55) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.45);
}

h1,
h2 {
  font-weight: 700 !important;
}

a:focus-visible,
button:focus-visible,
.btn:focus-visible,
#nav-list a:focus-visible {
  outline: 3px solid var(--cp-magenta) !important;
  outline-offset: 3px !important;
}

#nav-list a.active {
  color: var(--cp-magenta) !important;
  text-shadow: 0 0 8px rgba(255, 43, 191, 0.35);
}

.btn,
#vamos-conversar {
  box-shadow: 0 0 0 0 rgba(255, 43, 191, 0);
  transition:
    box-shadow 0.25s ease,
    transform 0.18s ease;
}

.btn:hover,
#vamos-conversar:hover {
  box-shadow:
    0 0 22px rgba(255, 43, 191, 0.25),
    0 0 10px rgba(121, 255, 235, 0.15);
  transform: translateY(-1px);
}

#services .service-card:hover h3 i {
  color: var(--cp-yellow);
  text-shadow:
    0 0 10px rgba(248, 217, 15, 0.9),
    0 0 22px rgba(121, 255, 235, 0.55),
    0 0 34px rgba(255, 43, 191, 0.45);
}

html:not(.light-theme) #robo img.pose.is-visible {
  filter: drop-shadow(0 0 8px var(--cp-yellow))
    drop-shadow(0 0 16px rgba(248, 217, 15, 0.45))
    drop-shadow(1px 0 0 rgba(255, 43, 191, 0.4))
    drop-shadow(-1px 0 0 rgba(121, 255, 235, 0.4));
  animation:
    holoPulse 5s ease-in-out infinite,
    cpHue 6s ease-in-out infinite;
}

@keyframes cpHue {
  0%,
  100% {
    filter: hue-rotate(0deg) saturate(1) contrast(1);
  }

  50% {
    filter: hue-rotate(8deg) saturate(1.15) contrast(1.05);
  }
}

.logo,
h1,
h2 {
  position: relative;
  will-change: transform, text-shadow;
}

.logo:hover,
h1:hover,
h2:hover {
  text-shadow:
    1px 0 0 rgba(255, 43, 191, 0.6),
    -1px 0 0 rgba(121, 255, 235, 0.6),
    0 0 14px rgba(248, 217, 15, 0.35);
  animation: cpGlitch 0.65s steps(2, end) 1;
}

@keyframes cpGlitch {
  0% {
    transform: translate(0, 0);
  }

  20% {
    transform: translate(-1px, 0);
  }

  40% {
    transform: translate(1px, 0);
  }

  60% {
    transform: translate(-1px, 0);
  }

  80% {
    transform: translate(1px, 0);
  }

  100% {
    transform: translate(0, 0);
  }
}

#imageModal #modalImage.is-fading {
  opacity: 0.06;
  transform: scale(0.985) skewX(0.25deg);
  filter: saturate(1.1) contrast(1.05);
}

:root {
  --br-line-grad: linear-gradient(
    90deg,
    var(--cp-yellow) 0%,
    var(--cp-magenta) 50%,
    var(--cp-cyan) 100%
  ) !important;
}


#imageModal .close-modal,
#portfolioModal .close-modal,
.gallery-modal .close-modal {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  user-select: none;
  z-index: 10003;
  border: 1.5px solid transparent;
  box-shadow: none !important;
  outline: none !important;
}

html.light-theme #imageModal .close-modal,
html.light-theme #portfolioModal .close-modal,
html.light-theme .gallery-modal .close-modal {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #111 !important;
  border-color: rgba(0, 0, 0, 0.25) !important;
  text-shadow: none !important;
}

html:not(.light-theme) #imageModal .close-modal,
html:not(.light-theme) #portfolioModal .close-modal,
html:not(.light-theme) .gallery-modal .close-modal {
  background: rgba(0, 0, 0, 0.85) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
  text-shadow: none !important;
}

#imageModal .close-modal:hover,
#portfolioModal .close-modal:hover,
.gallery-modal .close-modal:hover {
  filter: brightness(1.05);
}

#imageModal .close-modal:focus-visible,
#portfolioModal .close-modal:focus-visible,
.gallery-modal .close-modal:focus-visible {
  outline: 3px solid #f8d90f !important;
  outline-offset: 2px;
}

#imageModal .modal-nav:focus-visible {
  outline: 3px solid #f8d90f;
  outline-offset: 2px;
}

#gallery .carousel-container {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
  overflow: hidden;
}

@media (max-width: 1024px) {
  #gallery .carousel-container {
    max-width: 720px;
  }
}

@media (max-width: 768px) {
  section h2 i,
  section h2 svg {
    font-size: 1.15em !important;
  }
}

#imageModal .close-modal,
#galleryImageModal .gallery-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 22px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10006;
  border: 1.5px solid transparent;
  text-shadow: none !important;
  box-shadow: none !important;
}

html.light-theme #imageModal .close-modal,
html.light-theme #galleryImageModal .gallery-close {
  background: rgba(255, 255, 255, 0.95) !important;
  color: #111 !important;
  border-color: rgba(0, 0, 0, 0.25) !important;
}

html:not(.light-theme) #imageModal .close-modal,
html:not(.light-theme) #galleryImageModal .gallery-close {
  background: rgba(0, 0, 0, 0.85) !important;
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}

#imageModal .close-modal:focus-visible,
#galleryImageModal .gallery-close:focus-visible {
  outline: 3px solid #f8d90f !important;
  outline-offset: 2px;
}

@media (min-width: 861px) and (max-width: 1300px) {
  header[role="banner"] {
    flex-wrap: wrap !important;
    justify-content: space-between !important;
    align-content: center !important;
    padding: 0.5rem 1.5rem !important;
    gap: 0 !important;
    height: auto !important;
  }

  header[role="banner"] > .logo {
    flex: 0 0 auto;
    margin-right: auto !important;
    font-size: 1.2rem !important;
  }

  header[role="banner"] > nav {
    order: 2;
    flex: 1 1 auto;
    display: flex;
    justify-content: center;
  }

  header[role="banner"] > nav #nav-list {
    gap: 8px !important;
  }

  header[role="banner"] > nav #nav-list a {
    font-size: 0.85rem !important;
    padding: 4px 8px !important;
  }

  header[role="banner"] > .menu-social-row {
    order: 3;
    flex: 0 0 auto;
    margin-left: 0.5rem !important;
  }

  header[role="banner"] .social-icons a {
    width: 28px !important;
    height: 28px !important;
    font-size: 0.9rem !important;
  }

  header[role="banner"] > #dataHora {
    display: block !important;
    width: 100% !important;
    order: 4;
    text-align: center !important;
    margin-top: 6px !important;
    padding-top: 6px !important;
    padding-right: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.75rem !important;
    opacity: 0.8;
  }
}

@media (min-width: 861px) and (max-width: 1300px) {
  #videos .container > div {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 1.5rem !important;
    padding: 0 1rem !important;
  }

  #videos .video-wrapper {
    max-width: 320px !important;
    margin: 0 auto !important;
  }

  #videos video {
    border-radius: 14px !important;
    height: 420px !important;
    max-height: 70vh !important;
    object-fit: cover !important;
  }

  #videos .video-overlay-play {
    width: 68px !important;
    height: 68px !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
  }
}

@media (min-width: 861px) and (max-width: 1300px) {
  #videos .video-wrapper {
    max-width: 100%;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
  }

  #videos video {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
  }
}

@media (min-width: 768px) and (max-width: 1366px) {
  #videos .video-wrapper video {
    max-height: 80vh !important;
    height: auto !important;
    object-fit: contain !important;
  }

  #videos .video-wrapper {
    max-height: 80vh !important;
  }
}

@media (min-width: 1025px) and (max-width: 1199px) {
  #videos {
    margin-bottom: 2rem !important;
  }
}

@media (min-width: 1200px) {
  #videos {
    margin-bottom: 2.5rem !important;
  }
}

body.modal-open #themeToggle,
body.modal-open #ai-play,
body.modal-open #scrollTopBtn,
body.modal-open .theme-toggle,
body.modal-open .btn-circular,
body.modal-open #backToTop,
body.modal-open #backToTopSquare,
body.modal-open #backToTopBtn,
body.modal-open #scrollTop,
body.modal-open #topButton {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#infoModal[style*="display: flex"] ~ #themeToggle,
#infoModal[style*="display: flex"] ~ #ai-play,
#infoModal[style*="display: flex"] ~ #scrollTopBtn {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 860px) {
  #themeToggle,
  .theme-toggle {
    opacity: 1 !important;
    visibility: visible !important;
  }
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 1.9rem !important;
    line-height: 1.15 !important;
    max-width: 330px !important;
    margin: 0 auto !important;
    text-align: center !important;
    white-space: normal !important;
  }
}

html:not(.light-theme) .accent {
  color: #f8d90f;
}

html.light-theme .accent {
  color: #a87800;
}

#cases.cases-section {
  padding: 4rem 0;
}

#cases .intro-text {
  max-width: 640px;
  margin: 0 auto 2rem;
  text-align: center;
  opacity: 0.9;
}

#cases .case-card {
  margin: 0 auto 1.5rem;
  padding: 1.5rem 1.75rem;
  border-radius: 16px;
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

html.light-theme #cases .case-card {
  border-color: rgba(0, 0, 0, 0.08);
}

#cases blockquote {
  margin: 0 0 0.75rem;
  font-style: italic;
}

#cases footer {
  font-size: 0.95rem;
  opacity: 0.85;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-link:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  width: auto;
  height: auto;
  padding: 0.6rem 0.9rem;
  z-index: 100000;
  background: #f8d90f;
  color: #000;
  border-radius: 10px;
  outline: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  font-weight: 600;
}

html.light-theme #robo .pose[data-variant="preto"] {
  display: block !important;
}

html:not(.light-theme) #robo .pose[data-variant="branco"] {
  display: block !important;
}

:where(
  a,
  button,
  [role="button"],
  input,
  select,
  textarea,
  summary
):focus-visible {
  outline: 2px solid #f8d90f;
  outline-offset: 2px;
  border-radius: 6px;
}

.btn-close-unified {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  transition:
    background 0.2s ease,
    transform 0.1s ease;
}

.btn-close-unified:hover {
  background: rgba(255, 255, 255, 0.25);
}

html.light-theme .btn-close-unified {
  background: rgba(255, 255, 255, 0.85);
}

html.light-theme .btn-close-unified:hover {
  background: rgba(0, 0, 0, 0.12);
}

.btn-close-unified::before,
.btn-close-unified::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.btn-close-unified::before {
  transform: rotate(45deg);
}

.btn-close-unified::after {
  transform: rotate(-45deg);
}

html.light-theme .btn-close-unified::before,
html.light-theme .btn-close-unified::after {
  background: #111;
}

#imageModal #modalCaption {
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Helvetica,
    Arial,
    "Apple Color Emoji",
    "Segoe UI Emoji";
  font-weight: 600;
  letter-spacing: 0.01em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

#imageModal #modalCounter {
  font-variant-numeric: tabular-nums;
  opacity: 0.85;
}

@media (max-width: 480px) {
  #imageModal .close-modal {
    top: 14px;
    right: 14px;
  }

  #imageModal #modalImage {
    max-width: 94vw;
    max-height: 78vh;
  }
}

html.light-theme footer,
html.light-theme footer *,
html.light-theme .copyright,
html.light-theme [data-role="copyright"] {
  color: #111 !important;
}

html.light-theme footer a:hover,
html.light-theme footer a:focus-visible {
  text-decoration: underline;
}

html.light-theme footer {
  background: #ffffff !important;
  color: #111 !important;
}

html.light-theme footer * {
  color: #111 !important;
}

@media (max-width: 768px) {
  html.light-theme footer {
    padding-bottom: 92px !important;
  }
}

html.light-theme .copyright,
html.light-theme [data-role="copyright"] {
  display: block;
  opacity: 0.92;
}

html.light-theme footer::before,
html.light-theme footer::after {
  background: transparent !important;
}

body.light-theme footer,
body.light-theme footer * {
  color: #111 !important;
  background: #fff !important;
}

footer {
  padding-top: 20px !important;
  padding-bottom: 24px !important;
}

html.light-theme footer {
  padding-bottom: 24px !important;
}

html:not(.light-theme) footer {
  padding-bottom: 24px !important;
}

@media (max-width: 768px) {
  #scrollTopBtn,
  #backToTop,
  #themeToggle,
  .btn-circular[data-floating="true"] {
    position: fixed;
    bottom: 92px !important;
  }
}

@media (max-width: 768px) {
  [data-fab="true"] {
    bottom: 92px !important;
    position: fixed;
  }
}

@media (max-width: 480px) {
  #scrollTopBtn,
  #backToTop,
  #themeToggle,
  #ai-play {
    width: 52px !important;
    height: 52px !important;
  }
}

#videos button[aria-label="Reproduzir vídeo"] {
  display: none !important;
}

#videos .video-wrapper {
  position: relative;
  display: block;
}

#videos .video-wrapper video {
  width: 100% !important;
  height: auto !important;
  border-radius: 10px;
  display: block;
}

#videos .video-overlay-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.25);
  opacity: 0;
  transition: opacity 0.3s ease;
  border-radius: 10px;
  pointer-events: none;
}

#videos .video-wrapper:hover .video-overlay-play,
#videos .video-wrapper:not(.is-playing) .video-overlay-play {
  opacity: 1;
  pointer-events: auto;
}

#videos .video-overlay-play svg {
  width: 60px;
  height: 60px;
  fill: #ffffff;
  opacity: 0.85;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

#videos .video-overlay-play:hover svg {
  transform: scale(1.08);
  opacity: 1;
}

#scrollTopBtn,
#backToTop {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 54px;
  height: 54px;
  background-color: #ffcc00;
  color: #000;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
  z-index: 999;
  transition: all 0.3s ease;
}

#scrollTopBtn:hover,
#backToTop:hover {
  background-color: #e6b800;
  transform: translateY(-2px);
}

#scrollTopBtn svg,
#backToTop svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 3.2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

#videos .video-wrapper.is-playing .video-overlay-play {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

#galleryImageModal[aria-hidden="false"] .gallery-nav,
#galleryImageModal[aria-hidden="false"] #galleryPrev,
#galleryImageModal[aria-hidden="false"] #galleryNext {
  display: inline-flex !important;
  opacity: 0.9 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 10003 !important;
}

#galleryImageModal[aria-hidden="false"] .gallery-nav,
#galleryImageModal[aria-hidden="false"] #galleryPrev,
#galleryImageModal[aria-hidden="false"] #galleryNext {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  z-index: 10005 !important;
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  color: #fff !important;
  font-size: 48px !important;
  background: rgba(0, 0, 0, 0.35) !important;
  border-radius: 50% !important;
  width: 56px !important;
  height: 56px !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.25s ease-in-out !important;
}

#galleryImageModal #galleryPrev {
  left: 20px !important;
}

#galleryImageModal #galleryNext {
  right: 20px !important;
}

#galleryImageModal .gallery-nav:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  transform: translateY(-50%) scale(1.05) !important;
}

#galleryImageModal .gallery-close {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  border: 1px solid rgba(255, 255, 255, 0.25) !important;
  background: rgba(0, 0, 0, 0.55) !important;
  color: #fff !important;
  font-size: 22px !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.25s ease-in-out !important;
  z-index: 10010 !important;
}

#galleryImageModal .gallery-close:hover {
  background: rgba(255, 255, 255, 0.25) !important;
  transform: scale(1.05) !important;
}

html:not(.light-theme) .close-modal {
  color: #fff !important;
  background: rgba(0, 0, 0, 0.85) !important;
  border: 1.5px solid rgba(255, 255, 255, 0.35) !important;
  text-shadow: none !important;
  transition: all 0.25s ease-in-out !important;
}

html.light-theme .close-modal {
  color: #111 !important;
  background: rgba(255, 255, 255, 0.95) !important;
  border: 1.5px solid rgba(0, 0, 0, 0.25) !important;
  text-shadow: none !important;
  transition: all 0.25s ease-in-out !important;
}

.close-modal:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.15) !important;
  border-color: rgba(255, 255, 255, 0.6) !important;
  cursor: pointer;
}

@media (min-width: 769px) {
  #podcast .container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  #podcast p:last-of-type {
    text-align: center !important;
    margin-top: 12px !important;
    margin-bottom: 24px !important;
    max-width: 680px !important;
  }
}

#podcast h2 i,
#podcast h2 svg {
  background: linear-gradient(90deg, #f8d90f 0%, #ff8a00 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  display: inline-block !important;
  vertical-align: middle !important;
}

@media (min-width: 769px) {
  #podcast h2 i {
    font-size: 1.35em !important;
    margin-right: 10px !important;
  }
}

:root {
  --br-close-size: 44px;
  --br-close-bg-dark: rgba(0, 0, 0, 0.55);
  --br-close-bg-light: rgba(255, 255, 255, 0.92);
  --br-close-border-dark: rgba(255, 255, 255, 0.25);
  --br-close-border-light: rgba(0, 0, 0, 0.2);
  --br-close-icon-dark: #fff;
  --br-close-icon-light: #111;
}

#galleryImageModal .gallery-close,
#imageModal .close-modal,
#infoModal .modal-content > span[role="button"] {
  position: absolute;
  top: 16px;
  right: 16px;
  width: var(--br-close-size);
  height: var(--br-close-size);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: 1px solid var(--br-close-border-dark);
  background: var(--br-close-bg-dark);
  z-index: 10010;
  box-shadow: none;
  transition:
    background 0.24s ease,
    transform 0.24s ease,
    box-shadow 0.24s ease;
  font-size: 0;
  line-height: 0;
  color: transparent;
  text-shadow: none;
  outline: none;
}

html.light-theme #galleryImageModal .gallery-close,
html.light-theme #imageModal .close-modal,
html.light-theme #infoModal .modal-content > span[role="button"] {
  background: var(--br-close-bg-light);
  border-color: var(--br-close-border-light);
}

#galleryImageModal .gallery-close::before,
#galleryImageModal .gallery-close::after,
#imageModal .close-modal::before,
#imageModal .close-modal::after,
#infoModal .modal-content > span[role="button"]::before,
#infoModal .modal-content > span[role="button"]::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 2.5px;
  border-radius: 2px;
  transform-origin: center;
}

#galleryImageModal .gallery-close::before,
#galleryImageModal .gallery-close::after,
#imageModal .close-modal::before,
#imageModal .close-modal::after,
#infoModal .modal-content > span[role="button"]::before,
#infoModal .modal-content > span[role="button"]::after {
  background: var(--br-close-icon-dark);
}

html.light-theme #galleryImageModal .gallery-close::before,
html.light-theme #galleryImageModal .gallery-close::after,
html.light-theme #imageModal .close-modal::before,
html.light-theme #imageModal .close-modal::after,
html.light-theme #infoModal .modal-content > span[role="button"]::before,
html.light-theme #infoModal .modal-content > span[role="button"]::after {
  background: var(--br-close-icon-light);
}

#galleryImageModal .gallery-close::before,
#imageModal .close-modal::before,
#infoModal .modal-content > span[role="button"]::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

#galleryImageModal .gallery-close::after,
#imageModal .close-modal::after,
#infoModal .modal-content > span[role="button"]::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

#galleryImageModal .gallery-close:hover,
#imageModal .close-modal:hover,
#infoModal .modal-content > span[role="button"]:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.22);
}

html.light-theme #galleryImageModal .gallery-close:hover,
html.light-theme #imageModal .close-modal:hover,
html.light-theme #infoModal .modal-content > span[role="button"]:hover {
  background: rgba(0, 0, 0, 0.06);
}

#galleryImageModal .gallery-close:focus-visible,
#imageModal .close-modal:focus-visible,
#infoModal .modal-content > span[role="button"]:focus-visible {
  outline: 3px solid #f8d90f;
  outline-offset: 2px;
}

#galleryImageModal .gallery-nav {
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%) translateX(0);
  opacity: 0;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
  z-index: 10001;
}

#galleryImageModal[aria-hidden="false"] #galleryPrev,
#galleryImageModal[aria-hidden="false"] #galleryNext {
  opacity: 0.9;
}

#galleryImageModal img {
  outline: none;
  box-shadow: none;
}

.section-line,
.title-line,
.linha,
.linha-de,
.separator-line {
  height: 2px;
  width: 100%;
  display: block;
  border: 0;
  background: currentColor;
}

html.light-theme .section-line,
html.light-theme .title-line,
html.light-theme .linha,
html.light-theme .linha-de,
html.light-theme .separator-line {
  background: #000;
}

html:not(.light-theme) .section-line,
html:not(.light-theme) .title-line,
html:not(.light-theme) .linha,
html:not(.light-theme) .linha-de,
html:not(.light-theme) .separator-line {
  background: #f8d90f;
}

#scrollTopBtn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  background: #ffcc00;
  color: #000;
  line-height: 1;
  padding: 0;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
  z-index: 999;
}

#scrollTopBtn:hover {
  background: #e6b800;
  transform: translateY(-1px);
}

html.light-theme #scrollTopBtn {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.18);
}

html:not(.light-theme) #scrollTopBtn {
  box-shadow: none;
}

#infoModal .close-modal,
#infoModal .modal-content > span[role="button"] {
  display: inline-flex !important;
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
  z-index: 10050 !important;
  position: absolute !important;
  top: 15px !important;
  right: 15px !important;
}

#infoModal .close-modal::before,
#infoModal .close-modal::after,
#infoModal .modal-content > span[role="button"]::before,
#infoModal .modal-content > span[role="button"]::after {
  display: block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

@media (max-width: 480px) {
  #infoModal .close-modal {
    width: 40px !important;
    height: 40px !important;
    top: 12px !important;
    right: 12px !important;
  }
}

@media (max-width: 320px) {
  .hero .hero-subtitle,
  .hero .hero-description,
  .hero p {
    font-size: 0.85rem;
    line-height: 1.35;
  }

  .hero {
    padding-inline: 12px;
  }
}

#drawerBackdrop {
  background: rgba(0, 0, 0, 0.6);
}

@media (min-width: 768px) and (max-width: 1024px) {
  #gallery .carousel-container {
    padding-inline: 32px;
  }
}

body.keyboard-nav .custom-cursor,
body.keyboard-nav .custom-cursor-dot {
  display: none !important;
}

html,
body {
  opacity: 1 !important;
  visibility: visible !important;
}

html[data-prerender="true"] body {
  visibility: visible !important;
}

.theme-toggle,
#themeToggle,
#theme-toggle {
  visibility: visible !important;
  opacity: 1 !important;
}

:root {
  --font-head:
    "Poppins", "Inter", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  --font-body:
    "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

body,
p,
li,
input,
textarea,
select,
button {
  font-family: var(--font-body) !important;
}

h1,
h2,
h3,
.hero h1,
section h2,
.service-card h3,
.portfolio-item h3,
.contact-card h3 {
  letter-spacing: -0.02em;
}

.section-title,
.logo {
  font-family: var(--font-head) !important;
  letter-spacing: -0.02em;
}

h1 {
  font-weight: 700;
}

h2,
h3 {
  font-weight: 600;
}

header {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

a,
.btn,
button,
input,
textarea,
.theme-toggle,
#scrollTopBtn {
  transition:
    color 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    opacity 0.25s ease,
    box-shadow 0.25s ease !important;
}

.btn:hover,
button:hover,
#scrollTopBtn:hover {
  transform: translateY(-1px);
}

#portfolio button,
#portfolio .btn,
#portfolio [role="button"] {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}

#portfolio
  button:not([aria-label*="Next" i]):not([aria-label*="Prev" i]):not(
    [aria-label*="Anterior" i]
  ):not([aria-label*="Próxima" i]):not(.slick-prev):not(.slick-next):not(
    .slick-arrow
  ):not(.carousel-btn):not([class*="arrow"]):not([class*="slick"]) {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
}

#portfolio *[class*="arrow"],
#portfolio *[class*="slick"],
#portfolio *[data-role*="injected"],
#portfolio button[aria-label*="Next" i],
#portfolio button[aria-label*="Anterior" i],
#portfolio button[aria-label*="Próxima" i],
#portfolio button[aria-label*="Prev" i],
#portfolio .carousel-btn,
#portfolio .slick-prev,
#portfolio .slick-next,
#portfolio .slick-arrow {
  opacity: 0 !important;
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

@media (max-width: 768px) {
  nav ul {
    top: 72px !important;
    right: -110% !important;
    width: min(82vw, 320px) !important;
    height: calc(100vh - 72px) !important;
    padding: 1.25rem 1rem 1.5rem !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(10, 10, 10, 0.94) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: -16px 0 40px rgba(0, 0, 0, 0.25);
    overflow-y: auto;
  }

  nav ul.open {
    right: 0 !important;
  }

  body.light-theme nav ul,
  body.light nav ul,
  html[data-theme="light"] nav ul {
    background: rgba(255, 255, 255, 0.94) !important;
    border-left-color: rgba(0, 0, 0, 0.08);
  }
}

#scrollTopBtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0 !important;
  border-radius: 999px !important;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
}

#scrollTopBtn i,
#scrollTopBtn svg {
  pointer-events: none;
}

section h2,
.about h2,
.services h2,
.portfolio h2,
.contact h2 {
  margin-bottom: 1rem;
}

p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  text-wrap: balance;
}

@media (prefers-reduced-motion: reduce) {
  a,
  .btn,
  button,
  input,
  textarea,
  #scrollTopBtn {
    transition: none !important;
  }
}

:root {
  --section-title-inline: clamp(16px, 4vw, 40px);
  --section-title-max: 1280px;
  --section-title-content-width: min(
    calc(100% - 2 * var(--section-title-inline)),
    calc(var(--section-title-max) - 2 * var(--section-title-inline))
  );
}

#services > h2,
#gallery > h2,
#portfolio > h2,
#contact > h2 {
  width: var(--section-title-content-width) !important;
  max-width: var(--section-title-content-width) !important;
  margin-inline: auto !important;
}

#podcast .container > h2,
#videos .container > h2 {
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
}

#podcast h2::after,
#services h2::after,
#gallery h2::after,
#videos h2::after,
#portfolio h2::after,
#contact h2::after {
  transform: scaleX(0);
  transform-origin: left center;
}

#podcast.reveal.active h2::after,
#services.reveal.active h2::after,
#gallery.reveal.active h2::after,
#videos.reveal.active h2::after,
#portfolio.reveal.active h2::after,
#contact.reveal.active h2::after,
#podcast h2.aos-animate::after,
#services h2.aos-animate::after,
#gallery h2.aos-animate::after,
#videos h2.aos-animate::after,
#portfolio h2.aos-animate::after,
#contact h2.aos-animate::after {
  transform: scaleX(1);
}

@media (prefers-reduced-motion: reduce) {
  #podcast h2::after,
  #services h2::after,
  #gallery h2::after,
  #videos h2::after,
  #portfolio h2::after,
  #contact h2::after {
    transform: scaleX(1) !important;
    transition: none !important;
    animation: none !important;
  }
}

h1,
h2,
h3 {
  font-family:
    "Share Tech Mono", "Sora", "Poppins", system-ui, sans-serif !important;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
  margin: 1.5rem auto 2rem;
}

.portfolio-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1.1rem;
  border: 1px solid rgba(248, 217, 15, 0.45);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition:
    opacity 0.32s ease,
    transform 0.32s ease,
    background-color 0.32s ease,
    border-color 0.32s ease;
}

.portfolio-filter:hover,
.portfolio-filter:focus-visible {
  transform: translateY(-1px);
}

.portfolio-filter.is-active,
.portfolio-filter[aria-pressed="true"] {
  background: rgba(248, 217, 15, 0.14);
  border-color: rgba(248, 217, 15, 0.9);
}

body.light-theme .portfolio-filter {
  border-color: rgba(184, 150, 10, 0.45);
  background: rgba(0, 0, 0, 0.03);
}

body.light-theme .portfolio-filter.is-active,
body.light-theme .portfolio-filter[aria-pressed="true"] {
  background: rgba(184, 150, 10, 0.14);
  border-color: rgba(184, 150, 10, 0.9);
}

#portfolio .portfolio-item {
  transition:
    opacity 0.32s ease,
    transform 0.32s ease;
}

#portfolio .portfolio-item.is-hidden {
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

#portfolio .portfolio-item.is-gone {
  display: none !important;
}



/* === FINAL CONTACT BUTTON OVERRIDE ===
   Botão da seção Contato: amarelo sólido nos dois temas
   + sem sombra no modo claro
*/
#contact button[type="submit"],
#contact input[type="submit"],
#contact form button.btn,
#contact form input.btn,
#contact .btn-enviar,
#contact .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 100% !important;
  min-height: 56px !important;
  padding: 1rem 1.5rem !important;
  border-radius: 999px !important;
  border: 1.5px solid #f8d90f !important;
  background: #f8d90f !important;
  background-image: none !important;
  color: #111 !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22) !important;
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease !important;
}

#contact button[type="submit"]:hover,
#contact input[type="submit"]:hover,
#contact form button.btn:hover,
#contact form input.btn:hover,
#contact .btn-enviar:hover,
#contact .btn:hover,
#contact button[type="submit"]:focus-visible,
#contact input[type="submit"]:focus-visible,
#contact form button.btn:focus-visible,
#contact form input.btn:focus-visible,
#contact .btn-enviar:focus-visible,
#contact .btn:focus-visible {
  background: #ffe45c !important;
  border-color: #ffe45c !important;
  color: #000 !important;
}

html.light-theme #contact button[type="submit"],
html.light-theme #contact input[type="submit"],
html.light-theme #contact form button.btn,
html.light-theme #contact form input.btn,
html.light-theme #contact .btn-enviar,
html.light-theme #contact .btn,
html.light-theme #contact button[type="submit"]:hover,
html.light-theme #contact input[type="submit"]:hover,
html.light-theme #contact form button.btn:hover,
html.light-theme #contact form input.btn:hover,
html.light-theme #contact .btn-enviar:hover,
html.light-theme #contact .btn:hover,
html.light-theme #contact button[type="submit"]:focus-visible,
html.light-theme #contact input[type="submit"]:focus-visible,
html.light-theme #contact form button.btn:focus-visible,
html.light-theme #contact form input.btn:focus-visible,
html.light-theme #contact .btn-enviar:focus-visible,
html.light-theme #contact .btn:focus-visible {
  box-shadow: none !important;
}

html.light-theme #contact button[type="submit"],
html.light-theme #contact input[type="submit"],
html.light-theme #contact form button.btn,
html.light-theme #contact form input.btn,
html.light-theme #contact .btn-enviar,
html.light-theme #contact .btn {
  background: #f8d90f !important;
  border-color: #f8d90f !important;
  color: #111 !important;
}

html.light-theme #contact button[type="submit"]:hover,
html.light-theme #contact input[type="submit"]:hover,
html.light-theme #contact form button.btn:hover,
html.light-theme #contact form input.btn:hover,
html.light-theme #contact .btn-enviar:hover,
html.light-theme #contact .btn:hover,
html.light-theme #contact button[type="submit"]:focus-visible,
html.light-theme #contact input[type="submit"]:focus-visible,
html.light-theme #contact form button.btn:focus-visible,
html.light-theme #contact form input.btn:focus-visible,
html.light-theme #contact .btn-enviar:focus-visible,
html.light-theme #contact .btn:focus-visible {
  background: #ffe45c !important;
  border-color: #ffe45c !important;
  color: #000 !important;
}

/* =========================================================
   FIX FINAL — consistência de alinhamento de textos
   Objetivo: eliminar conflitos entre regras duplicadas e
   manter leitura mais estável em desktop, tablet e mobile.
   ========================================================= */

#about .about-grid > div {
  max-width: 68ch;
}

#about p {
  text-align: left !important;
  text-wrap: pretty;
  word-spacing: normal !important;
  letter-spacing: normal !important;
  max-width: 68ch;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

#podcast p,
#podcast .podcast-text,
#podcast .podcast-note,
#videos .videos-intro,
#services .services-intro,
#portfolio .intro-text,
#portfolio .portfolio-curation p {
  text-align: center !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

#podcast p {
  max-width: 72ch;
}

@media (max-width: 768px) {
  #about .about-grid {
    text-align: left !important;
  }

  #about p {
    max-width: none;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  #podcast p,
  #podcast .podcast-text,
  #podcast .podcast-note,
  #videos .videos-intro,
  #services .services-intro,
  #portfolio .intro-text,
  #portfolio .portfolio-curation p {
    max-width: 36ch;
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
}


/* ===== br-patches-refined-10.css ===== */
/* Patch: títulos das seções brancos no modo escuro e escuros no modo claro */
html:not(.light-theme) main section > h2,
html:not(.light-theme) main section h2[id],
html:not(.light-theme) #about-title,
html:not(.light-theme) #services-title,
html:not(.light-theme) #podcast-title,
html:not(.light-theme) #gallery-title,
html:not(.light-theme) #videos-title,
html:not(.light-theme) #portfolio-title,
html:not(.light-theme) #contact-title {
  color: #ffffff !important;
}

html.light-theme main section > h2,
html.light-theme main section h2[id],
html.light-theme #about-title,
html.light-theme #services-title,
html.light-theme #podcast-title,
html.light-theme #gallery-title,
html.light-theme #videos-title,
html.light-theme #portfolio-title,
html.light-theme #contact-title,
body.light-theme main section > h2,
body.light-theme main section h2[id],
body.light-theme #about-title,
body.light-theme #services-title,
body.light-theme #podcast-title,
body.light-theme #gallery-title,
body.light-theme #videos-title,
body.light-theme #portfolio-title,
body.light-theme #contact-title {
  color: #111111 !important;
}

/* Mantém o ícone e a linha de destaque em amarelo/gradiente */
main section > h2 > i,
main section h2[id] > i,
#about-title > i,
#services-title > i,
#podcast-title > i,
#gallery-title > i,
#videos-title > i,
#portfolio-title > i,
#contact-title > i {
  color: transparent !important;
}

/* Corrige o modo claro na raiz da página */
html, body {
  background: #0d0d0d;
}

html.light-theme,
html.light-theme body,
body.light-theme {
  background: #f5f5f5 !important;
  color: #111111 !important;
}

html.light-theme #site-header,
body.light-theme #site-header {
  background: rgba(255, 255, 255, 0.9) !important;
}

html.light-theme footer,
body.light-theme footer {
  background: #ffffff !important;
  color: #111111 !important;
}

/* =========================================================
   Conflitos resolvidos — camada autoritativa final
   Menu mobile + botão de tema
   ========================================================= */

@media (max-width: 768px) {
  header nav #nav-list {
    display: none !important;
  }

  #burger {
    position: relative;
    z-index: 100001;
  }

  #mobileDrawer,
  body > #mobileDrawer,
  #drawerBackdrop,
  body > #drawerBackdrop {
    display: block !important;
  }

  #drawerBackdrop,
  body > #drawerBackdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.48) !important;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.26s ease;
    z-index: 100002;
  }

  #drawerBackdrop.is-open,
  body > #drawerBackdrop.is-open {
    opacity: 1;
    pointer-events: auto;
  }

  #mobileDrawer,
  body > #mobileDrawer {
    position: fixed;
    top: 0;
    right: 0;
    width: min(82vw, 340px);
    height: 100dvh;
    padding: 84px 22px 28px;
    box-sizing: border-box;
    overflow-y: auto;
    color: #ffffff;
    background: rgba(8, 8, 10, 0.98) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.35);
    /* backdrop-filter removido: causava blur residual no conteúdo
       da página no iOS Safari após fechar o menu */
    transform: translateX(100%);
    transition: transform 0.28s ease;
    z-index: 100003;
  }

  #mobileDrawer[aria-hidden="true"],
  body > #mobileDrawer[aria-hidden="true"] {
    visibility: hidden;
  }

  #mobileDrawer.is-open,
  body > #mobileDrawer.is-open {
    transform: translateX(0);
    visibility: visible;
  }

  #mobileDrawer nav,
  body > #mobileDrawer nav {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  #mobileDrawer a,
  body > #mobileDrawer a {
    display: block;
    padding: 14px;
    border-radius: 14px;
    color: inherit;
    text-decoration: none;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  }

  #mobileDrawer a:hover,
  #mobileDrawer a:active,
  #mobileDrawer a:focus-visible,
  body > #mobileDrawer a:hover,
  body > #mobileDrawer a:active,
  body > #mobileDrawer a:focus-visible {
    outline: none;
    background: rgba(255, 255, 255, 0.10);
    border-color: rgba(255, 255, 255, 0.16);
    color: inherit;
  }

  html.light-theme #drawerBackdrop,
  body.light-theme #drawerBackdrop,
  html.light-theme body > #drawerBackdrop {
    background: rgba(9, 16, 24, 0.22) !important;
  }

  html.light-theme #mobileDrawer,
  body.light-theme #mobileDrawer,
  html.light-theme body > #mobileDrawer {
    color: #111827 !important;
    background: rgba(255, 255, 255, 0.96) !important;
    border-left: 1px solid rgba(15, 23, 42, 0.10) !important;
    box-shadow: -10px 0 30px rgba(15, 23, 42, 0.14) !important;
  }

  html.light-theme #mobileDrawer a,
  body.light-theme #mobileDrawer a,
  body > #mobileDrawer a {
    color: #111827 !important;
    background: rgba(15, 23, 42, 0.04) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: none !important;
  }

  html.light-theme #mobileDrawer a:hover,
  html.light-theme #mobileDrawer a:active,
  html.light-theme #mobileDrawer a:focus-visible,
  body.light-theme #mobileDrawer a:hover,
  body.light-theme #mobileDrawer a:active,
  body.light-theme #mobileDrawer a:focus-visible,
  html.light-theme body > #mobileDrawer a:hover,
  html.light-theme body > #mobileDrawer a:active,
  html.light-theme body > #mobileDrawer a:focus-visible {
    background: rgba(14, 165, 233, 0.10) !important;
    border-color: rgba(14, 165, 233, 0.26) !important;
    color: #0f172a !important;
  }

  body.modal-open {
    overflow: hidden;
    touch-action: none;
  }
}

@media (min-width: 769px) {
  #mobileDrawer,
  body > #mobileDrawer,
  #drawerBackdrop,
  body > #drawerBackdrop {
    display: none !important;
  }
}

#themeToggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

#themeToggle > *,
#themeToggle i,
#themeToggle svg,
#themeToggle [class*="fa-"],
#themeIcon,
#themeIcon > * {
  display: none !important;
}

#themeToggle::before {
  content: "";
  display: inline-block;
  width: 1.2em;
  height: 1.2em;
  background: currentColor;
  vertical-align: middle;
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='5.5'/><rect x='11.2' y='1.6' width='1.6' height='3.2' rx='0.8'/><rect x='11.2' y='19.2' width='1.6' height='3.2' rx='0.8'/><rect x='19.2' y='11.2' width='3.2' height='1.6' rx='0.8'/><rect x='1.6' y='11.2' width='3.2' height='1.6' rx='0.8'/><g transform='rotate(45 12 12)'><rect x='11.4' y='2.6' width='1.2' height='2.4' rx='0.6'/><rect x='11.4' y='19.0' width='1.2' height='2.4' rx='0.6'/><rect x='19.0' y='11.4' width='2.4' height='1.2' rx='0.6'/><rect x='2.6' y='11.4' width='2.4' height='1.2' rx='0.6'/></g></svg>");
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><circle cx='12' cy='12' r='5.5'/><rect x='11.2' y='1.6' width='1.6' height='3.2' rx='0.8'/><rect x='11.2' y='19.2' width='1.6' height='3.2' rx='0.8'/><rect x='19.2' y='11.2' width='3.2' height='1.6' rx='0.8'/><rect x='1.6' y='11.2' width='3.2' height='1.6' rx='0.8'/><g transform='rotate(45 12 12)'><rect x='11.4' y='2.6' width='1.2' height='2.4' rx='0.6'/><rect x='11.4' y='19.0' width='1.2' height='2.4' rx='0.6'/><rect x='19.0' y='11.4' width='2.4' height='1.2' rx='0.6'/><rect x='2.6' y='11.4' width='2.4' height='1.2' rx='0.6'/></g></svg>");
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

html:not(.light-theme) #themeToggle,
html.light-theme #themeToggle {
  color: #000000 !important;
}

html.light-theme #themeToggle::before {
  -webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M21 12.79A9 9 0 1 1 11.21 3a7 7 0 1 0 9.79 9.79z'/></svg>");
  mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M21 12.79A9 9 0 1 1 11.21 3a7 7 0 1 0 9.79 9.79z'/></svg>");
}

#hero-title,
.hero h1,
main section > h2,
main section h2[id],
#services h3,
#services .service-card h3,
#services h3[id] {
  font-family: "Poppins", sans-serif !important;
  font-weight: 700 !important;
  font-style: normal !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  font-variant-ligatures: normal !important;
}

/* =========================================================
   FIX: Texto da seção #podcast no modo claro
   
   Os <p> do podcast têm color inline (rgba branco) que
   sobrepõe qualquer regra CSS sem !important. No modo claro
   isso torna o texto praticamente invisível.
   ========================================================= */

html.light-theme #podcast p,
html.light-theme #podcast h2,
body.light-theme #podcast p,
body.light-theme #podcast h2 {
  color: #1a1a1a !important;
}

html.light-theme #podcast p[style],
body.light-theme #podcast p[style] {
  color: #444444 !important;
}

/* Segunda linha (cor mais suave no dark mode já está inline;
   esta regra só atua no light mode, sem afetar dark) */
html.light-theme #podcast p:last-of-type,
body.light-theme #podcast p:last-of-type {
  color: #666666 !important;
}

/* =========================================================
   FIX: Rodapé mobile — quebra "Todos os direitos reservados"
   para linha própria em telas até 768px.
   ========================================================= */

@media (max-width: 768px) {
  .footer-rights {
    display: block;
  }
}

/* =========================================================
   FIX: Hero mobile — empurra o hero para baixo do header fixo.

   O header é position:fixed e sobrepõe o hero, cortando o topo
   da imagem. margin-top: 96px desloca o início do hero para
   abaixo do menu de duas linhas (logo + ícones) no mobile.
   min-height compensa para manter o hero em tela cheia.

   100svh (small viewport height) desconsidera a barra de
   endereço do browser móvel; cai para 100vh em browsers
   que não suportam svh.
   ========================================================= */

@media (max-width: 768px) {
  .hero {
    margin-top: 96px !important;
    min-height: calc(100svh - 96px) !important;
    min-height: calc(100vh  - 96px) !important; /* fallback */
  }
}

/* =========================================================
   FIX: Hero desktop + tablet — empurra o hero para abaixo
   do header fixo, exatamente como a correção do mobile.

   O header desktop tem altura de ~65px (single row).
   margin-top: 65px remove a sobreposição.
   background-position: top center garante que o topo
   da foto (cabeça) seja o primeiro elemento visível.
   min-height compensa o espaço subtraído para manter
   o hero ocupando a tela inteira.
   ========================================================= */

@media (min-width: 769px) {
  .hero {
    margin-top: 65px !important;
    min-height: calc(100vh - 65px) !important;
    background-position: center 23% !important;
    align-items: flex-start !important;
    justify-content: center !important;
  }

  /* margin-top no hero-content é imune ao JS de parallax,
     que só sobrescreve style.transform. 55vh posiciona o
     bloco de texto abaixo do queixo na foto. */
  .hero .hero-content,
  #hero .hero-content {
    margin-top: 30vh !important;
    transform: none !important;
  }
}

/* =========================================================
   FIX: Header mobile — fundo mais opaco para legibilidade
   ao rolar a página. body.scrolled é adicionado pelo JS
   existente no site ao primeiro scroll.
   ========================================================= */

#site-header {
  background: rgba(13, 13, 13, 0.96) !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

body.scrolled #site-header {
  background: rgba(10, 10, 10, 0.99) !important;
}

html.light-theme #site-header,
body.light-theme #site-header {
  background: rgba(255, 255, 255, 0.97) !important;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

body.scrolled.light-theme #site-header,
html.light-theme body.scrolled #site-header {
  background: rgba(255, 255, 255, 1) !important;
}


/* =========================================================
   Ajuste visual — item ativo do submenu mobile no modo claro
   Fundo escuro + texto branco + detalhe amarelo
   ========================================================= */
html.light-theme #mobileDrawer a.active,
html.light-theme #mobileDrawer a.active:hover,
html.light-theme #mobileDrawer a.active:active,
html.light-theme #mobileDrawer a.active:focus-visible,
body.light-theme #mobileDrawer a.active,
body.light-theme #mobileDrawer a.active:hover,
body.light-theme #mobileDrawer a.active:active,
body.light-theme #mobileDrawer a.active:focus-visible,
html.light-theme body > #mobileDrawer a.active,
html.light-theme body > #mobileDrawer a.active:hover,
html.light-theme body > #mobileDrawer a.active:active,
html.light-theme body > #mobileDrawer a.active:focus-visible {
  color: #ffffff !important;
  background: #111111 !important;
  border-color: #111111 !important;
  box-shadow: 0 10px 24px rgba(17, 17, 17, 0.16) !important;
}

html.light-theme #mobileDrawer a.active::before,
body.light-theme #mobileDrawer a.active::before,
html.light-theme body > #mobileDrawer a.active::before {
  background: linear-gradient(180deg, #f8d90f, #ff8a00) !important;
}


/* =========================================================
   Ajuste visual — modo claro + mobile
   Barrinha lateral do item ativo em preto
   ========================================================= */
@media (max-width: 768px) {
  html.light-theme #mobileDrawer a.active::before,
  body.light-theme #mobileDrawer a.active::before,
  html.light-theme body > #mobileDrawer a.active::before,
  html.light-theme #mobileDrawer a[aria-current="location"]::before,
  body.light-theme #mobileDrawer a[aria-current="location"]::before,
  html.light-theme body > #mobileDrawer a[aria-current="location"]::before {
    background: #000000 !important;
    background-image: none !important;
  }
}


/* ===== site-polish-final.css ===== */
/*
  site-polish-final.css
  Camada final consolidada para o portfólio de Bruno Ricardo.
  Reúne estilos que antes estavam inline no HTML para reduzir ruído,
  centralizar ajustes finos e deixar a manutenção mais previsível.
*/

/* ===== accent-light-theme-fix ===== */
html.light-theme .hero #hero-title .accent{
    color:#f8d90f !important;
    opacity:1 !important;
    filter:none !important;
  }

/* ===== unified-media-modal-fix ===== */
/* Modal único para portfólio e galeria. */
  #imageModal{
    z-index:10000 !important;
    padding:
      max(18px, env(safe-area-inset-top))
      18px
      calc(128px + env(safe-area-inset-bottom))
      18px !important;
    box-sizing:border-box !important;
    overflow:hidden !important;
  }

  #imageModal #modalImage{
    display:block !important;
    width:auto !important;
    height:auto !important;
    max-width:min(90vw, 980px) !important;
    max-height:min(84dvh, calc(100vh - 190px - env(safe-area-inset-top) - env(safe-area-inset-bottom))) !important;
    object-fit:contain !important;
    margin:0 auto !important;
    border-radius:20px !important;
  }

  #imageModal .close-modal,
  #imageModal .modal-nav{
    z-index:10001 !important;
  }

  @media (max-width: 768px){
    #imageModal{
      padding:
        calc(env(safe-area-inset-top) + 18px)
        14px
        calc(140px + env(safe-area-inset-bottom))
        14px !important;
    }

    #imageModal #modalImage{
      max-width:88vw !important;
      max-height:min(82dvh, calc(100vh - 220px - env(safe-area-inset-top) - env(safe-area-inset-bottom))) !important;
      border-radius:18px !important;
    }
  }

/* ===== component-polish ===== */
#site-header .logo .fa-file-lines.logo-file-icon{margin-left:6px;font-size:.9em;opacity:.9}
.section-title-centered{text-align:center;margin-bottom:1rem}
.podcast-text{max-width:800px;margin:0 auto 1rem;text-align:center;color:rgba(255,255,255,.85)}
.podcast-note{margin-bottom:2rem;text-align:center;color:rgba(255,255,255,.6)}
.podcast-audio{width:100%;max-width:700px}
.videos-intro{max-width:800px;margin:0 auto 2rem;text-align:center}
.video-grid{display:grid;gap:2rem;grid-template-columns:repeat(auto-fit,minmax(280px,1fr))}
.video-card{display:flex;flex-direction:column;gap:.85rem}
.video-frame{position:relative;width:100%;aspect-ratio:9/16;border-radius:16px;overflow:hidden;background:#000;box-shadow:0 10px 30px rgba(0,0,0,.18)}
.video-embed{position:absolute;inset:0;width:100%;height:100%;border:0}
.video-title{margin:0;text-align:center;font-weight:600}
.contact-field{width:100%}
.contact-honeypot{position:absolute;left:-9999px;opacity:0;pointer-events:none}
.contact-status{margin-top:1rem;text-align:center;font-weight:500}
.contact-whatsapp-wrap{margin-top:1.5rem;text-align:center}
.contact-whatsapp-link{color:#25D366;text-decoration:none}
.contact-whatsapp-icon{font-size:2rem}
.modal-counter{font-size:.85rem;opacity:.85}
.cv-close-btn{background:transparent;border:0;color:inherit;cursor:pointer}
#themeToggle.floating-theme-toggle{position:fixed;bottom:24px;left:16px;z-index:9999;display:flex;align-items:center;justify-content:center;width:40px;height:40px;border:0;border-radius:50%;background:rgba(248,217,15,.88);color:#000;box-shadow:0 2px 8px rgba(0,0,0,.22);font-size:1.2rem;cursor:pointer;backdrop-filter:saturate(120%) blur(8px);-webkit-backdrop-filter:saturate(120%) blur(8px);transition:background-color .25s ease, box-shadow .25s ease, transform .25s ease}
#robo-fala.robo-fala-hidden,.hidden-noscript-fallback{display:none}
#ai-play.ai-play-button{position:fixed;bottom:22px;left:50%;right:auto;z-index:9999;display:flex;align-items:center;justify-content:center;width:38px;height:38px;border:0;border-radius:50%;background:#f8d90f;color:#000;box-shadow:0 2px 8px rgba(0,0,0,.22);font-size:1.05rem;cursor:pointer;opacity:0;visibility:hidden;pointer-events:none;transform:translateX(-50%) translateY(8px);transition:opacity .25s ease, transform .25s ease, visibility .25s ease}.scrolled #ai-play.ai-play-button{opacity:.86;visibility:visible;pointer-events:auto;transform:translateX(-50%)}
.gtm-noscript-frame{display:none;visibility:hidden}
@media (max-width:768px){#ai-play.ai-play-button{bottom:18px;left:50%;width:36px;height:36px;font-size:1rem}}

/* ===== gallery-modal-separate-style ===== */
html.gallery-modal-open,
  body.gallery-modal-open{
    overscroll-behavior:none;
  }
  body.gallery-modal-open #site-header,
  body.gallery-modal-open #scrollTopBtn,
  body.gallery-modal-open #themeToggle,
  body.gallery-modal-open #ai-play,
  body.gallery-modal-open #robozinho-container{
    opacity:0 !important;
    visibility:hidden !important;
    pointer-events:none !important;
  }
  #galleryImageModal{
    position:fixed;inset:0;display:none;align-items:center;justify-content:center;
    background:#000;padding:24px;z-index:2147483646;box-sizing:border-box;
  }
  #galleryImageModal[aria-hidden="false"]{display:flex;}
  #galleryImageModal img{
    max-width:92vw;max-height:88vh;display:block;object-fit:contain;
    box-shadow:0 10px 40px rgba(0,0,0,.6);border-radius:12px;
  }
  #galleryImageModal .gallery-nav{z-index:2147483647;}
  #galleryImageModal .gallery-close{
    position:absolute;
    top:max(18px, calc(env(safe-area-inset-top) + 10px));
    right:max(18px, calc(env(safe-area-inset-right) + 10px));
    z-index:2147483647;
    width:48px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:30px;
    line-height:1;
    background:#0a0a0a;
    border:1px solid rgba(255,255,255,.26);
    border-radius:999px;
    color:#fff;
    cursor:pointer;
    box-shadow:0 8px 24px rgba(0,0,0,.5);
  }
  #galleryImageModal .gallery-nav{
    position:absolute;top:50%;transform:translateY(-50%);font-size:42px;
    background:rgba(0,0,0,.45);border:0;border-radius:12px;padding:8px 14px;
    color:#fff;cursor:pointer;
  }
  #galleryImageModal #galleryPrev{left:16px;}
  #galleryImageModal #galleryNext{right:16px;}

  #galleryImageModal .gallery-close{
    -webkit-appearance:none;
    appearance:none;
    padding:0;
    font-size:0;
    text-indent:0;
    overflow:hidden;
  }
  #galleryImageModal .gallery-close::before,
  #galleryImageModal .gallery-close::after{
    content:none !important;
    display:none !important;
  }
  #galleryImageModal .gallery-close .gallery-close-icon{
    display:block;
    width:20px;
    height:20px;
    pointer-events:none;
  }
  @media (max-width:768px){
    #galleryImageModal{padding:14px;}
    #galleryImageModal img{max-width:88vw;max-height:82vh;border-radius:16px;}
    #galleryImageModal .gallery-nav{font-size:34px;padding:6px 12px;}
    #galleryImageModal .gallery-close{
      top:max(18px, calc(env(safe-area-inset-top) + 10px));
      right:max(18px, calc(env(safe-area-inset-right) + 10px));
      width:46px;
      height:46px;
      font-size:0;
    }
  }

/* ===== ux-enhancements-v2 ===== */
/* Badge nos itens de Identidade Visual */
#portfolio-grid .portfolio-item[data-category="Identidade Visual"]{position:relative}
#portfolio-grid .portfolio-item[data-category="Identidade Visual"]::after{
  content:'Projeto institucional';position:absolute;bottom:10px;left:10px;
  background:rgba(248,217,15,.93);color:#000;font-size:.67rem;font-weight:700;
  letter-spacing:.05em;padding:3px 10px;border-radius:4px;
  pointer-events:none;text-transform:uppercase;z-index:2
}
/* Description no modal */
#modalDescription{
  font-size:.83rem;color:rgba(255,255,255,.72);text-align:center;
  max-width:580px;margin:.55rem auto 0;line-height:1.55;padding:0 1.25rem
}
html.light-theme #modalDescription{color:rgba(0,0,0,.6)}
/* Label visual nos dois botões flutuantes (cluster) */
#themeToggle.floating-theme-toggle,#ai-play.ai-play-button{
  box-shadow:0 2px 8px rgba(0,0,0,.22)
}

/* ===== strategic-section-enhancements ===== */
.hero{position:relative;isolation:isolate}
.hero::after{content:'';position:absolute;inset:0;background:rgba(0,0,0,.42);pointer-events:none;z-index:0}
html.light-theme .hero::after{background:rgba(0,0,0,.18)}
.hero .hero-content{position:relative;z-index:1;max-width:980px;padding-inline:1.25rem}
#hero-title{max-width:980px;margin:0 auto;line-height:.94;letter-spacing:-.035em}
.hero-lead{max-width:720px;margin:1.45rem auto 0;text-align:center;color:rgba(255,255,255,.90);line-height:1.55;font-size:1rem}
html.light-theme .hero-lead{color:rgba(255,255,255,.92)}
#vamos-conversar{margin-top:1.9rem}
.services-intro,.portfolio-curation p{max-width:900px;margin:0 auto;text-align:center;line-height:1.7}
.services-intro{margin-bottom:1rem;color:rgba(255,255,255,.84)}
html.light-theme .services-intro{color:rgba(0,0,0,.7)}
.section-tags{display:flex;flex-wrap:wrap;gap:.75rem;justify-content:center;align-items:center;margin:0 auto 2rem;padding:0 1rem;max-width:960px}
.section-tags span{display:inline-flex;align-items:center;justify-content:center;padding:.6rem 1rem;border-radius:999px;background:rgba(248,217,15,.12);border:1px solid rgba(248,217,15,.28);font-size:.88rem;font-weight:600}
.portfolio-curation{max-width:960px;margin:0 auto 1.5rem;padding:1.1rem 1.25rem;border:1px solid rgba(248,217,15,.22);background:rgba(248,217,15,.06);border-radius:18px}
.curation-kicker{display:block;margin-bottom:.5rem;text-align:center;font-size:.78rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#f8d90f}
.portfolio-curation p{color:rgba(255,255,255,.82)}
html.light-theme .portfolio-curation{background:rgba(248,217,15,.12);border-color:rgba(0,0,0,.08)}
html.light-theme .portfolio-curation p{color:rgba(0,0,0,.68)}
@media (max-width:768px){
  #hero-title{max-width:92%;line-height:.98}
  .hero-lead{font-size:.95rem;max-width:90%;margin:1.15rem auto 0;line-height:1.5}
  #vamos-conversar{margin-top:1.5rem}
  .services-intro,.portfolio-curation p{max-width:92%}
  .section-tags{gap:.55rem;margin-bottom:1.6rem}
  .section-tags span{font-size:.82rem;padding:.55rem .85rem}
  .portfolio-curation{margin:0 1rem 1.35rem;padding:1rem}
}

/* ===== floating-buttons-and-light-curation-fix ===== */
#themeToggle.floating-theme-toggle:hover,
#themeToggle.floating-theme-toggle:focus-visible{
  background:rgba(248,217,15,.96);
}
#scrollTopBtn{
  background:rgba(248,217,15,.9) !important;
  color:#000 !important;
  box-shadow:0 2px 8px rgba(0,0,0,.22) !important;
  backdrop-filter:saturate(120%) blur(8px);
  -webkit-backdrop-filter:saturate(120%) blur(8px);
}
#scrollTopBtn:hover,
#scrollTopBtn:focus-visible{
  background:rgba(248,217,15,.98) !important;
}
html.light-theme .curation-kicker{
  color:#000 !important;
}

/* ===== service-icons-circle-contrast-fix ===== */
#services .service-card h3{
  display:flex;
  align-items:center;
  gap:.75rem;
}
#services .service-card h3 i{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:2.7rem;
  height:2.7rem;
  flex:0 0 2.7rem;
  border-radius:999px;
  background:rgba(248,217,15,.12);
  border:1px solid rgba(248,217,15,.24);
  color:#f8d90f;
  font-size:.98rem;
  line-height:1;
  box-shadow:none !important;
  filter:none !important;
  text-shadow:none !important;
}
html.light-theme #services .service-card h3 i{
  background:rgba(248,217,15,.18);
  border-color:rgba(0,0,0,.10);
  color:#222222 !important;
  font-size:.96rem;
  box-shadow:none !important;
  filter:none !important;
  text-shadow:none !important;
}
@media (max-width:768px){
  #services .service-card h3 i{
    width:2.62rem;
    height:2.62rem;
    flex:0 0 2.62rem;
    font-size:.94rem;
  }
  html.light-theme #services .service-card h3 i{
    font-size:.92rem;
  }
}

/* ===== section-titles-hover-cleanup ===== */
/* Remove apenas o glow/blur do texto e dos ícones, preservando as linhas amarelas animadas */
  #about-title,
  #services-title,
  #portfolio-title,
  #videos-title,
  #gallery-title,
  #podcast-title,
  #contact-title,
  #about-title:hover,
  #services-title:hover,
  #portfolio-title:hover,
  #videos-title:hover,
  #gallery-title:hover,
  #podcast-title:hover,
  #contact-title:hover,
  #about-title:focus,
  #services-title:focus,
  #portfolio-title:focus,
  #videos-title:focus,
  #gallery-title:focus,
  #podcast-title:focus,
  #contact-title:focus,
  #about-title i,
  #services-title i,
  #portfolio-title i,
  #videos-title i,
  #gallery-title i,
  #podcast-title i,
  #contact-title i,
  #about-title:hover i,
  #services-title:hover i,
  #portfolio-title:hover i,
  #videos-title:hover i,
  #gallery-title:hover i,
  #podcast-title:hover i,
  #contact-title:hover i,
  #about-title:focus i,
  #services-title:focus i,
  #portfolio-title:focus i,
  #videos-title:focus i,
  #gallery-title:focus i,
  #podcast-title:focus i,
  #contact-title:focus i {
    filter: none !important;
    text-shadow: none !important;
  }

/* ===== hero-cta-solid-force-v2 ===== */
#hero #vamos-conversar,
#hero #vamos-conversar:visited,
html.light-theme #hero #vamos-conversar,
html:not(.light-theme) #hero #vamos-conversar{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  margin-top:1.9rem !important;
  padding:.98rem 1.7rem !important;
  min-height:56px !important;
  border-radius:999px !important;
  border:1.5px solid #f8d90f !important;
  background:#f8d90f !important;
  background-image:none !important;
  color:#111 !important;
  opacity:1 !important;
  font-weight:700 !important;
  letter-spacing:.01em !important;
  text-decoration:none !important;
  box-shadow:0 10px 26px rgba(0,0,0,.22), 0 0 0 1px rgba(248,217,15,.08) inset !important;
}
#hero #vamos-conversar:hover,
#hero #vamos-conversar:focus-visible,
html.light-theme #hero #vamos-conversar:hover,
html.light-theme #hero #vamos-conversar:focus-visible,
html:not(.light-theme) #hero #vamos-conversar:hover,
html:not(.light-theme) #hero #vamos-conversar:focus-visible{
  background:#ffe45c !important;
  background-image:none !important;
  border-color:#ffe45c !important;
  color:#000 !important;
  box-shadow:0 14px 30px rgba(0,0,0,.28), 0 0 0 1px rgba(255,228,92,.12) inset !important;
  transform:translateY(-1px) !important;
}
#hero #vamos-conversar:focus-visible{
  outline:2px solid rgba(255,255,255,.45) !important;
  outline-offset:3px !important;
}
@media (max-width:768px){
  #hero #vamos-conversar,
  html.light-theme #hero #vamos-conversar,
  html:not(.light-theme) #hero #vamos-conversar{
    margin-top:1.5rem !important;
    padding:.92rem 1.45rem !important;
    min-height:52px !important;
  }
}

/* ===== contact-submit-ultimate-fix ===== */
/* Força o botão da seção Contato a ficar amarelo sólido nos dois temas */
  #contact form button.btn[type="submit"]{
    display:inline-flex !important;
    align-items:center !important;
    justify-content:center !important;
    width:100% !important;
    min-height:56px !important;
    padding:1rem 1.5rem !important;
    border-radius:999px !important;
    font-weight:700 !important;
    text-decoration:none !important;
    background-image:none !important;
    transform:none !important;
    transition:background-color .2s ease, border-color .2s ease, color .2s ease !important;
    box-shadow:none !important;
  }

  html:not(.light-theme) #contact form button.btn[type="submit"],
  body:not(.light-theme) #contact form button.btn[type="submit"],
  html[data-theme="dark"] #contact form button.btn[type="submit"],
  body[data-theme="dark"] #contact form button.btn[type="submit"]{
    background:#f8d90f !important;
    color:#111 !important;
    border:1.5px solid #f8d90f !important;
    box-shadow:none !important;
  }

  html.light-theme #contact form button.btn[type="submit"],
  body.light-theme #contact form button.btn[type="submit"],
  html[data-theme="light"] #contact form button.btn[type="submit"],
  body[data-theme="light"] #contact form button.btn[type="submit"]{
    background:#f8d90f !important;
    color:#111 !important;
    border:1.5px solid #f8d90f !important;
    box-shadow:none !important;
  }

  #contact form button.btn[type="submit"]:hover,
  #contact form button.btn[type="submit"]:focus-visible{
    background:#ffe45c !important;
    color:#000 !important;
    border-color:#ffe45c !important;
    box-shadow:none !important;
    transform:none !important;
  }

/* ===== hero-title-light-theme-fix ===== */
html.light-theme #hero-title,
html.light-theme .hero h1,
body.light-theme #hero-title,
body.light-theme .hero h1 {
  color: #ffffff !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

html.light-theme #hero-title .accent,
html.light-theme .hero h1 .accent,
body.light-theme #hero-title .accent,
body.light-theme .hero h1 .accent {
  color: #f8d90f !important;
}

/* ===== mobile-burger-restore ===== */
@media (max-width: 768px) {
  header #burger {
    width: 40px !important;
    height: 40px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 8px !important;
    border: 1px solid transparent !important;
    border-radius: 999px !important;
    background: transparent !important;
    box-shadow: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  header #burger span {
    width: 20px !important;
    height: 2px !important;
    margin: 2px 0 !important;
    border-radius: 2px !important;
    transition: background-color .2s ease, opacity .2s ease !important;
  }

  html.light-theme header #burger span,
  body.light-theme header #burger span {
    background: #111111 !important;
  }

  html:not(.light-theme) header #burger span,
  body:not(.light-theme) header #burger span {
    background: #f8d90f !important;
  }

  #drawerBackdrop,
  body > #drawerBackdrop {
    background: rgba(0, 0, 0, 0.32) !important;
    transition: opacity .22s ease !important;
  }

  html.light-theme #drawerBackdrop,
  body.light-theme #drawerBackdrop,
  html.light-theme body > #drawerBackdrop,
  body.light-theme body > #drawerBackdrop {
    background: rgba(0, 0, 0, 0.18) !important;
  }

  #mobileDrawer,
  body > #mobileDrawer {
    color: #ffffff !important;
    background: rgba(10, 10, 10, 0.84) !important;
    border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.38) !important;
    backdrop-filter: blur(16px) saturate(165%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(165%) !important;
  }

  html.light-theme #mobileDrawer,
  body.light-theme #mobileDrawer,
  html.light-theme body > #mobileDrawer,
  body.light-theme body > #mobileDrawer {
    color: #111111 !important;
    background: rgba(255, 255, 255, 0.72) !important;
    border-left: 1px solid rgba(0, 0, 0, 0.08) !important;
    box-shadow: -8px 0 28px rgba(0, 0, 0, 0.16) !important;
    backdrop-filter: blur(12px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
  }

  #mobileDrawer nav,
  body > #mobileDrawer nav {
    gap: 8px !important;
  }

  #mobileDrawer a,
  body > #mobileDrawer a {
    min-height: 48px !important;
    padding: 14px 12px !important;
    border-radius: 12px !important;
    font-size: 1.05rem !important;
    font-weight: 600 !important;
    color: inherit !important;
    background: rgba(255, 255, 255, 0.04) !important;
    border: 1px solid rgba(255, 255, 255, 0.07) !important;
    box-shadow: none !important;
    transition: background .2s ease, color .2s ease, border-color .2s ease, transform .18s ease !important;
  }

  html.light-theme #mobileDrawer a,
  body.light-theme #mobileDrawer a,
  html.light-theme body > #mobileDrawer a,
  body.light-theme body > #mobileDrawer a {
    background: rgba(0, 0, 0, 0.025) !important;
    border-color: rgba(0, 0, 0, 0.07) !important;
  }

  #mobileDrawer a:hover,
  #mobileDrawer a:focus-visible,
  body > #mobileDrawer a:hover,
  body > #mobileDrawer a:focus-visible {
    background: rgba(255, 255, 255, 0.08) !important;
    border-color: rgba(255, 255, 255, 0.10) !important;
    transform: translateX(-1px) !important;
  }

  html.light-theme #mobileDrawer a:hover,
  html.light-theme #mobileDrawer a:focus-visible,
  body.light-theme #mobileDrawer a:hover,
  body.light-theme #mobileDrawer a:focus-visible,
  html.light-theme body > #mobileDrawer a:hover,
  html.light-theme body > #mobileDrawer a:focus-visible,
  body.light-theme body > #mobileDrawer a:hover,
  body.light-theme body > #mobileDrawer a:focus-visible {
    background: rgba(0, 0, 0, 0.06) !important;
    border-color: rgba(0, 0, 0, 0.08) !important;
    color: #111111 !important;
  }
}

/* ===== remove-floating-button-shadows ===== */
#themeToggle,
#themeToggle.floating-theme-toggle,
#ai-play,
#ai-play.ai-play-button,
#scrollTopBtn,
#back-to-top,
.dark-mode-toggle{
  box-shadow:none !important;
}

#themeToggle:hover,
#themeToggle:focus-visible,
#themeToggle.floating-theme-toggle:hover,
#themeToggle.floating-theme-toggle:focus-visible,
#ai-play:hover,
#ai-play:focus-visible,
#ai-play:active,
#ai-play.ai-play-button:hover,
#ai-play.ai-play-button:focus-visible,
#scrollTopBtn:hover,
#scrollTopBtn:focus-visible,
#back-to-top:hover,
#back-to-top:focus-visible,
.dark-mode-toggle:hover,
.dark-mode-toggle:focus-visible{
  box-shadow:none !important;
}


/* ===== menu-mobile-referencia-exata.css ===== */

/* =========================================================
   MENU MOBILE — REFERÊNCIA EXATA
   Carregar depois de site-polish-final.css
   ========================================================= */

@media (max-width: 860px) {
  /* Overlay mais suave, como na referência */
  #drawerBackdrop,
  body > #drawerBackdrop {
    position: fixed !important;
    inset: 0 !important;
    display: block !important;
    background: rgba(0, 0, 0, 0.30) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity .22s ease, visibility .22s ease !important;
    z-index: 10010 !important;
  }

  #drawerBackdrop.is-open,
  body > #drawerBackdrop.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* Caixa do drawer: flutuante, menor e discreta */
  #mobileDrawer,
  body > #mobileDrawer {
    position: fixed !important;
    top: calc(126px + env(safe-area-inset-top)) !important;
    right: 12px !important;
    left: auto !important;
    bottom: auto !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;

    width: min(58vw, 294px) !important;
    height: auto !important;
    max-height: calc(100dvh - 144px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;

    padding: 10px !important;
    overflow-y: auto !important;
    overscroll-behavior: contain !important;
    box-sizing: border-box !important;

    border-radius: 20px !important;

    transform: translateY(-2px) scale(.985) !important;
    transform-origin: top right !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;

    transition:
      transform .22s ease,
      opacity .22s ease,
      visibility .22s ease !important;

    z-index: 10020 !important;
  }

  #mobileDrawer.is-open,
  body > #mobileDrawer.is-open {
    transform: translateY(0) scale(1) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  #mobileDrawer nav,
  body > #mobileDrawer nav {
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    width: 100% !important;
  }

  #mobileDrawer a,
  body > #mobileDrawer a {
    position: relative !important;
    display: flex !important;
    align-items: center !important;

    min-height: 44px !important;
    padding: 12px 16px !important;

    border-radius: 14px !important;
    font-size: 0.98rem !important;
    line-height: 1.15 !important;
    font-weight: 700 !important;
    letter-spacing: -0.01em !important;
    text-decoration: none !important;

    transition:
      background .18s ease,
      border-color .18s ease,
      color .18s ease,
      box-shadow .18s ease !important;
  }

  /* -------------------------
     MODO ESCURO
     ------------------------- */
  html:not(.light-theme) #mobileDrawer,
  body:not(.light-theme) #mobileDrawer,
  html:not(.light-theme) body > #mobileDrawer,
  body:not(.light-theme) body > #mobileDrawer {
    color: #ffffff !important;
    background: rgba(10, 10, 12, 0.86) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.34) !important;
    backdrop-filter: blur(16px) saturate(165%) !important;
    -webkit-backdrop-filter: blur(16px) saturate(165%) !important;
  }

  html:not(.light-theme) #mobileDrawer a,
  body:not(.light-theme) #mobileDrawer a,
  html:not(.light-theme) body > #mobileDrawer a,
  body:not(.light-theme) body > #mobileDrawer a {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.035) !important;
    border: 1px solid rgba(255, 255, 255, 0.09) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
  }

  html:not(.light-theme) #mobileDrawer a:hover,
  html:not(.light-theme) #mobileDrawer a:focus-visible,
  body:not(.light-theme) #mobileDrawer a:hover,
  body:not(.light-theme) #mobileDrawer a:focus-visible,
  html:not(.light-theme) body > #mobileDrawer a:hover,
  html:not(.light-theme) body > #mobileDrawer a:focus-visible,
  body:not(.light-theme) body > #mobileDrawer a:hover,
  body:not(.light-theme) body > #mobileDrawer a:focus-visible {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.055) !important;
    border-color: rgba(255, 255, 255, 0.12) !important;
    transform: none !important;
    outline: none !important;
  }

  html:not(.light-theme) #mobileDrawer a.active,
  html:not(.light-theme) #mobileDrawer a.is-active,
  html:not(.light-theme) #mobileDrawer a[aria-current="page"],
  html:not(.light-theme) #mobileDrawer a[aria-current="location"],
  body:not(.light-theme) #mobileDrawer a.active,
  body:not(.light-theme) #mobileDrawer a.is-active,
  body:not(.light-theme) #mobileDrawer a[aria-current="page"],
  body:not(.light-theme) #mobileDrawer a[aria-current="location"],
  html:not(.light-theme) body > #mobileDrawer a.active,
  html:not(.light-theme) body > #mobileDrawer a.is-active,
  html:not(.light-theme) body > #mobileDrawer a[aria-current="page"],
  html:not(.light-theme) body > #mobileDrawer a[aria-current="location"],
  body:not(.light-theme) body > #mobileDrawer a.active,
  body:not(.light-theme) body > #mobileDrawer a.is-active,
  body:not(.light-theme) body > #mobileDrawer a[aria-current="page"],
  body:not(.light-theme) body > #mobileDrawer a[aria-current="location"] {
    color: #f8d90f !important;
    background: linear-gradient(90deg, rgba(248, 217, 15, 0.13), rgba(248, 217, 15, 0.05)) !important;
    border-color: rgba(248, 217, 15, 0.32) !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03) !important;
  }

  html:not(.light-theme) #mobileDrawer a.active::before,
  html:not(.light-theme) #mobileDrawer a.is-active::before,
  html:not(.light-theme) #mobileDrawer a[aria-current="page"]::before,
  html:not(.light-theme) #mobileDrawer a[aria-current="location"]::before,
  body:not(.light-theme) #mobileDrawer a.active::before,
  body:not(.light-theme) #mobileDrawer a.is-active::before,
  body:not(.light-theme) #mobileDrawer a[aria-current="page"]::before,
  body:not(.light-theme) #mobileDrawer a[aria-current="location"]::before,
  html:not(.light-theme) body > #mobileDrawer a.active::before,
  html:not(.light-theme) body > #mobileDrawer a.is-active::before,
  html:not(.light-theme) body > #mobileDrawer a[aria-current="page"]::before,
  html:not(.light-theme) body > #mobileDrawer a[aria-current="location"]::before,
  body:not(.light-theme) body > #mobileDrawer a.active::before,
  body:not(.light-theme) body > #mobileDrawer a.is-active::before,
  body:not(.light-theme) body > #mobileDrawer a[aria-current="page"]::before,
  body:not(.light-theme) body > #mobileDrawer a[aria-current="location"]::before {
    content: "" !important;
    position: absolute !important;
    left: -8px !important;
    top: 8px !important;
    bottom: 8px !important;
    width: 4px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #f8d90f, #ff9800) !important;
  }

  /* -------------------------
     MODO CLARO
     ------------------------- */
  html.light-theme #mobileDrawer,
  body.light-theme #mobileDrawer,
  html.light-theme body > #mobileDrawer,
  body.light-theme body > #mobileDrawer {
    color: #1f2937 !important;
    background: rgba(255, 255, 255, 0.92) !important;
    border: 1px solid rgba(15, 23, 42, 0.10) !important;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.14) !important;
    backdrop-filter: blur(12px) saturate(150%) !important;
    -webkit-backdrop-filter: blur(12px) saturate(150%) !important;
  }

  html.light-theme #mobileDrawer a,
  body.light-theme #mobileDrawer a,
  html.light-theme body > #mobileDrawer a,
  body.light-theme body > #mobileDrawer a {
    color: #1f2937 !important;
    background: rgba(15, 23, 42, 0.035) !important;
    border: 1px solid rgba(15, 23, 42, 0.08) !important;
    box-shadow: none !important;
  }

  html.light-theme #mobileDrawer a:hover,
  html.light-theme #mobileDrawer a:focus-visible,
  body.light-theme #mobileDrawer a:hover,
  body.light-theme #mobileDrawer a:focus-visible,
  html.light-theme body > #mobileDrawer a:hover,
  html.light-theme body > #mobileDrawer a:focus-visible,
  body.light-theme body > #mobileDrawer a:hover,
  body.light-theme body > #mobileDrawer a:focus-visible {
    color: #111827 !important;
    background: rgba(15, 23, 42, 0.055) !important;
    border-color: rgba(15, 23, 42, 0.11) !important;
    transform: none !important;
    outline: none !important;
  }

  html.light-theme #mobileDrawer a.active,
  html.light-theme #mobileDrawer a.is-active,
  html.light-theme #mobileDrawer a[aria-current="page"],
  html.light-theme #mobileDrawer a[aria-current="location"],
  body.light-theme #mobileDrawer a.active,
  body.light-theme #mobileDrawer a.is-active,
  body.light-theme #mobileDrawer a[aria-current="page"],
  body.light-theme #mobileDrawer a[aria-current="location"],
  html.light-theme body > #mobileDrawer a.active,
  html.light-theme body > #mobileDrawer a.is-active,
  html.light-theme body > #mobileDrawer a[aria-current="page"],
  html.light-theme body > #mobileDrawer a[aria-current="location"],
  body.light-theme body > #mobileDrawer a.active,
  body.light-theme body > #mobileDrawer a.is-active,
  body.light-theme body > #mobileDrawer a[aria-current="page"],
  body.light-theme body > #mobileDrawer a[aria-current="location"] {
    color: #ffffff !important;
    background: #0b0b0d !important;
    border-color: #0b0b0d !important;
    box-shadow: 0 8px 22px rgba(11, 11, 13, 0.12) !important;
  }

  html.light-theme #mobileDrawer a.active::before,
  html.light-theme #mobileDrawer a.is-active::before,
  html.light-theme #mobileDrawer a[aria-current="page"]::before,
  html.light-theme #mobileDrawer a[aria-current="location"]::before,
  body.light-theme #mobileDrawer a.active::before,
  body.light-theme #mobileDrawer a.is-active::before,
  body.light-theme #mobileDrawer a[aria-current="page"]::before,
  body.light-theme #mobileDrawer a[aria-current="location"]::before,
  html.light-theme body > #mobileDrawer a.active::before,
  html.light-theme body > #mobileDrawer a.is-active::before,
  html.light-theme body > #mobileDrawer a[aria-current="page"]::before,
  html.light-theme body > #mobileDrawer a[aria-current="location"]::before,
  body.light-theme body > #mobileDrawer a.active::before,
  body.light-theme body > #mobileDrawer a.is-active::before,
  body.light-theme body > #mobileDrawer a[aria-current="page"]::before,
  body.light-theme body > #mobileDrawer a[aria-current="location"]::before {
    content: "" !important;
    position: absolute !important;
    left: -8px !important;
    top: 8px !important;
    bottom: 8px !important;
    width: 4px !important;
    border-radius: 999px !important;
    background: #000000 !important;
  }
}

@media (max-width: 420px) {
  #mobileDrawer,
  body > #mobileDrawer {
    top: calc(124px + env(safe-area-inset-top)) !important;
    right: 10px !important;
    width: min(60vw, 286px) !important;
    max-height: calc(100dvh - 142px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
    padding: 9px !important;
    border-radius: 18px !important;
  }

  #mobileDrawer nav,
  body > #mobileDrawer nav {
    gap: 7px !important;
  }

  #mobileDrawer a,
  body > #mobileDrawer a {
    min-height: 42px !important;
    padding: 11px 15px !important;
    font-size: 0.96rem !important;
  }
}


/* ===== ux-10-final.css ===== */
/*
  ux-10-final.css
  Camada final de refinamento ergonômico.
  Objetivo: reduzir ruído visual, melhorar conforto de leitura,
  consolidar áreas de toque e deixar a experiência mais premium.
*/

:root{
  --ux-space-section: clamp(4.5rem, 7vw, 6.25rem);
  --ux-space-section-mobile: clamp(3.25rem, 7vw, 4.25rem);
  --ux-reading: 68ch;
  --ux-reading-wide: 76ch;
  --ux-control-size: 44px;
  --ux-control-size-mobile: 44px;
  --ux-shadow-soft: 0 10px 30px rgba(0,0,0,.16);
  --ux-shadow-strong: 0 14px 34px rgba(0,0,0,.22);
  --ux-surface-dark: rgba(255,255,255,.045);
  --ux-surface-light: rgba(0,0,0,.035);
}

html{
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body{
  line-height: 1.7;
}

section{
  padding-top: var(--ux-space-section) !important;
  padding-bottom: var(--ux-space-section) !important;
}

.container{
  width: min(100% - 2rem, var(--max));
}

/* ---------------------------------
   Header e navegação
   --------------------------------- */
#site-header,
header{
  padding-inline: clamp(1rem, 2vw, 2rem) !important;
}

#site-header .logo,
header .logo{
  letter-spacing: .03em;
}

header nav #nav-list li a,
#nav-list li a,
header nav a{
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding-inline: .15rem;
}

/* ---------------------------------
   Hero: respiro e leitura
   --------------------------------- */
.hero .hero-content,
#hero .hero-content{
  max-width: min(980px, calc(100vw - 2rem)) !important;
}

#hero-title,
.hero h1{
  max-width: 14.5ch;
  margin-inline: auto;
  text-wrap: balance;
}

.hero-lead{
  max-width: 60ch !important;
  font-size: clamp(1rem, .35vw + .94rem, 1.125rem) !important;
}

#hero #vamos-conversar{
  min-width: min(100%, 240px);
}

/* ---------------------------------
   Ritmo de leitura
   --------------------------------- */
#about .about-grid{
  gap: clamp(1.5rem, 3vw, 3rem) !important;
  align-items: center !important;
}

#about .about-grid > div{
  max-width: var(--ux-reading) !important;
}

#about p{
  max-width: var(--ux-reading) !important;
  line-height: 1.78 !important;
}

#services .services-intro,
#videos .videos-intro,
#podcast .podcast-text,
#podcast .podcast-note,
#portfolio .intro-text,
#portfolio .portfolio-curation p{
  max-width: var(--ux-reading-wide) !important;
}

#services .services-grid{
  gap: clamp(1rem, 2vw, 1.5rem) !important;
}

#services .service-card{
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(1.2rem, 2vw, 1.6rem) !important;
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 8px 22px rgba(0,0,0,.10);
}

html.light-theme #services .service-card,
body.light-theme #services .service-card{
  border-color: rgba(0,0,0,.06);
  box-shadow: 0 8px 22px rgba(0,0,0,.06);
}

/* ---------------------------------
   Filtros e portfólio
   --------------------------------- */
.portfolio-filters{
  width: min(100%, 820px);
  row-gap: .65rem !important;
  column-gap: .65rem !important;
  margin-inline: auto;
}

.portfolio-filter{
  min-height: 44px !important;
  padding-inline: 1rem !important;
  font-weight: 600;
}

#portfolio .portfolio-item,
#portfolio .portfolio-item img{
  border-radius: 16px;
}

#portfolio .portfolio-item img{
  transition: transform .24s ease, box-shadow .24s ease, filter .24s ease !important;
}

#portfolio .portfolio-item:hover img,
#portfolio .portfolio-item:focus-within img{
  transform: scale(1.02) !important;
}

@media (hover: none){
  #portfolio .portfolio-item:hover img,
  #portfolio .portfolio-item:focus-within img,
  .service-card:hover,
  .carousel-track img:hover,
  #videos video:hover{
    transform: none !important;
    box-shadow: none !important;
    filter: none !important;
  }
}

/* ---------------------------------
   Vídeos e mídia
   --------------------------------- */
.video-grid{
  gap: clamp(1.25rem, 2vw, 2rem) !important;
}

.video-card{
  gap: .65rem !important;
}

.video-frame{
  border-radius: 18px !important;
}

#imageModal .modal-nav,
#galleryImageModal .gallery-nav,
#imageModal .close-modal,
#galleryImageModal .gallery-close,
.carousel-btn,
#scrollTopBtn,
#themeToggle,
#ai-play,
#burger,
header #burger{
  min-width: var(--ux-control-size) !important;
  min-height: var(--ux-control-size) !important;
}

/* ---------------------------------
   Formulário
   --------------------------------- */
#contact form{
  max-width: 680px !important;
}

#contact input,
#contact textarea,
#contact button,
.contact-whatsapp-link{
  border-radius: 16px;
}

#contact input,
#contact textarea{
  padding: 1rem 1rem !important;
}

#contact textarea{
  min-height: 168px !important;
}

#contact input::placeholder,
#contact textarea::placeholder{
  opacity: .82;
}

.contact-whatsapp-link{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 52px;
  padding: .9rem 1.2rem;
  border: 1px solid rgba(37,211,102,.25);
  background: rgba(37,211,102,.08);
}

/* ---------------------------------
   Elementos flutuantes: menos ruído
   --------------------------------- */
#themeToggle.floating-theme-toggle,
#ai-play.ai-play-button,
#scrollTopBtn{
  width: var(--ux-control-size) !important;
  height: var(--ux-control-size) !important;
  box-shadow: var(--ux-shadow-soft) !important;
  opacity: .92;
}

#themeToggle.floating-theme-toggle:hover,
#themeToggle.floating-theme-toggle:focus-visible,
#ai-play.ai-play-button:hover,
#ai-play.ai-play-button:focus-visible,
#scrollTopBtn:hover,
#scrollTopBtn:focus-visible{
  transform: translateY(-1px);
  box-shadow: var(--ux-shadow-strong) !important;
}

#themeToggle.floating-theme-toggle{
  left: max(16px, env(safe-area-inset-left)) !important;
  bottom: max(18px, env(safe-area-inset-bottom)) !important;
}

#scrollTopBtn{
  right: max(18px, env(safe-area-inset-right)) !important;
  bottom: max(18px, env(safe-area-inset-bottom)) !important;
}

#ai-play.ai-play-button{
  bottom: max(18px, env(safe-area-inset-bottom)) !important;
}

#robozinho-container{
  left: 16px !important;
  bottom: 74px !important;
  opacity: .76;
}

#robozinho{
  width: 74px !important;
}

#robozinho-container:hover,
#robozinho-container:focus-within{
  opacity: 1;
}

/* ---------------------------------
   Foco e acessibilidade
   --------------------------------- */
.skip-link:focus{
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
}

:focus-visible{
  outline-width: 3px !important;
  outline-offset: 3px !important;
}

/* ---------------------------------
   Tablet e mobile
   --------------------------------- */
@media (max-width: 1024px){
  #robozinho-container{
    opacity: .62;
  }
}

@media (max-width: 860px){
  #site-header,
  header{
    padding-top: calc(.8rem + env(safe-area-inset-top)) !important;
  }

  section{
    padding-top: var(--ux-space-section-mobile) !important;
    padding-bottom: var(--ux-space-section-mobile) !important;
  }

  header #burger,
  #burger{
    width: var(--ux-control-size-mobile) !important;
    height: var(--ux-control-size-mobile) !important;
    padding: 10px !important;
  }

  header #burger span,
  #burger span{
    width: 20px !important;
  }

  #mobileDrawer,
  body > #mobileDrawer{
    width: min(74vw, 320px) !important;
    max-height: calc(100dvh - 132px - env(safe-area-inset-top) - env(safe-area-inset-bottom)) !important;
    border-radius: 18px !important;
  }

  #mobileDrawer a,
  body > #mobileDrawer a{
    min-height: 46px !important;
    font-size: 1rem !important;
    padding: 12px 14px !important;
  }

  .hero-lead{
    max-width: 34ch !important;
  }

  #about .about-grid > div,
  #about p,
  #services .services-intro,
  #videos .videos-intro,
  #podcast .podcast-text,
  #podcast .podcast-note,
  #portfolio .intro-text,
  #portfolio .portfolio-curation p{
    max-width: 36ch !important;
  }

  #themeToggle.floating-theme-toggle,
  #ai-play.ai-play-button,
  #scrollTopBtn{
    width: var(--ux-control-size-mobile) !important;
    height: var(--ux-control-size-mobile) !important;
  }

  #themeToggle.floating-theme-toggle{
    left: 14px !important;
    bottom: max(14px, env(safe-area-inset-bottom)) !important;
  }

  #scrollTopBtn{
    right: 14px !important;
    bottom: max(14px, env(safe-area-inset-bottom)) !important;
  }

  #ai-play.ai-play-button{
    bottom: max(14px, env(safe-area-inset-bottom)) !important;
    width: 42px !important;
    height: 42px !important;
  }

  #robozinho-container{
    display: none !important;
  }
}

@media (max-width: 520px){
  .portfolio-filters{
    width: min(100%, 340px);
  }

  .portfolio-filter{
    flex: 1 1 calc(50% - .5rem);
  }

  #hero-title,
  .hero h1{
    max-width: 12.5ch;
  }

  .hero-lead{
    max-width: 30ch !important;
  }

  #about .about-grid > div,
  #about p,
  #services .services-intro,
  #videos .videos-intro,
  #podcast .podcast-text,
  #podcast .podcast-note,
  #portfolio .intro-text,
  #portfolio .portfolio-curation p{
    max-width: 32ch !important;
  }
}

@media (prefers-reduced-motion: reduce){
  #themeToggle.floating-theme-toggle:hover,
  #themeToggle.floating-theme-toggle:focus-visible,
  #ai-play.ai-play-button:hover,
  #ai-play.ai-play-button:focus-visible,
  #scrollTopBtn:hover,
  #scrollTopBtn:focus-visible,
  #portfolio .portfolio-item:hover img,
  #portfolio .portfolio-item:focus-within img{
    transform: none !important;
  }
}

/* ===== remove-floating-button-shadows ===== */
#themeToggle,
#themeToggle.floating-theme-toggle,
#ai-play,
#ai-play.ai-play-button,
#scrollTopBtn,
#back-to-top,
.dark-mode-toggle{
  box-shadow:none !important;
}

#themeToggle:hover,
#themeToggle:focus-visible,
#themeToggle.floating-theme-toggle:hover,
#themeToggle.floating-theme-toggle:focus-visible,
#ai-play:hover,
#ai-play:focus-visible,
#ai-play:active,
#ai-play.ai-play-button:hover,
#ai-play.ai-play-button:focus-visible,
#scrollTopBtn:hover,
#scrollTopBtn:focus-visible,
#back-to-top:hover,
#back-to-top:focus-visible,
.dark-mode-toggle:hover,
.dark-mode-toggle:focus-visible{
  box-shadow:none !important;
}


/* ===== inline:portfolio-modal-zoom-style ===== */

  #imageModal #modalImage{
    touch-action:none;
    -webkit-user-select:none;
    user-select:none;
    -webkit-user-drag:none;
    will-change:transform;
    transform:translate3d(0,0,0) scale(1);
    transition:transform .22s ease;
    cursor:zoom-in;
  }
  #imageModal.is-zoomed #modalImage{
    cursor:grab;
  }
  #imageModal.is-panning #modalImage{
    cursor:grabbing;
    transition:none;
  }
  @media (prefers-reduced-motion:reduce){
    #imageModal #modalImage{
      transition:none !important;
    }
  }


/* ===== inline:br-strategic-polish ===== */

  .portfolio-focus-note,
  .compact-section-intro,
  .gallery-intro{
    max-width: 780px;
    margin-inline: auto;
  }
  .portfolio-focus-note{
    margin: 1rem auto 1.25rem;
    text-align: center;
    font-size: .96rem;
    line-height: 1.6;
    opacity: .92;
  }
  .gallery-intro{
    text-align: center;
    margin-bottom: 1.5rem;
  }
  .contact-whatsapp-text{
    display: inline-block;
    margin-left: .5rem;
    font-size: 1rem;
    vertical-align: middle;
  }



/* ===== hero-title-two-line-final ===== */
#hero-title,
.hero h1{
  max-width:none !important;
  width:auto !important;
  text-wrap:initial !important;
  white-space:normal !important;
  display:inline-flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  text-align:center !important;
  gap:.02em !important;
  font-family:"Poppins", sans-serif !important;
  font-weight:700 !important;
}

#hero-title .hero-line,
.hero h1 .hero-line,
#hero-title .hero-line-text,
.hero h1 .hero-line-text,
#hero-title .hero-amp,
.hero h1 .hero-amp{
  font-family:"Poppins", sans-serif !important;
  font-weight:700 !important;
}

#hero-title .hero-line,
.hero h1 .hero-line{
  display:block;
  line-height:.95;
}

#hero-title .hero-line--1,
.hero h1 .hero-line--1{
  white-space:nowrap !important;
}

#hero-title .hero-line--2,
.hero h1 .hero-line--2{
  display:inline-flex !important;
  align-items:baseline !important;
  justify-content:center !important;
  gap:.16em !important;
  white-space:nowrap !important;
}

#hero-title .hero-amp,
.hero h1 .hero-amp{
  display:inline-block;
  line-height:1;
  transform:translateY(.02em);
}

@media (max-width: 768px){
  #hero-title,
  .hero h1{
    gap:.04em !important;
  }

  #hero-title .hero-line--2,
  .hero h1 .hero-line--2{
    gap:.14em !important;
  }
}


/* ===== services-single-line-titles-v1 ===== */
#services .service-card h3{
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  flex-wrap:nowrap !important;
  white-space:nowrap !important;
  gap:.68rem !important;
  width:100%;
  max-width:100%;
  min-height:3rem;
  padding-inline:.35rem;
  margin-inline:auto;
  line-height:1.12 !important;
  font-size:clamp(1rem, .34vw + .96rem, 1.14rem) !important;
  overflow:visible;
  text-overflow:clip;
}

#services .service-card h3 i{
  flex:0 0 2.55rem !important;
}

@media (max-width:1100px){
  #services .service-card h3{
    font-size:clamp(.96rem, .28vw + .93rem, 1.05rem) !important;
    gap:.6rem !important;
  }
}

@media (max-width:768px){
  #services .service-card h3{
    min-height:auto;
    padding-inline:.15rem;
    font-size:clamp(.98rem, .7vw + .9rem, 1.06rem) !important;
  }

  #services .service-card h3 i{
    width:2.45rem;
    height:2.45rem;
    flex:0 0 2.45rem !important;
  }
}
