@font-face {
    font-family: 'Neue Haas Grotesk';
    src: url('./fonts/NeueHaasDisplay-Thin.ttf') format('truetype');
    font-weight: 200;
    font-style: normal;
}
@font-face {
    font-family: 'Neue Haas Grotesk';
    src: url('./fonts/NeueHaasDisplay-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'Neue Haas Grotesk';
    src: url('./fonts/NeueHaasDisplay-Roman.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}
@font-face {
    font-family: 'Neue Haas Grotesk';
    src: url('./fonts/NeueHaasDisplay-Mediu.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}
@font-face {
    font-family: 'Neue Haas Grotesk';
    src: url('./fonts/NeueHaasDisplay-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

:root {
  /* Cores Principais */
  --bg-primary: #050505;
  --bg-secondary: #0a0a0a;
  --accent-primary: #ff2d55; /* Teal */
  --accent-secondary: #A015F4; /* Purple */
  --accent-warm: #FF4D4D; /* Red */
  
  /* Textos */
  --text-white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.6);
  --text-dim: rgba(255, 255, 255, 0.4);
  
  /* Glassmorphism */
  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: blur(20px);
  
  /* Layout */
  --container-width: 1200px;
  --header-height: 80px;
  
  /* Transições */
  --transition-smooth: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-white);
  font-family: 'Neue Haas Grotesk', sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, .brand {
  font-family: 'Neue Haas Grotesk', sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
}

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

/* Header */
header {
  position: fixed;
  top: 24px;
  left: 50%;
  transform: translateX(-50%);
  width: min(100% - 48px, var(--container-width));
  height: 80px;
  background: rgba(255, 255, 255, 0.05); /* Um toque leve de branco */
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

header.scrolled {
  top: 10px;
  width: min(100% - 20px, var(--container-width)); /* Ele expande levemente */
  height: 70px; /* Ele fica um pouco mais fino para não ocupar tanto espaço */
  background: rgba(0, 0, 0, 0.4);
}

.brand img {
 width: auto;
  transition: var(--transition-smooth);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
}

nav a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 14px;
  font-weight: 400;
  transition: var(--transition-smooth);
}

nav a:hover {
  color: var(--text-white);
}

/* Buttons */
.btn {
  padding: 12px 28px;
  border-radius: 100px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.btn-primary {
  background: var(--text-white);
  color: var(--bg-primary);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-white);
  backdrop-filter: var(--glass-blur);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  will-change: transform, opacity;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 0%, var(--bg-primary) 90%);
  z-index: -1;
}

.hero-content {
  text-align: center;
  max-width: 900px;
}

.badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-muted);
  margin-bottom: 24px;
  letter-spacing: 0.1em;
}

.hero h1 {
  font-size: clamp(40px, 8vw, 80px);
  line-height: 0.95;
  margin-bottom: 24px;
  background: linear-gradient(180deg, #FFF 0%, rgba(255,255,255,0.7) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 400;
}

.hero p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
}

/* Modules Grid */
.section-header {
  margin-bottom: 60px;
}

.section-tag {
  color: var(--accent-primary);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  margin-bottom: 16px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(20px, 5vw, 48px);
  line-height: 1.2;
  max-width: 800px;
  font-weight: 400;
}

/* Services Cards (Screenshot 1) */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.service-card {
  background: #0d0d0d;
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 40px;
  transition: var(--transition-smooth);
}

.service-card:hover {
  background: #141414;
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.5);
}

.service-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 16px;
  letter-spacing: 0.05em;
}

.service-card p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted);
}

/* Logo Marquee (Edge-to-Edge) */
.logo-marquee {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  padding: 60px 0;
  background: var(--bg-primary);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo-track {
  display: flex;
  gap: 100px;
  width: max-content;
  animation: scroll-left 30s linear infinite;
  align-items: center;
}

.logo-item {
  height: 40px; /* Ajustado para os SVGs dos clientes */
  filter: grayscale(1) brightness(2);
  opacity: 0.5;
  transition: var(--transition-smooth);
}

.logo-item:hover {
  filter: grayscale(0) brightness(1);
  opacity: 1;
}

/* Spotlight Glow Effect */
.service-card, .testimonial-card, .contact-form-card {
  position: relative;
  overflow: hidden;
}

.service-card::after, .testimonial-card::after, .contact-form-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    600px circle at var(--mouse-x, 0px) var(--mouse-y, 0px),
    rgba(0, 242, 254, 0.08),
    transparent 45%
  );
  z-index: 1;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.service-card:hover::after, .testimonial-card:hover::after, .contact-form-card:hover::after {
  opacity: 1;
}

