/* ==========================================================================
   RESOLVE JÁ - LANDING PAGE DESIGN SYSTEM
   Palette:
     Background Primary: #013157 (Deep Dark Blue)
     Background Gradient: #013157 -> #001f38 -> #022440
     Accent / CTA / Highlights: #E17D04 (Vibrant Warm Orange)
     Text Primary: #FFFFFF
     Text Secondary: #CBD5E1 / #94A3B8
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap");

:root {
  /* Color Tokens */
  --bg-primary: #013157;
  --bg-darker: #001f38;
  --bg-card: rgba(2, 36, 64, 0.65);
  --bg-card-hover: rgba(4, 46, 80, 0.85);
  --bg-glass: rgba(1, 49, 87, 0.45);
  --bg-glass-heavy: rgba(1, 31, 56, 0.85);

  --accent-orange: #e17d04;
  --accent-orange-hover: #f58a07;
  --accent-orange-light: rgba(225, 125, 4, 0.15);
  --accent-orange-glow: rgba(225, 125, 4, 0.4);

  --text-white: #ffffff;
  --text-muted: #cbd5e1;
  --text-dim: #94a3b8;

  --border-glass: rgba(255, 255, 255, 0.1);
  --border-accent: rgba(225, 125, 4, 0.25);
  --border-accent-strong: rgba(225, 125, 4, 0.6);

  /* Typography */
  --font-heading: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", sans-serif;

  /* Shadows */
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.5);
  --shadow-orange: 0 8px 30px rgba(225, 125, 4, 0.35);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: #ffffff;
  color: var(--text-muted);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography Helpers */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  color: var(--text-white);
  line-height: 1.2;
  text-wrap: balance;
}

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

.text-gradient {
  background: linear-gradient(135deg, #ffffff 0%, #cbd5e1 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-gradient-orange {
  background: linear-gradient(135deg, #fff 0%, #e17d04 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Container & Layout */
.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 80px;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--accent-orange-light);
  border: 1px solid var(--border-accent);
  border-radius: 9999px;
  color: var(--accent-orange);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 4rem auto;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #013157;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-header p {
  font-size: 1.125rem;
  color: #475569;
  text-wrap: balance;
}

.hero-subtitle {
  text-wrap: balance;
}

.hero-card .section-header h2,
.section-card .section-header h2 {
  color: #ffffff;
}

.hero-card .section-header p,
.section-card .section-header p {
  color: #cbd5e1;
}

/* Glassmorphism Card Utility */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: 1.5rem;
  box-shadow: var(--shadow-md);
  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
}

.glass-card:hover {
  border-color: var(--border-accent);
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(225, 125, 4, 0.15);
}

/* Buttons System */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  border-radius: 9999px;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-normal);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, #e17d04 0%, #f58a07 100%);
  color: #ffffff;
  box-shadow: var(--shadow-orange);
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: linear-gradient(135deg, #f58a07 0%, #ff9c1a 100%);
  color: #ffffff;
  box-shadow: 0 12px 35px rgba(225, 125, 4, 0.5);
}

.btn-secondary-outlined {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-white);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-secondary-outlined:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: var(--accent-orange);
  color: var(--accent-orange);
  transform: translateY(-3px);
}

.btn-sm {
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 1.1rem 2.2rem;
  font-size: 1.1rem;
}

.btn-pulse {
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 0 0 rgba(225, 125, 4, 0.6);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(225, 125, 4, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(225, 125, 4, 0);
  }
}

/* ==========================================================================
   1. HEADER & NAVBAR
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: all var(--transition-normal);
  padding: 1.2rem 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.header.scrolled {
  padding: 0.8rem 0;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-img {
  height: 44px;
  width: auto;
  transition: transform var(--transition-fast);
}

.logo-link:hover .logo-img {
  transform: scale(1.03);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: #1e293b;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--accent-orange);
  border-radius: 2px;
  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-orange);
}

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

.nav-cta {
  display: flex;
  align-items: center;
}

.mobile-toggle {
  display: none;
  background: rgba(1, 49, 87, 0.08);
  border: 1px solid rgba(1, 49, 87, 0.15);
  border-radius: 0.75rem;
  padding: 0.5rem 0.6rem;
  color: #013157 !important;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.mobile-toggle i,
.mobile-toggle svg {
  color: #013157 !important;
  stroke: #013157 !important;
}

.mobile-toggle:hover {
  background: rgba(225, 125, 4, 0.12);
  border-color: var(--accent-orange);
  color: var(--accent-orange) !important;
}

.mobile-toggle:hover svg {
  stroke: var(--accent-orange) !important;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */
