@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style-type: none;
  text-decoration: none;
  font-family: var(--poppins);
  border: none;
}

:root {
  --poppins: "Poppins", sans-serif;
  --montserrat: "Montserrat", sans-serif;
  --azul-claro: #2959a3;
  --fade: 900ms;
  --hero-h: 100dvh;
  --pad: clamp(34px, 5vw, 28px);
  --accent: #0b6fa8;
  --accent-light: #19a7d6;
  --bg: #f3f7f9;
  --card: #ffffff;
  --muted: #6b7580;
  --img-size: 420px;
  --card-width: 360px;
}

/* ====== HEADER (placa metálica + listras) ====== */
.header {
  position: fixed;
  top: 0;
  z-index: 50;
  color: var(--text);
  background:
    radial-gradient(
      120% 180% at 10% 0%,
      rgba(0, 47, 255, 0.07) 0 30%,
      transparent 60%
    ),
    radial-gradient(
      120% 180% at 90% 0%,
      rgba(0, 4, 255, 0.05) 0 25%,
      transparent 60%
    ),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 60%, #08090a 100%);
  border-bottom: 1px solid #1a1b1f;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 10px 25px rgba(0, 0, 0, 0.35);
  color: #d6d6d6;
  transition: 1s;
}

.header::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background:
    radial-gradient(
        circle at 1px 1px,
        rgba(255, 255, 255, 0.06) 1px,
        transparent 1.6px
      )
      0 0/10px 10px,
    repeating-linear-gradient(
      135deg,
      rgba(255, 255, 255, 0.05) 0 2px,
      rgba(0, 0, 0, 0.15) 2px 8px
    );
  mix-blend-mode: overlay;
}

.header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.25),
    transparent
  );
  opacity: 0.4;
  pointer-events: none;
}

/* ====== NAV DESKTOP (padrão) ====== */
.nav2 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 20px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand img {
  height: 52px;
  display: block;
  filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.4));
}

/* Menu horizontal no desktop */
.nav__links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

/* Dropdown hover area */
.dropdown::before {
  content: "";
  position: absolute;
  left: -8px;
  right: -8px;
  top: 100%;
  height: 12px;
  z-index: 0;
}

/* Hover do dropdown desktop */
.dropdown:hover .dropdown-content {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* Links principais + botão dropdown */
.nav__links > a,
.dropbtn {
  position: relative;
  padding: 10px 14px;
  border-radius: 10px;
  min-height: 44px;
  font:
    500 14px/1.2 ui-sans-serif,
    system-ui,
    Segoe UI,
    Roboto,
    Ubuntu;
  color: var(--muted);
  text-decoration: none;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0)
  );
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition:
    color 0.2s,
    border-color 0.2s,
    transform 2s ease;
}

.nav__links > a:hover,
.dropbtn:hover {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.14);
}

/* underline industrial */
.nav__links > a::after,
.dropbtn::after {
  content: "";
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 6px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav__links > a:hover::after,
.dropbtn:hover::after {
  transform: scaleX(1);
}

/* Dropdown */
.dropdown {
  position: relative;
}
.dropbtn {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  background: transparent;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.04),
    rgba(255, 255, 255, 0)
  );
}
.dropdown-content {
  position: absolute;
  top: calc(100% + 6px);
  z-index: 20;
  left: 0;
  min-width: 190px;
  padding: 20px;
  display: none;
  background: linear-gradient(180deg, #0f1013, #0b0c0e);
  border: 1px solid #1d2026;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  transition: 2s;
}
.dropdown:hover .dropdown-content {
  display: block;
  transition: 2s;
}
.dropdown-content a {
  display: block;
  padding: 12px 12px;
  border-radius: 8px;
  color: #cfd3d8;
  text-decoration: none;
  transition: 2s;
}
.dropdown-content a:hover {
  background: rgba(255, 255, 255, 0.04);
  color: #fff;
  transition: 2s;
}

/* CTA industrial */
.cta {
  margin-left: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  color: #111;
  font-weight: 700;
  background: linear-gradient(180deg, #4a6bff, var(--accent));
  border: 1px solid #ff9b1c;
  box-shadow:
    0 4px 16px rgba(0, 17, 255, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
}
.cta:hover {
  filter: brightness(1.05);
  transform: translateY(-1px);
}

/* ====== HAMBURGUER (aparece só no mobile) ====== */
.hamburger {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  border-radius: 10px;
  cursor: pointer;
}
.hamburger span {
  display: block;
  height: 2px;
  margin: 7px 9px;
  background: #d6d6d6;
  transition:
    transform 0.25s ease,
    opacity 0.25s ease;
}

/* Animação de X (opcional) */
.hamburger.is-active span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ====== LAYOUT GLOBAL / HERO / ETC (SEU CÓDIGO ORIGINAL) ====== */

header {
  display: flex;
  align-items: center;
  position: fixed;
  height: 30px;
  justify-content: space-around;
  padding: 50px;
  width: 100vw;
}

.box-links {
  display: flex;
}

.box-links li {
  padding: 20px;
}

.txt-hero {
  margin-left: 10%;
}

.txt-hero h1 {
  font-size: 5em;
  max-width: 1000px;
  color: white;
}

.txt-hero p {
  font-size: 1.2em;
  max-width: 900px;
  color: white;
  font-family: var(--montserrat);
}

.hero {
  position: relative;
  height: var(--hero-h);
  width: 100%;
  overflow: hidden;
  isolation: isolate;
  background: #000;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: 0;
  transform: scale(1.02);
  transition:
    opacity var(--fade) ease,
    transform var(--fade) ease;
}
.slide.is-active {
  opacity: 1;
  transform: scale(1);
}
.slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  transform: scale(1.05);
}
.overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to top,
      rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.25) 35%,
      transparent 55%
    ),
    radial-gradient(
      70rem 30rem at 50% -10%,
      rgba(255, 211, 99, 0.12),
      transparent 60%
    );
  pointer-events: none;
}

