/* =========================================
   ENERGONYX — PREMIUM INSTITUTIONAL STYLES
   ========================================= */

:root {
  --bg-primary: #0B0D10;
  --bg-surface: #111318;
  --bg-elevated: #161920;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(200, 190, 170, 0.5);
  --text-primary: #F3F4F6;
  --text-secondary: #9CA3AF;
  --text-muted: #6B7280;
  --accent-warm: #C2A68D;
  --accent-cool: #6B8A9E;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.25rem, 1.1rem + 0.6vw, 1.5rem);
  --text-xl: clamp(1.75rem, 1.5rem + 1.1vw, 2.5rem);

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-xxl: 8rem;

  --radius-md: 8px;
  --radius-lg: 12px;
  --ease-out: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-fast: 0.2s;
  --transition-smooth: 0.5s;
  --container-max: 1140px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-main);
  font-weight: 400;
  font-size: var(--text-base);
  line-height: 1.6;
  letter-spacing: 0.01em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3 {
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

p {
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  max-width: 68ch;
}

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

ul {
  list-style: none;
}

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

:focus-visible {
  outline: 2px solid var(--accent-warm);
  outline-offset: 4px;
  border-radius: 4px;
}

/* Layout */
.container {
  width: min(92%, var(--container-max));
  margin-inline: auto;
  padding-inline: var(--space-sm);
}

section {
  padding-block: var(--space-xxl);
  position: relative;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-lg);
  align-items: start;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--space-md);
}

.media-grid,
.institutional-layout {
  align-items: center;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(11, 13, 16, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-md) 0;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-primary);
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: var(--space-lg);
}

.nav-links a {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 0.5em 0.8em;
  border-radius: var(--radius-md);
  cursor: pointer;
  font-size: 0.9rem;
}

/* Buttons */
.btn-group {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  align-items: center;
  margin-top: var(--space-sm);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85em 2em;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: var(--text-sm);
  cursor: pointer;
  transition: all var(--transition-fast) var(--ease-out);
  min-height: 48px;
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-warm), #9E856E);
  color: var(--bg-primary);
  border: none;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(158, 133, 110, 0.3);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.04);
  border-color: var(--text-secondary);
}

/* Components */
.divider {
  width: 40px;
  height: 2px;
  background: var(--accent-cool);
  margin-block: var(--space-sm);
}

.center-text {
  text-align: center;
  margin-inline: auto;
}

.center-text p {
  margin-inline: auto;
}

.trust-strip {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  padding: var(--space-lg) 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  margin-top: var(--space-xl);
}

.trust-item {
  font-size: var(--text-sm);
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.02em;
}

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: var(--space-md);
  transition: transform var(--transition-fast) var(--ease-out), border-color var(--transition-fast);
}

.card:hover {
  transform: translateY(-4px);
  border-color: var(--border-focus);
}

.pill-title {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-warm);
  margin-bottom: 0.4rem;
  font-weight: 600;
  display: block;
}

.process-step {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--border-subtle);
  align-items: baseline;
}

.process-step:last-child {
  border-bottom: none;
}

.step-num {
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent-warm);
  min-width: 55px;
  flex-shrink: 0;
}

.step-text {
  color: var(--text-secondary);
}

.audience-tag {
  display: inline-block;
  padding: 0.5em 1em;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 100px;
  font-size: var(--text-sm);
  margin: 0.35rem 0.35rem 0 0;
}

details {
  border-bottom: 1px solid var(--border-subtle);
  padding: var(--space-md) 0;
}

summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--text-primary);
  list-style: none;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-md);
}

summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform var(--transition-fast);
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  margin-top: var(--space-xs);
}

footer {
  padding: var(--space-xl) 0 var(--space-lg);
  border-top: 1px solid var(--border-subtle);
  text-align: center;
}

.footer-brand {
  font-size: 1.1rem;
  color: var(--text-secondary);
}

