/* ========== Page Setores (index) – design premium ========== */

/* Section principale : fond léger, plus d’espace */
.section-setores-hero {
  background: #f2f7f2;
  padding: 3.5rem 1.5rem 4rem;
}
.section-setores-hero-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}
.section-setores-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--color-text);
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.section-setores-hero-lead {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0;
  max-width: 58ch;
  margin-left: auto;
  margin-right: auto;
}
.section-setores-page {
  background: #fff;
  padding: 3rem 1.5rem 0;
}
/* Header Setores index : même logo que Serviços / Início */
body:not(.page-sector) .header .logo img {
  height: 4.25rem;
  width: auto;
  object-fit: contain;
  display: block;
}

.section-setores-page .section-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Bloc "Como trabalhamos" : cadre visuel */
.setores-approach {
  background: #fff;
  border-radius: 20px;
  padding: 2.5rem 2rem;
  margin-bottom: 3.5rem;
  box-shadow: 0 4px 24px rgba(14, 90, 18, 0.06);
  border: 1px solid rgba(14, 90, 18, 0.08);
}
.setores-approach h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  margin: 0 0 1rem;
}
.setores-approach h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 0.5rem auto 0;
  border-radius: 999px;
  background: var(--color-accent);
}
.setores-approach p {
  text-align: center;
  max-width: 52ch;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* Grille des 4 secteurs : plus d’espace, cartes à hauteur égale */
.setores-cards-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 0;
  align-items: stretch;
}
@media (min-width: 640px) {
  .setores-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}
@media (min-width: 960px) {
  .setores-cards-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 2.25rem;
  }
}

/* Carte secteur : base premium */
.setor-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
.setor-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
}

/* Image : meilleure intégration */
.setor-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  position: relative;
}
.setor-card-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.15) 100%);
  pointer-events: none;
}
.setor-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.setor-card:hover .setor-card-img img {
  transform: scale(1.04);
}

/* Corps de carte : plus de respiration, hiérarchie claire */
.setor-card-body {
  padding: 1.75rem 1.5rem 2rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-height: 0;
}
.setor-card-title {
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.3;
  margin: 0 0 0.6rem;
  letter-spacing: -0.01em;
}
.setor-card-text {
  font-size: 0.9375rem;
  line-height: 1.5;
  margin: 0 0 1rem;
}
.setor-card-points {
  list-style: none;
  margin: 0 0 1.5rem;
  padding: 0;
  font-size: 0.875rem;
  line-height: 1.6;
  flex-grow: 1;
}
.setor-card-points li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.5rem;
}
.setor-card-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: currentColor;
}
.setor-card .btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 0.6rem 1.25rem;
  font-weight: 600;
  border-radius: 10px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.setor-card .btn:hover {
  transform: translateY(-1px);
}

/* Variantes par secteur : teinte de fond + bordure / halo */
.setor-card-pme .setor-card-body {
  background: linear-gradient(180deg, #f0fdf4 0%, #fff 100%);
  border-left: 4px solid #22c55e;
}
.setor-card-pme .setor-card-title { color: #15803d; }
.setor-card-pme .setor-card-points li::before { color: #22c55e; }
.setor-card-pme .btn { background: #15803d; color: #fff; border: none; }
.setor-card-pme .btn:hover { background: #166534; box-shadow: 0 4px 14px rgba(34, 197, 94, 0.35); }

.setor-card-startup .setor-card-body {
  background: linear-gradient(180deg, #eff6ff 0%, #fff 100%);
  border-left: 4px solid #3b82f6;
}
.setor-card-startup .setor-card-title { color: #1d4ed8; }
.setor-card-startup .setor-card-points li::before { color: #3b82f6; }
.setor-card-startup .btn { background: #2563eb; color: #fff; border: none; }
.setor-card-startup .btn:hover { background: #1d4ed8; box-shadow: 0 4px 14px rgba(59, 130, 246, 0.35); }

.setor-card-publico .setor-card-body {
  background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
  border-left: 4px solid #475569;
}
.setor-card-publico .setor-card-title { color: #334155; }
.setor-card-publico .setor-card-points li::before { color: #64748b; }
.setor-card-publico .btn { background: #475569; color: #fff; border: none; }
.setor-card-publico .btn:hover { background: #334155; box-shadow: 0 4px 14px rgba(71, 85, 105, 0.3); }

.setor-card-medical .setor-card-body {
  background: linear-gradient(180deg, #ecfdf5 0%, #f0fdfa 50%, #fff 100%);
  border-left: 4px solid #10b981;
}
.setor-card-medical .setor-card-title { color: #047857; }
.setor-card-medical .setor-card-points li::before { color: #10b981; }
.setor-card-medical .btn { background: #059669; color: #fff; border: none; }
.setor-card-medical .btn:hover { background: #047857; box-shadow: 0 4px 14px rgba(16, 185, 129, 0.35); }

/* Section "Desafios comuns" : mise en forme visuelle */
.setores-common {
  margin-top: 4rem;
  padding: 3.5rem 2rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--color-border);
}
.setores-common h2 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
  font-weight: 700;
  color: var(--color-text);
  text-align: center;
  margin: 0 0 0.75rem;
}
.setores-common h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  margin: 0.5rem auto 1.5rem;
  border-radius: 999px;
  background: var(--color-accent);
}
.setores-common-intro {
  text-align: center;
  max-width: 52ch;
  margin: 0 auto 2rem;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text-muted);
}

/* Grille 2 colonnes pour la liste des desafios */
.setores-common-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 640px) {
  .setores-common-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
.setores-common-list li {
  position: relative;
  padding: 1.25rem 1.25rem 1.25rem 3rem;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--color-text);
  background: #f8faf8;
  border-radius: 12px;
  border: 1px solid rgba(14, 90, 18, 0.08);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.setores-common-list li:hover {
  background: #f0fdf4;
  box-shadow: 0 4px 16px rgba(14, 90, 18, 0.08);
}
.setores-common-list li::before {
  content: "";
  position: absolute;
  left: 1rem;
  top: 1.35rem;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
}

/* CTA final : bloc large, premium, déborde du padding pour plus de largeur */
.setores-page-cta {
  margin-top: 4rem;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  width: calc(100% + 3rem);
  max-width: none;
  padding: 0;
  border-radius: 0;
  background: var(--color-accent);
  box-shadow: none;
}
.setores-page-cta .setores-cta-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4.5rem 2rem 5rem;
  text-align: center;
}
.setores-page-cta h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  color: #fff;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}
.setores-page-cta .cta-final-text {
  font-size: 1.125rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
  max-width: 42ch;
  margin: 0 auto 1.75rem;
}
.setores-page-cta .cta-final-btn {
  margin: 0;
}
.setores-page-cta .btn-cta-final {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.0625rem;
  font-weight: 600;
  background: #fff;
  color: var(--color-accent);
  border-radius: 12px;
  border: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.setores-page-cta .btn-cta-final:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  text-decoration: none;
  color: var(--color-accent);
}
@media (min-width: 768px) {
  .setores-page-cta .setores-cta-inner {
    padding: 5.5rem 2.5rem 6rem;
  }
}
