/* ── HOME PAGE ─────────────────────────────────────────── */

/* Hero */
.hero-home {
  background: linear-gradient(150deg, #060B27 0%, #0C1648 40%, #162880 70%, #1A3A9F 100%);
  padding: 148px 0 80px;
  min-height: 720px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero-home::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 90% at 75% 50%, rgba(37,96,250,.30) 0%, transparent 65%);
  pointer-events: none;
}
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero-text h1 { color: #fff; margin-bottom: 20px; }
.hero-text p  { color: rgba(255,255,255,.7); font-size: 15px; max-width: 500px; }
.hero-ctas { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }

/* Hero visual */
.hero-visual { display: flex; justify-content: center; align-items: center; }
.hero-illustration {
  width: 100%;
  max-width: 480px;
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(37,96,250,0.35));
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-12px); }
}

/* Wave */
.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.hero-wave svg { width: 100%; height: 60px; }

/* Tech Section */
.tech-section { padding-top: 100px; }

.tech-cta {
  margin-top: 28px;
  padding: 24px;
  background: rgba(22,64,214,.04);
  border: 1px solid rgba(22,64,214,.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.tech-cta p {
  font-size: 14px;
  color: rgba(6,11,39,.6);
  line-height: 1.5;
  margin: 0;
  flex: 1;
}
.tech-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.tech-image-wrap { position: relative; }
.tech-image-wrap img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.tech-badge {
  position: absolute;
  bottom: -16px; right: -16px;
  background: #060B27;
  border: 1px solid rgba(37,96,250,.3);
  border-radius: var(--radius);
  padding: 12px 18px;
  display: flex; align-items: center; gap: 10px;
  color: #fff; font-weight: 600; font-size: 14px;
  box-shadow: var(--shadow-lg);
}

/* Cases */
.cases-section { background: var(--light); }
.case-card {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: center;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: 0 4px 32px rgba(37,96,250,.10);
}
.case-text h3 { font-size: 1.65rem; color: #060B27; margin-bottom: 18px; font-weight: 700; line-height: 1.3; }
.case-text p  { color: var(--gray); font-size: 16.5px; line-height: 1.8; }
.case-logo-wrap { margin-bottom: 16px; height: 32px; }
.case-visual img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  border-radius: var(--radius);
}

/* Offerings */
.offerings-section {
  background: #060B27;
  padding: 88px 0;
}
.offerings-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: stretch;
}
.offerings-left {
  display: flex;
  flex-direction: column;
}
.offerings-left h2 { line-height: 1.2; }
.offerings-photo {
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.offerings-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.offering-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.1);
  transition: opacity .2s;
  cursor: pointer;
  text-decoration: none;
}
.offering-item:first-child { border-top: 1px solid rgba(255,255,255,.1); }
.offering-item:hover { opacity: .8; }
.offering-icon-sq {
  width: 48px; height: 48px;
  background: var(--blue);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.offering-text h4 { color: #fff; font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.offering-text p  { color: rgba(255,255,255,.45); font-size: 13px; line-height: 1.5; }
.offering-arrow { color: rgba(255,255,255,.35); font-size: 18px; margin-left: auto; flex-shrink: 0; transition: color .2s; }
.offering-item:hover .offering-arrow { color: var(--yellow); }

/* Cases dots indicator — full width divided equally */
.cases-section .tabs.cases-dots {
  display: flex;
  justify-content: stretch;
  gap: 0;
  margin-top: 24px;
  border-bottom: 1px solid var(--border);
}
.cases-section .tabs.cases-dots .tab-btn {
  flex: 1;
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  transition: color 180ms var(--ease-out), background-color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), opacity 180ms var(--ease-out);
  white-space: nowrap;
  text-align: center;
  margin-bottom: -1px;
}
.cases-section .tabs.cases-dots .tab-btn.active {
  color: var(--blue);
  border-bottom-color: var(--blue);
}
.cases-section .tabs.cases-dots .tab-btn:hover {
  color: var(--blue);
}

/* Cases header with arrows */
.cases-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-bottom: 10px;
}
.cases-nav { display: flex; gap: 10px; flex-shrink: 0; }
.cases-title {
  position: absolute;
  left: 0; right: 0;
  color: var(--dark);
  margin: 0;
  top: 16px;
  text-align: center;
  pointer-events: none;
  letter-spacing: -0.02em;
}
.cases-sub {
  text-align: center;
  color: var(--muted);
  font-size: 15px;
  margin-top: 4px;
  margin-bottom: 16px;
}