.footer-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0.5rem 0 1.5rem;
}

.footer-mail {
  font-size: 0.85rem;
  padding: 0.6em 1.4em;
}

.footer-copy {
  margin-top: var(--space-lg);
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Hero */
#hero {
  padding-block: 0;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--bg-primary);
}

.hero-content {
  position: relative;
  z-index: 2;
  min-height: min(100svh, 900px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 8rem;
  padding-bottom: var(--space-xxl);
}

.hero-content h1 {
  max-width: 12ch;
}

.hero-content > p {
  max-width: 62ch;
}

.support-line {
  border-left: 2px solid var(--accent-cool);
  padding-left: 0.8rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0.5rem 0 2rem;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  margin: 0;
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  filter: brightness(0.55) contrast(1.08) saturate(0.9);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(circle at 50% 45%, rgba(107, 138, 158, 0.16), transparent 32%),
    linear-gradient(180deg, rgba(11,13,16,0.18) 0%, rgba(11,13,16,0.58) 55%, rgba(11,13,16,0.96) 100%);
}

/* Visuals */
.section-visual {
  margin: 0;
  min-height: 360px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.section-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.08) brightness(0.92);
  transition: filter var(--transition-smooth), transform 0.8s var(--ease-out);
}

.section-visual:hover img {
  transform: scale(1.02);
  filter: contrast(1.12) brightness(0.96);
}

.pillar-bg {
  position: relative;
  height: 220px;
  margin-bottom: var(--space-lg);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
}

.pillar-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.82;
  filter: contrast(1.05) brightness(0.82);
}

.institutional-stack {
  display: grid;
  gap: var(--space-md);
}

.timing-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 360px;
}

.contact-section {
  background: var(--bg-surface);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  max-width: 100%;
  padding: 2.2rem 0 2rem !important;
}

.contact-note {
  margin-top: var(--space-md);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  cursor: pointer;
  margin-top: var(--space-md);
  transition: all var(--transition-fast);
  font-size: 1.1rem;
  line-height: 1;
}

.back-to-top:hover {
  background: rgba(255,255,255,0.06);
  color: var(--text-primary);
  border-color: var(--text-muted);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--transition-smooth) var(--ease-out), transform var(--transition-smooth) var(--ease-out);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 {
  transition-delay: 0.1s;
}

.delay-2 {
  transition-delay: 0.2s;
}

.delay-3 {
  transition-delay: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .reveal {
    transition: none;
    opacity: 1;
    transform: none;
  }

  .section-visual img {
    filter: none;
    transition: none;
  }

  .card:hover {
    transform: none;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--bg-surface);
    padding: var(--space-md);
    gap: var(--space-sm);
    border-bottom: 1px solid var(--border-subtle);
    display: none;
  }

  .nav-links.open {
    display: flex;
  }

  .menu-toggle {
    display: block;
  }

  .grid-2,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  section {
    padding-block: var(--space-xl);
  }

  #hero {
    padding-block: 0;
  }

  .hero-content {
    min-height: auto;
    padding-top: 7rem;
    padding-bottom: var(--space-xl);
  }

  .section-visual,
  .timing-card {
    min-height: 280px;
  }

  h1 {
    font-size: var(--text-xl);
  }

  .trust-strip {
    flex-direction: column;
    gap: var(--space-sm);
  }
}

@media (max-width: 480px) {
  :root {
    --space-xxl: 5rem;
  }

  .btn-group {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .hero-content {
    padding-top: 6.5rem;
    padding-bottom: var(--space-xl);
  }

  .pillar-bg {
    height: 180px;
  }
}



/* SE QUISER UMA VERSÃO AINDA MAIS FECHADA, use esta linha no lugar da section acima */
section {
  padding-block: 3rem;
  position: relative;
}





/* SE QUISER O AJUSTE MÍNIMO, basta trocar só isso */
.hero-content h1 {
  max-width: 820px;
}





/* HERO MAIS LARGO + HEADLINE EM UMA LINHA */
#hero .hero-content {
  width: min(96%, 1320px);
}