.service-card > *, .testimonial-card > *, .contact-form-card > * {
  position: relative;
  z-index: 2;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
  opacity: 0;
  transition: var(--transition-smooth);
  z-index: 3;
}

.service-card:hover::before {
  opacity: 1;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--bg-secondary);
  padding: 32px;
  border: 1px solid var(--glass-border);
}

.testimonial-user {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #333;
}

.user-info h4 {
  font-size: 14px;
}

.user-info span {
  font-size: 12px;
  color: var(--text-dim);
}

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

details {
  border-bottom: 1px solid var(--glass-border);
  padding: 24px 0;
}

summary {
  list-style: none;
  font-weight: 400;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::after {
  content: '+';
  font-size: 24px;
  color: var(--accent-primary);
}

details[open] summary::after {
  content: '−';
}

details p {
  padding-top: 16px;
  color: var(--text-muted);
}

/* Footer */
/* ==========================================================================
   FOOTER FINAL - DNA ZELLGO (DARK PREMIUM)
   ========================================================================== */

.footer-main {
  background: #050505 !important; /* Força o fundo preto */
  color: #ffffff !important;
  padding: 100px 0 60px;
  border-top: 1px solid #111;
  text-align: left !important; /* Garante alinhamento à esquerda */
}

/* Forçando o Grid de 4 Colunas */
.footer-grid {
  display: grid !important;
  grid-template-columns: 1.5fr 1fr 1fr 2fr !important;
  gap: 60px;
  align-items: start;
}

/* 1. Aumentar o Logo do Footer em 100% */
.footer-logo-img {
    height: 64px !important; /* Estava em 32px, agora dobramos para 64px */
    width: auto;
    margin-bottom: 30px;
    display: block;
}

/* 2. Consertar o Formulário de Newsletter e o Botão OK */
.newsletter-form {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin-top: 20px !important;
    width: 100%;
}

.newsletter-form input {
    flex: 1;
    background: transparent !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    padding: 12px 20px !important;
    border-radius: 100px !important; /* Estilo pílula como no seu wireframe */
    color: #fff !important;
    font-size: 14px;
    outline: none;
}

.newsletter-form input:focus {
    border-color: var(--accent-primary) !important;
}

/* Botão OK elegante */
.newsletter-form .btn-primary {
    background: #ffffff !important;
    color: #000000 !important;
    padding: 12px 25px !important;
    border-radius: 100px !important;
    border: none !important;
    font-weight: 600 !important;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 12px;
    transition: 0.3s;
    height: 44px; /* Mesma altura do input para alinhar */
    display: flex;
    align-items: center;
    justify-content: center;
}

.newsletter-form .btn-primary:hover {
    background: var(--accent-primary) !important;
    color: #fff !important;
}

/* 3. Ajuste de espaçamento para os textos do footer */
.footer-column-item p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 20px;
}
/* Newsletter Section */
.newsletter-box h4 {
  font-size: 13px;
  margin-bottom: 20px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.newsletter-form input {
  flex: 1;
  background: transparent;
  border: 1px solid #222;
  padding: 12px 15px;
  color: #fff;
  outline: none;
}

.footer-bottom {
  margin-top: 60px;
  padding-top: 30px;
  border-top: 1px solid #111;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.3);
  font-size: 12px;
}

/* --- Responsividade do Footer --- */

.about-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 60px;
  align-items: center;
}

@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
  }
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
}
/* Infinite Marquee Portfolio */
.portfolio-marquee-container {
  overflow: hidden;
  margin-bottom: 0; /* Zerado para controle total na track */
  position: relative;
  /* Máscara para suavizar as bordas (fechar o design) */
  mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
}

.marquee-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: scroll-left 40s linear infinite;
}

.marquee-track.reverse {
  animation: scroll-right 40s linear infinite;
  margin-top: 20px; /* Agora igual ao gap vertical (20px) */
}

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

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

.portfolio-track {
  display: flex;
  gap: 20px;
}


.portfolio-item {
  width: 450px;
  aspect-ratio: 16/9;
  background: var(--bg-secondary);
  overflow: hidden;
  flex-shrink: 0;
  transition: var(--transition-smooth);
  
  /* Fix Safari Stacking / Flicker / Z-index issues */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  will-change: transform;
}

