/* ============================================================
   LoremXP — Design System (fiel ao original)
   Fontes: Teko (headings) + Roboto (corpo)
   Cores:  #1C1E22 dark | #FFAA17 accent | #F4F5F8 light
   ============================================================ */

:root {
  --dark-1:   #1C1E22;
  --dark-2:   #222629;
  --dark-3:   #2A2D33;
  --accent:   #FFAA17;
  --accent-d: #D38F1B;
  --light:    #F4F5F8;
  --mid:      #76797E;
  --white:    #FFFFFF;
  --border:   rgba(255,255,255,0.08);
  --ease:     cubic-bezier(0.25,0.46,0.45,0.94);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--white);
  color: var(--dark-1);
  font-family: 'Roboto', sans-serif;
  font-size: 15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Teko', sans-serif;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.teko { font-family: 'Teko', sans-serif; }
p { color: var(--mid); line-height: 1.75; }

/* ── Layout ── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 4vw, 2rem);
}
.section { padding: clamp(3rem, 7vw, 6rem) 0; }

/* ── Accent dot (after headings) ── */
.dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
  margin-left: 6px;
  vertical-align: middle;
  position: relative;
  top: -4px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.75rem;
  font-family: 'Roboto', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, transform 0.2s;
  text-decoration: none;
  white-space: nowrap;
}
.btn--accent {
  background: var(--accent);
  color: var(--dark-1);
}
.btn--accent:hover {
  background: var(--accent-d);
  transform: translateY(-1px);
}
.btn--white {
  background: var(--white);
  color: var(--dark-1);
}
.btn--white:hover {
  background: var(--accent);
  color: var(--dark-1);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.35);
}
.btn--outline:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--dark-1);
}
.btn--gray {
  background: #52565C;
  color: var(--white);
  border: 1px solid transparent;
}
.btn--gray:hover {
  background: var(--accent);
  color: var(--dark-1);
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  transition: background 0.35s, padding 0.35s;
}
.nav.scrolled {
  background: var(--dark-1);
  padding: 1.1rem 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav__logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}
.nav__logo-img {
  width: 200px;
  height: auto;
  display: block;
}
.hero__logo-img {
  width: clamp(220px, 35vw, 420px);
  height: auto;
  display: block;
}
.footer__logo-img {
  width: 200px;
  height: auto;
  display: block;
  margin-bottom: 0.75rem;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav__links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  transition: color 0.2s;
}
.nav__links a:hover,
.nav__links a.active { color: var(--accent); }

/* Mobile */
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1002;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 1px;
  transition: all 0.3s;
}
.nav__hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__hamburger.open span:nth-child(2) { opacity: 0; }
.nav__hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 720px) {
  .nav__hamburger { display: flex; }
  .nav__links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--dark-1);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    z-index: 1001;
  }
  .nav__links.open { display: flex; }
  .nav__links a { font-size: 1.25rem; }
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  /* FOTO DE FUNDO: adicione a propriedade abaixo com a imagem real:
     background-image: url('../images/hero-bg.jpg');
     background-size: cover;
     background-position: center; */
  background-color: var(--dark-2);
}
.hero__photo {
  /* elemento para receber a foto de fundo */
  position: absolute;
  inset: 0;
  background-color: var(--dark-2);
  /* quando tiver a foto:
     background-image: url('../images/hero-bg.jpg');
     background-size: cover;
     background-position: center top;
     filter: grayscale(1); */
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(28,30,34,0.9) 0%,
    rgba(28,30,34,0.6) 55%,
    rgba(28,30,34,0.3) 100%
  );
}
.hero__decor {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(150px, 22vw, 320px);
  aspect-ratio: 1;
  overflow: hidden;
  pointer-events: none;
}
.hero__decor svg {
  width: 100%;
  height: 100%;
  opacity: 0.85;
}
.hero__content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 6rem;
}
.hero__eyebrow {
  display: block;
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 0.5rem;
  font-family: 'Roboto', sans-serif;
}
.hero__title {
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 500;
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
}
.hero__sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.65);
  max-width: 520px;
  margin-bottom: 2rem;
  line-height: 1.7;
  font-family: 'Roboto', sans-serif;
}
.hero__actions { display: flex; gap: 1rem; flex-wrap: wrap; }