.hero-content h1 {
  max-width: none;
  font-size: clamp(2.8rem, 4.2vw, 4.6rem);
  line-height: 1.05;
  letter-spacing: -0.03em;
  white-space: nowrap;
}

.hero-content > p {
  max-width: 980px;
}

/* TABLET / NOTEBOOK MENOR */
@media (max-width: 1100px) {
  .hero-content h1 {
    white-space: normal;
    font-size: clamp(1rem, 3.2vw, 3rem);
  }
}

/* MOBILE */
@media (max-width: 768px) {
  #hero .hero-content {
    width: min(92%, var(--container-max));
  }

  .hero-content h1 {
    max-width: 100%;
    white-space: normal;
    font-size: clamp(1.8rem, 7vw, 2.4rem);
    line-height: 1.08;
  }

  .hero-content > p {
    max-width: 100%;
  }
}







/* APAGUE TODOS os blocos anteriores de .hero-content h1 e #hero .hero-content h1
   e deixe SOMENTE este bloco no CSS */

#hero .hero-content {
  width: min(96%, 1400px);
}

#hero .hero-content h1 {
  max-width: none;
  font-size: clamp(1.9rem, 2.8vw, 2.8rem) !important;
  line-height: 1.08;
  letter-spacing: -0.02em;
  white-space: nowrap !important;
}

/* texto abaixo do título */
#hero .hero-content > p {
  max-width: 980px;
}

/* se a tela for menor, quebra normal para não estourar */
@media (max-width: 1200px) {
  #hero .hero-content h1 {
    font-size: clamp(1.8rem, 2.4vw, 2.4rem) !important;
    white-space: normal !important;
  }
}

@media (max-width: 768px) {
  #hero .hero-content {
    width: min(92%, var(--container-max));
  }

  #hero .hero-content h1 {
    font-size: clamp(1.8rem, 7vw, 2.3rem) !important;
    white-space: normal !important;
    max-width: 100%;
  }

  #hero .hero-content > p {
    max-width: 100%;
  }
}






/* APAGUE O BLOCO ANTERIOR E COLE SOMENTE ESTE NO FINAL DO styles.css */
/* MAIS PERCEPTÍVEL, MAIS RÁPIDO E CONTINUA SEGURO */
/* COBRE TODAS AS IMAGENS QUE EXISTEM NO HTML ATUAL: HERO, SECTION-VISUAL E PILLAR-BG */

.hero-visual,
.section-visual,
.pillar-bg {
  overflow: hidden;
}

/* HERO */
.hero-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: transform, filter;
  filter: brightness(0.70) contrast(1.10) saturate(0.98);
  animation: heroImageFlow 5s ease-in-out infinite alternate;
}

.hero-overlay {
  animation: heroOverlayFlow 10s ease-in-out infinite alternate;
}

/* IMAGENS INTERNAS */
.section-visual,
.pillar-bg {
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.section-visual img,
.pillar-bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform-origin: center center;
  backface-visibility: hidden;
  will-change: transform, filter;
}

.section-visual img {
  filter: brightness(0.96) contrast(1.06) saturate(1.03);
  animation: sectionImageFlow 3s ease-in-out infinite alternate;
}

.pillar-bg img {
  opacity: 0.91;
  filter: brightness(0.85) contrast(1.08) saturate(1.01);
  animation: pillarImageFlow 4s ease-in-out infinite alternate;
}

/* ANIMAÇÕES */
@keyframes heroImageFlow {
  0% {
    transform: scale(1.05) translate3d(0, 0, 0);
    filter: brightness(0.70) contrast(1.10) saturate(0.98);
  }
  50% {
    transform: scale(1.09) translate3d(-1.2%, -0.8%, 0);
    filter: brightness(0.76) contrast(1.13) saturate(1.01);
  }
  100% {
    transform: scale(1.12) translate3d(1.1%, 0.7%, 0);
    filter: brightness(0.73) contrast(1.11) saturate(0.99);
  }
}