.portfolio-item * {
  /* Prevent child elements from flickering during scale */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}


.portfolio-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Section: Techniques (Lightning / Multi Scenes) */
.techniques-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0; /* Colados como no screenshot */
}

.technique-item {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.technique-item video, .technique-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.technique-item:hover video {
  transform: scale(1.05);
}

.technique-content {
  position: relative;
  z-index: 2;
  padding: 40px;
}

.ai-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-size: 10px;
  font-weight: 800;
}

.technique-item h3 {
  font-size: clamp(24px, 4vw, 40px);
  margin-bottom: 8px;
  text-transform: none;
  font-family: 'Neue Haas Grotesk', sans-serif;
  font-weight: 400;
}

.technique-item p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  max-width: 300px;
  margin: 0 auto;
}

.technique-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

/* Form Polish */
.contact-form-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  padding: 48px;
  backdrop-filter: var(--glass-blur);
}

.form-group input::placeholder, 
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
  font-size: 14px;
}

.portfolio-item:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* New Contact Section (Zellgo Style) */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: center;
}

.contact-info-side {
  text-align: left;
}

.contact-info-side h2 {
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  margin-bottom: 32px;
}

.contact-info-side h2 span {
  color: #ff2d55; /* Cor rosa/magenta do botão */
}

.contact-details {
  list-style: none;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

/* RESET TOTAL DO FOOTER */
.footer-main {
    background: #050505 !important;
    padding: 100px 0 50px !important;
    border-top: 1px solid #111 !important;
    display: block !important; /* Garante que o footer não seja um flexbox */
}

/* FORÇANDO AS COLUNAS */
.footer-grid {
    display: grid !important;
    /* Divide em 4 colunas: a primeira maior, as outras iguais */
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr !important; 
    gap: 50px !important;
    align-items: start !important;
    text-align: left !important;
}

/* Estilo das Colunas */
.footer-column-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important; /* Alinha tudo à esquerda */
}

.footer-column-item h4 {
    color: #ffffff !important;
    font-size: 14px !important;
    margin-bottom: 25px !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
}

.footer-column-item ul {
    list-style: none !important;
    padding: 0 !important;
}

.footer-column-item ul li {
    margin-bottom: 12px !important;
}

.footer-column-item ul a {
    color: rgba(255,255,255,0.5) !important;
    text-decoration: none !important;
    font-size: 14px !important;
    transition: 0.3s !important;
}

.footer-column-item ul a:hover {
    color: #ff2d55 !important;
}

/* Responsividade de emergência */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr !important; /* 2 colunas no tablet */
    }
}

@media (max-width: 600px) {
    .footer-grid {
        grid-template-columns: 1fr !important; /* 1 coluna no celular */
    }
}
.case-hero-content h1 {
  font-size: clamp(40px, 5vw, 80px); /* Reduzido para elegância */
  line-height: 1;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: 20px;
  text-transform: none; /* Removido o All Caps */
}

.case-editorial-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr; /* Coluna de texto um pouco maior para conforto */
  gap: 80px;
  padding: 100px 8%; /* Padding lateral de segurança */
  max-width: 1400px;
  margin: 0 auto;
}

.case-editorial-left {
  position: relative;
  align-self: flex-start;
}

.case-editorial-left h1 {
  font-size: 72px;
  margin-bottom: 40px;
  line-height: 1.1;
}

.case-editorial-left p {
  font-size: 20px;
  line-height: 1.6;
  color: #b0b0b0;
  margin-bottom: 40px;
}

.case-detail-row {
  display: grid;
  grid-template-columns: 140px 1fr; /* Aumentado para o rótulo não apertar o texto */
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  gap: 20px;
}

.case-detail-row h4 {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  margin: 0;
  opacity: 0.6;
}

.case-detail-row p, .case-detail-row ul {
  font-size: 14px;
  color: #b0b0b0;
  line-height: 1.6;
  margin: 0;
  white-space: normal; /* Garante que o texto não quebre em letras */
}

.case-detail-row ul {
  list-style: none;
  padding: 0;
}

.footer-col ul a {
  text-decoration: none;
  color: #666;
  font-size: 14px;
  transition: 0.3s;
}

.footer-col ul a:hover {
  color: #000;
}

