/* ================================================
   Regisluz V2 — Sobre page additions
   Adicione este arquivo ao seu projeto:
   1. Coloque sobre.css em src/ ou public/
   2. Importe em main.jsx: import './sobre.css'
   ================================================ */

/* ── Hero background (página sobre) ── */
.sobre-page-hero {
  position: relative;
  background:
    url('/sobre/bg-hero.png') center / cover no-repeat;
}

.sobre-page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(6,14,32,0.35) 0%, rgba(6,14,32,0.15) 50%, rgba(6,14,32,0.45) 100%);
  pointer-events: none;
}

/* ── Seção info cards com background ── */
.about-cards-section {
  position: relative;
  background:
    linear-gradient(to right,  rgba(255,255,255,1) 0%, rgba(255,255,255,0.72) 40%, rgba(255,255,255,0.72) 60%, rgba(255,255,255,1) 100%),
    linear-gradient(to bottom, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 15%, rgba(255,255,255,0) 85%, rgba(255,255,255,0.6) 100%),
    url('/assets/hero-solar-vale-ribeira.png') center / cover no-repeat;
}

/* ── Grid fixo em 3 colunas ── */
.about-cards-section .about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .about-cards-section .about-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .about-cards-section .about-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Info Cards (about-grid) com ícone ── */
.about-grid article.about-card {
  background: var(--navy-card, #112040);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius, 16px);
  padding: 28px 24px;
  color: var(--white, #fff);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.about-grid article.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.about-card-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(245, 166, 35, 0.15);
  color: var(--yellow, #f5a623);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-card h3 {
  font-size: 17px;
  font-weight: 800;
  color: var(--white, #fff);
  margin: 0;
  border-bottom: 2px solid var(--yellow, #f5a623);
  padding-bottom: 10px;
  width: fit-content;
}

.about-card p {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  margin: 0;
}

/* Override light background for info cards section */
.about-grid .about-card {
  background: var(--navy-card, #112040);
  border-color: rgba(255, 255, 255, 0.08);
}

/* ── Estrutura Grid ── */
.estrutura-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.estrutura-card {
  border-radius: var(--radius, 16px);
  overflow: hidden;
  background: var(--white, #fff);
  border: 1.5px solid var(--border, rgba(0, 0, 0, 0.08));
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.estrutura-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.12);
}

.estrutura-card-img {
  height: 200px;
  overflow: hidden;
  background: var(--bg, #f4f7ff);
}

.estrutura-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.estrutura-card:hover .estrutura-card-img img {
  transform: scale(1.04);
}

.estrutura-card-body {
  padding: 16px 18px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.estrutura-card-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--yellow, #f5a623);
  color: var(--navy, #060e20);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.estrutura-card-body strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--ink, #111827);
  display: block;
  margin-bottom: 4px;
}

.estrutura-card-body p {
  font-size: 12px;
  color: var(--muted, #6b7280);
  line-height: 1.55;
  margin: 0;
}

/* ── Section head em bg-light ── */
.section-wrap.bg-light .section-head h2 em {
  color: var(--blue-accent, #2563eb);
}

/* ── Responsivo ── */
@media (max-width: 900px) {
  .estrutura-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .estrutura-grid {
    grid-template-columns: 1fr;
  }
}