@media (max-width: 720px) {
  .hero { min-height: 80vh; }
  .hero__content { padding: 2rem 0 3rem; }
}

/* Page hero (inner pages) */
.page-hero {
  position: relative;
  padding: 9rem 0 4rem;
  overflow: hidden;
  /* FOTO DE FUNDO por página — mesmo padrão do hero principal */
  background-color: var(--dark-2);
}
.page-hero__photo {
  position: absolute;
  inset: 0;
  background-color: var(--dark-2);
  /* background-image: url('../images/page-bg.jpg');
     background-size: cover;
     background-position: center;
     filter: grayscale(1); */
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,30,34,0.75);
}
.page-hero__decor {
  position: absolute;
  right: 0;
  bottom: 0;
  width: clamp(120px, 18vw, 260px);
  aspect-ratio: 1;
  overflow: hidden;
  pointer-events: none;
}
.page-hero__decor svg { width: 100%; height: 100%; }
.page-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
}
.page-hero__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--white);
  font-weight: 500;
  margin-bottom: 1rem;
}
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-family: 'Roboto', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.breadcrumb a { color: rgba(255,255,255,0.6); transition: color 0.2s; }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: rgba(255,255,255,0.4); }
.breadcrumb-current { color: var(--accent); }

/* ── Section Header ── */
.section-header { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-header--center { text-align: center; }
.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-family: 'Roboto', sans-serif;
  margin-bottom: 0.6rem;
}
.section-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  color: var(--dark-1);
  font-weight: 500;
}
.section-title--white { color: var(--white); }
.section-sub {
  margin-top: 0.75rem;
  font-size: 0.95rem;
  max-width: 500px;
}
.section-header--center .section-sub { margin-inline: auto; }