.hero-section {
  padding-top: 6.5rem;
  padding-bottom: 2rem;
  position: relative;
}

.hero-card,
.section-card {
  background: linear-gradient(145deg, #012b4d 0%, #00182c 100%);
  border-radius: 2.5rem;
  padding: 4rem 4rem 0 4rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(1, 43, 77, 0.18);
}

.section-card {
  padding: 4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.cta-banner-content h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.cta-banner-content p {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
  text-wrap: balance;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.hero-ctas .btn-primary {
  color: #013157;
  font-weight: 800;
}

.hero-ctas .btn-primary:hover {
  color: #013157;
}

.hero-trust-badges {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-glass);
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-muted);
}

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

/* Hero Media (Video + Floating Cards) */
.hero-media-wrapper {
  position: relative;
  border-radius: 2rem;
  overflow: visible;
  opacity: 1 !important;
  transform: none !important;
}

.video-card-container {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow:
    var(--shadow-lg),
    0 0 40px rgba(0, 0, 0, 0.5);
  background: #00182c;
  height: 480px !important;
  width: 100%;
}

img.hero-video-poster,
.video-card-container img,
.video-card-container > img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  border-radius: 2rem !important;
  filter: brightness(0.92);
}

.video-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(1, 49, 87, 0.1) 0%,
    rgba(0, 31, 56, 0.65) 100%
  );
  pointer-events: none;
  z-index: 3;
}

/* Floating Glass Badges */
.floating-badge {
  position: absolute;
  background: rgba(1, 31, 56, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-accent);
  padding: 0.9rem 1.4rem;
  border-radius: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  z-index: 10;
  animation: float 4s ease-in-out infinite;
}

.badge-top {
  top: 1.5rem;
  left: -1.5rem;
}

.badge-bottom {
  bottom: 2rem;
  right: -1.2rem;
  animation-delay: 2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

.badge-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-orange-light);
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.badge-text-title {
  color: var(--text-white);
  font-weight: 700;
  font-size: 0.95rem;
  display: block;
}

.badge-text-sub {
  color: var(--text-dim);
  font-size: 0.8rem;
}

/* ==========================================================================
   3. FAIXA MARQUEE / TICKER CONTINUO
   ========================================================================== */
.hero-card .marquee-container {
  background: #001426;
  border-top: 1px solid rgba(225, 125, 4, 0.25);
  border-bottom: none;
  margin: 3.5rem -4rem 0 -4rem;
  padding: 1.2rem 0;
  border-bottom-left-radius: 2.5rem;
  border-bottom-right-radius: 2.5rem;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee-track {
  display: inline-flex;
  gap: 2.5rem;
  animation: marquee-scroll 40s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  color: var(--text-white);
  text-transform: uppercase;
}

.marquee-item span.dot {
  color: var(--accent-orange);
  font-size: 1.2rem;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   4. SEÇÃO SOBRE
   ========================================================================== */
.sobre-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}

.sobre-img-container {
  position: relative;
}

.sobre-img-wrapper {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-lg);
  background: var(--bg-card);
}

.sobre-img-wrapper::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 2rem;
  padding: 2px;
  background: linear-gradient(135deg, var(--accent-orange) 0%, transparent 60%);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.sobre-img {
  width: 100%;
  object-fit: cover;
  display: block;
}

.exp-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: linear-gradient(
    135deg,
    var(--bg-darker) 0%,
    var(--bg-primary) 100%
  );
  border: 1.5px solid var(--border-accent);
  padding: 1.2rem 1.8rem;
  border-radius: 1.5rem;
  box-shadow:
    var(--shadow-lg),
    0 0 25px rgba(225, 125, 4, 0.2);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.exp-number {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-orange);
  line-height: 1;
}

.exp-text {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-white);
  line-height: 1.2;
  text-transform: uppercase;
}

.sobre-content h2 {
  font-size: 2.4rem;
  font-weight: 800;
  color: #013157;
  margin-bottom: 1.5rem;
  text-wrap: balance;
}

