/* ==========================================================================
   automacao-inteligente-empresas/style.css
   Overrides e estilos específicos da LP /automacao-inteligente-empresas
   (base de estilos: /apps/style.css)
   ========================================================================== */

/* ─── Header sticky (override de cor fora da identidade) ──────────────────── */
.sticky-header {
  background: rgba(41, 24, 88, .92) !important; /* #291858 brand */
  border-bottom: 1px solid rgba(220, 252, 23, .12);
}

/* Sticky logo — sempre horizontal completo em todas as larguras
   (override do collapse-to-icon em mobile herdado de /apps/style.css). */
.sticky-header .sticky-logo__icon,
.sticky-header.visible .sticky-logo__icon { display: none !important; }
.sticky-header .sticky-logo__full,
.sticky-header.visible .sticky-logo__full { display: block !important; }

/* ─── Eyebrow canônico (vem do design-system/styleguide.html) ─────────────── */
.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.2;
}
.eyebrow--purple { color: #6941C6; }
.eyebrow--lime { color: #DCFC17; }

/* ─── Botões CTA inline (override de .btn--yellow width:100% do base) ────── */
.why-us-inner .btn--yellow,
.process-cta .btn--yellow,
.faq-cta .btn--yellow,
.final-cta-card .btn--yellow {
  width: auto !important;
  padding: 14px 32px !important;
  border-radius: 10px;
  font-size: 15px;
  display: inline-block;
}

.process-cta,
.faq-cta {
  text-align: center;
  margin-top: 40px;
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */
.hero {
  background: #291858;
  padding: 24px 0 0;
  position: relative;
  overflow: hidden;
}
.hero::before {
  display: none !important;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('/img/fundo%20servidor.webp') center/cover no-repeat;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(105, 65, 198, .24), transparent 30%),
    linear-gradient(90deg, rgba(41, 24, 88, .94) 0%, rgba(41, 24, 88, .82) 46%, rgba(41, 24, 88, .60) 100%);
  z-index: 1;
  pointer-events: none;
}
.hero-nav,
.hero-body {
  position: relative;
  z-index: 2;
}
.hero-nav {
  padding: 0 0 8px;
}
.hero-body {
  padding: 32px 0 56px;
}
.hero-eyebrow {
  color: #DCFC17;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  line-height: 1.2;
  margin-bottom: 12px;
}
.hero-title {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-desc {
  color: rgba(255, 255, 255, .88);
  font-size: 1rem;
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 28px;
}
.hero-left {
  max-width: 600px;
}
.hero-right {
  flex-shrink: 0;
}

/* ─── Hero: pills de valor ─────────────────────────────────────────────────── */
.hero-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(220, 252, 23, .35);
  border-radius: 999px;
  background: rgba(220, 252, 23, .06);
  color: #fff;
  font-size: .85rem;
  font-weight: 500;
}
.hero-pill i {
  color: #DCFC17;
  font-size: .85rem;
}

/* ─── Proof Strip — pílula glass entre hero e clientes ────────────────────── */
.proof-strip {
  background: #291858;
  padding: 0 0 28px;
  position: relative;
  z-index: 2;
}
.proof-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(220, 252, 23, .05) 0%, rgba(255, 255, 255, .02) 100%);
  border: 1px solid rgba(220, 252, 23, .18);
  border-radius: 16px;
  padding: 22px 32px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, .18);
}
.proof-strip-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
  position: relative;
}
.proof-strip-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -12px;
  top: 18%;
  height: 64%;
  width: 1px;
  background: rgba(220, 252, 23, .18);
}
.proof-strip-num {
  font-size: 1.9rem;
  font-weight: 800;
  color: #DCFC17;
  line-height: 1.05;
  letter-spacing: -.02em;
}
.proof-strip-label {
  font-size: .82rem;
  color: rgba(255, 255, 255, .72);
  font-weight: 500;
  line-height: 1.35;
}

/* ─── Hero Clients ────────────────────────────────────────────────────────── */
section.hero-clients {
  background: #291858;
  padding: 32px 0 64px !important;
  margin-top: 0 !important;
  border-top: none !important;
  position: relative;
}
section.hero-clients::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(220, 252, 23, .35) 50%, transparent 100%);
}
section.hero-clients .clients-title {
  margin-bottom: 24px;
  color: rgba(255, 255, 255, .5);
  font-size: .78rem;
  letter-spacing: .14em;
}

