:root {
  /* Brand Colors */
  --primary-50: #E6F2FF;
  --primary-100: #BFDDF7;
  --primary-200: #8AC6FF;
  --primary-300: #5EAFF7;
  --primary-400: #3A9AED;
  --primary-500: #1D6FB3;
  --primary-600: #1A6099;
  --primary-700: #0F4A78;
  --primary-800: #0A3A5E;
  --primary-900: #062840;

  /* Neutrals - Cream */
  --cream-50: #FDFCFA;
  --cream-100: #F2F8FD;
  --cream-200: #F0EDE6;
  --cream-300: #E5E0D6;
  
  /* Text Colors */
  --text-primary: #1A1A1A;
  --text-secondary: #4A4A4A;
  --text-muted: #6B6B6B;
  --text-light: #9A9A9A;
  --text-inverse: #FFFFFF;

  /* Accent */
  --whatsapp: #25D366;

  /* Shadows */
  --shadow-subtle: 0 1px 3px rgba(0, 0, 0, 0.03);
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.08);
  --transition-fast: 0.15s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--cream-50); 
  z-index: 99999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease, visibility 0.5s ease; 
}
.spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--primary-200); /* Cor do arco inativo (azul claro) */
  border-top: 3px solid var(--primary-600); /* Cor do arco ativo (azul forte) */
  border-radius: 50%;
  animation: spin 1s linear infinite; 
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.loader-hidden {
  opacity: 0;
  visibility: hidden;
}

/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: var(--cream-50);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* ===== Container ===== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.5rem;
  }
}
/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--primary-800); 
  transition: all var(--transition-normal);
  box-shadow: 0 2px 20px rgba(0,0,0,0.1); 
}

.navbar.scrolled {
  background: var(--primary-800); 
  box-shadow: var(--shadow-md);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5.5rem;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Ajuste da Imagem do Logo */
.logo-img {
  height: 87px; 
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.logo:hover .logo-img {
  transform: scale(1.05);
}

.nav-links {
  display: none;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--cream-200); 
  letter-spacing: 0.04em;
  transition: color var(--transition-fast);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link:hover {
  color: #ffffff; 
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--cream-100); 
  transition: width var(--transition-normal);
}

.nav-link:hover::after {
  width: 100%;
}
.btn-nav {
  display: none;
  padding: 0.875rem 1.75rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  /* Texto azul */
  color: var(--primary-800); 
  /* Fundo claro */
  background: var(--cream-50); 
  border: 1px solid transparent;
  transition: all var(--transition-normal);
}

.btn-nav:hover {
  background: transparent;
  color: #ffffff;
  border-color: #ffffff;
}

.mobile-menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  color: #ffffff; 
}

.hamburger {
  position: relative;
  width: 22px;
  height: 1px;
  background: currentColor; /* Pega a cor branca do pai */
  transition: background var(--transition-fast);
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transition: transform var(--transition-fast);
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  bottom: -7px;
}

.mobile-menu-btn.active .hamburger {
  background: transparent;
}

.mobile-menu-btn.active .hamburger::before {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active .hamburger::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* Menu Mobile Aberto */
.mobile-menu {
  display: none;
  flex-direction: column;
  padding: 1.5rem 3rem 2rem;
  background: var(--primary-800); 
  border-top: 1px solid rgba(255,255,255,0.1); 
}

.mobile-menu.active {
  display: flex;
}

.mobile-link {
  padding: 1rem 0;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  color: var(--cream-100); 
  border-bottom: 1px solid rgba(255,255,255,0.1); 
}

.mobile-cta {
  margin-top: 1.5rem;
  text-align: center;
}

@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
  
  .btn-nav {
    display: inline-flex;
  }
  
  .mobile-menu-btn {
    display: none;
  }
}
/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-inverse);
  background: var(--primary-500);
  border: none;
  transition: all var(--transition-normal);
}

.btn-primary:hover {
  background: var(--primary-600);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
  background: transparent;
  border: 1px solid var(--text-primary);
  transition: all var(--transition-normal);
}

.btn-outline:hover {
  background: var(--text-primary);
  color: var(--text-inverse);
}

.btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 2rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-600);
  background: transparent;
  border: 1px solid var(--primary-500);
  transition: all var(--transition-normal);
}

.btn-outline-dark:hover {
  background: var(--primary-500);
  color: var(--text-inverse);
}