/* ── Solutions fold (original second fold) ── */
.solutions-fold {
  position: relative;
  padding: 110px 0;
  overflow: hidden;
  background:
    linear-gradient(rgba(28,30,34,0.88), rgba(28,30,34,0.88)),
    url('../img/bg_darkgray.jpg') center center / cover no-repeat;
}
.solutions-fold__cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  align-items: stretch;
  margin-top: 2.5rem;
}
.solutions-fold__intro {
  max-width: calc(75% - 5px);
  margin: 0 auto;
  text-align: center;
}
.solutions-fold__title {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(2.15rem, 4.2vw, 3.125rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
  text-transform: none;
  color: var(--white);
}
.solutions-fold__title span {
  color: var(--accent);
}
.solutions-fold__text {
  margin-top: 1.5rem;
  color: rgba(118,121,126,1);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.8;
  letter-spacing: 0.03em;
}
.solution-card {
  min-height: 198px;
  padding: 32px 28px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 8px;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.solution-card:hover {
  transform: translateY(-3px);
  background: rgba(255,255,255,0.09);
}
.solution-card__top {
  position: relative;
  min-height: 72px;
  margin-bottom: 26px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}
.solution-card__icon {
  width: 68px;
  height: 68px;
  color: var(--accent);
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.solution-card__num {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Teko', sans-serif;
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  line-height: 1;
  font-weight: 500;
  color: rgba(255,255,255,0.05);
  letter-spacing: 0;
  pointer-events: none;
  user-select: none;
}
.solution-card__title {
  max-width: 240px;
  color: var(--white);
  font-family: 'Roboto', sans-serif;
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.12em;
  text-transform: none;
}
@media (max-width: 860px) {
  .solutions-fold {
    padding: 72px 0;
  }
  .solutions-fold__intro {
    max-width: none;
    margin: 0;
    text-align: left;
  }
  .solutions-fold__cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .solution-card {
    padding: 28px 22px;
  }
}
@media (max-width: 560px) {
  .solutions-fold__cards {
    grid-template-columns: 1fr;
  }
}

/* ── About / Intro ── */
.about-fold {
  background:
    linear-gradient(90deg, rgba(244,245,248,0) 0 62%, var(--light) 62% 100%);
}
.intro-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}
@media (max-width: 800px) { .intro-layout { grid-template-columns: 1fr; } }

.intro-img {
  position: relative;
  overflow: visible;
  background: var(--dark-1);
  aspect-ratio: 0.82;
  isolation: isolate;
}
.intro-img::before {
  content: '';
  position: absolute;
  inset: 1.5rem -1.5rem -1.5rem 1.5rem;
  background: var(--accent);
  z-index: -1;
}
.intro-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(28,30,34,0.06), rgba(28,30,34,0.32));
  pointer-events: none;
}
.intro-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(1);
  display: block;
}
.intro-img__placeholder {
  width: 100%;
  height: 100%;
  min-height: 280px;
  background: linear-gradient(135deg, var(--dark-2) 0%, var(--dark-3) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.2);
  font-family: 'Teko', sans-serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.about-imgs {
  position: relative;
  padding-left: 1.75rem;
  padding-bottom: 160px;
}
.about-imgs::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 50%;
  width: 8px;
  background: var(--accent);
  border-radius: 3px;
}
.about-img-main {
  position: relative;
  width: 100%;
  height: 380px;
  overflow: hidden;
}
.about-img-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%);
  display: block;
}
.about-img-sec {
  position: absolute;
  top: calc(380px - 110px);
  left: calc(1.75rem + 18%);
  width: 68%;
  height: 270px;
  overflow: hidden;
}
.about-img-sec img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(100%);
  display: block;
}
@media (max-width: 800px) {
  .about-imgs {
    padding-bottom: 120px;
  }
  .about-img-sec {
    width: 80%;
    left: calc(1.75rem + 10%);
  }
}
.intro-badge {
  position: absolute;
  top: calc(380px - 4.5rem);
  left: 1.75rem;
  z-index: 4;
  background: var(--accent);
  color: var(--dark-1);
  padding: 1.15rem 1.4rem 1rem;
  text-align: center;
  line-height: 1.2;
  font-weight: 700;
  box-shadow: 0 12px 34px rgba(0,0,0,0.22);
}
@media (max-width: 800px) {
  .intro-badge {
    position: static;
    display: inline-block;
    margin: calc(160px + 1.5rem) 0 0 1.75rem;
  }
}
.intro-badge__num {
  display: block;
  font-family: 'Teko', sans-serif;
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.intro-badge__label {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-family: 'Roboto', sans-serif;
}
.intro-text p { margin-bottom: 1.25rem; }
.intro-text p:last-of-type { margin-bottom: 0; }
.intro-text .section-title {
  max-width: 560px;
  line-height: 0.98;
}
.about-checklist {
  list-style: none;
  margin: 1.75rem 0 0;
  padding: 0;
  display: grid;
  gap: 0.4rem;
}
.about-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.75rem;
}
.about-checklist li {
  position: relative;
  padding-left: 1.7rem;
  font-size: 0.94rem;
  color: var(--dark-2);
  font-weight: 500;
}
.about-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 9px;
  height: 9px;
  background: var(--accent);
}

/* ── Stats row ── */
.stats-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2.25rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(28,30,34,0.1);
}
.stat__num {
  font-family: 'Teko', sans-serif;
  font-size: clamp(2.4rem, 5vw, 3.35rem);
  font-weight: 600;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.25rem;
}
.stat__label {
  font-size: 0.8rem;
  color: var(--mid);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 500;
}

/* ── Services ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 4px;
  padding: 2rem 1.75rem;
  transition: box-shadow 0.3s, transform 0.3s, border-color 0.3s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 0.4s var(--ease);
}
.service-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.1); transform: translateY(-3px); border-color: rgba(255,170,23,0.3); }
.service-card:hover::before { transform: scaleY(1); }
.service-card__icon {
  width: 48px;
  height: 48px;
  background: rgba(255,170,23,0.1);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  margin-bottom: 1.25rem;
}
.service-card__title {
  font-size: 1.25rem;
  color: var(--dark-1);
  margin-bottom: 0.75rem;
}
.service-card__text {
  font-size: 0.875rem;
  color: var(--mid);
  line-height: 1.7;
}

/* ── Experience fold ── */
.exp-visual {
  position: relative;
  width: 100%;
  min-height: 560px;
  margin-top: 2.5rem;
}
.exp-img-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: grayscale(1);
}
.exp-img-overlay {
  position: absolute;
  inset: 0;
  background: rgba(28,30,34,0.35);
}
.exp-quote {
  position: absolute;
  z-index: 2;
  right: 5%;
  top: calc(50% - 210px);
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3.5rem;
  margin: 0;
  text-align: center;
}
.exp-quote__decor {
  position: absolute;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #2A2D32;
  top: 5px;
  left: 75px;
}
.exp-visual::before {
  content: '';
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(82, 86, 92, 0.4);
  top: calc(50% - 230px);
  right: calc(5% + 60px);
  z-index: 1;
}
.exp-quote p {
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.2;
  margin: 0;
  color: var(--dark-1);
  letter-spacing: 0.01em;
}
@media (max-width: 768px) {
  .exp-visual {
    min-height: 380px;
    overflow: hidden;
  }
  .exp-visual::before {
    display: none;
  }
  .exp-quote {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    height: auto;
    border-radius: 0;
    margin: 380px 0 0;
    padding: 2.5rem 1.5rem;
  }
  .exp-quote__decor {
    display: none;
  }
  .exp-quote p {
    font-size: 1.2rem;
  }
}