/* ─── Dor / Problema ───────────────────────────────────────────────────────── */
.pain {
  background: #faf8fd;
  padding: 80px 0;
}
.pain-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.pain-inner h2 {
  font-size: 2rem;
  color: #101828;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 24px;
}
.pain-inner p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #344054;
  margin-bottom: 16px;
}
.pain-inner p:last-child { margin-bottom: 0; }

/* ─── Solução / Benefits — Light Card pattern ─────────────────────────────── */
.benefits {
  background: #ffffff;
  padding: 80px 0;
}
.benefits h2 {
  text-align: center;
  font-size: 2rem;
  color: #101828;
  font-weight: 700;
  line-height: 1.25;
  margin: 0 auto 12px;
  max-width: 720px;
}
.benefits .intro {
  text-align: center;
  color: #667085;
  font-size: 1rem;
  max-width: 640px;
  margin: 0 auto 56px;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.benefit-tile {
  background: #ffffff;
  border: 1px solid rgba(105, 65, 198, .14);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 4px 14px rgba(16, 24, 40, .04);
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.benefit-tile::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: #DCFC17;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
  border-radius: 12px 12px 0 0;
}
.benefit-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(43, 29, 86, .08);
  border-color: rgba(105, 65, 198, .22);
}
.benefit-tile:hover::before { transform: scaleX(1); }
.benefit-icon {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: rgba(105, 65, 198, .08);
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.benefit-tile h3 {
  color: #101828;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
}
.benefit-tile p {
  color: #475467;
  font-size: .875rem;
  line-height: 1.6;
  margin: 0;
}

/* ─── Perfil Ideal — dark section com checklist ───────────────────────────── */
.why-us {
  background: linear-gradient(135deg, #291858 0%, #3a2478 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.why-us::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(220, 252, 23, .06) 0%, transparent 70%);
  pointer-events: none;
}
.why-us .container { position: relative; z-index: 1; }
.why-us-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.why-us-inner h2 {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 36px;
}
.why-us-list {
  list-style: none;
  padding: 0;
  margin: 0 auto 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
  width: fit-content;
  max-width: 100%;
}
.why-us-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .9);
  font-size: 1rem;
  line-height: 1.55;
  font-weight: 500;
}
.why-us-list li::before {
  content: '✓';
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(220, 252, 23, .18);
  color: #DCFC17;
  font-size: 11px;
  font-weight: 800;
  line-height: 24px;
  text-align: center;
  margin-top: 1px;
}

/* ─── Processo — overrides 3 e 5 colunas ──────────────────────────────────── */
.process-grid--3 {
  grid-template-columns: repeat(3, 1fr) !important;
}
.process-grid--5 {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important;
  gap: 20px !important;
}
.process-grid--5 .process-item {
  padding: 28px 18px;
}
.process-grid--5 .process-item h3 {
  font-size: .98rem;
  line-height: 1.35;
}
.process-grid--5 .process-item p {
  font-size: .85rem;
  line-height: 1.55;
}

/* ─── Approach (TECH) — light minimalist com checklist ────────────────────── */
.approach {
  background: #ffffff;
  padding: 80px 0;
}
.approach-inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.approach-inner h2 {
  font-size: 2rem;
  color: #101828;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 20px;
}
.approach-inner p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #475467;
  margin: 0 auto 28px;
  max-width: 660px;
}
.approach-list {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  text-align: left;
  max-width: 640px;
}
.approach-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #faf8fd;
  border: 1px solid rgba(105, 65, 198, .12);
  border-radius: 10px;
  padding: 14px 16px;
  color: #344054;
  font-size: .92rem;
  font-weight: 500;
  line-height: 1.45;
}
.approach-list li i {
  color: #6941C6;
  font-size: 14px;
  flex-shrink: 0;
}

/* ─── Contato (formulário) ────────────────────────────────────────────────── */
.contact {
  background: linear-gradient(135deg, #291858 0%, #3a2478 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.contact::before {
  content: '';
  position: absolute;
  top: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(220, 252, 23, .06) 0%, transparent 70%);
  pointer-events: none;
}
.contact .container { position: relative; z-index: 1; }
.contact-info {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}
.contact-title {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 16px;
}
.contact-sub {
  color: rgba(255, 255, 255, .82);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 36px;
}
.contact-info .contact-details {
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
  align-items: flex-start;
}