.sobre-text p {
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  color: #475569;
  line-height: 1.7;
}

.sobre-text p strong {
  color: #0f172a;
  font-weight: 700;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin: 2.5rem 0 3.2rem 0;
  padding-top: 2rem;
  border-top: 1px solid #e2e8f0;
}

.sobre-content .btn {
  margin-top: 0.5rem;
}

.stat-card {
  text-align: left;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--accent-orange);
  display: block;
}

.stat-label {
  font-size: 0.88rem;
  color: #475569;
  font-weight: 600;
}

/* ==========================================================================
   5. SEÇÃO DE SERVIÇOS
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.2rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: relative;
  background: #ffffff !important;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  transition:
    transform var(--transition-normal),
    box-shadow var(--transition-normal),
    border-color var(--transition-normal);
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-orange);
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.1),
    0 0 20px rgba(225, 125, 4, 0.15);
}

.service-img-wrapper {
  position: relative;
  height: 330px;
  overflow: hidden;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-bounce);
}

.service-card:hover .service-img {
  transform: scale(1.08);
}

.service-icon-badge {
  position: absolute;
  bottom: 1.2rem;
  left: 1.5rem;
  width: 52px;
  height: 52px;
  border-radius: 1rem;
  background: linear-gradient(135deg, #e17d04 0%, #f58a07 100%);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.service-content {
  padding: 1.8rem 1.5rem 1.8rem 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #0f172a !important;
  margin-bottom: 0.8rem;
}

.service-content p {
  font-size: 0.95rem;
  color: #475569 !important;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.btn-service-blue {
  background: #013157;
  color: #ffffff;
  border-radius: 9999px;
  padding: 0.75rem 1.3rem;
  font-size: 0.92rem;
  font-weight: 700;
  font-family: var(--font-heading);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: none;
  cursor: pointer;
  width: 100%;
  text-decoration: none;
  transition:
    background var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.btn-service-blue:hover {
  background: var(--accent-orange);
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(225, 125, 4, 0.35);
}

/* ==========================================================================
   6. SEÇÃO COMO FUNCIONA
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.8rem;
  position: relative;
}

.process-card {
  padding: 2.2rem 1.5rem;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #012543 !important;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
}

.process-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-accent);
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.35),
    0 0 20px rgba(225, 125, 4, 0.2);
}

.process-card.featured {
  border-color: var(--accent-orange);
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.35),
    0 0 25px rgba(225, 125, 4, 0.3);
  background: linear-gradient(180deg, #023966 0%, #012543 100%) !important;
}

.featured-badge {
  position: absolute;
  top: -12px;
  right: 1.5rem;
  background: var(--accent-orange);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 800;
  padding: 0.25rem 0.8rem;
  border-radius: 9999px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.15);
  line-height: 1;
  margin-bottom: 1rem;
}

.process-card.featured .step-num {
  color: var(--accent-orange);
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.8rem;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==========================================================================
   7. BANNER CALL TO ACTION INTERMEDIÁRIO
   ========================================================================== */
.cta-banner {
  background: transparent;
  border-top: none;
  border-bottom: none;
  padding: 2rem 0;
}

.cta-banner::before {
  display: none;
}

.cta-card {
  text-align: center;
  padding: 4rem 2rem;
}

.cta-banner-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-banner h2 {
  font-size: 2.6rem;
  font-weight: 800;
  margin-bottom: 1.2rem;
}

.cta-banner p {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 2.2rem;
}

/* ==========================================================================
   8. SEÇÃO DE PROJETOS / PORTFÓLIO
   ========================================================================== */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.portfolio-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  height: 320px;
  border: 1px solid var(--border-glass);
  cursor: pointer;
}

.portfolio-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.portfolio-card:hover .portfolio-img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 20%,
    rgba(0, 24, 44, 0.95) 100%
  );
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  transition: background 0.3s ease;
}

.portfolio-tag {
  align-self: flex-start;
  background: var(--accent-orange);
  color: var(--text-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.3rem 0.8rem;
  border-radius: 9999px;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}

.portfolio-overlay h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 0.5rem;
}

