/* ==============================================
   CHAGAS ENERGIAS — FOLHA DE ESTILOS GLOBAL
   Cobre todas as páginas do projeto
   ============================================== */

/* ===========================
   VARIÁVEIS DE COR E SOMBRA
   =========================== */
:root {
  --gold-primary: #D4A017;
  --gold-dark: #B8860B;
  --gold-light: #E8C547;
  --gold-pale: #FDF3D0;
  --dark: #1A1A1A;
  --dark-warm: #2A2218;
  --dark-surface: #1E1B16;
  --dark-card: #2C2820;
  --text-light: #F5F0E8;
  --text-muted: #A89F8F;
  --branco: #FFFFFF;
  --sombra-dourada: 0 0 40px rgba(212, 160, 23, 0.15);
}

/* ===========================
   RESET E CONFIGURAÇÕES BASE
   =========================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: 'DM Sans', sans-serif; background: var(--dark); color: var(--text-light); overflow-x: hidden; }

/* ===========================
   BARRA DE NAVEGAÇÃO
   =========================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(26, 26, 26, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(212, 160, 23, 0.1);
  transition: all 0.4s ease;
}

/* Navbar com sombra ao rolar a página */
.navbar.scrolled {
  background: rgba(26, 26, 26, 0.95);
  box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

.nav-brand { display: flex; align-items: center; gap: 14px; text-decoration: none; }
.nav-logo { width: 48px; height: 48px; }
.nav-brand-text { display: flex; flex-direction: column; }
.nav-brand-name { font-family: 'Outfit', sans-serif; font-weight: 800; font-size: 20px; color: var(--gold-primary); letter-spacing: 1px; line-height: 1.1; }
.nav-brand-tagline { font-size: 10px; color: var(--text-muted); letter-spacing: 3px; text-transform: uppercase; }
.nav-links { display: flex; align-items: center; gap: 8px; list-style: none; }
.nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 500; font-size: 14px; padding: 10px 20px; border-radius: 8px; transition: all 0.3s ease; position: relative; letter-spacing: 0.3px; }
.nav-links a:hover, .nav-links a.active { color: var(--gold-primary); background: rgba(212, 160, 23, 0.08); }

/* Botão hambúrguer para o menu mobile */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; padding: 8px; }
.hamburger span { width: 24px; height: 2px; background: var(--gold-primary); transition: all 0.3s ease; border-radius: 2px; }

/* ===========================
   HERO PRINCIPAL (HOME)
   =========================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 60px 80px;
  position: relative;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; z-index: 0; }

.hero-bg::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 800px 600px at 70% 40%, rgba(212, 160, 23, 0.08), transparent),
    radial-gradient(ellipse 400px 400px at 20% 80%, rgba(212, 160, 23, 0.04), transparent);
}

/* Grade sutil de fundo do hero */
.hero-grid-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(212, 160, 23, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(212, 160, 23, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}

/* Decoração circular que pulsa, simulando o sol */
.sun-decoration {
  position: absolute;
  top: 10%; right: 5%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212, 160, 23, 0.06) 0%, transparent 70%);
  animation: pulsarSol 6s ease-in-out infinite;
}

@keyframes pulsarSol {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.15); opacity: 0.7; }
}

.hero-content { position: relative; z-index: 1; max-width: 720px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 18px;
  background: rgba(212, 160, 23, 0.1);
  border: 1px solid rgba(212, 160, 23, 0.2);
  border-radius: 100px; font-size: 13px; font-weight: 600;
  color: var(--gold-primary); margin-bottom: 28px;
  letter-spacing: 0.5px;
  animation: subirAparecer 0.8s ease forwards; opacity: 0;
}
.hero-badge svg { width: 16px; height: 16px; }