/* ─── CTA final ───────────────────────────────────────────────────────────── */
.final-cta {
  background: linear-gradient(145deg, #291858 0%, #1e1347 100%);
  padding: 80px 0;
}
.final-cta-card {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 48px 40px;
  background: linear-gradient(145deg, rgba(80, 57, 140, .2), rgba(41, 24, 88, .35));
  border: 1px solid rgba(220, 252, 23, .2);
  border-radius: 20px;
}
.final-cta-card h2 {
  color: #fff;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 18px;
}
.final-cta-card p {
  color: rgba(255, 255, 255, .82);
  font-size: 1.02rem;
  line-height: 1.6;
  margin-bottom: 28px;
}
.final-cta-card .btn { display: inline-block; }

/* ─── Overrides de tokens herdados de /apps/style.css ─────────────────────── */
.process, .proof, .faq, .footer { background: #faf8fd; }
.process { padding: 80px 0; }
.faq { padding: 80px 0; }
.process-title,
.faq-title {
  font-size: 2rem !important;
  font-weight: 700;
  color: #101828;
  line-height: 1.25;
  text-align: center;
}
.process-subtitle {
  font-size: 1rem;
  color: #667085;
  text-align: center;
  margin-top: 12px;
  margin-bottom: 48px;
  padding: 0;
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
}
.faq-title { margin-bottom: 40px; }
.form-card { border-radius: 20px; }

/* ─── Proof section ───────────────────────────────────────────────────────── */
.proof { padding: 80px 0; }
.proof .container {
  align-items: center !important;
  padding-top: 0 !important;
  gap: 48px;
}
.proof-img img {
  margin-bottom: 0 !important;
  border-radius: 12px;
  max-width: 100%;
}
.proof-text {
  padding: 0 !important;
}
.proof-text h2 {
  font-size: 1.85rem !important;
  font-weight: 700;
  color: #101828;
  margin-bottom: 16px;
  line-height: 1.25;
}
.proof-text p {
  font-size: 1rem !important;
  line-height: 1.7;
  color: #475467;
  margin-bottom: 14px;
}
.proof-text p:last-child { margin-bottom: 0; }
.proof-text strong { color: #101828; font-weight: 700; }

/* ─── Media section — case Petrobras ─────────────────────────────────────── */
.media { padding: 80px 0; background: #ffffff; }
.media-inner {
  border-radius: 16px;
  background: #faf8fd;
  border: 1px solid rgba(105, 65, 198, .1);
  overflow: hidden;
}
.media-headline {
  font-size: 1.5rem !important;
  line-height: 1.3;
  color: #101828;
  margin-bottom: 16px;
}

/* ─── FAQ canônico — <details>/<summary> ──────────────────────────────────── */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.faq-item {
  border: 1px solid #eaecf0;
  border-radius: 12px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color .18s ease;
}
.faq-item[open] {
  border-color: rgba(105, 65, 198, .22);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  font-family: Manrope, sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #101828;
  cursor: pointer;
  list-style: none;
  gap: 12px;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 20px;
  font-weight: 400;
  color: #6941C6;
  flex-shrink: 0;
  transition: transform .2s ease;
}
details[open] > .faq-question::after {
  transform: rotate(45deg);
}
.faq-answer {
  padding: 0 20px 18px;
  font-family: Manrope, sans-serif;
  font-size: 14px;
  color: #344054;
  line-height: 1.7;
}
.faq-answer p { margin: 0; }

/* ─── Responsivo ──────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  .process-grid--5 {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}

@media (max-width: 900px) {
  .proof-strip-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .proof-strip-item::after { display: none; }
  .proof-strip-num { font-size: 1.6rem; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid--3 { grid-template-columns: 1fr !important; }
  .process-grid--5 { grid-template-columns: repeat(2, 1fr) !important; }
  .approach-list { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .pain, .benefits, .why-us, .approach, .final-cta { padding: 56px 0; }
  .pain-inner h2, .benefits h2, .why-us-inner h2, .approach-inner h2 { font-size: 1.6rem; }
  .benefits h2 { font-size: 1.5rem; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .final-cta-card { padding: 36px 24px; }
  .final-cta-card h2 { font-size: 1.5rem; }
  .why-us-inner h2 { font-size: 1.5rem; }
  .proof-strip { padding: 20px 0; }
  .proof-strip-num { font-size: .9rem; }
}

@media (max-width: 480px) {
  .benefits-grid { grid-template-columns: 1fr; }
  .process-grid--5 { grid-template-columns: 1fr !important; }
  .proof-strip-grid { grid-template-columns: 1fr; gap: 16px; }
  .proof-strip-item::after { display: none !important; }
}