.caption {
  position: relative;
  text-align: center;
  max-width: min(1100px, 92vw);
  margin: 0 auto;
  padding: 0 1rem;
  z-index: 2;
}
.caption h1 {
  font-size: clamp(2rem, 5vw + 1rem, 5rem);
  line-height: 1.05;
  margin: 0 0 0.6rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: white;
}

.caption2 h1 {
  font-size: clamp(2rem, 5vw + 1rem, 5rem);
}

.caption p {
  font-size: clamp(1rem, 1.2vw + 0.6rem, 1.35rem);
  color: #ffffffcc;
  margin: 0;
}

/* setas */
.nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 22px;
  display: grid;
  margin-left: 16px;
  place-items: center;
  cursor: pointer;
  z-index: 3;
  transition:
    background 0.2s,
    transform 0.2s,
    border-color 0.2s;
}
.nav:hover {
  background: rgba(0, 0, 0, 0.7);
  border-color: #ffffff55;
  transform: translateY(-50%) scale(1.05);
}
.nav.prev {
  left: var(--pad);
}
.nav.next {
  right: var(--pad);
}

.dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 3;
}
.dots button {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  border: 0;
  background: #ffffff55;
  cursor: pointer;
  padding: 0;
  transition: all 0.25s;
}
.dots button[aria-current="true"] {
  width: 28px;
  background: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
  .slide,
  .nav {
    transition: none;
  }
}

/* CTA bg */
.cta2 {
  position: relative;
  background: url("../imagens/cta.jpg") center center / cover no-repeat;
  min-height: clamp(320px, 65vh, 640px);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
  padding: clamp(20px, 4vw, 40px);
}

.cta2__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  width: 100%;
}

.cta2 h3 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.cta2 p {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: #f3f3f3;
  margin-bottom: 1.5rem;
  max-width: 60ch;
}

.button {
  background: linear-gradient(90deg, #4813f3 -12.74%, #040b71 56.76%);
  border: 2px solid transparent;
  padding: 12px 28px;
  border-radius: 10px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
  width: fit-content;
}

.button a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  display: inline-block;
}

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

@media (max-width: 768px) {
  .cta2 {
    justify-content: center;
    text-align: center;
    background-position: center top;
    border-radius: 0;
  }

  .cta2::before {
    background: rgba(0, 0, 0, 0.45);
  }

  .cta2__content {
    max-width: 600px;
    margin-inline: auto;
  }

  .button {
    width: 100%;
    max-width: 300px;
    margin-inline: auto;
  }
}