@keyframes heroOverlayFlow {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.89;
  }
  100% {
    opacity: 0.95;
  }
}

@keyframes sectionImageFlow {
  0% {
    transform: scale(1.02) translate3d(0, 0, 0);
    filter: brightness(0.96) contrast(1.06) saturate(1.03);
  }
  50% {
    transform: scale(1.045) translate3d(0, -4px, 0);
    filter: brightness(1) contrast(1.08) saturate(1.05);
  }
  100% {
    transform: scale(1.06) translate3d(0.7%, 0, 0);
    filter: brightness(0.98) contrast(1.07) saturate(1.04);
  }
}

@keyframes pillarImageFlow {
  0% {
    transform: scale(1.03) translate3d(0, 0, 0);
    opacity: 0.91;
    filter: brightness(0.85) contrast(1.08) saturate(1.01);
  }
  50% {
    transform: scale(1.07) translate3d(-0.8%, -0.5%, 0);
    opacity: 0.96;
    filter: brightness(0.90) contrast(1.10) saturate(1.03);
  }
  100% {
    transform: scale(1.09) translate3d(0.9%, 0.5%, 0);
    opacity: 0.93;
    filter: brightness(0.87) contrast(1.09) saturate(1.02);
  }
}

/* ACESSIBILIDADE */
@media (prefers-reduced-motion: reduce) {
  .hero-visual img,
  .hero-overlay,
  .section-visual img,
  .pillar-bg img {
    animation: none;
  }
}



/* AJUSTE DA SEÇÃO CONTACT */
/* CENTRALIZA OS BOTÕES E GARANTE RESPONSIVIDADE */

.contact-section .btn-group {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  width: 100%;
  margin: 0 auto;
}

.contact-section .btn-group .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  white-space: normal;
  min-height: 56px;
  padding: 0.95rem 1.5rem;
  width: auto;
  max-width: 100%;
}

@media (max-width: 768px) {
  .contact-section .btn-group {
    flex-direction: column;
    align-items: center;
  }

  .contact-section .btn-group .btn {
    width: 100%;
    max-width: 420px;
  }
}

@media (max-width: 480px) {
  .contact-section .btn-group {
    gap: 0.85rem;
  }

  .contact-section .btn-group .btn {
    min-height: 52px;
    padding: 0.9rem 1.1rem;
    max-width: 100%;
  }
}




/* DIMINUI UM POUCO A ALTURA FINAL DO HERO */
/* COLE NO FINAL DO styles.css */

#hero {
  min-height: clamp(620px, 88vh, 820px);
  padding-bottom: clamp(2.5rem, 4vw, 4rem);
}

#hero .hero-content {
  padding-bottom: 0;
}

#hero .trust-strip {
  margin-top: clamp(1.4rem, 2.4vw, 2rem);
  margin-bottom: 0;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  #hero {
    min-height: auto;
    padding-bottom: 2.5rem;
  }

  #hero .trust-strip {
    margin-top: 1.25rem;
  }
}





/* CENTRALIZAR TEXTO DA SEÇÃO POSITIONING */
/* COLE NO FINAL DO styles.css */

#positioning {
  text-align: center;
}

#positioning h2,
#positioning p {
  margin-left: auto;
  margin-right: auto;
}

#positioning h2 {
  max-width: 920px;
}

#positioning p {
  max-width: 980px;
}

#positioning p[style] {
  max-width: 900px;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  #positioning h2 {
    max-width: 100%;
  }

  #positioning p,
  #positioning p[style] {
    max-width: 100%;
  }
}






/* CENTRALIZAR TÍTULO DA SEÇÃO PILLARS */
/* COLE NO FINAL DO styles.css */

#pillars h2 {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  max-width: 980px;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  #pillars h2 {
    max-width: 100%;
  }
}



