.elementor-1902 .elementor-element.elementor-element-c45a97a{--display:flex;}:root{--page-title-display:none;}/* Start custom CSS for html, class: .elementor-element-1cda6fc */#ce-sector-detail {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: #ffffff;
  color: #1a2a4a;
  overflow-x: hidden;
}

/* Hero */
.ce-hero {
  position: relative;
  height: 68vh;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0a1628;
}
.ce-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://controlenergy.com.tn/wp-content/uploads/2026/08/Control-Energy-electroniques.png');
  background-size: cover;
  background-position: center;
  opacity: 0.55;
  transition: transform 8s ease;
}
.ce-hero:hover .ce-hero-bg {
  transform: scale(1.04);
}
.ce-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10,22,40,0.75) 0%, rgba(10,22,40,0.25) 55%, transparent 100%);
}
.ce-hero-shape {
  position: relative;
  z-index: 10;
  margin-left: 6vw;
  max-width: 540px;
  background: #1a3a7c;
  padding: 3.2rem 2.8rem 3.2rem 3.2rem;
  clip-path: polygon(0 0, 100% 0, 93% 100%, 0 100%);
  box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.ce-hero-shape h1 {
  font-size: clamp(2.4rem, 4.5vw, 3.4rem);
  font-weight: 600;
  color: #fff;
  margin: 0 0 1rem;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.ce-hero-shape p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.55;
  margin: 0;
  max-width: 420px;
}

/* Intro */
.ce-intro {
  max-width: 1100px;
  margin: 0 auto;
  padding: 5rem 2rem 3.5rem;
}
.ce-intro h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 600;
  color: #1a2a4a;
  margin: 0 0 1.5rem;
  line-height: 1.3;
  max-width: 820px;
}
.ce-intro p {
  font-size: 1.1rem;
  color: #4a5a75;
  line-height: 1.2;
  max-width: 780px;
  margin: 0 0 1.25rem;
}

/* intro bullets*/
.ce-feature-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
}

.ce-feature-list li {
  position: relative;
  padding-left: 22px;
  margin-bottom: 12px;
  font-size: 1.1rem;
  color: #4a5a75;
  line-height: 1.75;
}

.ce-feature-list li::before {
  content: "";
  position: absolute;
  left: 3px;
  top: 0.7em;
  width: 7px;
  height: 7px;
  background: #1a3a7c;
  transform: rotate(45deg);
}

/* Mobile */
@media (max-width: 640px) {
  .ce-feature-list li {
    font-size: 1rem;
    line-height: 1.5;
    padding-left: 20px;
  }

  .ce-feature-list li::before {
    width: 6px;
    height: 6px;
    left: 2px;
  }
}

/* Quote */
.ce-quote {
  max-width: 900px;
  margin: 0 auto 5rem;
  padding: 0 2rem;
}
.ce-quote blockquote {
  margin: 0;
  padding: 2.5rem 2.5rem 2.5rem 3rem;
  background: #f5f8fc;
  border-left: 5px solid #1a3a7c;
  font-size: 1.25rem;
  font-weight: 500;
  color: #1a2a4a;
  line-height: 1.5;
}
.ce-quote cite {
  display: block;
  margin-top: 1.25rem;
  font-size: 0.95rem;
  font-style: normal;
  font-weight: 600;
  color: #5a6a85;
}

/* Section */
.ce-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 5rem;
}
.ce-section-title {
  font-size: 1.7rem;
  font-weight: 600;
  color: #1a2a4a;
  margin: 0 0 2.5rem;
}

/* Stories */
.ce-stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.ce-story-card {
  background: #fff;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  text-decoration: none !important;
  color: inherit;
  display: flex;
  flex-direction: column;
}
.ce-story-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}
.ce-story-img {
  height: 200px;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.ce-story-card:hover .ce-story-img {
  transform: scale(1.05);
}
.ce-story-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.ce-story-body h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: #1a2a4a;
  line-height: 1.35;
}
.ce-story-body p {
  font-size: 0.95rem;
  color: #5a6a85;
  line-height: 1.55;
  margin: 0 0 1.25rem;
  flex: 1;
}
.ce-story-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a3a7c;
}

/* Services */
.ce-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}
.ce-service-item {
  padding: 1.75rem;
  background: #f8fafc;
  border-radius: 6px;
  transition: background 0.3s ease;
}
.ce-service-item:hover {
  background: #f0f5fa;
}
.ce-service-item h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.75rem;
  color: #1a2a4a;
}
.ce-service-item p {
  font-size: 0.98rem;
  color: #5a6a85;
  line-height: 1.6;
  margin: 0 0 1rem;
}
.ce-service-item a {
  font-size: 0.9rem;
  font-weight: 600;
  color: #1a3a7c;
  text-decoration: none;
}

/* Insights */
.ce-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.ce-insight-card {
  background: #fff;
  border: 1px solid #e8eef5;
  border-radius: 6px;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
  text-decoration: none !important;
  color: inherit;
}
.ce-insight-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.ce-insight-img {
  height: 160px;
  background-size: cover;
  background-position: center;
}
.ce-insight-body {
  padding: 1.35rem;
}
.ce-insight-tag {
  font-size: 0.75rem;
  font-weight: 600;
  color: #1a3a7c;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
}
.ce-insight-body h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0 0 0.5rem;
  color: #1a2a4a;
  line-height: 1.35;
}
.ce-insight-body p {
  font-size: 0.9rem;
  color: #5a6a85;
  margin: 0;
}

/* Experts */
.ce-experts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.ce-expert-card {
  text-align: center;
}
.ce-expert-photo {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin: 0 auto 1.25rem;
  background-color: #e0e7f0;
}
.ce-expert-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  color: #1a2a4a;
}
.ce-expert-role {
  font-size: 0.9rem;
  font-weight: 500;
  color: #1a3a7c;
  margin-bottom: 0.75rem;
}
.ce-expert-bio {
  font-size: 0.9rem;
  color: #5a6a85;
  line-height: 1.55;
  margin: 0;
}

/* Scroll animation */
.ce-scroll-hidden {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.ce-scroll-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1024px) {
  .ce-stories-grid,
  .ce-insights-grid,
  .ce-experts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .ce-services-grid {
    grid-template-columns: 1fr;
  }
  .ce-hero-shape {
    margin-left: 4vw;
  }
}
@media (max-width: 640px) {
  .ce-stories-grid,
  .ce-insights-grid,
  .ce-experts-grid {
    grid-template-columns: 1fr;
  }
  .ce-hero {
    height: 55vh;
    min-height: 380px;
  }
  .ce-hero-shape {
    margin: 0 1.5rem;
    max-width: none;
    clip-path: none;
    border-radius: 6px;
  }
}

/* Hide "Cas clients" */
.ce-section:has(.ce-stories-grid) {
    display: none !important;
}

/* Hide "Notre expertise" */
.ce-section:has(.ce-services-grid) {
    display: none !important;
}

/* Hide "Insights & Publications" */
.ce-section:has(.ce-insights-grid) {
    display: none !important;
}

/* Hide "Nos experts" */
.ce-section:has(.ce-experts-grid) {
    display: none !important;
}

/* Hide "Quote" */
.ce-quote {
    display: none !important;
}/* End custom CSS */