.hero h1 {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 900; line-height: 1.05; margin-bottom: 24px;
  animation: subirAparecer 0.8s ease 0.15s forwards; opacity: 0;
}
.hero h1 span {
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-desc {
  font-size: 18px; line-height: 1.7; color: var(--text-muted);
  max-width: 540px; margin-bottom: 40px;
  animation: subirAparecer 0.8s ease 0.3s forwards; opacity: 0;
}

.hero-actions {
  display: flex; gap: 16px; flex-wrap: wrap;
  animation: subirAparecer 0.8s ease 0.45s forwards; opacity: 0;
}

.hero-stats {
  display: flex; gap: 48px;
  margin-top: 64px; padding-top: 40px;
  border-top: 1px solid rgba(212, 160, 23, 0.1);
  animation: subirAparecer 0.8s ease 0.6s forwards; opacity: 0;
}
.stat-item h3 { font-family: 'Outfit', sans-serif; font-size: 36px; font-weight: 800; color: var(--gold-primary); line-height: 1; }
.stat-item p { font-size: 13px; color: var(--text-muted); margin-top: 4px; letter-spacing: 0.3px; }

/* Ilustração do painel solar (visível apenas em telas largas) */
.hero-visual {
  position: absolute; right: 40px; top: 50%;
  transform: translateY(-50%);
  width: 480px; height: 480px; z-index: 1;
  animation: subirAparecer 1s ease 0.4s forwards; opacity: 0;
}

/* Animação de entrada: sobe e aparece */
@keyframes subirAparecer {
  to { opacity: 1; transform: translateY(0); }
}

/* ===========================
   HERO DAS PÁGINAS INTERNAS
   =========================== */
.page-hero {
  padding: 160px 60px 80px;
  background: var(--dark-warm);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 800px 400px at 60% 50%, rgba(212, 160, 23, 0.06), transparent);
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(212, 160, 23, 0.03) 1px, transparent 1px), linear-gradient(90deg, rgba(212, 160, 23, 0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-content { position: relative; z-index: 1; max-width: 700px; }
.page-hero h1 { font-family: 'Outfit', sans-serif; font-size: clamp(36px, 5vw, 60px); font-weight: 900; line-height: 1.1; margin-bottom: 20px; }
.page-hero h1 span { background: linear-gradient(135deg, var(--gold-primary), var(--gold-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.page-hero p { font-size: 18px; color: var(--text-muted); line-height: 1.7; max-width: 560px; }

/* ===========================
   ESTILOS GERAIS DE SEÇÕES
   =========================== */
section { padding: 120px 60px; position: relative; }

/* Rótulo com linha dourada decorativa (seções da Home) */
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 700;
  color: var(--gold-primary);
  letter-spacing: 3px; text-transform: uppercase;
  margin-bottom: 16px;
}
.section-label::before { content: ''; width: 24px; height: 2px; background: var(--gold-primary); }

/* Rótulo maior na seção Empresas Parceiras */
.services .section-label { font-size: 18px; letter-spacing: 2px; }

/* Rótulo no formato badge/pílula (hero das páginas internas) */
.page-hero .section-label {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(212, 160, 23, 0.08);
  border: 1px solid rgba(212, 160, 23, 0.15);
  border-radius: 100px;
  margin-bottom: 20px;
}
.page-hero .section-label::before { display: none; }

.section-title { font-family: 'Outfit', sans-serif; font-size: clamp(32px, 4vw, 48px); font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.section-desc { font-size: 17px; color: var(--text-muted); line-height: 1.7; max-width: 600px; }

/* ===========================
   BOTÕES
   =========================== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px;
  background: linear-gradient(135deg, var(--gold-primary), var(--gold-dark));
  color: var(--dark); text-decoration: none; border-radius: 14px;
  font-weight: 700; font-size: 15px; font-family: 'Outfit', sans-serif;
  letter-spacing: 0.3px; transition: all 0.3s ease; border: none; cursor: pointer;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 35px rgba(212, 160, 23, 0.3); }

.btn-outline {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 36px; background: transparent;
  color: var(--gold-primary); text-decoration: none; border-radius: 14px;
  font-weight: 600; font-size: 15px; font-family: 'Outfit', sans-serif;
  border: 1px solid rgba(212, 160, 23, 0.3); transition: all 0.3s ease; cursor: pointer;
}
.btn-outline:hover { background: rgba(212, 160, 23, 0.08); border-color: var(--gold-primary); transform: translateY(-2px); }

/* ===========================
   SEÇÃO NOSSOS SERVIÇOS (HOME)
   =========================== */
.services { background: var(--dark-warm); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 60px;
}

/* ===========================
   CAROUSEL DE EMPRESAS PARCEIRAS
   =========================== */
.carousel-wrapper {
  position: relative;
  margin-top: 60px;
}
.carousel-track {
  overflow: hidden;
  margin: 0 auto;
}
.carousel-wrapper .services-grid {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 20px;
  padding: 16px 4px;
  margin-top: 0;
  scrollbar-width: none;
}
.carousel-wrapper .services-grid::-webkit-scrollbar { display: none; }
.carousel-wrapper .service-card { flex: 0 0 300px; }

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 48px; height: 48px;
  background: rgba(212, 160, 23, 0.1);
  border: 1px solid rgba(212, 160, 23, 0.3);
  border-radius: 50%;
  color: var(--gold-primary);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}
.carousel-btn:hover { background: var(--gold-primary); color: var(--dark); }
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-btn.prev { left: -28px; }
.carousel-btn.next { right: -28px; }

.service-card {
  scroll-snap-align: start;
  padding: 40px 32px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(212, 160, 23, 0.08);
  border-radius: 20px; transition: all 0.4s ease;
  position: relative; overflow: hidden;
}


.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--gold-primary), var(--gold-light));
  opacity: 0; transition: opacity 0.4s ease;
}
.service-card:hover { background: rgba(212, 160, 23, 0.04); border-color: rgba(212, 160, 23, 0.15); transform: translateY(-4px); }
.service-card:hover::before { opacity: 1; }
.service-icon { width: 56px; height: 56px; background: rgba(212, 160, 23, 0.1); border-radius: 16px; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; }
.service-icon svg { width: 28px; height: 28px; color: var(--gold-primary); }
.service-card h3 { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 700; margin-bottom: 12px; }
.service-card p { color: var(--text-muted); font-size: 15px; line-height: 1.6; margin-bottom: 20px; }

/* Lista de tópicos dos cards (usada na página Nossos Serviços) */
.service-card ul { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 8px; }
.service-card ul li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--text-muted); }
.service-card ul li::before { content: '✦'; color: var(--gold-primary); font-size: 10px; flex-shrink: 0; }
.service-icon img {
  width: 70px;
  height: auto;
  object-fit: contain;
  display: block;
}
.service-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-bottom: 10px;
}