/* DIMINUI PELA METADE O ESPAÇO ENTRE POSITIONING E PILLARS */
/* COLE NO FINAL DO styles.css */

#positioning {
  padding-bottom: clamp(2rem, 3vw, 3rem);
}

#positioning p:last-child {
  margin-bottom: 0;
}

#pillars {
  padding-top: clamp(2rem, 3vw, 3rem);
}

#pillars h2 {
  margin-top: 0;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  #positioning {
    padding-bottom: 1.5rem;
  }

  #pillars {
    padding-top: 1.5rem;
  }
}




/* AJUSTE PRECISO DAS ÂNCORAS DO MENU */
/* COLE NO FINAL DO styles.css */

:root {
  --anchor-offset: 96px;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--anchor-offset);
}

#hero,
#positioning,
#pillars,
#timing,
#contact {
  scroll-margin-top: var(--anchor-offset);
}

@media (max-width: 768px) {
  :root {
    --anchor-offset: 84px;
  }
}

@media (max-width: 480px) {
  :root {
    --anchor-offset: 76px;
  }
}









/* REDUZ O ESPAÇO ENTRE CONTACT E FOOTER */
/* CIMA: -70% */
/* BAIXO: -50% */
/* COLE NO FINAL DO styles.css */

#contact.contact-section {
  padding-bottom: clamp(1.2rem, 1.8vw, 2rem);
}

#contact .contact-note {
  margin-bottom: 0;
}

footer {
  padding-top: clamp(2rem, 3vw, 3rem);
}

footer .container {
  padding-top: 0;
}

.footer-brand {
  margin-top: 0;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  #contact.contact-section {
    padding-bottom: 1rem;
  }

  footer {
    padding-top: 1.5rem;
  }
}




/* MELHORAR DESTAQUE E CENTRALIZAR A FRASE DO FOOTER */
/* COLE NO FINAL DO styles.css */

.footer-subtitle {
  display: table;
  margin: 0 auto 1.25rem auto;
  padding: 0.7rem 1.2rem;
  text-align: center;
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(226, 232, 240, 0.92);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.03) 0%,
    rgba(255, 255, 255, 0.015) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

@media (max-width: 768px) {
  .footer-subtitle {
    display: block;
    width: fit-content;
    max-width: 100%;
    padding: 0.65rem 1rem;
    margin: 0 auto 1rem auto;
    font-size: 0.98rem;
  }
}

@media (max-width: 480px) {
  .footer-subtitle {
    width: 100%;
    border-radius: 16px;
    padding: 0.75rem 0.9rem;
  }
}









/* AJUSTE DO FOOTER PARA MANTER A SETA AO LADO DO EMAIL */
/* COLE NO FINAL DO styles.css */
/* SE JÁ EXISTIR BLOCO ANTERIOR DO FOOTER, ESTE DEVE SOBRESCREVER */

footer .container {
  display: grid;
  grid-template-columns: auto auto;
  grid-template-areas:
    "brand brand"
    "subtitle subtitle"
    "mail top"
    "copy copy";
  justify-content: center;
  justify-items: center;
  align-items: center;
  column-gap: 0.9rem;
  row-gap: 0.9rem;
}

.footer-brand {
  grid-area: brand;
  margin: 0;
}

.footer-subtitle {
  grid-area: subtitle;
  margin: 0 auto 0.2rem auto;
}

.footer-mail {
  grid-area: mail;
  margin: 0;
}

.back-to-top {
  grid-area: top;
  margin: 0;
  align-self: center;
  justify-self: start;
}

.footer-copy {
  grid-area: copy;
  margin-top: 0.25rem;
  text-align: center;
}

/* RESPONSIVO */
@media (max-width: 768px) {
  footer .container {
    column-gap: 0.75rem;
    row-gap: 0.75rem;
  }
}

