/* ==========================================================================
   Cleiton Oliveira - Webdesigner | Main Stylesheet
   Logo Gradient Theme: #df7d4e (Warm Coral) -> #f62f49 (Vivid Crimson)
   ========================================================================== */

:root {
  /* Brand Gradients & Colors from co Letras.svg */
  --brand-start: #df7d4e;
  --brand-end: #f62f49;
  --brand-gradient: linear-gradient(135deg, #df7d4e 0%, #f62f49 100%);
  --brand-gradient-hover: linear-gradient(135deg, #e88c5f 0%, #fa475e 100%);
  --brand-gradient-soft: linear-gradient(135deg, rgba(223, 125, 78, 0.15) 0%, rgba(246, 47, 73, 0.15) 100%);
  --brand-gradient-subtle: linear-gradient(135deg, rgba(223, 125, 78, 0.08) 0%, rgba(246, 47, 73, 0.08) 100%);

  /* Dark Theme Palette */
  --bg-main: #0B0D11;
  --bg-surface: #12151C;
  --bg-card: #181C26;
  --bg-card-hover: #1E2330;
  --bg-overlay: rgba(11, 13, 17, 0.85);

  --accent-primary: #f62f49;
  --accent-secondary: #df7d4e;
  --accent-glow: rgba(246, 47, 73, 0.35);
  --accent-soft: rgba(246, 47, 73, 0.12);

  --text-main: #FFFFFF;
  --text-muted: #9BA3AF;
  --text-dim: #6B7280;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(223, 125, 78, 0.45);
  --border-card: rgba(255, 255, 255, 0.06);

  /* Typography */
  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Plus Jakarta Sans', var(--font-main);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Container & Radius */
  --container-max: 1240px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark;
}

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* --------------------------------------------------------------------------
   Top Announcement Bar
   -------------------------------------------------------------------------- */
.top-badge-bar {
  background: linear-gradient(90deg, rgba(223, 125, 78, 0.2) 0%, rgba(18, 21, 28, 0.8) 50%, rgba(246, 47, 73, 0.2) 100%);
  border-bottom: 1px solid var(--border-color);
  font-size: 0.82rem;
  text-align: center;
  padding: 0.45rem 1rem;
  color: var(--text-muted);
}

.top-badge-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
}

/* --------------------------------------------------------------------------
   Site Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(11, 13, 17, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-smooth);
}

.site-header.scrolled {
  background-color: rgba(11, 13, 17, 0.96);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-bottom-color: rgba(223, 125, 78, 0.15);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand-complete-logo {
  height: 46px;
  width: auto;
  max-width: 230px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.5));
  transition: transform var(--transition-bounce), filter var(--transition-smooth);
}

.brand-logo:hover .brand-complete-logo {
  transform: scale(1.04);
  filter: drop-shadow(0 4px 15px rgba(246, 47, 73, 0.4));
}

.brand-complete-logo-mobile {
  height: 38px;
  max-width: 190px;
}

/* Desktop Nav Links */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
  position: relative;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
  text-decoration: none;
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--brand-gradient);
  transition: width var(--transition-smooth);
  border-radius: var(--radius-full);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Nav Item Dropdown */
.nav-item-dropdown {
  position: relative;
  display: flex;
  align-items: center;
}

.nav-link-has-dropdown {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-dropdown-icon {
  width: 14px;
  height: 14px;
  transition: transform var(--transition-smooth);
}

.nav-item-dropdown:hover .nav-dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background-color: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.5rem;
  min-width: 210px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: all var(--transition-smooth);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.95rem;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.dropdown-item:hover {
  color: #FFFFFF;
  background: var(--brand-gradient-soft);
  transform: translateX(3px);
}

.dropdown-item svg {
  width: 16px;
  height: 16px;
  color: var(--brand-start);
  flex-shrink: 0;
}

/* Mobile Subnav */
.mobile-subnav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-left: 1.25rem;
  margin-top: -0.25rem;
  margin-bottom: 0.5rem;
  border-left: 2px solid rgba(255, 255, 255, 0.06);
  margin-left: 0.75rem;
}

.mobile-sublink {
  font-size: 0.9rem;
  color: var(--text-dim);
  padding: 0.4rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.mobile-sublink:hover {
  color: var(--brand-start);
  padding-left: 0.85rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Button System with Logo Gradient */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  padding: 0.75rem 1.5rem;
  transition: all var(--transition-smooth);
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  position: relative;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(246, 47, 73, 0.4);
}

.btn-primary:hover {
  background: var(--brand-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(223, 125, 78, 0.55);
  color: #FFFFFF;
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.03);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--text-main);
}