.newsletter-box h4 {
  font-size: 18px;
  margin-bottom: 16px;
}

.newsletter-box p {
  color: #666;
  font-size: 14px;
  margin-bottom: 24px;
}

.case-sidebar p {
  font-size: 18px;
  margin-bottom: 32px;
  color: #e0e0e0; /* Branco quebrado para elegância */
}

.case-main-content h2 {
  font-size: 36px;
  line-height: 1.3;
  margin-bottom: 40px;
  color: #fff;
}

.case-main-content p {
  color: #b0b0b0; /* Cinza suave para legibilidade */
}

.case-text-block {
  max-width: 1000px; /* Aumentado para mais centralização */
  margin: 0 auto 120px;
  padding: 0 100px; /* Padding generoso para deslocar ao centro */
  text-align: left;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 20px;
  border: 1px solid #ddd;
  border-radius: 100px;
  outline: none;
}

.btn-subscribe {
  padding: 12px 24px;
  background: #111;
  color: #fff;
  border-radius: 100px;
  border: none;
  font-weight: 600;
  cursor: pointer;
}

.footer-bottom {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--glass-border);
  font-size: 18px;
  transition: var(--transition-smooth);
}

.contact-item:hover .contact-icon {
  background: #ff2d55;
  color: white;
  box-shadow: 0 0 20px rgba(255, 45, 85, 0.6);
  border-color: #ff2d55;
}

/* Responsividade: Tablet e Celular */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* 2 colunas em tablets */
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr; /* 1 coluna em celulares */
        gap: 40px;
    }
}
.form-group input, .form-group textarea {
  width: 100%;
  padding: 16px 0; /* Estilo minimalista com borda inferior ou clean */
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  color: var(--text-white);
  font-family: inherit;
  font-size: 16px;
  transition: var(--transition-smooth);
  margin-bottom: 20px;
}

.form-group input:focus, .form-group textarea:focus {
  outline: none;
  border-bottom-color: #ff2d55;
}

.form-group label {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ff2d55;
  margin-bottom: 4px;
}

.btn-submit {
  background: #ff2d55;
  color: white;
  width: 100%;
  padding: 18px;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.btn-submit:hover {
  background: #e6224b;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 45, 85, 0.4);
}

/* Menu Mobile Toggle Base */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  z-index: 1001;
}
.mobile-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-white);
  transition: 0.3s;
}

.btn-mobile {
  display: none;
}

@media (max-width: 900px) {
  .contact-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}
@media (max-width: 768px) {
  header {
    width: min(100% - 32px, var(--container-width));
    padding: 0 20px;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.3s ease-in-out;
    z-index: 1000;
  }
  
  .main-nav.active {
    transform: translateY(0);
  }
  
  .main-nav ul {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 0;
  }
  
  .main-nav a {
    font-size: 24px;
  }
  
  .btn-desktop {
    display: none;
  }
  
  .btn-mobile {
    display: block;
    margin-top: 40px;
  }

  .mobile-menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .hero h1 {
    font-size: 48px;
  }
  
  .modules-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 80px;
  }
  
  .about-video-container {
    aspect-ratio: 9/16 !important;
    height: auto;
  }

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

  .contact-container {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .contact-info-side {
    text-align: center;
  }

  .contact-item {
    justify-content: center;
  }
}

/* --- CASE STUDY STYLES (case-1.html Layout Alinhado) --- */

.case-hero {
  position: relative;
  height: 80vh;
  width: 100%;
  overflow: hidden;
}

.case-hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  opacity: 0.8;
}

.case-hero-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center; 
  padding-left: 10vw; /* Desloca o título para a direita garantindo mais respiro */
}

/* Alinhamento Mestre para os Blocos de Texto (Sempre esquerda-direita) */
.case-layout-container {
  max-width: 800px; /* Define o limite para não espalhar muito */
  margin: 100px auto; /* Centraliza a coluna em relação à página */
  padding: 0 40px;
  display: flex;
  flex-direction: column;
  gap: 80px; 
}

/* Removemos margins e paddings antigos que quebravam o alinhamento */
.case-layout-container .case-sidebar,
.case-layout-container .case-main-content,
.case-layout-container .case-text-block {
  margin: 0;
  padding: 0;
  max-width: 100%;
  text-align: left;
}