.service-icon img {
  width: 70px;
  height: auto;
  display: block;
}
.service-icon {
  background: transparent !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;

  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.service-icon img {
  width: 70px;
  height: auto;
  display: block;
}
.service-icon {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.service-icon img {
  width: 65px;          
  height: 65px;         
  object-fit: contain;  
  background: transparent;
  padding: 0;
  margin: 0;
}
/* ===========================
   PÁGINA NOSSOS SERVIÇOS
   =========================== */
.services-page { padding: 80px 60px; background: var(--dark); }

/* Espaçamento ligeiramente maior no grid da página dedicada */
.services-page .services-grid { gap: 28px; }

.services-cta {
  margin: 0 60px 80px; padding: 64px;
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.08), rgba(212, 160, 23, 0.02));
  border: 1px solid rgba(212, 160, 23, 0.15); border-radius: 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px; text-align: left;
}
.services-cta h2 { font-family: 'Outfit', sans-serif; font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.services-cta p { color: var(--text-muted); font-size: 16px; max-width: 480px; line-height: 1.7; }

/* ===========================
   SEÇÃO QUEM SOMOS (HOME E PÁGINA)
   =========================== */
.about { background: var(--dark); }
.about-page { padding: 80px 60px; background: var(--dark); }
.about-intro { font-size: 16px; color: var(--text-muted); line-height: 1.7; margin-bottom: 14px; }

.about-layout {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; margin-top: 60px;
}

.about-visual { position: relative; height: 500px; border-radius: 24px; overflow: hidden; border: 1px solid rgba(212, 160, 23, 0.1); }

/* Container interno: fundos e bordas extras removidos para evitar molduras indesejadas */
.about-visual-inner,
.about-visual-inner div,
.about-visual-inner figure {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 !important;
  outline: none !important;
}
.about-visual-inner {
  position: absolute; inset: 0;
  display: flex !important; align-items: center !important; justify-content: center !important;
  width: 100% !important;
}

/* Camada invisível que impede arrastar e interagir diretamente com a foto */
.about-visual-inner::after {
  content: '';
  position: absolute; inset: 0;
  z-index: 10; cursor: default; background: transparent;
}

/* Foto com borda dourada característica da marca */
.about-photo-large {
  display: block !important;
  width: 100% !important; max-width: 480px !important; height: auto !important;
  border: 3px solid #D4A017 !important; border-radius: 12px !important;
  box-shadow: none !important; background: transparent !important;
}

.about-logo-large { width: 200px; height: 200px; opacity: 0.6; }
.about-text h3 { font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 600; color: var(--text-muted); margin-bottom: 20px; }
.about-text p { color: var(--text-muted); font-size: 16px; line-height: 1.8; margin-bottom: 16px; }

.about-values { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.value-item { display: flex; align-items: center; gap: 12px; padding: 14px 18px; background: rgba(212, 160, 23, 0.05); border-radius: 12px; border: 1px solid rgba(212, 160, 23, 0.08); }
.value-check { width: 24px; height: 24px; background: rgba(212, 160, 23, 0.15); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.value-check svg { width: 14px; height: 14px; color: var(--gold-primary); }
.value-item span { font-size: 14px; font-weight: 500; color: var(--text-light); }

/* CTA da página Quem Somos */
.about-cta {
  margin: 0 60px 80px; padding: 64px;
  background: linear-gradient(135deg, rgba(212, 160, 23, 0.08), rgba(212, 160, 23, 0.02));
  border: 1px solid rgba(212, 160, 23, 0.15); border-radius: 28px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
}
.about-cta h2 { font-family: 'Outfit', sans-serif; font-size: 32px; font-weight: 800; margin-bottom: 12px; }
.about-cta p { color: var(--text-muted); font-size: 16px; max-width: 480px; line-height: 1.7; }

/* ===========================
   SEÇÃO CONTATO (HOME E PÁGINA)
   =========================== */
.contact { background: var(--dark-warm); }
.contact-page { padding: 80px 60px; background: var(--dark-warm); }

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-top: 60px; }

/* Na página dedicada de contato, o hero já cria o espaçamento necessário */
.contact-page .contact-layout { margin-top: 0; }

.contact-info { display: flex; flex-direction: column; gap: 32px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; }
.contact-icon { width: 48px; height: 48px; background: rgba(212, 160, 23, 0.1); border-radius: 14px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.contact-icon svg { width: 22px; height: 22px; color: var(--gold-primary); }
.contact-item h4 { font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.contact-item p { color: var(--text-muted); font-size: 14px; line-height: 1.6; }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form input,
.contact-form textarea {
  width: 100%; padding: 16px 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 160, 23, 0.12);
  border-radius: 14px; color: var(--text-light);
  font-size: 15px; font-family: 'DM Sans', sans-serif;
  transition: all 0.3s ease; outline: none;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--gold-primary); background: rgba(212, 160, 23, 0.03); box-shadow: 0 0 0 3px rgba(212, 160, 23, 0.08); }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(168, 159, 143, 0.5); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

/* ===========================
   SEÇÃO SUPORTE (HOME E PÁGINA)
   =========================== */
.support { background: var(--dark); }
.support-page { padding: 80px 60px; background: var(--dark); }

.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-top: 60px; }

/* Na página dedicada de suporte, o hero elimina a necessidade de margem extra */
.support-page .support-grid { margin-top: 0; }

.faq-item { padding: 28px 32px; background: rgba(255, 255, 255, 0.02); border: 1px solid rgba(212, 160, 23, 0.08); border-radius: 16px; cursor: pointer; transition: all 0.3s ease; }
.faq-item:hover { border-color: rgba(212, 160, 23, 0.2); background: rgba(212, 160, 23, 0.03); }
.faq-question { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.faq-question h4 { font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 600; }

.faq-toggle { width: 32px; height: 32px; background: rgba(212, 160, 23, 0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 0.3s ease; }
.faq-toggle svg { width: 16px; height: 16px; color: var(--gold-primary); transition: transform 0.3s ease; }

/* Estado aberto do FAQ: ícone rotaciona e fundo muda para dourado */
.faq-item.open .faq-toggle { background: var(--gold-primary); }
.faq-item.open .faq-toggle svg { color: var(--dark); transform: rotate(45deg); }

.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; }
.faq-item.open .faq-answer { max-height: 200px; padding-top: 18px; }
.faq-answer p { color: var(--text-muted); font-size: 14px; line-height: 1.7; }

.support-cta { margin-top: 60px; padding: 48px; background: linear-gradient(135deg, rgba(212, 160, 23, 0.08), rgba(212, 160, 23, 0.02)); border: 1px solid rgba(212, 160, 23, 0.12); border-radius: 24px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.support-cta h3 { font-family: 'Outfit', sans-serif; font-size: 24px; font-weight: 700; margin-bottom: 8px; }
.support-cta p { color: var(--text-muted); font-size: 15px; }

/* ===========================
   RODAPÉ
   =========================== */
.footer { padding: 60px 60px 30px; background: var(--dark-surface); border-top: 1px solid rgba(212, 160, 23, 0.08); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 40px; }
.footer-brand p { color: var(--text-muted); font-size: 14px; line-height: 1.6; max-width: 320px; margin-top: 16px; }
.footer-links-group h5 { font-family: 'Outfit', sans-serif; font-size: 14px; font-weight: 700; color: var(--gold-primary); margin-bottom: 16px; letter-spacing: 0.5px; }
.footer-links-group a { display: block; color: var(--text-muted); text-decoration: none; font-size: 14px; padding: 4px 0; transition: color 0.3s; }
.footer-links-group a:hover { color: var(--gold-primary); }
.footer-bottom { padding-top: 24px; border-top: 1px solid rgba(212, 160, 23, 0.06); display: flex; justify-content: space-between; align-items: center; }
.footer-bottom p { font-size: 13px; color: var(--text-muted); }

/* ===========================
   PROTEÇÃO DE IMAGENS
   Impede arrastar e selecionar imagens com o mouse
   =========================== */
img {
  -webkit-user-drag: none;
  -khtml-user-drag: none;
  -moz-user-drag: none;
  -webkit-user-select: none;
  user-select: none;
}

/* ===========================
   RESPONSIVIDADE — TABLET (até 1024px)
   =========================== */
@media (max-width: 1024px) {
  /* Oculta a ilustração do painel solar no hero */
  .hero-visual { display: none; }

  /* Quem Somos: empilha foto e texto verticalmente */
  .about-layout { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { height: 300px; }

  /* Contato: empilha informações e formulário verticalmente */
  .contact-layout { grid-template-columns: 1fr; }
}

/* ===========================
   RESPONSIVIDADE — MOBILE (até 768px)
   =========================== */
@media (max-width: 768px) {
  .navbar { padding: 0 20px; }

  /* Menu mobile: oculto por padrão, desliza de cima ao abrir */
  .nav-links {
    position: fixed; top: 80px; left: 0; right: 0;
    background: rgba(26, 26, 26, 0.98);
    flex-direction: column; padding: 24px; gap: 4px;
    transform: translateY(-100%); opacity: 0;
    transition: all 0.4s ease; pointer-events: none;
    border-bottom: 1px solid rgba(212, 160, 23, 0.1);
  }
  .nav-links.open { transform: translateY(0); opacity: 1; pointer-events: all; }
  .nav-links a { width: 100%; text-align: center; padding: 14px; }
  .hamburger { display: flex; }

  /* Reduz padding das seções */
  section { padding: 80px 24px; }
  .hero { padding: 120px 24px 80px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }

  /* Grids passam para coluna única */
  .services-grid { grid-template-columns: 1fr; }
  /* Carousel: botões internos para evitar clipping pelo overflow do body */
  .carousel-btn { width: 36px; height: 36px; }
  .carousel-btn.prev { left: 4px; }
  .carousel-btn.next { right: 4px; }
  .carousel-wrapper .services-grid { padding: 8px 44px; }
  .about-values { grid-template-columns: 1fr; }
  .contact-form-row { grid-template-columns: 1fr; }
  .support-cta { flex-direction: column; text-align: center; }

  /* Ajustes das páginas internas */
  .page-hero { padding: 120px 24px 60px; }
  .services-page { padding: 60px 24px; }
  .services-cta { margin: 0 24px 60px; padding: 40px 28px; flex-direction: column; text-align: center; }
  .about-page { padding: 60px 24px; }
  .about-cta { margin: 0 24px 60px; padding: 40px 28px; flex-direction: column; text-align: center; }
  .contact-page { padding: 60px 24px; }
  .support-page { padding: 60px 24px; }
  .support-grid { grid-template-columns: 1fr; }

  /* Rodapé */
  .footer { padding: 60px 24px 30px; }
  .footer-top { flex-direction: column; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }

  /* WhatsApp: menor em mobile */
  .whatsapp-float { width: 52px; height: 52px; bottom: 20px; right: 20px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* ===========================
   BOTÃO FLUTUANTE WHATSAPP
   =========================== */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  width: 62px;
  height: 62px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  animation: waPulse 2.5s ease-out infinite;
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.55);
  animation: none;
}
.whatsapp-float svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}
@keyframes waPulse {
  0%   { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.35); }
  70%  { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0); }
}