.btn-outline:hover {
  background: var(--brand-gradient-soft);
  border-color: var(--brand-start);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(223, 125, 78, 0.25);
}

.btn-header {
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 0.9rem 1.85rem;
  font-size: 1.02rem;
}

.btn-xl {
  padding: 1.1rem 2.25rem;
  font-size: 1.1rem;
}

.btn-full {
  width: 100%;
}

.btn-icon,
.btn svg {
  width: 18px;
  height: 18px;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.hamburger-bar {
  width: 20px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition-smooth);
}

/* --------------------------------------------------------------------------
   Mobile Drawer Navigation
   -------------------------------------------------------------------------- */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100%;
  background-color: var(--bg-surface);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.5rem;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.7);
  transition: right var(--transition-smooth);
}

.mobile-drawer.open {
  right: 0;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-color);
}

.mobile-close {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-card);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
}

.mobile-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0.65rem 0.5rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  color: var(--text-main);
  background: var(--brand-gradient-soft);
  border-left: 3px solid var(--brand-start);
  padding-left: 1rem;
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-socials {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-icon {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.social-icon:hover {
  color: var(--brand-start);
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 150;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.drawer-backdrop.active {
  opacity: 1;
  visibility: visible;
}

/* --------------------------------------------------------------------------
   Hero Section (Original Replicated with Photo Background)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 80vh;
  min-height: 650px;
  display: flex;
  align-items: center;
  padding: 6.5rem 0;
  overflow: hidden;
  background-color: var(--bg-main);
}

.hero-backdrop-img {
  position: absolute;
  inset: 0;
  background-image: url('assets/cleiton-hero.jpg');
  background-size: cover;
  background-position: right 18% center;
  background-repeat: no-repeat;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(90deg, rgba(11, 13, 17, 0.98) 0%, rgba(11, 13, 17, 0.92) 36%, rgba(11, 13, 17, 0.45) 70%, rgba(11, 13, 17, 0.15) 100%),
    linear-gradient(0deg, rgba(11, 13, 17, 1) 0%, transparent 22%);
  z-index: 1;
}

.hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-content {
  max-width: 680px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: 0;
}

.hero-tag {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #F5334A;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.03em;
  color: #FFFFFF;
  margin-bottom: 1.4rem;
}

.hero-highlight {
  color: #F5334A;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-divider {
  width: 65px;
  height: 3px;
  background: #F5334A;
  border-radius: 2px;
  margin-bottom: 1.85rem;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: var(--brand-gradient);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  box-shadow: 0 6px 22px rgba(246, 47, 73, 0.45);
  transition: all var(--transition-smooth);
  cursor: pointer;
  text-decoration: none;
}

.btn-hero:hover {
  background: var(--brand-gradient-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(223, 125, 78, 0.6);
  color: #FFFFFF;
}

.hero-btn-icon {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
}

.hero-stat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(24, 28, 38, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 1.75rem;
}

.hero-stat-pill svg,
.hero-stat-pill i {
  color: var(--brand-start);
  width: 16px;
  height: 16px;
}

/* --------------------------------------------------------------------------
   Callout Banner CTA Section
   -------------------------------------------------------------------------- */
.banner-cta-section {
  padding: 3rem 0;
}

.banner-cta-box {
  background: linear-gradient(135deg, rgba(24, 28, 38, 0.95) 0%, rgba(30, 35, 48, 0.95) 100%);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--brand-start);
  border-radius: var(--radius-md);
  padding: 2.25rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.banner-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.banner-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
}

.banner-cta-btn {
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   Features / Diferenciais Section
   -------------------------------------------------------------------------- */
.features-section {
  padding: 4rem 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 2rem 1.5rem;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--border-hover);
  background-color: var(--bg-card-hover);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
}

.feature-icon-box {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--brand-gradient-soft);
  color: var(--brand-start);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon-box svg {
  width: 26px;
  height: 26px;
}

.feature-title {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-main);
}

.feature-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Section Headers (Reusable)
   -------------------------------------------------------------------------- */
.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  text-align: center;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-transform: uppercase;
  margin-bottom: 0.6rem;
}

.section-heading {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  line-height: 1.2;
}