.portfolio-expand-hint {
  font-size: 0.85rem;
  color: var(--accent-orange);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.portfolio-card:hover .portfolio-expand-hint {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   9. SEÇÃO DE DEPOIMENTOS
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  padding: 2.2rem 1.8rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff !important;
  border: 1px solid #e2e8f0;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition:
    transform var(--transition-normal),
    border-color var(--transition-normal),
    box-shadow var(--transition-normal);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent-orange);
  box-shadow:
    0 15px 35px rgba(0, 0, 0, 0.1),
    0 0 20px rgba(225, 125, 4, 0.15);
}

.testimonial-stars {
  color: var(--accent-orange);
  font-size: 1.1rem;
  margin-bottom: 1.2rem;
  display: flex;
  gap: 0.2rem;
}

.testimonial-quote {
  font-size: 1rem;
  color: #334155 !important;
  font-style: italic;
  margin-bottom: 1.8rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.avatar-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-orange) 0%, #0095cb 100%);
  color: var(--text-white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid rgba(225, 125, 4, 0.4);
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0f172a !important;
}

.author-info span {
  font-size: 0.85rem;
  color: #64748b !important;
}

/* ==========================================================================
   10. SEÇÃO FAQ
   ========================================================================== */
.faq-container {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 1.2rem;
  background: #012543 !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  overflow: hidden;
  transition:
    border-color var(--transition-fast),
    box-shadow var(--transition-fast);
}

.faq-item.active {
  border-color: var(--border-accent);
  box-shadow: 0 8px 25px rgba(225, 125, 4, 0.2);
}

.faq-question {
  width: 100%;
  padding: 1.5rem 1.8rem;
  background: none;
  border: none;
  color: var(--text-white);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.faq-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-orange);
  transition:
    transform var(--transition-normal),
    background var(--transition-fast);
  flex-shrink: 0;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--accent-orange-light);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition:
    max-height 0.4s ease,
    padding 0.4s ease;
  padding: 0 1.8rem;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding: 0 1.8rem 1.5rem 1.8rem;
}

/* ==========================================================================
   11. FOOTER
   ========================================================================== */
.footer {
  background: transparent;
  border-top: none;
  padding: 1rem 0 3rem 0;
}

.footer-card {
  background: linear-gradient(145deg, #011b30 0%, #001221 100%);
  border-radius: 2.5rem;
  padding: 4rem 4rem 2rem 4rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand .logo-img {
  height: 48px;
  margin-bottom: 1.5rem;
}

.footer-brand p {
    text-wrap: balance;
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-bottom: 1.8rem;
  max-width: 340px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  stroke: var(--text-white);
  fill: none;
  transition: stroke var(--transition-fast);
}

.social-icon:hover {
  background: var(--accent-orange);
  border-color: var(--accent-orange);
  transform: translateY(-3px);
}

.social-icon:hover svg {
  stroke: #ffffff;
}

.footer-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-white);
}

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

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  transition: color var(--transition-fast);
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--accent-orange);
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.95rem;
}