.btn-text {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.btn-text:hover {
  color: var(--primary-500);
}

.btn-text .arrow {
  transition: transform var(--transition-fast);
}

.btn-text:hover .arrow {
  transform: translateX(4px);
}

.btn-light {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1.125rem 2.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-700);
  background: var(--cream-50);
  border: none;
  transition: all var(--transition-normal);
}

.btn-light:hover {
  background: var(--cream-100);
  transform: translateY(-1px);
}

.btn-light svg {
  width: 18px;
  height: 18px;
}

.btn-large {
  padding: 1.25rem 3rem;
}

/* ===== Section Labels ===== */
.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--primary-500);
  margin-bottom: 1.5rem;
}

.section-label.light {
  color: var(--primary-200);
}

/* ===== Section Titles ===== */
.section-title-large {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 2rem;
  line-height: 1.1;
}

.section-title-large.light {
  color: var(--text-inverse);
}

.section-title-large.centered {
  text-align: center;
}

.section-title-large em {
  font-style: italic;
}

/* ===== HERO SECTION =====*/
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 5.5rem;
  background: var(--cream-50);
  position: relative;
  overflow-x: hidden;
}

.hero-container {
  display: grid;
  gap: 3rem;
  padding: 2rem 0;
  grid-template-columns: 1fr;
}
.hero-img-cutout {
  /* Configuração Base */
  width: auto; 
  height: auto;
  max-height: 60vh; /* Altura menor no mobile */
  max-width: 100%;
  
  object-fit: contain;
  object-position: bottom center;

}

/* --- COLUNA 2: TEXTO --- */
.hero-col-content {
  text-align: left; 
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3rem);
  margin-bottom: 1.5rem;
}

/* --- COLUNA 3: TÓPICOS --- */
.hero-col-topics {
  display: flex;
  justify-content: flex-start;
}

.topics-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.topic-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.topic-line {
  width: 30px;
  height: 4px;
  background-color: var(--primary-500);
  border-radius: 4px;
  flex-shrink: 0;
}

.topic-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.2rem;
  font-style: italic;
  color: var(--primary-800);
  line-height: 1.2;
}

.topic-line {
  /* 1. Tamanho: Quadrado pequeno (ex: 10x10 ou 8x8) */
  width: 10px;
  height: 10px;
  
  /* 2. Formato: 50% transforma quadrado em círculo */
  border-radius: 50%;
  
  /* Mantém a cor e posição */
  background-color: var(--primary-500);
  flex-shrink: 0;
  
  /* Opcional: Se a bolinha ficar muito alta, ajuste a margem */
  margin-top: 2px; 
}

/* --- RESPONSIVIDADE DESKTOP (> 1200px) --- */
@media (min-width: 1200px) {
  .hero-container {
    grid-template-columns: 1.2fr 1.2fr 1fr;
    gap: 1rem;
    align-items: stretch; /* Mantém as colunas do mesmo tamanho total */
  }

  /* --- AJUSTE DA COLUNA DO MEIO --- */
  .hero-col-content {
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-end; /* Garante que a caixa fique no pé da coluna */
  }

  /* --- AJUSTE DA COLUNA DA DIREITA (A MÁGICA) --- */
  .hero-col-topics {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-top: 10rem; 
    
    /* Garante que o conteúdo vá até o final */
    justify-content: flex-end; 
  }

  /* Faz o cartão azul preencher o espaço que sobrou (do padding até o chão) */
  .info-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  /* --- FOTO (SEUS VALORES MANTIDOS) --- */
  .hero-col-photo {
    justify-content: flex-start;
    align-items: flex-end;
  }
  
  .hero-img-cutout {
    width: 107%;       
    max-width: none;   
    height: auto;      
    max-height: 90vh;
    object-fit: contain;
    object-position: bottom left;
    transform: translateX(-10%); 
  }
}

.editorial-layout {
    grid-template-columns: 300px 1fr 400px;
    gap: 4rem;
    align-items: center; 
  }

  .editorial-sidebar {
    position: static; 
  }

/* ===== Sections ===== */
.section {
  padding: 8rem 0;
  position: relative;
}

.section-cream {
  background: var(--cream-100);
}

.section-dark {
  background: var(--primary-700);
}

@media (max-width: 768px) {
  .section {
    padding: 5rem 0;
  }
}

/* ===== Editorial Layout ===== */

.editorial-layout {
  display: grid;
  gap: 4rem;
  align-items: start;
}