@media (max-width: 480px) {
  footer .container {
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "subtitle"
      "mail"
      "top"
      "copy";
  }

  .back-to-top {
    justify-self: center;
  }
}




/* FAQ — abertura e fechamento com deslizamento suave */
/* COLE NO FINAL DO styles.css */

html {
  interpolate-size: allow-keywords;
}

#faq details {
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}

#faq summary {
  cursor: pointer;
  font-weight: 500;
  color: var(--text-primary);
  list-style: none;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: var(--space-md);
  padding: 1.4rem 0;
}

#faq summary::after {
  content: "+";
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform 0.35s ease, color 0.35s ease;
}

#faq details[open] summary::after {
  transform: rotate(45deg);
  color: var(--text-primary);
}

#faq details p {
  margin: 0;
  padding: 0 0 1.35rem;
  max-width: 62ch;
  color: var(--text-secondary);
  opacity: 0;
  transform: translateY(-10px);
  transition:
    opacity 0.35s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

#faq details[open] p {
  opacity: 1;
  transform: translateY(0);
}

/* animação suave do bloco interno */
#faq details::details-content {
  display: block;
  block-size: 0;
  overflow: clip;
  opacity: 0;
  transition:
    block-size 0.45s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.3s ease,
    content-visibility 0.45s allow-discrete;
}

#faq details[open]::details-content {
  block-size: auto;
  opacity: 1;
}

/* acabamento visual */
#faq details:hover summary {
  color: #ffffff;
}

#faq details:hover summary::after {
  color: #ffffff;
}

@media (prefers-reduced-motion: reduce) {
  #faq summary::after,
  #faq details p,
  #faq details::details-content {
    transition: none;
  }
}






#faq {
  padding-bottom: 0.8rem !important;
}

#contact.contact-section {
  margin-top: 0 !important;
}

@media (max-width: 768px) {
  .contact-section {
    padding: 1.4rem 0 1.4rem !important;
  }

  #faq {
    padding-bottom: 0.5rem !important;
  }
}





/* APAGUE TODOS os blocos antigos de:
   .section-visual
   .section-visual img
   #institutional .section-visual
   #institutional .section-visual img
   E DEIXE SOMENTE ESTE BLOCO:
*/

.section-visual {
  position: relative !important;
  display: block !important;
  width: 100% !important;
  height: 360px !important;
  min-height: 360px !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
  border-radius: var(--radius-lg) !important;
  overflow: hidden !important;
  border: 1px solid var(--border-subtle) !important;
  background: var(--bg-surface) !important;
}

.section-visual img {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  width: 100% !important;
  height: 100% !important;
  min-width: 100% !important;
  min-height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  object-position: center center !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* se quiser só na seção do problem */
#problem .section-visual {
  height: 360px !important;
  min-height: 360px !important;
}

#problem .section-visual img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

/* se quiser só na seção institutional */
#institutional .section-visual {
  height: 360px !important;
  min-height: 360px !important;
}

#institutional .section-visual img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}

@media (max-width: 768px) {
  .section-visual,
  #problem .section-visual,
  #institutional .section-visual {
    height: 280px !important;
    min-height: 280px !important;
  }
}




/* HERO — MAIS DESTAQUE PARA TODO O TEXTO */

#hero .hero-overlay {
  background:
    linear-gradient(
      90deg,
      rgba(4, 7, 10, 0.78) 0%,
      rgba(4, 7, 10, 0.66) 34%,
      rgba(4, 7, 10, 0.50) 60%,
      rgba(4, 7, 10, 0.74) 100%
    ),
    linear-gradient(
      180deg,
      rgba(4, 7, 10, 0.24) 0%,
      rgba(4, 7, 10, 0.58) 52%,
      rgba(4, 7, 10, 0.94) 100%
    ),
    radial-gradient(
      circle at 22% 34%,
      rgba(0, 0, 0, 0.30) 0%,
      transparent 42%
    );
}

