/* ============================================================
   EPAEPA — LANDING PAGE
   Design inspirado no conceito "Kinetic Glass"
   Arquivo: style.css
   ============================================================ */


/* ============================================================
   01. VARIÁVEIS / DESIGN SYSTEM
   ============================================================ */

:root {
  --background: #0d1422;
  --background-soft: #111b2c;
  --surface: #172235;
  --surface-light: #1d2a40;

  --foreground: #f4f4f1;
  --muted: #aeb6c3;

  --primary: #d4a548;
  --primary-dark: #b88f3e;

  --accent: #d4a548;

  --border: rgba(244, 244, 241, 0.10);
  --border-strong: rgba(244, 244, 241, 0.18);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --container: 1180px;

  --font-display: "Anton", "Arial Narrow", sans-serif;
  --font-body: "Inter", Arial, sans-serif;
  --font-mono: "JetBrains Mono", monospace;

  --shadow: 0 24px 70px rgba(0, 0, 0, 0.22);

  --transition: 260ms ease;
}


/* ============================================================
   02. RESET
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  min-width: 320px;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}


/* ============================================================
   03. ELEMENTOS GERAIS
   ============================================================ */

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: 120px 0;
  border-top: 1px solid var(--border);
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.22em;
  line-height: 1.4;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
}

h1,
h2 {
  line-height: 0.90;
  letter-spacing: -0.025em;
}

h1 span,
h2 span {
  color: var(--primary);
}


/* ============================================================
   04. BOTÕES
   ============================================================ */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  transition:
    transform var(--transition),
    background var(--transition),
    color var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--primary);
  color: #101723;
}

.button-primary:hover {
  background: #e9b857;
}


/* ============================================================
   05. HEADER
   ============================================================ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;

  border-bottom: 1px solid var(--border);

  background: rgba(13, 20, 34, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}

.logo {
  color: var(--foreground);
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: -0.02em;
}


.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;

  color: var(--muted);
  font-size: 14px;
}

.main-nav a {
  position: relative;
  transition: color var(--transition);
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;

  height: 1px;
  background: var(--primary);

  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition);
}

.main-nav a:hover {
  color: var(--foreground);
}

.main-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  background: transparent;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 5px 0;
  background: var(--foreground);
}


/* ============================================================
   06. HERO
   ============================================================ */

.hero {
  position: relative;
  overflow: hidden;
  padding-top: 70px;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-bottom: 64px;
}

.hero-copy {
  max-width: 760px;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(58px, 9vw, 122px);
}

.hero-description {
  max-width: 560px;
  margin-top: 30px;

  color: var(--muted);
  font-size: 17px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 32px;
}

.text-link {
  color: var(--foreground);
  font-size: 14px;
  font-weight: 600;
}

.text-link span {
  display: inline-block;
  margin-left: 6px;
  color: var(--primary);
  transition: transform var(--transition);
}

.text-link:hover span {
  transform: translateX(5px);
}


/* ============================================================
   07. EFEITOS DECORATIVOS DO HERO
   ============================================================ */

.glow {
  position: absolute;
  z-index: 0;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(110px);
}

.glow-orange {
  top: -120px;
  left: -100px;
  width: 430px;
  height: 430px;
  background: rgba(232, 120, 45, 0.25);
}

.glow-teal {
  top: 35%;
  right: -120px;
  width: 360px;
  height: 360px;
  background: rgba(73, 197, 182, 0.13);
}

.glass-shape {
  position: absolute;
  z-index: 1;
  top: 0;
  height: 100%;
  width: 230px;

  border-right: 1px solid var(--border);
  border-left: 1px solid var(--border);

  background: rgba(255, 255, 255, 0.018);
  pointer-events: none;
  transform: skewX(-12deg);
}

.glass-shape-left {
  left: 6%;
}

.glass-shape-right {
  right: 10%;
}


/* ============================================================
   08. CARROSSEL
   ============================================================ */