/* ── Energy fold ── */
.energy-fold {
  position: relative;
  background-image: url('../img/third-fold-bg.jpg');
  background-size: cover;
  background-position: center;
}
.energy-fold__overlay {
  display: none;
}
.energy-fold .container {
  position: relative;
  z-index: 1;
}
.energy-fold .section-title {
  color: var(--dark-1);
}
.energy-fold .section-label {
  color: var(--accent);
}
.energy-fold .accordion__panel p {
  color: var(--mid);
}
.energy-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}
.energy-img-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 2rem;
}
.energy-img-small {
  width: 200px;
  height: 115px;
  object-fit: cover;
  filter: grayscale(1);
  border-radius: 10px;
  flex-shrink: 0;
}
.energy-tagline {
  font-family: var(--font-head);
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--mid);
  margin: 0;
}

/* Progress bar */
.energy-progress {
  margin-top: 2rem;
}
.energy-progress__pct {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
  background: var(--accent);
  padding: 0.15rem 0.6rem 0.1rem;
  border-radius: 0;
  margin-left: 30%;
  margin-bottom: 0.5rem;
}
.energy-progress__bar {
  width: 100%;
  height: 14px;
  background: #fff;
  border-radius: 0;
  overflow: hidden;
}
.energy-progress__fill {
  width: 30%;
  height: 100%;
  background: var(--accent);
  border-radius: 0;
}
.energy-progress__caption {
  margin-top: 0.85rem;
  font-size: 1.25rem;
  line-height: 1.65;
  color: var(--dark-1);
}

/* Accordion */
.accordion {
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}
.accordion__item {
  background: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
  overflow: hidden;
}
.accordion__trigger {
  width: 100%;
  background: none;
  border: none;
  color: var(--dark-1);
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-align: left;
  padding: 1rem 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: color 0.2s;
}
.accordion__trigger:hover,
.accordion__trigger[aria-expanded="true"] {
  color: var(--accent);
}
.accordion__icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  stroke: var(--accent);
  transition: transform 0.3s ease;
}
.accordion__trigger[aria-expanded="true"] .accordion__icon {
  transform: rotate(45deg);
}
.accordion__panel {
  overflow: hidden;
  max-height: 0;
  opacity: 0;
  padding: 0 1.25rem;
  transition: max-height 0.4s ease, opacity 0.35s ease, padding 0.4s ease;
}
.accordion__panel.open {
  max-height: 600px;
  opacity: 1;
  padding: 0 1.25rem 1.25rem;
}
.accordion__panel p {
  color: var(--mid);
  font-size: 0.9rem;
  line-height: 1.75;
  margin: 0 0 0.6rem;
}
.accordion__panel p:last-child {
  margin-bottom: 0;
}
@media (max-width: 900px) {
  .energy-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .energy-img-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .energy-img-small {
    width: 100%;
    height: 200px;
  }
}