.top-page {
  width: 100%;
  height: 600px;
  background-image: url(../imagens/img-top-escada.jpg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-page2 {
  background-image: url(../imagens/Piscina/banner.jpg);
  background-position: center;
}

.top-page3 {
  background-image: url(../imagens/1.png);
}

.top-page4 {
  background-image: url(../imagens/banner-bancada\ 1.png);
}

.top-page5 {
  background-image: url(../imagens/bg-area-gourmet\ 1.png);
}

.top-page6 {
  background-image: url(../imagens/imagem-hero1.jpg);
  background-position: center;
}

.top-page h1 {
  font-size: 5em;
  font-weight: 600;
  text-align: center;
  max-width: 900px;
  background: linear-gradient(176deg, #415dfd81, #5ba2ff, #ffffff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.scrolled {
  transition: 1s;
  background: black;
}

.icon2 {
  position: fixed;
  bottom: 60px;
  right: 30px;
  font-size: 28px;
  background: #2757a2;
  color: #ffffff;
  border-radius: 50%;
  padding: 3px;
  width: 70px;
  height: 70px;
  text-decoration: none;
  z-index: 100;
  transition: 1s;
}

.icon2 i {
  margin-left: 12px;
  font-size: 1.5em;
}

.button-zap {
  display: flex;
  align-items: center;
}

@media screen and (max-width: 768px) {
  .top-page {
    height: 400px;
  }

  .top-page h1 {
    font-size: 3em;
    text-align: center;
    padding: 0 10px;
  }
}

.bx-01 {
  display: flex;
  justify-content: space-around;
  padding: 40px;
}

.txt-bx-01 {
  margin-top: 40px;
}

.txt-bx-02 {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.txt-bx-02 h1 {
  max-width: 600px;
  text-align: center;
}

.txt-bx-02 p {
  max-width: 600px;
  text-align: center;
}

.txt-bx-01 h1 {
  max-width: 600px;
}

.txt-bx-02 h1 {
  max-width: 700px;
}

.txt-bx-01 p {
  max-width: 600px;
}

.txt-bx-02 p {
  max-width: 750px;
}

.txt-bx-01 p:nth-child(2) {
  margin-top: 20px;
  margin-bottom: 20px;
}

.txt-bx-01 h1 {
  font-size: 3em;
  color: var(--azul-claro);
  font-weight: 600;
}

.img-box-02 {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.img-area {
  margin: 40px auto;
}

.nav2 {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
}

/* ====== MENU MOBILE (drawer) ====== */
@media (max-width: 980px) {
  .hamburger {
    display: block;
  }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    width: 70vw;
    max-width: 280px;
    height: 100vh;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(6px);
    padding: 4.5rem 1.5rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    z-index: 1100;

    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      transform 0.35s ease,
      opacity 0.2s ease,
      visibility 0s linear 0.35s;
  }

  .nav__links.is-open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
      transform 0.35s ease,
      opacity 0.2s ease;
  }

  .nav__links a {
    color: #fff;
    text-decoration: none;
  }

  .cta {
    justify-self: stretch;
    text-align: center;
  }
}

/* Botão X dentro do menu mobile */
.menu-close {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Esconde X no desktop */
@media (min-width: 769px) {
  .menu-close {
    display: none;
  }
}

/* IMPORTANTE: no desktop, ignora o hidden colocado pelo JS */
@media (min-width: 981px) {
  .nav__links[hidden] {
    display: flex !important;
  }
}

/* PAGE ABOUT US */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.section {
  padding: 60px 20px;
}

.section-title {
  font-size: 2.5em;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #3498db, #2c3e50);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 60px;
}

.about-text {
  font-size: 1.1em;
  line-height: 1.8;
  color: #ffffffa2;
}

.about-text p {
  margin-bottom: 20px;
}

.about-image {
  height: 400px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4em;
}

.about-image img {
  border-radius: 12px;
}

.values {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.value-card {
  background: white;
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.value-icon {
  font-size: 3em;
  color: #3498db;
  margin-bottom: 20px;
}

.value-card h3 {
  font-size: 1.5em;
  margin-bottom: 15px;
  color: #2c3e50;
}

.value-card p {
  color: #666;
  line-height: 1.6;
}

.stats {
  background: linear-gradient(135deg, #0f39f8 0%, #4b51a2 100%);
  padding: 80px 20px;
  color: white;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  text-align: center;
}

.stat-item h3 {
  font-size: 3.5em;
  margin-bottom: 10px;
  font-weight: bold;
}

.stat-item p {
  font-size: 1.2em;
  opacity: 0.9;
}

.timeline {
  position: relative;
  padding: 40px 0;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
}

.timeline-year {
  text-align: right;
  padding-right: 40px;
}

.timeline-year h3 {
  font-size: 2.5em;
  color: #3498db;
  margin-bottom: 10px;
}

.timeline-content {
  padding-left: 40px;
  border-left: 3px solid #3498db;
}

.timeline-content h4 {
  font-size: 1.5em;
  margin-bottom: 10px;
  color: #2c3e50;
}

.timeline-content p {
  color: #666;
  line-height: 1.6;
}

.team {
  background: #f8f9fa;
  color: #2c3e50;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.team-member {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-photo {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 4em;
}

.team-info {
  padding: 25px;
  text-align: center;
}

.team-info h4 {
  font-size: 1.3em;
  margin-bottom: 5px;
  color: #2c3e50;
}

.team-info p {
  color: #3498db;
  margin-bottom: 15px;
}

.team-info span {
  color: #666;
  font-size: 0.9em;
}

.cta {
  background: #2c3e50;
  color: white;
  padding: 80px 20px;
  text-align: center;
}

.cta h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
}

.cta p {
  font-size: 1.2em;
  margin-bottom: 30px;
  opacity: 0.9;
}

.btn {
  display: inline-block;
  padding: 15px 40px;
  background: #3498db;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1.1em;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #2980b9;
}

@media (max-width: 768px) {
  .header h1 {
    font-size: 2em;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .timeline-year {
    text-align: left;
    padding-right: 0;
    padding-left: 40px;
    border-left: 3px solid #3498db;
  }

  .section-title {
    font-size: 2em;
  }
}

/* STYLE LINHA DO TEMPO */

.section {
  margin: 36px auto;
  padding: 20px;
}
.section-title {
  text-align: center;
  margin-bottom: 18px;
  font-size: 3em;
}

/* GRID: colunas fixas para garantir espaço reservado para cada marco */
.timeline-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(var(--img-size), 1fr));
  gap: 28px;
  align-items: start;
  position: relative;
  padding: 28px;
  border-radius: 12px;
  grid-auto-rows: auto;
  color: #222;
}

/* --- IMAGENS (linha 2) --- */
.item-image {
  justify-self: center;
  width: var(--img-size);
  height: var(--img-size);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(16, 24, 40, 0.07);
  display: block;
  align-self: center;
  border-radius: 6px;
  padding: 20px;
}
.item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- ANO (linha 3) --- */
.item-year {
  justify-self: center;
  font-weight: 900;
  font-size: 32px;
  color: var(--accent);
  margin-top: 8px;
}

/* --- A LINHA HORIZONTAL (uma célula que ocupa todas as colunas) --- */
.line-row {
  grid-column: 1 / -1;
  height: 12px;
  margin-top: 8px;
  margin-bottom: 8px;
  border-radius: 8px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent-light) 100%
  );
  position: relative;
  align-self: center;
  z-index: 1;
}

/* Cada marcador (dot) fica em sua coluna, sobre a linha */
.line-dot {
  justify-self: center;
  align-self: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--card);
  border: 6px solid rgba(255, 255, 255, 0.92);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  margin-top: -24px; /* posiciona sobre a linha */
  z-index: 2;
}

/* --- CARD com ano e descrição (linha 5) --- */
.item-card {
  justify-self: center;
  width: var(--card-width);
  background: var(--card);
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 16px 40px rgba(16, 24, 40, 0.06);
  text-align: left;
  align-self: start;
}
.item-card .year {
  font-size: 22px;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 8px;
}
.item-card h4 {
  margin: 0 0 6px;
  font-size: 16px;
}
.item-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

/* MOBILE: quando a grid reduz para 1 coluna, transformamos o visual para pilha linear */
@media (max-width: 720px) {
  .timeline-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .item-image {
    width: 120px;
    height: 120px;
    margin-left: 24px;
  }
  .item-year {
    justify-self: start;
    margin-left: 24px;
  }
  .line-row {
    /* faz a linha vertical à esquerda */
    height: auto;
    width: 6px;
    margin: 0;
    border-radius: 8px;
    background: linear-gradient(
      180deg,
      var(--accent) 0%,
      var(--accent-light) 100%
    );
    justify-self: start;
    margin-left: 48px;
    min-height: 40px;
  }
  .line-dot {
    margin-top: -10px;
    justify-self: start;
    margin-left: 40px;
  }
  .item-card {
    justify-self: start;
    margin-left: 48px;
    width: calc(100% - 70px);
  }
}
.vertical-line {
  position: absolute;
  top: -439%;
  left: 0%;
  transform: translateX(-50%);
  width: 12px;
  height: 1108px;
  background: linear-gradient(
    90deg,
    var(--accent) 0%,
    var(--accent-light) 100%
  );
  z-index: 1;
  border-radius: 8px;
}
.vertical-line2 {
  left: 420%;
  top: -86%;
  height: 911px;
}

/* ==== ANIMAÇÕES ==== */

.ep-animate {
  opacity: 0;
  transform: translateY(22px);
  filter: blur(2px);
}

.ep-animate--visible {
  animation: epFadeUp 0.9s ease forwards;
}

/* Use delays diferentes para efeito cascata */
.ep-animate-delay-1 {
  animation-delay: 0.05s;
}
.ep-animate-delay-2 {
  animation-delay: 0.15s;
}
.ep-animate-delay-3 {
  animation-delay: 0.25s;
}
.ep-animate-delay-4 {
  animation-delay: 0.35s;
}
.ep-animate-delay-5 {
  animation-delay: 0.45s;
}

@keyframes epFadeUp {
  0% {
    opacity: 0;
    transform: translateY(22px);
    filter: blur(2px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}