.editorial-layout.reverse {
  direction: rtl;
}

.editorial-layout.reverse > * {
  direction: ltr;
}

.editorial-sidebar {
  position: sticky;
  top: 8rem;
}

.sidebar-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 2rem;
  max-width: 320px;
}

.editorial-main {
  max-width: 700px;
}

.editorial-text {
  max-width: 540px;
}

.editorial-text .lead {
  font-size: 1.25rem;
  color: var(--text-primary);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.editorial-text p {
  color: var(--text-secondary);
  margin-bottom: 1rem;
}

.editorial-text p:last-child {
  margin-bottom: 0;
}

/* 1. REGRA GERAL (Volta ao padrão original de 2 colunas)
   Isso conserta as seções: Projeto, Inglês e Carreira */
@media (min-width: 1024px) {
  .editorial-layout {
    display: grid;
    /* Layout original: Lateral (400px) + Conteúdo */
    grid-template-columns: 400px 1fr; 
    gap: 6rem;
    align-items: start;
  }
}

/* 2. REGRA ESPECÍFICA SÓ PARA O "SOBRE" (3 Colunas)
   Isso aplica a foto lateral apenas onde ela existe */
@media (min-width: 1024px) {
  #sobre .editorial-layout {
    /* Redefine apenas essa seção para 3 colunas */
    grid-template-columns: 0.8fr 1.5fr 1.2fr;
    align-items: center; /* Centraliza verticalmente */
    gap: 2rem;
  }

  /* Ajusta o texto do 'Sobre' para ficar bonito na coluna do meio */
  #sobre .editorial-sidebar {
    position: static;
  }
}

/* Estilo da Foto do Sobre (Garante que ela apareça bonita) */
.about-photo {
    display: flex;
    justify-content: flex-start;
    align-items: flex-end;
    margin-left: 0 !important;
    padding-left: 0 !important;
    position: relative;
    height: 90%;
    z-index: 1;
  }


/* No celular, a foto ganha um espacinho em cima */
@media (max-width: 1023px) {
  .editorial-photo {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
  }
}

/* ===== Project Cards ===== */
.project-cards {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.project-card {
  padding: 2rem;
  background: var(--cream-50);
  border: 1px solid var(--cream-200);
  transition: all var(--transition-normal);
}

.project-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}

.project-card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 1.25rem;
  color: var(--primary-500);
}

.project-card-icon svg {
  width: 100%;
  height: 100%;
}

.project-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.project-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.project-note {
  padding: 1.5rem 2rem;
  background: var(--cream-50);
  border-left: 2px solid var(--primary-400);
}

.project-note p {
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.contact-icon.linkedin {
  background: #0077b5; /* Azul oficial do LinkedIn */
  color: white;
}

@media (min-width: 768px) {
  .project-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ===== Service Grid ===== */
.service-grid {
  display: grid;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.service-card {
  padding: 2rem;
  background: var(--cream-50);
  border: 1px solid var(--cream-200);
}

.section-cream .service-card {
  background: var(--cream-50);
}

.service-card-header {
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--cream-200);
}

.service-card-header h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.service-list svg {
  width: 18px;
  height: 18px;
  color: var(--primary-500);
  flex-shrink: 0;
  margin-top: 2px;
}

.audience-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.badge {
  padding: 0.625rem 1rem;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  background: var(--cream-100);
  border: 1px solid var(--cream-200);
}

@media (min-width: 768px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== Pricing Inline ===== */
.pricing-inline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: var(--cream-50);
  border: 1px solid var(--cream-200);
}

.section-cream .pricing-inline {
  background: var(--cream-50);
  border-color: var(--cream-300);
}

.pricing-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.pricing-item.featured .pricing-value {
  color: var(--primary-600);
}

.pricing-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.02em;
}

.pricing-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.25rem;
  font-weight: 500;
  color: var(--text-primary);
  line-height: 1.1;
}