/* ── Stats fold ── */
.stats-fold {
  position: relative;
  padding-bottom: 0;
}
.stats-fold::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../img/bg_space.jpg');
  background-size: cover;
  background-position: center;
  filter: grayscale(1);
  z-index: 0;
}
.stats-fold__overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 20, 23, 0.78);
  z-index: 1;
}
.stats-fold .container {
  position: relative;
  z-index: 2;
}
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
  margin-bottom: 3.5rem;
}
.stat-num {
  display: block;
  font-family: 'Teko', sans-serif;
  font-size: clamp(2.75rem, 6vw, 5rem);
  font-weight: 500;
  color: #fff;
  line-height: 1;
}
.stat-label {
  display: block;
  font-size: 0.78rem;
  color: var(--mid);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}
.stats-cards {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 1.5rem;
}
.stats-card {
  border-radius: 10px 10px 0 0;
  padding: 2.5rem;
}
.stats-card--accent {
  background: var(--accent);
}
.stats-card--accent p {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--dark-1);
  line-height: 1.3;
  margin: 0;
}
.stats-card--white {
  background: #fff;
}
.stats-card--white p {
  font-size: 1.5625rem;
  color: var(--dark-1);
  line-height: 1.65;
  margin: 0;
}
@media (max-width: 768px) {
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }
  .stats-cards {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 480px) {
  .stats-card--accent p { font-size: 1.4rem; }
  .stats-card--white  p { font-size: 1.1rem; }
}