.case-sidebar {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* Estilo unificado de Títulos H3 e H4 */
.case-sidebar div h4,
.case-main-content h4,
.case-text-block h4 {
  font-size: 12px;
  text-transform: uppercase;
  font-weight: 700;
  color: #fff;
  opacity: 0.5;
  margin-bottom: 12px;
  letter-spacing: 0.1em;
}

.case-sidebar div p {
  font-size: 18px;
  color: #e0e0e0;
  margin: 0;
  font-weight: 500;
}

.case-main-content h3, 
.case-text-block h3 {
  font-size: clamp(20px, 5vw, 48px);
  line-height: 1.2;
  margin-bottom: 24px;
  color: #fff;
  font-weight: 400;
}

.case-main-content p,
.case-text-block p {
  font-size: 18px;
  line-height: 1.8;
  color: #b0b0b0;
  margin: 0;
}

/* Container para harmonizar todo o bloco visual */
.case-visuals {
  display: flex;
  flex-direction: column;
  gap: 24px; /* Mesmo gap vertical que o horizontal do grid */
  max-width: 1200px;
  margin: 0 auto 100px; /* Respiro apenas nas extremidades (topo/fundo) */
  padding: 0 20px;
}

/* Blocos de Imagem (Abrangem o centro, preferência 4:3) */
.case-image-full {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.case-image-full img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Galeria */
.case-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px; /* Mesmo gap que o case-visuals */
  width: 100%;
}

.case-gallery-grid .case-image-full {
  aspect-ratio: 4/5;
}

/* --- Case Footer Nav (Next Project) --- */
.case-footer-nav {
  position: relative;
  width: 100%;
  height: 60vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-left: 10vw; /* Preservando o respiro à esquerda */
}

.case-footer-nav .footer-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: transform 0.6s ease;
}

.case-footer-nav:hover .footer-bg {
  transform: scale(1.05); /* Efeito suave ao passar o mouse */
}

.case-footer-nav .footer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Overlay escuro para leitura */
  z-index: 2;
  transition: background 0.3s ease;
}

.case-footer-nav:hover .footer-overlay {
  background: rgba(0, 0, 0, 0.4);
}

.case-footer-nav .next-project-link {
  position: relative;
  z-index: 3;
  text-decoration: none;
  color: #fff;
  text-align: left;
  display: block;
}

.case-footer-nav .next-project-link span {
  display: block;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.7;
  margin-bottom: 16px;
}

.case-footer-nav .next-project-link h2 {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 700;
  margin: 0;
  line-height: 1.1;
  text-transform: uppercase;
  transition: transform 0.3s ease;
}

.case-footer-nav:hover .next-project-link h2 {
  transform: translateX(15px); /* Move o texto um pouco pra direita no hover */
}

/* ==========================================================================
   Premium Animations & Dynamic Effects (Added dynamically)
   ========================================================================== */

/* 1. Scroll Reveal System */
.reveal-item {
  opacity: 0 !important;
  transform: translateY(40px) !important;
  transition: opacity 1s cubic-bezier(0.23, 1, 0.32, 1),
              transform 1s cubic-bezier(0.23, 1, 0.32, 1) !important;
  will-change: transform, opacity;
}

.reveal-item.revealed {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* 2. Premium Button Hover & Glow Effects */
.btn-primary {
  position: relative !important;
  overflow: hidden !important;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
  will-change: transform, box-shadow;
}

/* Diagonal Shine Reflection Effect */
.btn-primary::after {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.6),
    transparent
  );
  transform: skewX(-25deg);
  pointer-events: none;
  transition: none !important;
}

.btn-primary:hover::after {
  animation: btn-shine-anim 1.2s cubic-bezier(0.23, 1, 0.32, 1) infinite;
}

@keyframes btn-shine-anim {
  0% {
    left: -150%;
  }
  50% {
    left: 150%;
  }
  100% {
    left: 150%;
  }
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 0 30px rgba(0, 242, 254, 0.5) !important; /* Glow Teal */
  background: #ffffff !important;
}

.btn-outline {
  position: relative !important;
  overflow: hidden !important;
  will-change: transform, background-color;
}

.btn-outline:hover {
  transform: translateY(-3px);
  border-color: var(--accent-primary) !important;
  box-shadow: 0 0 20px rgba(0, 242, 254, 0.2);
}