.carousel-wrapper {
  position: relative;
  z-index: 4;
}

.carousel {
  position: relative;
  width: 100%;
  height: min(57vw, 720px);
  min-height: 420px;
  overflow: hidden;
}

.carousel-slide {
  position: absolute;
  inset: 0;

  opacity: 0;
  visibility: hidden;

  transition:
    opacity 800ms ease,
    transform 1000ms ease;

  transform: scale(1.035);
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.carousel-slide::after {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(13, 20, 34, 0.35),
      transparent 55%,
      rgba(13, 20, 34, 0.20)
    ),
    linear-gradient(
      0deg,
      rgba(13, 20, 34, 0.62),
      transparent 45%
    );

  content: "";
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-caption {
  position: absolute;
  z-index: 2;
  right: 5%;
  bottom: 9%;

  display: flex;
  align-items: center;
  gap: 18px;
}

.slide-caption span {
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 11px;
}

.slide-caption strong {
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 34px);
  font-weight: 400;
  text-transform: uppercase;
}

.carousel-counter {
  position: absolute;
  z-index: 10;
  top: 24px;
  right: 24px;

  display: flex;
  gap: 7px;

  padding: 9px 13px;
  border: 1px solid var(--border);
  border-radius: 999px;

  background: rgba(23, 34, 53, 0.72);
  backdrop-filter: blur(10px);

  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
}

.carousel-counter span:first-child {
  color: var(--primary);
}

.carousel-controls {
  position: absolute;
  z-index: 20;
  right: 24px;
  bottom: 24px;

  display: flex;
  gap: 8px;
}

.carousel-controls button {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;

  border: 1px solid var(--border);
  border-radius: 50%;

  background: rgba(13, 20, 34, 0.72);
  color: var(--foreground);

  cursor: pointer;
  backdrop-filter: blur(10px);

  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.carousel-controls button:hover {
  border-color: var(--primary);
  background: var(--primary);
  color: #101723;
  transform: translateY(-2px);
}


/* ============================================================
   09. PRODUTOS
   ============================================================ */

.products-section {
  overflow: hidden;
}

.decorative-line {
  position: absolute;
  top: 0;
  right: 5%;
  width: 150px;
  height: 100%;
  border-right: 1px solid var(--border);
  border-left: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.012);
  transform: skewX(-12deg);
  pointer-events: none;
}

.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 50px;
}

.section-heading h2 {
  font-size: clamp(46px, 6vw, 72px);
}

.section-intro {
  max-width: 420px;
  color: var(--muted);
  font-size: 15px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 55px;
}

.product-card {
  padding: 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);

  opacity: 0;
  transform: translateY(25px);

  transition:
    opacity 700ms ease,
    transform 700ms ease,
    border-color var(--transition);
}

.product-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card:hover {
  border-color: rgba(232, 120, 45, 0.40);
  transform: translateY(-7px);
}

.product-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 5 / 6;
  border-radius: 10px;
  background: var(--background);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.product-card:hover .product-image img {
  transform: scale(1.055);
}

.product-number {
  position: absolute;
  top: 12px;
  left: 12px;

  padding: 6px 9px;
  border: 1px solid var(--border);
  border-radius: 999px;

  background: rgba(13, 20, 34, 0.70);
  color: var(--primary);

  font-family: var(--font-mono);
  font-size: 9px;
  backdrop-filter: blur(8px);
}

.product-info {
  padding: 18px 5px 6px;
}

.product-info h3 {
  font-size: 25px;
}

.product-info p {
  min-height: 72px;
  margin-top: 7px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.product-link {
  display: inline-block;
  margin-top: 14px;

  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
}


/* ============================================================
   10. HISTÓRIA
   ============================================================ */

.history-section {
  overflow: hidden;
}

.history-background {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 15% 45%,
      rgba(73, 197, 182, 0.08),
      transparent 30%
    ),
    linear-gradient(
      105deg,
      rgba(255, 255, 255, 0.018),
      transparent 35%
    );
  pointer-events: none;
}