.contact-item svg {
  color: var(--accent-orange);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.contact-highlight {
  color: var(--accent-orange);
  font-weight: 700;
  font-size: 1.1rem;
  display: block;
}

.contact-link {
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-link:hover {
  color: #f58a07;
  text-decoration: underline;
}

.contact-email-link {
  color: #ffffff;
  font-weight: 700;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-email-link:hover {
  color: var(--accent-orange);
  text-decoration: underline;
}

.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.88rem;
  color: var(--text-dim);
}

.developer-credit {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-dim);
  text-decoration: none;
  transition:
    color var(--transition-fast),
    transform var(--transition-fast);
}

.developer-credit:hover {
  color: var(--text-white);
  transform: translateY(-1px);
}

.developer-icon {
  height: 20px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  transition: transform var(--transition-fast);
}

.developer-credit:hover .developer-icon {
  transform: scale(1.1);
}

/* Floating WhatsApp Button */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
  z-index: 999;
  text-decoration: none;
  font-size: 1.8rem;
  transition:
    transform var(--transition-bounce),
    box-shadow var(--transition-normal);
  animation: pulse-green 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(37, 211, 102, 0.6);
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  70% {
    box-shadow: 0 0 0 18px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 15, 30, 0.9);
  backdrop-filter: blur(16px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 2rem;
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  max-width: 900px;
  width: 100%;
  background: var(--bg-darker);
  border: 1px solid var(--border-accent);
  border-radius: 1.5rem;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

.lightbox-img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

.lightbox-caption {
  padding: 1.8rem 2.2rem;
  background: #012543;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.lightbox-caption .portfolio-tag {
  margin-bottom: 0;
  display: inline-block;
}

.lightbox-caption h4 {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.35;
  margin: 0;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: background 0.2s;
  z-index: 10;
}

.lightbox-close:hover {
  background: var(--accent-orange);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

/* TABLET ONLY (601px a 1024px) */
@media (min-width: 601px) and (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .hero-card,
  .section-card,
  .footer-card {
    padding: 3rem 2rem;
    border-radius: 2rem;
  }

  .hero-card {
    padding-bottom: 0;
  }

  .hero-card .marquee-container {
    margin: 2.5rem -2rem 0 -2rem;
    border-bottom-left-radius: 2rem;
    border-bottom-right-radius: 2rem;
  }

  .hero-grid,
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  /* Sobre o Profissional - Imagem proporcional sem encostar nas laterais */
  .sobre-img-container {
    max-width: 480px;
    margin: 0 auto;
    width: 100%;
  }

  .sobre-img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    display: block;
  }

  /* Serviços em 2 colunas no Tablet */
  .services-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.8rem;
  }

  /* Passo a Passo em 2 colunas no Tablet */
  .process-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.5rem;
  }

  /* Depoimentos em linhas (1 card por linha) no Tablet */
  .testimonials-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

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

  /* Botões da Hero um ao lado do outro no Tablet */
  .hero-ctas {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1rem !important;
    width: auto !important;
  }

  .hero-ctas .btn {
    display: inline-flex !important;
    width: auto !important;
    justify-content: center !important;
  }

  /* Trust items em 1 linha no Tablet */
  .hero-trust-badges {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 1.5rem !important;
    width: 100% !important;
    text-align: left !important;
  }

  .trust-item {
    font-size: 0.88rem !important;
    white-space: nowrap !important;
    justify-content: flex-start !important;
    text-align: left !important;
  }

  /* Hero Image no Tablet */
  .video-card-container {
    height: 440px !important;
    max-height: 440px !important;
    border-radius: 1.5rem !important;
  }

  .video-card-container img,
  .hero-video-poster {
    height: 100% !important;
    max-height: 440px !important;
    object-fit: cover !important;
  }

  /* Hero Badges no Tablet */
  .badge-top {
    display: flex !important;
    left: 0.8rem !important;
    top: 0.8rem !important;
  }

  .badge-bottom {
    right: 0.8rem !important;
    left: auto !important;
    bottom: 0.8rem !important;
  }

  /* Navigation Drawer Hamburguer no Tablet */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 360px;
    height: 100vh;
    background: #011b30 !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6);
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu .nav-link {
    color: #ffffff !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link.active {
    color: var(--accent-orange) !important;
  }

  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    color: #013157 !important;
  }

  .mobile-toggle i,
  .mobile-toggle svg {
    color: #013157 !important;
    stroke: #013157 !important;
  }

  .nav-cta {
    display: none !important;
  }
}