/* About preview */
.about-preview { background: var(--light) !important; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Coluna direita — redes sociais + posts Instagram */
.about-social-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.about-social-label {
  font-family: 'Inter', sans-serif;
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 4px;
}

/* Cards de plataforma (Instagram + LinkedIn) */
.platform-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow .2s, border-color .2s;
}
.platform-card-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  text-decoration: none;
  color: var(--dark);
}
.platform-card-link:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(37,96,250,.10);
}
.platform-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.platform-icon-wrap {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(37,96,250,.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.platform-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.platform-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--dark);
}
.platform-handle {
  font-size: 12px;
  color: var(--muted);
}
.platform-follow {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Grade de posts do Instagram — 4 pequenos em linha */
.insta-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 6px;
  padding: 12px;
}
.insta-post {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1;
  display: block;
}
.insta-post img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}
.insta-post:hover img {
  transform: scale(1.06);
}
.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease;
}
.insta-overlay svg {
  opacity: 0;
  transform: scale(.85);
  transition: opacity .25s ease, transform .25s ease;
}
.insta-post:hover .insta-overlay {
  background: rgba(37, 96, 250, .55);
}
.insta-post:hover .insta-overlay svg {
  opacity: 1;
  transform: scale(1);
}
.stats-row { display: flex; gap: 40px; margin-top: 32px; }
.stat-item { display: flex; flex-direction: column; }
.stat-big  { font-size: 2.25rem; font-weight: 900; color: #060B27; }
.stat-desc { font-size: 13px; color: var(--gray); }
.about-images { position: relative; }
.about-img-main {
  width: 100%; aspect-ratio: 4/3; object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-img-sub {
  position: absolute;
  bottom: -24px; left: -24px;
  width: 180px; height: 140px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 4px solid #fff;
  box-shadow: var(--shadow-lg);
}

/* Blog preview */
.blog-preview { background: #fff; }
.blog-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  align-items: stretch;
}
.blog-card-featured {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}
.blog-card-featured img { width: 100%; height: 190px; object-fit: cover; }
.blog-card-featured .blog-card-body { padding: 24px; }
.blog-card-featured h3 { font-size: 1.1rem; color: var(--dark); margin-bottom: 12px; }
.blog-card-featured h3:hover { color: var(--blue); }
.blog-cards-col { display: flex; flex-direction: column; gap: 16px; }
.blog-card-sm {
  flex: 1;
  display: flex; gap: 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s;
}
.blog-card-sm:hover { box-shadow: 0 4px 20px rgba(37,96,250,.10); }
.blog-card-sm img { width: 120px; height: auto; align-self: stretch; object-fit: cover; flex-shrink: 0; }
.blog-card-sm .blog-card-body { padding: 14px 16px 14px 0; display: flex; flex-direction: column; justify-content: center; }
.blog-card-sm h4 { font-size: 14px; color: var(--dark); line-height: 1.4; margin-bottom: 8px; }
.blog-card-sm h4:hover { color: var(--blue); }
.blog-meta { display: flex; gap: 6px; font-size: 12px; color: var(--muted); margin-top: 8px; }

/* Finep section */
.finep-section {
  background: var(--light);
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.finep-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.finep-inner p {
  font-size: 18px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin: 0;
  line-height: 1;
}
.finep-inner img {
  height: 46px;
  object-fit: contain;
  opacity: .85;
  margin-top: -12px;
}

/* About heading & body */
.about-heading {
  color: #060B27;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 800;
  line-height: 1.2;
  margin: 8px 0 0;
}
.about-heading-main {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  font-size: clamp(1.3rem, 2.6vw, 1.9rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin: 0 0 20px;
}
.about-body {
  color: var(--gray);
  font-size: 15px;
  line-height: 1.75;
  margin: 0;
}

/* About — social card links */
.about-social-cards {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.about-social-card {
  flex: 1;
  min-width: 160px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  text-decoration: none;
  color: var(--dark);
  font-size: 14px;
  font-weight: 500;
  transition: box-shadow .2s, border-color .2s;
}
.about-social-card:hover {
  border-color: var(--blue);
  box-shadow: 0 4px 16px rgba(37,96,250,.10);
  color: var(--blue);
}
.about-social-icon-wrap {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: rgba(37,96,250,.08);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.about-social-handle { flex: 1; }
.about-social-arrow { color: var(--muted); font-size: 16px; }

/* Tech accordion — Figma style (filled active row, ↗ arrow) */
.tech-accordion .accordion-item {
  border-bottom: none;
  border-top: none;
  margin-bottom: 8px;
}
.tech-accordion .accordion-item:first-child { border-top: none; }
.tech-accordion .accordion-btn {
  padding: 18px 20px;
  border-radius: var(--radius);
  background: transparent;
  border: 1px solid var(--border);
  color: var(--dark);
  transition: color 180ms var(--ease-out), background-color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), opacity 180ms var(--ease-out);
}
.tech-accordion .accordion-btn:hover {
  background: var(--light);
  border-color: var(--blue);
  color: var(--blue);
}
.tech-accordion .accordion-btn.active {
  background: #0C1648;
  border-color: #0C1648;
  color: #fff;
}
.tech-accordion .tech-acc-arrow {
  color: var(--muted);
  font-size: 16px;
  flex-shrink: 0;
  transition: color .2s;
}
.tech-accordion .accordion-btn.active .tech-acc-arrow { color: #fff; }
.tech-accordion .accordion-content {
  padding: 14px 20px 18px;
  background: #0C1648;
  color: rgba(255,255,255,.7);
  border-radius: 0 0 var(--radius) var(--radius);
  font-size: 15px;
  line-height: 1.7;
  margin-top: -4px;
}

/* About — social icon circles */
.about-social-icons {
  display: flex;
  gap: 10px;
  margin-top: 28px;
}
.about-icon-btn {
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  color: var(--dark);
  transition: color 180ms var(--ease-out), background-color 180ms var(--ease-out), border-color 180ms var(--ease-out), transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out), opacity 180ms var(--ease-out);
}
.about-icon-btn:hover {
  background: var(--dark);
  border-color: var(--dark);
  color: #fff;
}

/* About — 3-photo grid */
.about-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}
.about-photo-tall img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}
.about-photo-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.about-photo-stack img {
  width: 100%;
  height: 162px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* Contact aside — social only (no photo) */
.contact-aside .social-cta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 8px;
}
.contact-aside .social-cta-item {
  padding: 16px 18px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Responsive Home */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .tech-grid { grid-template-columns: 1fr; gap: 40px; }
  .case-card { grid-template-columns: 1fr; }
  .case-visual { display: none; }
  .offerings-layout { grid-template-columns: 1fr; gap: 40px; }
  .offerings-photo { max-height: 260px; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo-grid { grid-template-columns: 1fr; }
  .about-photo-tall img { min-height: 220px; }
  .about-photo-stack { flex-direction: row; }
  .about-photo-stack img { height: 120px; }
  .blog-grid { grid-template-columns: 1fr; }
}

.offering-tagline {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  line-height: 1.5;
  margin: 2px 0 4px;
}
.offering-detail {
  font-size: 12px;
  color: rgba(255,255,255,.45);
  line-height: 1.5;
  margin: 0;
}

.acc-sectors {
  display: block;
  margin-top: 8px;
  font-size: 11.5px;
  color: rgba(255,255,255,.35);
  letter-spacing: .03em;
}

/* Projeto Petrobras na aba de projetos */
.petro-logo { height: 40px; width: auto; display: block; margin: 12px 0 20px; }
.petro-facts { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 12px; }
.petro-facts li { display: flex; gap: 16px; align-items: baseline; border-left: 3px solid #FFD100; padding-left: 14px; }
.petro-facts strong { min-width: 110px; color: var(--dark); }