.section-subheading {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 650px;
  margin: 0.75rem auto 0;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   Why Work With Me Section
   -------------------------------------------------------------------------- */
.why-me-section {
  padding: 4rem 0 2rem;
}

/* --------------------------------------------------------------------------
   Portfolio Section (Interactive Slider)
   -------------------------------------------------------------------------- */
.portfolio-section {
  padding: 3rem 0 6rem;
  position: relative;
}

.portfolio-header-wrapper {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.portfolio-controls-wrapper {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Filter Tabs */
.portfolio-tabs {
  display: flex;
  gap: 0.5rem;
  background-color: var(--bg-card);
  padding: 0.4rem;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.55rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--text-main);
}

.tab-btn.active {
  background: var(--brand-gradient);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(246, 47, 73, 0.4);
}

/* Slider Navigation Arrows */
.slider-arrows-group {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.slider-arrow-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.slider-arrow-btn:hover {
  background: var(--brand-gradient);
  color: #FFFFFF;
  border-color: transparent;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(246, 47, 73, 0.5);
}

.slider-arrow-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
  pointer-events: none;
}

.slider-arrow-btn svg {
  width: 18px;
  height: 18px;
}

/* Slider Track & Container */
.portfolio-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 8px 0 16px 0;
}

.portfolio-slider-track {
  display: flex;
  gap: 1.85rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 8px;
  cursor: grab;
  user-select: none;
}

.portfolio-slider-track::-webkit-scrollbar {
  display: none;
}

.portfolio-slider-track.grabbing {
  cursor: grabbing;
  scroll-behavior: auto;
}

.project-card {
  flex: 0 0 calc((100% - (1.85rem * 2)) / 3);
  min-width: 320px;
  scroll-snap-align: start;
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all var(--transition-smooth);
  display: flex;
  flex-direction: column;
}

.project-card.hidden {
  display: none !important;
}

.project-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

/* Slider Indicators (Dots) */
.slider-indicators {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.2);
  transition: all var(--transition-smooth);
  cursor: pointer;
  border: none;
  padding: 0;
}

.slider-dot:hover {
  background-color: rgba(255, 255, 255, 0.5);
}

.slider-dot.active {
  width: 28px;
  background: var(--brand-gradient);
  box-shadow: 0 2px 10px rgba(246, 47, 73, 0.5);
}

/* Project Thumbnail & Overlay */
.project-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background-color: #0E1015;
}

.project-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-smooth);
}

.project-card:hover .project-thumb img {
  transform: scale(1.06);
}

.project-overlay {
  position: absolute;
  inset: 0;
  background: rgba(11, 13, 17, 0.75);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-smooth);
}

.project-card:hover .project-overlay {
  opacity: 1;
  visibility: visible;
}

.btn-view-project {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--brand-gradient);
  color: #FFFFFF;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 600;
  transform: translateY(10px);
  transition: all var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(246, 47, 73, 0.4);
}

.project-card:hover .btn-view-project {
  transform: translateY(0);
}

.btn-view-project:hover {
  background: var(--brand-gradient-hover);
}

.btn-view-project svg {
  width: 16px;
  height: 16px;
}

/* Project Info Details */
.project-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  flex-grow: 1;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.badge-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.badge-cat.institucional {
  background-color: rgba(59, 130, 246, 0.15);
  color: #60A5FA;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-cat.landingpage {
  background: var(--brand-gradient-soft);
  color: #FCA5A5;
  border: 1px solid rgba(223, 125, 78, 0.35);
}

.badge-cat.catalogo {
  background-color: rgba(16, 185, 129, 0.15);
  color: #34D399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.project-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.project-summary {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.project-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-top: auto;
  padding-top: 0.5rem;
}

.project-link svg {
  width: 16px;
  height: 16px;
  stroke: var(--brand-start);
  transition: transform var(--transition-fast);
}

.project-link:hover svg {
  transform: translate(2px, -2px);
}

.portfolio-footer-cta {
  display: flex;
  justify-content: center;
  margin-top: 3.5rem;
}

/* --------------------------------------------------------------------------
   Services Section (O QUE EU FAÇO)
   -------------------------------------------------------------------------- */
.services-section {
  padding: 5rem 0;
  background-color: var(--bg-surface);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.service-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-hover);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.service-icon-wrapper {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-sm);
  background: var(--brand-gradient-soft);
  color: var(--brand-start);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.service-description {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.service-footer-line {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--brand-gradient);
  transition: width var(--transition-smooth);
}

.service-card:hover .service-footer-line {
  width: 100%;
}

/* --------------------------------------------------------------------------
   Final CTA Section
   -------------------------------------------------------------------------- */
.final-cta-section {
  padding: 6rem 0;
}