/* CELULAR APENAS (<= 600px) */
@media (max-width: 600px) {
  .container {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .section {
    padding: 2.2rem 0;
  }

  .section-header {
    margin-bottom: 1.8rem;
  }

  /* 1. HERO SECTION NO CELULAR */
  .hero-section {
    padding-top: 5.2rem;
    padding-bottom: 1.2rem;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
  }

  .hero-card {
    padding: 1.8rem 20px 0 20px !important;
    border-radius: 1.8rem;
    overflow: hidden;
  }

  .section-card,
  .footer-card {
    padding: 2rem 20px !important;
    border-radius: 1.8rem;
  }

  .hero-card .marquee-container {
    margin: 1.8rem -20px 0 -20px !important;
    border-bottom-left-radius: 1.8rem;
    border-bottom-right-radius: 1.8rem;
  }

  .hero-content h1 {
    font-size: 1.65rem;
    line-height: 1.25;
    margin-bottom: 0.9rem;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .hero-subtitle {
    font-size: 0.92rem;
    margin-bottom: 1.4rem;
  }

  .hero-ctas {
    flex-direction: column !important;
    width: 100% !important;
    gap: 0.8rem;
  }

  .hero-ctas .btn {
    width: 100% !important;
    justify-content: center;
  }

  .hero-trust-badges {
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    gap: 0.6rem;
    padding-top: 1.2rem;
    text-align: center !important;
  }

  .trust-item {
    font-size: 0.82rem !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: normal !important;
  }

  .hero-media-wrapper {
    margin-top: 0.5rem;
    width: 100%;
  }

  .video-card-container {
    height: 240px !important;
    max-height: 240px !important;
    border-radius: 1.2rem !important;
  }

  .video-card-container img,
  .hero-video-poster {
    height: 100% !important;
    max-height: 240px !important;
    object-fit: cover !important;
    display: block !important;
  }

  .floating-badge {
    padding: 0.55rem 0.8rem;
    border-radius: 0.85rem;
    max-width: 90%;
  }

  .badge-top {
    display: none !important;
  }

  .badge-bottom {
    left: 0.6rem !important;
    right: auto !important;
    bottom: 0.6rem !important;
  }

  .badge-icon {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }

  .badge-text-title {
    font-size: 0.78rem;
  }

  .badge-text-sub {
    font-size: 0.68rem;
  }

  /* 2. SEÇÃO SOBRE O PROFISSIONAL NO CELULAR */
  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .sobre-img-container {
    width: 100%;
    max-width: 320px !important;
    margin: 0 auto !important;
    position: relative;
  }

  .sobre-img-wrapper {
    border-radius: 1.5rem;
    overflow: hidden;
  }

  .sobre-img {
    width: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }

  .exp-badge {
    position: absolute;
    bottom: 0.8rem;
    right: 0.8rem;
    padding: 0.6rem 0.9rem;
    border-radius: 0.9rem;
    gap: 0.6rem;
    background: rgba(0, 24, 44, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 5;
  }

  .exp-number {
    font-size: 1.4rem;
  }

  .exp-text {
    font-size: 0.7rem;
    line-height: 1.2;
  }

  .sobre-content h2 {
    font-size: 1.6rem;
    line-height: 1.3;
    margin-bottom: 1rem;
  }

  .sobre-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0.9rem;
  }

  .stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    margin: 1.5rem 0 1.8rem 0;
    padding-top: 1.2rem;
  }

  .stat-card {
    text-align: center;
  }

  .stat-value {
    font-size: 1.5rem;
  }

  .stat-label {
    font-size: 0.72rem;
    line-height: 1.2;
  }

  .sobre-content .btn {
    width: 100%;
    justify-content: center;
  }

  /* Navigation Drawer no Celular */
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    height: 100vh;
    background: #011b30 !important;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
    box-shadow: -10px 0 35px rgba(0, 0, 0, 0.6);
    z-index: 999;
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu .nav-link {
    color: #ffffff !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
  }

  .nav-menu .nav-link:hover,
  .nav-menu .nav-link.active {
    color: var(--accent-orange) !important;
  }

  .mobile-toggle {
    display: block;
    z-index: 1001;
  }

  .nav-cta {
    display: none;
  }

  .portfolio-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-grid {
    grid-template-columns: 1fr !important;
  }

  .services-grid,
  .process-grid {
    grid-template-columns: 1fr !important;
  }

  /* Ajustes de padding das seções Serviços e Depoimentos no Celular */
  #servicos {
    padding: 2rem 0 !important;
  }

  #servicos .service-content {
    padding: 1.5rem 1.2rem !important;
  }

  #depoimentos {
    padding: 2rem 0 !important;
  }

  #depoimentos .section-card {
    padding: 2rem 1.25rem !important;
  }

  #depoimentos .testimonial-card {
    padding: 1.5rem 1.25rem !important;
  }

  /* 20px de padding lateral explícito nas seções Portfólio e FAQ no Celular */
  #projetos .portfolio-overlay {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  #faq .faq-question {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  #faq .faq-answer,
  #faq .faq-item.active .faq-answer {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .stats-row {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }

  .stat-card {
    text-align: center;
  }

  .stat-value {
    font-size: 1.8rem;
  }

  .stat-label {
    font-size: 0.78rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Padronização dos Títulos H2 em 2rem no Celular */
  h2,
  .section-header h2,
  .sobre-content h2,
  .cta-banner h2,
  .cta-card h2 {
    font-size: 2rem !important;
    line-height: 1.3 !important;
  }
}