.history-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.history-title h2 {
  max-width: 500px;
  font-size: clamp(55px, 7vw, 92px);
}

.history-text {
  max-width: 570px;
  color: var(--muted);
  font-size: 16px;

  opacity: 0;
  transform: translateY(25px);
  transition: opacity 800ms ease, transform 800ms ease;
}

.history-text.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.history-text p + p {
  margin-top: 22px;
}

.history-highlight {
  color: var(--foreground);
  font-size: 23px;
  line-height: 1.4;
}

.history-signature {
  display: flex;
  align-items: baseline;
  gap: 15px;
  margin-top: 45px;
}

.history-signature strong {
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
}

.history-signature span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}


/* ============================================================
   11. NÚMEROS
   ============================================================ */

.numbers-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.number-item {
  min-height: 190px;
  padding: 35px 28px;

  border-right: 1px solid var(--border);

  opacity: 0;
  transform: translateY(20px);

  transition:
    opacity 700ms ease,
    transform 700ms ease;
}

.number-item:last-child {
  border-right: 0;
}

.number-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.number-item strong {
  display: block;
  color: var(--primary);
  font-family: var(--font-display);
  font-size: clamp(38px, 5vw, 60px);
  font-weight: 400;
  line-height: 1;
}

.number-item span {
  display: block;
  max-width: 150px;
  margin-top: 12px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.08em;
  line-height: 1.5;
  text-transform: uppercase;
}


/* ============================================================
   12. PARA EMPRESAS
   ============================================================ */

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 55px;
  overflow: hidden;

  border: 1px solid var(--border);
  border-radius: var(--radius-md);

  background: var(--border);
}

.value-card {
  min-height: 400px;
  padding: 32px;
  background: var(--surface);

  opacity: 0;
  transform: translateY(20px);

  transition:
    opacity 700ms ease,
    transform 700ms ease,
    background var(--transition);
}

/* Imagem de fundo */
.value-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.2;
  z-index: 0;
}

/* Conteúdo acima da imagem */
.value-card > *:not(img) {
  position: relative;
  z-index: 1;
}


.value-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.value-card:hover {
  background: var(--surface-light);
  img {
    opacity: 0.7;
  }
}

.value-card > span {
  color: var(--primary);
  font-family: var(--font-mono);
  font-size: 12px;
}

.value-card h3 {
  margin-top: 35px;
  font-size: 32px;
}

.value-card p {
  max-width: 330px;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}


/* ============================================================
   13. CONTATO
   ============================================================ */

.contact-section {
  overflow: hidden;
}

.contact-glow {
  position: absolute;
  right: 20%;
  bottom: -220px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(232, 120, 45, 0.17);
  filter: blur(120px);
  pointer-events: none;
}

.contact-section h2 {
  max-width: 850px;
  font-size: clamp(60px, 9vw, 112px);
}

.contact-description {
  max-width: 590px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 16px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 55px;
}

.contact-card {
  position: relative;
  min-height: 170px;
  padding: 25px;

  border: 1px solid var(--border);
  border-radius: var(--radius-md);

  background: var(--surface);

  transition:
    transform var(--transition),
    border-color var(--transition),
    background var(--transition);
}

.contact-card:hover {
  border-color: rgba(232, 120, 45, 0.45);
  background: var(--surface-light);
  transform: translateY(-5px);
}

.contact-label {
  display: block;
  color: var(--accent);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  margin-top: 25px;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 400;
  text-transform: uppercase;
}

.contact-arrow {
  position: absolute;
  right: 22px;
  bottom: 20px;
  color: var(--primary);
  font-size: 20px;
}

.cta-section {
    margin-top: 60px;
    padding: 0 0 110px;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 55px;
    overflow: hidden;
    background: radial-gradient(circle at 90% 20%, rgba(244, 123, 53, .13), transparent 25rem), var(--surface);
    border: 1px solid var(--border);
    border-radius: 24px
}