/* ── Team Cards ── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.5rem;
}
.team-card {
  background: var(--white);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: 0 12px 35px rgba(0,0,0,0.12); }
.team-card:hover .team-card__overlay { opacity: 1; }

.team-card__photo {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--dark-2);
}
.team-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  filter: grayscale(100%);
  transition: filter 0.4s;
}
.team-card:hover .team-card__photo img { filter: grayscale(50%); }

/* Iniciais quando sem foto */
.team-card__initials {
  width: 100%;
  height: 100%;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Teko', sans-serif;
  font-size: 3.5rem;
  font-weight: 500;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.05em;
}
.ti--1 { background: linear-gradient(145deg, #1C3040, #2A4A5A); }
.ti--2 { background: linear-gradient(145deg, #1C2A1C, #2A4A2A); }
.ti--3 { background: linear-gradient(145deg, #2A1C2A, #4A2A4A); }
.ti--4 { background: linear-gradient(145deg, #1C1C2A, #2A2A4A); }
.ti--5 { background: linear-gradient(145deg, #2A1C1C, #4A2A2A); }

.team-card__overlay {
  position: absolute;
  inset: 0;
  background: rgba(255,170,23,0.15);
  opacity: 0;
  transition: opacity 0.3s;
}
.team-card__socials {
  position: absolute;
  bottom: 0.75rem;
  left: 0; right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}
.team-card__social {
  width: 32px;
  height: 32px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-1);
  transition: background 0.2s, color 0.2s;
}
.team-card__social:hover {
  background: var(--accent);
  color: var(--white);
}
.team-card__body {
  padding: 1.1rem 1.25rem 1.25rem;
  background: var(--white);
  border-top: 3px solid var(--accent);
}
.team-card__name {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark-1);
  margin-bottom: 0.15rem;
  text-transform: uppercase;
}
.team-card__role {
  font-size: 0.78rem;
  color: var(--mid);
  font-family: 'Roboto', sans-serif;
  letter-spacing: 0.03em;
  text-transform: none;
}

.team-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 660px) { .team-preview-grid { grid-template-columns: 1fr; } }

.team-cta-row {
  text-align: center;
  margin-top: 2.5rem;
}

/* ── Dark Section (CTA) ── */
.dark-section {
  background: var(--dark-1);
  padding: clamp(3rem, 6vw, 5.5rem) 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.dark-section__title {
  color: var(--white);
  font-size: clamp(1.75rem, 4vw, 3rem);
  max-width: 640px;
  margin: 0 auto 1rem;
}
.dark-section__title .accent { color: var(--accent); }
.dark-section__sub {
  color: rgba(255,255,255,0.55);
  max-width: 440px;
  margin: 0 auto 2rem;
  font-size: 0.95rem;
}
.dark-section__actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ── Contact ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}
@media (max-width: 860px) { .contact-layout { grid-template-columns: 1fr; } }

.contact-info-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}
.contact-info-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  background: var(--accent);
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-1);
}
.contact-info-label {
  display: block;
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  color: var(--dark-1);
  margin-bottom: 0.3rem;
  font-family: 'Roboto', sans-serif;
}
.contact-info-value {
  font-size: 0.92rem;
  color: var(--mid);
  line-height: 1.55;
}
.contact-info-value a { transition: color 0.2s; }
.contact-info-value a:hover { color: var(--accent); }

/* Form */
.form-block { background: var(--light); border-radius: 4px; padding: clamp(1.5rem, 4vw, 2.5rem); }
.form-block__title { font-size: 1.75rem; color: var(--dark-1); margin-bottom: 0.4rem; }
.form-block__sub { font-size: 0.875rem; color: var(--mid); margin-bottom: 1.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 500px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 1rem; }
.form-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--dark-1);
  margin-bottom: 0.4rem;
  font-family: 'Roboto', sans-serif;
}
.form-control {
  width: 100%;
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.12);
  border-radius: 3px;
  padding: 0.75rem 1rem;
  color: var(--dark-1);
  font-family: 'Roboto', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s;
}
.form-control:focus { outline: none; border-color: var(--accent); }
.form-control::placeholder { color: var(--mid); opacity: 0.6; }
textarea.form-control { resize: vertical; min-height: 130px; }
.form-submit-row { margin-top: 1.5rem; }
.form-msg {
  font-size: 0.875rem;
  padding: 0.65rem 1rem;
  border-radius: 3px;
  margin-top: 1rem;
  display: none;
}
.form-msg.success { display: block; background: rgba(33,140,80,0.1); border: 1px solid rgba(33,140,80,0.25); color: #218C50; }
.form-msg.error   { display: block; background: rgba(200,50,50,0.1); border: 1px solid rgba(200,50,50,0.25); color: #C83232; }

/* ── Footer ── */
.footer {
  background: var(--dark-1);
  padding: 4rem 0 1.5rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.75fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; gap: 2rem; } }

.footer__logo {
  font-family: 'Teko', sans-serif;
  font-size: 1.65rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1rem;
}
.footer__logo span { color: var(--accent); }
.footer__desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.75;
  max-width: 260px;
  margin-bottom: 1rem;
}
.footer__socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 0.25rem;
}
.footer__social {
  width: 34px;
  height: 34px;
  background: var(--dark-3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--mid);
  transition: background 0.2s, color 0.2s;
}
.footer__social:hover {
  background: var(--accent);
  color: var(--dark-1);
}
.footer__col-title {
  font-family: 'Teko', sans-serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer__links { display: flex; flex-direction: column; gap: 0.55rem; }
.footer__links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
  transition: color 0.2s;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.footer__links a::before {
  content: '›';
  color: var(--accent);
  font-size: 1.1em;
  line-height: 1;
}
.footer__links a:hover { color: var(--accent); }
.footer__contact-list { display: flex; flex-direction: column; gap: 0.75rem; }
.footer__contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.45);
}
.footer__contact-item svg { flex-shrink: 0; color: var(--accent); margin-top: 2px; }
.footer__contact-item a { transition: color 0.2s; }
.footer__contact-item a:hover { color: var(--accent); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer__copy { font-size: 0.8rem; color: rgba(255,255,255,0.3); }

/* ── Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.reveal.visible   { opacity: 1; transform: none; }
.reveal-d1        { transition-delay: 0.1s; }
.reveal-d2        { transition-delay: 0.2s; }
.reveal-d3        { transition-delay: 0.32s; }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ─── Dobra 7 — Diferenciais ────────────────────────────────── */
.why-fold { background: var(--white); }

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}

.why-steps { display: flex; flex-direction: column; }

.why-step {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid rgba(28,30,34,0.1);
}
.why-step:first-child { border-top: 1px solid rgba(28,30,34,0.1); }