#hero .hero-content h1 {
  color: #ffffff;
  text-shadow:
    0 2px 10px rgba(0, 0, 0, 0.55),
    0 8px 28px rgba(0, 0, 0, 0.40);
}

#hero .hero-content > p {
  color: rgba(243, 244, 246, 0.94);
  text-shadow:
    0 2px 8px rgba(0, 0, 0, 0.50),
    0 6px 18px rgba(0, 0, 0, 0.32);
}

#hero .support-line {
  color: rgba(243, 244, 246, 0.90);
  border-left-color: rgba(194, 166, 141, 0.95);
  background: rgba(7, 10, 14, 0.32);
  padding: 0.9rem 1rem;
  border-radius: 10px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

#hero .trust-strip {
  background: rgba(7, 10, 14, 0.26);
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  border-bottom: 1px solid rgba(255, 255, 255, 0.10);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

#hero .trust-item {
  color: rgba(243, 244, 246, 0.88);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.42);
}

@media (max-width: 768px) {
  #hero .support-line {
    padding: 0.8rem 0.9rem;
  }
}



/* FAZ O BACKGROUND FICAR SÓ NO TAMANHO DO TEXTO */

#hero .support-line {
  display: inline-block;
  align-self: flex-start;
  width: fit-content;
  max-width: min(100%, 980px);
  padding: 0.9rem 1rem;
  margin: 0.5rem 0 2rem;
  border-left: 2px solid rgba(194, 166, 141, 0.95);
  border-radius: 10px;
  background: rgba(7, 10, 14, 0.32);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  color: rgba(243, 244, 246, 0.90);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}





/* DUPLICAR IMAGENS EM SECTIONS SOMENTE PARA MOBILE */
/* DESKTOP FICA INTACTO */

.problem-visual-desktop,
.institutional-visual-desktop {
  display: block;
}

.mobile-image-section {
  display: none;
}

@media (max-width: 768px) {
  #problem .problem-visual-desktop,
  #institutional .institutional-visual-desktop {
    display: none !important;
  }

  .mobile-image-section {
    display: block;
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  .mobile-image-section .container {
    width: min(92%, var(--container-max));
    margin-inline: auto;
    padding-inline: var(--space-sm);
  }

  .mobile-image-section .mobile-section-visual {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: 280px !important;
    min-height: 280px !important;
    margin: 0 !important;
    border-radius: var(--radius-lg) !important;
    overflow: hidden !important;
    border: 1px solid var(--border-subtle) !important;
    background: var(--bg-surface) !important;
  }

  .mobile-image-section .mobile-section-visual img {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
  }

  /* ESPAÇAMENTO ESPECÍFICO SE QUISER AJUSTAR CADA UMA DEPOIS */
  .mobile-problem-image-section {
    margin-top: -0.5rem;
  }

  .mobile-institutional-image-section {
    margin-top: -0.5rem;
  }
}

@media (max-width: 480px) {
  .mobile-image-section {
    padding-top: 0.8rem !important;
    padding-bottom: 0.8rem !important;
  }

  .mobile-image-section .mobile-section-visual {
    height: 240px !important;
    min-height: 240px !important;
  }
}



/* DESKTOP */
.problem-visual-desktop,
.institutional-visual-desktop {
  display: block;
}

.mobile-image-section {
  display: none;
}

/* MOBILE - SEM DUPLICIDADE */
@media (max-width: 768px) {
  .problem-visual-desktop,
  .institutional-visual-desktop {
    display: none !important;
  }

  .mobile-image-section {
    display: block !important;
  }
}






/* TRAVA DEFINITIVA DESKTOP X MOBILE */

.problem-visual-desktop,
.institutional-visual-desktop {
  display: block !important;
}

.mobile-image-section {
  display: none !important;
}

@media (max-width: 768px) {
  .problem-visual-desktop,
  .institutional-visual-desktop {
    display: none !important;
  }

  .mobile-image-section {
    display: block !important;
  }
}





































