.cta-box h2 {
    max-width: 720px;
    font-size: clamp(2.3rem, 5vw, 4.3rem)
}

.cta-box p {
    max-width: 650px;
    margin-top: 20px;
    color: var(--text-soft)
}

.cta-button {
    flex-shrink: 0;
    padding: 16px 22px;
    background: var(--primary);
    border-radius: 10px;
    color: #111;
    font-weight: 700;
    transition: var(--transition)
}

.cta-button:hover {
    background: var(--primary-light);
    transform: translateY(-3px)
}


/* ============================================================
   14. FOOTER
   ============================================================ */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.footer-content p,
.footer-content span {
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Redimensionando e ajustando a logo */
.footer-logo {
  max-width: 120px; /* Define a largura máxima reduzida */
  height: auto;     /* Mantém a proporção original de altura */
  opacity: 0.9;     /* Opcional: suaviza a cor para integrar melhor ao fundo */
  transition: opacity 0.3s ease;
}

/* ============================================================
   15. RESPONSIVIDADE — TABLET
   ============================================================ */

@media (max-width: 1000px) {

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .history-grid {
    gap: 55px;
  }

  .numbers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .number-item:nth-child(2) {
    border-right: 0;
  }

  .number-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

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

  .cta-box {
        align-items: flex-start;
        flex-direction: column
    }

}


/* ============================================================
   16. RESPONSIVIDADE — CELULAR
   ============================================================ */

@media (max-width: 700px) {

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 85px 0;
  }


  /* Header mobile */

  .nav-container {
    min-height: 64px;
  }

  .nav-button {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 64px;
    right: 16px;
    left: 16px;

    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;

    padding: 10px;

    border: 1px solid var(--border);
    border-radius: var(--radius-md);

    background: rgba(17, 27, 44, 0.97);
    box-shadow: var(--shadow);
  }

  .main-nav.mobile-open {
    display: flex;
  }

  .main-nav a {
    padding: 13px;
  }

  .main-nav a::after {
    display: none;
  }


  /* Hero */

  .hero {
    padding-top: 50px;
  }

  .hero-content {
    padding-bottom: 45px;
  }

  .hero h1 {
    font-size: clamp(52px, 16vw, 82px);
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .carousel {
    min-height: 360px;
    height: 90vw;
  }

  .carousel-counter {
    top: 15px;
    right: 15px;
  }

  .carousel-controls {
    right: 15px;
    bottom: 15px;
  }

  .carousel-controls button {
    width: 40px;
    height: 40px;
  }

  .slide-caption {
    right: 20px;
    bottom: 75px;
  }

  .slide-caption strong {
    max-width: 190px;
  }


  /* Produtos */

  .section-heading {
    display: block;
  }

  .section-intro {
    margin-top: 25px;
  }

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

  .product-info p {
    min-height: auto;
  }


  /* História */

  .history-grid {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .history-title h2 {
    font-size: clamp(54px, 16vw, 82px);
  }


  /* Números */

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

  .number-item {
    min-height: 150px;
    padding: 28px 18px;
  }

  .number-item:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .number-item:nth-child(even) {
    border-right: 0;
  }

  .number-item:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }

  .number-item strong {
    font-size: 42px;
  }


  /* para empresas */

  .cta-section {
        padding-bottom: 75px
    }

    .cta-box {
        padding: 35px 25px
    }

    .cta-box h2 {
        font-size: 2.5rem
    }

    .cta-button {
        width: 100%;
        text-align: center
    }



  /* Contato */

  .contact-section h2 {
    font-size: clamp(55px, 15vw, 85px);
  }


  /* Footer */

  .footer-content {
    align-items: center;
    flex-direction: column;

  }

}


/* ============================================================
   17. ACESSIBILIDADE / REDUÇÃO DE MOVIMENTO
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }

}