.pricing-unit {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

.pricing-divider {
  width: 1px;
  height: 48px;
  background: var(--cream-300);
}

/* ===== Coming Soon Section ===== */
.coming-soon-layout {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.coming-soon-badge {
  display: inline-block;
  padding: 0.5rem 1.25rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary-600);
  background: var(--primary-50);
  margin-bottom: 2rem;
}

.coming-soon-description {
  font-size: 1.0625rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 3rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.coming-soon-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.coming-feature {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--cream-100);
  border: 1px solid var(--cream-200);
}

.coming-feature svg {
  width: 24px;
  height: 24px;
  color: var(--primary-500);
}

.coming-feature span {
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

/* ===== Contact Section ===== */
.contact-layout {
  max-width: 900px;
  margin: 0 auto;
}

.contact-header {
  text-align: center;
  margin-bottom: 4rem;
}

.contact-subtitle {
  font-size: 1.0625rem;
  color: var(--primary-200);
}

.contact-grid {
  display: grid;
  gap: 1rem;
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all var(--transition-normal);
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.contact-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-icon.whatsapp {
  background: var(--whatsapp);
  color: white;
}

.contact-icon.email {
  background: var(--primary-400);
  color: white;
}

.contact-icon.instagram {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: white;
}

.contact-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary-200);
}

.contact-value {
  font-size: 1rem;
  color: var(--text-inverse);
}

.contact-cta {
  text-align: center;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  .contact-item {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  
  .contact-text {
    align-items: center;
  }
}

/* ===== Footer (Atualizado com Logo Imagem) ===== */
.footer {
  padding: 2rem 0;
  /* Se quiser manter claro: */
  background: var(--cream-100);
  border-top: 1px solid var(--cream-200);
  
  /* OBS: Se quiser AZUL ESCURO igual ao Navbar, troque as 2 linhas acima por: */
  /* background: var(--primary-800); */
  /* border-top: 1px solid rgba(255,255,255,0.1); */
}

.footer-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}

/* Container do Logo */
.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Nova Classe para a Imagem do Logo */
.footer-logo-img {
  height: 80px; /* Tamanho do logo */
  width: auto;  /*proporção */
  display: block;

  /* Se mudar o fundo para AZUL (primary-800), use o filtro abaixo para o logo ficar branco: */
  /* filter: brightness(0) invert(1); */
}

/* O Copyright */
.footer-copy {
  font-size: 0.8125rem;
  color: var(--text-light);
}

/* Botão de Voltar ao Topo */
.back-to-top {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--cream-300);
  background: transparent;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.back-to-top:hover {
  background: var(--primary-500); /* Azul ao passar o mouse */
  color: #ffffff; /* Seta branca */
  border-color: var(--primary-500);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

/* Responsividade Desktop */
@media (min-width: 768px) {
  .footer-container {
    flex-direction: row;
    justify-content: space-between;
    align-items: center; 
  }
  
  .footer-brand {
    justify-content: flex-start; 
  }
}

/* ===== Animations ===== */
.fade-in-up,
.fade-in-left,
.fade-in-right {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up {
  transform: translateY(40px);
}

.fade-in-left {
  transform: translateX(-40px);
}

.fade-in-right {
  transform: translateX(40px);
}

.fade-in-up.visible,
.fade-in-left.visible,
.fade-in-right.visible {
  opacity: 1;
  transform: translate(0);
}

/* ===== Selection ===== */
::selection {
  background: var(--primary-100);
  color: var(--primary-700);
}

/* ===== Focus ===== */
:focus-visible {
  outline: 2px solid var(--primary-400);
  outline-offset: 2px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .scroll-indicator {
    display: none;
  }
  
  .pricing-inline {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .pricing-divider {
    width: 100%;
    height: 1px;
  }
}

/* ===== SEÇÃO FEEDBACK (CARROSSEL) ===== */
.section-header-center {
  text-align: center;
  margin-bottom: 4rem;
}

.carousel-container {
  position: relative;
  max-width: 1000px; /* Largura máxima do carrossel */
  margin: 0 auto;
  padding: 0 40px; /* Espaço para as setas não ficarem em cima da foto */
}

/* Área visível (janela) */
.carousel-track-container {
  overflow: hidden;
  width: 100%;
  padding: 20px 0; /* Espaço para a sombra não cortar */
}

/* Trilho que se move */
.carousel-track {
  display: flex;
  gap: 20px;
  list-style: none;
  transition: transform 0.5s ease-in-out;
}

/* Cada item (Slide) */
.carousel-slide {
  /* Tamanho fixo para cada cartão */
  min-width: 280px; 
  max-width: 280px;
}

/* O Cartão da Foto */
.feedback-card {
  position: relative;
  height: 400px; /* Altura fixa para ficar uniforme */
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  cursor: pointer;
}

.feedback-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feedback-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

/* Efeito de Zoom na foto ao passar o mouse */
.feedback-card:hover .feedback-img {
  transform: scale(1.05);
}

/* Legenda sobre a foto (opcional) */
.feedback-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 20px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.feedback-card:hover .feedback-overlay {
  opacity: 1;
}

/* Botões de Navegação */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: var(--cream-100); /* Fundo azul claro */
  border: 1px solid var(--primary-200);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-600);
  cursor: pointer;
  z-index: 10;
  transition: all 0.2s ease;
}

.carousel-btn:hover {
  background: var(--primary-500);
  color: white;
  border-color: var(--primary-500);
}

.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

/* Responsividade Mobile */
@media (max-width: 768px) {
  .carousel-slide {
    min-width: 100%; /* No celular, mostra 1 por vez */
  }
  
  .carousel-container {
    padding: 0; /* Remove padding lateral */
  }
  
  .carousel-btn {
    background: rgba(255,255,255,0.8);
    margin: 0 10px;
  }
}


/* ===== MODAL DE FOTO (Lightbox) ===== */
.modal {
  display: none; /* Escondido por padrão */
  position: fixed;
  z-index: 9999; /* Fica em cima de tudo */
  padding-top: 50px; /* Espaço em cima */
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto; /* Permite rolar se a foto for gigante */
  background-color: rgba(0, 0, 0, 0.9); /* Fundo preto 90% opaco */
  backdrop-filter: blur(5px); /* Desfoque suave no fundo */
}

/* A Imagem Ampliada */
.modal-content {
  margin: auto;
  display: block;
  max-width: 90%;
  max-height: 90vh; /* Nunca passa de 90% da altura da tela */
  border-radius: 4px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
  animation: zoomIn 0.3s; /* Animação de entrada */
}

/* Botão de Fechar (X) */
.close-modal {
  position: absolute;
  top: 20px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
  z-index: 10000;
}

.close-modal:hover {
  color: var(--primary-300);
}

/* Animação de Zoom */
@keyframes zoomIn {
  from {transform:scale(0.8); opacity: 0}
  to {transform:scale(1); opacity: 1}
}

/* Cursor de lupa na foto do carrossel para indicar clique */
.feedback-card {
  cursor: zoom-in; 

/* ===== CAIXA LATERAL (CARREIRA) ===== */
.career-box {
  /* Dá um fundo sutil para parecer um "campo" separado */
  background-color: rgba(255, 255, 255, 0.6); 
  border-left: 4px solid var(--primary-500); /* Linha azul na esquerda para destaque */
  padding: 1.5rem;
  border-radius: 0 8px 8px 0; /* Arredonda só a direita */
  margin-top: 1rem;
}

.career-title {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.0rem;
  font-weight: 600;
  color: rgb(29, 29, 29);
  margin-bottom: 1rem;
  line-height: 1.2;
}

.career-list {
  /* Traz de volta as bolinhas padrão (disc) para esta lista específica */
  list-style-type: disc; 
  padding-left: 1.2rem; /* Espaço para a bolinha não sumir */
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.career-list li {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* Ajuste para Mobile (Tirar o fundo e deixar simples) */
@media (max-width: 768px) {
  .career-box {
    background: transparent;
    border-left: none;
    padding: 0;
    margin-top: 2rem;
  }
}

/* ===== ESTILO DOS CARTÕES (CAIXAS AZUIS) ===== */
.info-card {
  background-color: var(--primary-50); /* Fundo Azul Clarinho */
  padding: 2rem; /* Espaço interno para o texto não colar na borda */
  border-radius: 8x; /* Cantos arredondados suaves */
  
  /* Sombra leve para destacar do fundo branco */
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  
  /* Garante que o conteúdo fique organizado */
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%; /* Faz as caixas terem a mesma altura se estiverem lado a lado */
  transition: transform 0.3s ease;
}

/* Efeito opcional: Levanta um pouquinho ao passar o mouse */
.info-card:hover {
  transform: translateY(-5px);
}

/* Ajuste para telas pequenas (Mobile) */
@media (max-width: 768px) {
  .info-card {
    padding: 1.5rem; /* Um pouco menos de espaço no celular */
  }
}

/* ======================================================= */
/* 📱 VERSÃO MOBILE PROFISSIONAL (CORREÇÃO FINAL) 📱 */
/* ======================================================= */

@media (max-width: 992px) {

  /* 1. RESET ESTRUTURAL (Evita rolagem horizontal) */
  html, body {
    overflow-x: hidden; /* Corta o que passar da largura */
    width: 100%;
    position: relative;
  }

  .container {
    padding: 0 1.5rem; /* Margem de respiro nas laterais */
    width: 100%;
  }

  /* 2. TRANSFORMA GRID EM PILHA (STACK) 
     Isso pega o Hero, o Editorial e qualquer Grid e faz ficar um embaixo do outro */
  .hero-container,
  .editorial-layout,
  .contact-grid,
  .service-grid,
  .project-cards {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 2rem !important; /* Espaço entre os blocos empilhados */
  }

  /* 3. HERO (Apresentação) - ORDEM VISUAL */
  .hero-container {
    padding-top: 1rem;
    align-items: center; /* Centraliza tudo */
  }

  /* Ordem: 1. Foto, 2. Texto, 3. Tópicos */
  .hero-col-photo {
    order: 1; 
    width: 100%;
    justify-content: center;
    margin-bottom: 1rem;
  }

  .hero-col-content {
    order: 2;
    width: 100%;
    text-align: center; /* Texto centralizado fica mais elegante no mobile */
  }

  .hero-col-topics {
    order: 3;
    width: 100%;
    padding-top: 0 !important; /* Remove espaçamento excessivo do desktop */
  }

  /* Ajuste da Foto da Marinete no Mobile */
  .hero-img-cutout {
    max-height: 350px; /* Impede que a foto tome a tela toda */
    width: auto;
    transform: none !important; /* Remove deslocamentos laterais do desktop */
    margin: 0 auto;
  }

  /* 4. AJUSTE DE TIPOGRAFIA (FONTES) */
  /* Chega de letras gigantes. Tamanhos balanceados para leitura */
  h1, .hero-title, .section-title-large {
    font-size: 2rem !important; /* ~32px */
    line-height: 1.2 !important;
    margin-bottom: 1rem;
  }

  h2, h3, .section-title {
    font-size: 1.0rem !important; /* ~24px */
    line-height: 1.3 !important;
  }

  p, li, .editorial-text, .lead {
    font-size: 1rem !important; /* ~16px (Padrão de leitura) */
    line-height: 1.6 !important;
    text-align: left; /* Parágrafos longos são melhores alinhados à esquerda */
  }
  
  /* Exceção: O título principal e subtítulo curtos ficam centralizados */
  .hero-col-content p {
    text-align: center;
  }

  /* 5. SEÇÃO 'SOBRE' E CONTEÚDO EDITORIAL */
  /* Removemos a barra lateral fixa e deixamos fluir */
  .editorial-sidebar {
    position: static;
    width: 100%;
    margin-bottom: 1.5rem;
    text-align: center;
  }

  /* A foto do 'Sobre' */
  #sobre .editorial-photo {
    justify-content: center;
    margin-top: 0;
  }
  
  #sobre .about-photo {
    max-height: 300px;
    margin: 0 auto;
  }
  

  /* 6. CARDS E ELEMENTOS GERAIS */
  .info-card, .project-card, .service-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    box-sizing: border-box; /* Garante que padding não estoure a largura */
  }

  /* Garante que imagens nunca vazem a tela */
  img {
    max-width: 100% !important;
    height: auto;
  }
  
  /* Remove margens negativas que causam rolagem horizontal */
  * {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  
  /* Pequena exceção para listas com bolinhas */
  ul, ol {
    padding-left: 1.5rem !important;
  }
}

/* ======================================================= */
  /* 🍔 CORREÇÃO DO MENU E NAV BAR (MOBILE) 🍔 */
  /* ======================================================= */

  /* 1. Reduz a altura da Barra de Navegação */
  .navbar, .nav-container {
    height: 60px !important; /* Padrão mobile (antes era 5.5rem/88px) */
    padding: 0 1rem !important; /* Espaço nas laterais */
    background: var(--primary-800) !important; /* Garante o fundo Azul Escuro */
  }

  /* 2. Diminui o Logo para caber na barra fina */
  .logo-img {
    height: 40px !important; /* Reduz de 87px para 40px */
    width: auto !important;
  }

  /* 3. Força o Hambúrguer a aparecer e ficar Branco */
  .mobile-menu-btn {
    display: flex !important; /* Garante que ele não suma */
    align-items: center;
    justify-content: center;
    color: #ffffff !important; /* Ícone Branco */
    height: 100%; /* Centraliza verticalmente na barra */
    width: 40px; /* Área de toque */
    
    /* Garante que ele fique na direita */
    margin-left: auto !important; 
    margin-right: 0 !important;
  }

  /* Ajuste no ícone SVG/Div do hambúrguer */
  .hamburger, .hamburger::before, .hamburger::after {
    background-color: #ffffff !important; /* Força a cor branca nas linhas */
  }

  .navbar .btn-nav {
  display: none !important;
}

/* ========================================= */
/* 🖥️ VERSÃO PC (DESKTOP) - AJUSTES FINAIS */
/* ========================================= */

@media (min-width: 993px) {
  /* 1. OBRIGA o Hambúrguer a sumir no PC */
  .mobile-menu-btn {
    display: none !important;
  }

  /* 2. Garante que os menus normais (Sobre, Inglês...) apareçam */
  .nav-links {
    display: flex !important;
  }
}

/* ========================================= */
/* 🛠️ AJUSTE DO MENU DESKTOP (Trazer para esquerda) */
/* ========================================= */

@media (min-width: 1024px) {
  .nav-container {
    /* Remove o espaçamento forçado entre as pontas */
    justify-content: flex-start !important; 
    
    /* Adiciona um espaço elegante entre o Logo e os Links */
    gap: 4rem; 
  }
  
  /* Se quiser centralizar os links na tela, descomente as linhas abaixo: */
  /*
  .nav-links {
    margin: 0 auto; 
    transform: translateX(-40px);
  }
  */
}
/* ======================================================= */
/* 📱 GRID LADO A LADO + FONTE PEQUENA (MOBILE) 📱 */
/* ======================================================= */

@media (max-width: 992px) {

  /* 1. CRIA AS DUAS COLUNAS (Lado a Lado) */
  .service-grid, 
  .project-cards,
  .coming-soon-features {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important; /* Divide a tela em 2 partes iguais */
    gap: 0.5rem !important; /* Espaço pequeno entre os cards */
  }

  /* 2. AJUSTA O TAMANHO DOS CARDS */
  .service-card, 
  .project-card, 
  .info-card,
  .coming-feature {
    width: 100% !important;
    margin: 0 !important;
    padding: 0.8rem !important; /* Borda interna fina para caber mais coisa */
    
    /* Garante que fiquem da mesma altura */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
  }

  /* 3. FONTE PEQUENA NOS TÍTULOS (Ex: "Serviços Acessíveis") */
  .service-card h3, 
  .project-card h3,
  .service-card-header h3,
  .info-card h3 {
    font-size: 0.85rem !important; /* ~13px (Bem compacto) */
    line-height: 1.2 !important;
    margin-bottom: 0.4rem !important;
    font-weight: 700 !important; /* Negrito para ler melhor sendo pequeno */
  }

  /* 4. FONTE PEQUENA NO TEXTO (Descrição) */
  .service-card p, 
  .service-list li, 
  .project-card p,
  .coming-feature span {
    font-size: 0.7rem !important; /* ~11px (Estilo bula/legenda) */
    line-height: 1.3 !important;
  }
  
  /* 5. ÍCONES MENORES */
  .service-card svg, 
  .project-card-icon {
    width: 20px !important;
    height: 20px !important;
    margin-bottom: 0.3rem !important;
  }

  /* Ajuste fino para a lista de serviços não quebrar */
  .service-list {
    gap: 0.4rem !important;
  }
  
  .service-list svg {
    margin-top: 0 !important; /* Alinha ícone com texto pequeno */
  }
}

/* ======================================================= */
/* 📞 CONTATO ESTILO "QUADRADINHO" (IGUAL PC) NO MOBILE */
/* ======================================================= */

@media (max-width: 992px) {

  /* 1. Transforma a lista em Grade (2 por linha) */
  .contact-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important; /* Divide em 2 colunas */
    gap: 0.8rem !important; /* Espacinho entre eles */
  }

  /* 2. Molda o Cartão para ser Quadrado (Ícone em cima do texto) */
  .contact-item {
    flex-direction: column !important; /* Força ficar em pé (igual PC) */
    align-items: center !important;    /* Centraliza tudo */
    text-align: center !important;
    padding: 1rem 0.5rem !important;   /* Borda fina para caber */
    gap: 0.5rem !important;
    height: 100% !important;           /* Garante altura igual */
  }

  /* 3. Centraliza o texto */
  .contact-text {
    align-items: center !important;
    width: 100%;
  }

  /* 4. Ícones Menores e Centralizados */
  .contact-icon {
    width: 35px !important;  /* Tamanho ideal para toque */
    height: 35px !important;
    margin: 0 auto !important;
  }
  
  .contact-icon svg {
    width: 18px !important;
    height: 18px !important;
  }

  /* 5. Texto Pequeno para não quebrar a caixa */
  .contact-label {
    font-size: 0.65rem !important; /* "WHATSAPP" bem pequeno */
    letter-spacing: 0.05em !important;
  }

  .contact-value {
    font-size: 0.75rem !important; /* O número/email */
    word-break: break-all !important; /* Se o email for longo, quebra a linha */
    line-height: 1.2 !important;
  }
}
/* ======================================================= */
/* 👤 AJUSTE DA FOTO "SOBRE" (CENTRALIZAR NO MOBILE) 👤 */
/* ======================================================= */

@media (max-width: 992px) {

  /* 1. Centraliza o container da foto */
  #sobre .editorial-photo {
    display: flex !important;
    justify-content: center !important; /* Centraliza horizontalmente */
    align-items: flex-end !important;   /* Alinha na base */
    width: 100% !important;
    margin: 2rem auto 0 auto !important; /* Espaço em cima */
    position: relative !important;
  }

  /* 2. Centraliza a Imagem da Marinete */
  #sobre .about-photo {
    margin: 0 auto !important;
    max-width: 80% !important; /* Evita que fique gigante */
    height: auto !important;
    z-index: 2; /* Garante que fique na frente do fundo azul */
  }
}
/* ======================================================= */
  /* 🔘 CENTRALIZAR BOTÕES (MOBILE) 🔘 */
  /* ======================================================= */
  
  @media (max-width: 992px) {
    
    /* 1. Regra para todos os tipos de botão */
    .btn-primary, 
    .btn-outline, 
    .btn-outline-dark, 
    .btn-light,
    .hero-buttons {
      display: flex !important;
      margin-left: auto !important;  /* Margem automática esquerda */
      margin-right: auto !important; /* Margem automática direita = CENTRO */
      justify-content: center !important; /* Centraliza o texto dentro do botão */
      
      /* Opcional: define um tamanho padrão bonito para celular */
      width: 80% !important; 
      max-width: 280px !important; 
    }

    /* 2. Se houver grupos de botões, empilha e centraliza */
    .hero-buttons {
      flex-direction: column !important;
      align-items: center !important;
      gap: 1rem !important;
      width: 100% !important;
    }
  }

  /* ======================================================= */