/* 3. FAQ Accordion Smooth Heights */
details {
  overflow: hidden !important;
  transition: max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1) !important;
  will-change: max-height;
}
/* Adicione este bloco para que o logo diminua um pouco quando você rolar a página */
header.scrolled .brand img {
  height: 38px; /* O logo original tem 48px, aqui ele fica com 38px no scroll */
  transition: all 0.4s ease;
}
/* Container circular do ícone */
.contact-icon {
  width: 54px;         /* Aumentei um pouco */
  height: 54px;
  background: rgba(255, 255, 255, 0.05); /* Fundo sutil */
  border: 1px solid rgba(255, 255, 255, 0.15); /* Borda mais clara */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  flex-shrink: 0;
}

/* Estilo para os SVGs (os ícones de código) */
.contact-icon svg {
  width: 24px;
  height: 24px;
  stroke: #ffffff; /* Branco puro */
  transition: all 0.4s ease;
}

/* Quando passar o mouse no item inteiro */
.contact-item:hover .contact-icon {
  background: var(--accent-primary); /* Fica Rosa Zellgo */
  border-color: var(--accent-primary);
  transform: scale(1.1); /* Dá um leve pulo de vida */
  box-shadow: 0 0 20px rgba(255, 45, 85, 0.4); /* Glow rosa */
}

/* No hover, o ícone dentro do círculo continua branco */
.contact-item:hover .contact-icon svg {
  stroke: #ffffff;
}

.contact-text h5 {
  color: var(--accent-primary); /* Título em Rosa Choque */
  font-weight: 400;
  font-size: 13px;
  letter-spacing: 2px;
  margin-bottom: 2px;
}

.contact-text p {
  color: #ffffff;
  font-weight: 400;
  font-size: 16px;
  opacity: 0.9;
}
/* Ajustando o título da seção de contato para peso 400 */
.contact-info-side h2 {
  font-weight: 400 !important; /* Força o peso leve */
  font-family: 'Neue Haas Grotesk', sans-serif; /* Mantém a fonte, mas sem negrito */
  line-height: 1.1;
  letter-spacing: 0;
  text-transform: uppercase;
}

/* Caso você queira que o destaque (span) continue na mesma linha mas também leve */
.contact-info-side h2 span {
  font-weight: 400; 
  color: var(--accent-primary); /* Rosa Zellgo */
}
/* Regra Global para Títulos - Mudando de 700 para 400 */
h1, h2, h3, .brand {
  font-family: 'Neue Haas Grotesk', sans-serif;
  font-weight: 400;
  text-transform: uppercase;
}
h1 {
  letter-spacing: 0; /* Justo natural da fonte */
}
h2 {
  letter-spacing: 0.015em; /* Respiro sutil para harmonia */
}
h3 {
  letter-spacing: 0.02em;
}
/* Container dos ícones sociais no footer */
.social-links-footer {
  display: flex;
  gap: 18px; /* Espaço entre os ícones */
  margin-top: 24px;
}

/* Estilo base dos links de ícone */
.social-links-footer a {
  color: rgba(255, 255, 255, 0.4); /* Cor cinza apagada inicial */
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Efeito Hover - Cor Rosa Zellgo e brilho */
.social-links-footer a:hover {
  color: #ff2d55 !important; /* Brilha no Rosa Zellgo ao passar o mouse */
  transform: translateY(-2px);
  filter: drop-shadow(0 0 8px rgba(255, 45, 85, 0.5));
}

/* Garante que o SVG herde a cor do link */
.social-links-footer svg {
  stroke: currentColor;
  fill: none;
}

/* Ajuste específico para o Behance e YouTube que podem ter preenchimentos */
.social-links-footer a[aria-label="YouTube"]:hover svg,
.social-links-footer a[aria-label="Behance"]:hover svg {
  /* Se quiser que eles preencham a cor no hover, pode usar fill aqui */
}
/* ==========================================================================
   SISTEMA DE TIPOGRAFIA GLOBAL (CASE STUDIES)
   ========================================================================== */

.case-chapter-number {
  font-family: 'Neue Haas Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.4);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.case-chapter-intro {
  font-size: 24px;
  color: #b0b0b0;
  font-weight: 300;
  display: block;
  margin-bottom: 16px;
  line-height: 1.4;
}

.case-chapter-body {
  font-size: 18px;
  line-height: 1.6;
  color: #b0b0b0;
  max-width: 600px;
}

.case-chapter-large {
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.6;
  color: #b0b0b0;
  font-weight: 300;
  max-width: 800px;
}