.why-step__num {
  width: 52px;
  height: 52px;
  flex-shrink: 0;
  background: rgba(255,170,23,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Teko', sans-serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.05em;
}

.why-step__title {
  font-family: 'Roboto', sans-serif;
  font-size: 1.625rem;
  font-weight: 400;
  color: var(--dark-1);
  text-transform: none;
  letter-spacing: 0;
  line-height: 1.3;
  padding-top: 0.35rem;
}

.why-intro {
  font-size: 0.9375rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 1.75rem;
}
.why-accent { color: var(--accent); }

.why-media {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: center;
}

.why-photo {
  width: 100%;
  height: 175px;
  object-fit: cover;
  border-radius: 4px;
  filter: grayscale(1);
}

.why-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.why-checklist li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.875rem;
  color: var(--mid);
  font-weight: 700;
}
.why-checklist li::before {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFAA17' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

@media (max-width: 860px) {
  .why-grid  { grid-template-columns: 1fr; }
  .why-media { grid-template-columns: 1fr; }
  .why-photo { height: 220px; }
}

/* ─── Dobra 8 — Equipe de Especialistas ─────────────────────── */
.specialists-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.specialist-card { text-align: center; }

.specialist-card__photo-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.specialist-card__photo {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(1);
  display: block;
}

.specialist-card__socials {
  position: absolute;
  bottom: 0.75rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.specialist-card__social {
  width: 34px;
  height: 34px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark-1);
  transition: background 0.2s, color 0.2s;
}
.specialist-card__social:hover {
  background: var(--accent);
  color: var(--white);
}

.specialist-card__name {
  font-family: 'Roboto', sans-serif;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--dark-1);
  margin-bottom: 0.25rem;
}

.specialist-card__role {
  font-size: 0.8125rem;
  color: var(--mid);
  letter-spacing: 0.04em;
  line-height: 1.4;
}

@media (max-width: 900px) {
  .specialists-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 560px) {
  .specialists-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 380px) {
  .specialists-grid { grid-template-columns: 1fr; }
}

/* ─── Dobra 9 — Quote / Manifesto ───────────────────────────── */
.quote-fold {
  position: relative;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(6rem, 14vw, 10rem);
  min-height: 480px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  text-align: center;
}

.quote-fold__bg {
  position: absolute;
  inset: 0;
  background: url('../img/section9-img.jpg') center 30% / cover no-repeat;
  filter: grayscale(1);
  z-index: 0;
}

.quote-fold__overlay {
  position: absolute;
  inset: 0;
  background: rgba(18, 20, 23, 0.72);
  z-index: 1;
}

.quote-fold__inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.75rem;
}

.quote-fold__icon {
  width: clamp(64px, 12vw, 90px);
  height: clamp(64px, 12vw, 90px);
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quote-fold__text {
  font-family: 'Roboto', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2.75rem);
  font-weight: 400;
  color: var(--white);
  line-height: 1.25;
  font-style: normal;
}

.quote-fold__accent { color: var(--accent); }

/* ─── Dobra 10 — Cultura LoremXP ────────────────────────────── */
.cultura-fold {
  background: url('../img/third-fold-bg.jpg') center center / cover no-repeat;
}

.cultura-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem);
  align-items: start;
}

/* Esquerda */
.cultura-left .section-title { margin-bottom: 1.5rem; }

.cultura-tabs {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(28,30,34,0.12);
  padding-bottom: 0.75rem;
}

.cultura-tab {
  background: none;
  border: none;
  padding: 0;
  font-family: 'Roboto', sans-serif;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--mid);
  cursor: pointer;
  transition: color 0.2s;
  position: relative;
}
.cultura-tab::after {
  content: '';
  position: absolute;
  bottom: -0.76rem;
  left: 0; right: 0;
  height: 2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.2s;
}
.cultura-tab--active,
.cultura-tab:hover { color: var(--accent); }
.cultura-tab--active::after { opacity: 1; }

.cultura-panel p {
  font-size: 1rem;
  color: var(--mid);
  line-height: 1.75;
}

/* Direita */
.cultura-desc {
  font-size: 0.9375rem;
  color: var(--mid);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.cultura-media {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.cultura-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  filter: grayscale(1);
  flex-shrink: 0;
}

.cultura-checklist {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.cultura-checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--mid);
}
.cultura-checklist li::before {
  content: '';
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23FFAA17' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: contain;
}

@media (max-width: 860px) {
  .cultura-grid  { grid-template-columns: 1fr; }
  .cultura-media { flex-direction: column; align-items: flex-start; }
}

/* ── Utilities ── */
.bg-light  { background: var(--light); }
.bg-dark   { background: var(--dark-1); }
.text-accent { color: var(--accent); }