.final-cta-card {
  position: relative;
  background: radial-gradient(circle at center, rgba(223, 125, 78, 0.18) 0%, rgba(246, 47, 73, 0.12) 40%, rgba(24, 28, 38, 0.95) 75%);
  border: 1px solid rgba(223, 125, 78, 0.35);
  border-radius: var(--radius-lg);
  padding: 4.5rem 2rem;
  text-align: center;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
}

.final-cta-glow {
  position: absolute;
  width: 350px;
  height: 350px;
  background: var(--brand-gradient);
  filter: blur(140px);
  opacity: 0.25;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.final-cta-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.final-cta-title {
  font-family: var(--font-heading);
  font-size: 2.6rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.final-cta-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2.25rem;
  line-height: 1.7;
}

.final-cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.25rem;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #07080B;
  border-top: 1px solid var(--border-color);
  padding: 4.5rem 0 2rem;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid var(--border-color);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-tagline {
  font-size: 0.92rem;
  color: var(--text-muted);
  max-width: 360px;
  line-height: 1.65;
}

.footer-links-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.footer-links-list,
.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-list a,
.footer-contact-list a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-links-list a:hover {
  color: var(--brand-start);
  padding-left: 4px;
}

.footer-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.footer-contact-link:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.footer-contact-icon,
.footer-contact-list svg {
  width: 18px;
  height: 18px;
  color: var(--brand-start);
  flex-shrink: 0;
  stroke-width: 2;
  transition: transform var(--transition-smooth), color var(--transition-fast);
}

.footer-contact-link:hover .footer-contact-icon,
.footer-contact-link:hover svg {
  transform: scale(1.18);
  color: var(--brand-end);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  font-size: 0.85rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   Floating WhatsApp Button
   -------------------------------------------------------------------------- */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 99;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
  transition: transform var(--transition-bounce), box-shadow var(--transition-smooth);
}

.floating-whatsapp:hover {
  transform: scale(1.1);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.65);
}

.whatsapp-icon {
  width: 30px;
  height: 30px;
  position: relative;
  z-index: 2;
}

.whatsapp-pulse {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.7;
  animation: wa-pulse 2s infinite ease-out;
}

@keyframes wa-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background-color: var(--bg-card);
  color: var(--text-main);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  white-space: nowrap;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: all var(--transition-smooth);
  pointer-events: none;
}

.floating-whatsapp:hover .whatsapp-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

/* --------------------------------------------------------------------------
   Responsive Design & Breakpoints
   -------------------------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero-title {
    font-size: 2.75rem;
  }

  .features-grid,
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-card {
    flex: 0 0 calc((100% - 1.85rem) / 2);
    min-width: 280px;
  }
}

@media (max-width: 860px) {
  .desktop-nav {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .hero-section {
    padding: 5rem 0;
    min-height: 580px;
  }

  .hero-backdrop-img {
    background-position: 72% center;
  }

  .hero-overlay {
    background: 
      linear-gradient(90deg, rgba(11, 13, 17, 0.98) 0%, rgba(11, 13, 17, 0.9) 60%, rgba(11, 13, 17, 0.65) 100%),
      linear-gradient(0deg, rgba(11, 13, 17, 1) 0%, transparent 30%);
  }

  .hero-container {
    text-align: left;
  }

  .hero-content {
    align-items: flex-start;
  }

  .hero-title {
    font-size: 3rem;
  }

  .banner-cta-box {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .portfolio-header-wrapper {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .portfolio-controls-wrapper {
    width: 100%;
    justify-content: space-between;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .final-cta-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .project-card {
    flex: 0 0 85%;
    min-width: 260px;
  }
}

@media (max-width: 600px) {
  .hero-section {
    padding: 4.5rem 0;
    min-height: 520px;
  }

  .hero-title {
    font-size: 2.35rem;
  }

  .features-grid,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    flex: 0 0 88%;
    min-width: 250px;
  }

  .portfolio-tabs {
    width: 100%;
    justify-content: center;
    order: 2;
  }

  .slider-arrows-group {
    width: 100%;
    justify-content: flex-end;
    order: 1;
    margin-bottom: 0.5rem;
  }

  .tab-btn {
    flex: 1 1 auto;
    text-align: center;
  }

  .banner-cta-box {
    padding: 1.75rem 1.25rem;
  }

  .final-cta-card {
    padding: 3rem 1.25rem;
  }

  .final-cta-buttons {
    flex-direction: column;
  }

  .floating-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
  }

  .whatsapp-tooltip {
    display: none;
  }
}