/* 📸 CARROSSEL MOBILE - 3 FOTOS POR VEZ 📸 */
/* ======================================================= */

@media (max-width: 992px) {
  
  /* 1. Define que cada foto ocupa um terço da tela */
  .carousel-slide {
    min-width: 33.33% !important; /* 100% dividido por 3 */
    max-width: 33.33% !important;
    padding: 0 4px !important; /* Espacinho mínimo entre elas */
  }

  /* 2. Ajusta a altura para ficar proporcional (não esticar) */
  .feedback-card {
    height: 180px !important; /* Reduz a altura (antes era 400px) */
    box-shadow: none !important; /* Remove sombra para limpar o visual */
  }
  
  /* 3. Ajuste do container para caber tudo */
  .carousel-track-container {
    padding: 10px 0 !important;
  }
}
/* ======================================================= */
/* 🔍 AJUSTE DO ZOOM DA FOTO (MODAL MOBILE) 🔍 */
/* ======================================================= */

@media (max-width: 992px) {
  
  .modal-content {
    /* Reduz o tamanho máximo da imagem */
    max-width: 85% !important;  /* Não encosta nas bordas laterais */
    max-height: 60vh !important; /* Ocupa só 60% da altura da tela (antes era 90%) */
    
    /* Garante que a foto inteira apareça */
    object-fit: contain !important; 
    
    /* Centraliza verticalmente (empurra para o meio) */
    margin-top: 20vh !important; 
  }

  /* Ajusta o botão de fechar (X) para ficar mais perto da foto */
  .close-modal {
    top: 10vh !important; 
    right: 20px !important;
    font-size: 30px !important; /* X um pouco menor */
    color: #ffffff !important;
    opacity: 1 !important;
  }
}
  }