/* ==========================================================================
   SECTEURS — Page secteurs Twaino (page ID 21489)
   Prefix: .sec-
   ========================================================================== */

/* ---- Reset ALL GeneratePress .grid-container (full-width) ---- */
body.page-id-21489 .grid-container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
}
/* ---- Restore header/nav/footer contained width (GP default: 1300px) ---- */
body.page-id-21489 .site-header .grid-container,
body.page-id-21489 .inside-header.grid-container,
body.page-id-21489 .inside-navigation.grid-container,
body.page-id-21489 .navigation-branding,
body.page-id-21489 .site-footer .grid-container {
  max-width: 1300px !important;
  padding: 0 40px !important;
}
/* ---- Reset content wrappers ---- */
body.page-id-21489 .site-content,
body.page-id-21489 .content-area,
body.page-id-21489 .inside-article,
body.page-id-21489 .entry-content,
body.page-id-21489 .site-main {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
}
body.page-id-21489 .entry-header,
body.page-id-21489 .entry-meta {
  display: none !important;
}

.sec-wrapper {
  font-family: 'Roboto', sans-serif;
  color: #333;
  line-height: 1.7;
  overflow-x: clip;
  background: #f7f8f9;
}

/* ---- FULL-WIDTH BREAKOUT ---- */
.sec-full-width {
  width: 100vw !important;
  max-width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  position: relative;
}

/* ---- HERO ---- */
.sec-hero {
  background: linear-gradient(135deg, #010643 0%, #0a1a5c 50%, #0099bc 100%);
  color: #fff;
  padding: 80px 20px 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.sec-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(86,174,164,0.15) 0%, transparent 70%);
  border-radius: 50%;
}
.sec-hero-inner {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.sec-hero-tagline {
  display: inline-block;
  background: rgba(86,174,164,0.25);
  color: #a8ddd7;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.sec-hero h1 {
  font-size: 40px;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0 0 18px;
  line-height: 1.25;
  color: #fff;
}
.sec-hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  max-width: 650px;
  margin: 0 auto 30px;
  line-height: 1.6;
}
.sec-hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 32px;
}
.sec-hero-stat {
  text-align: center;
}
.sec-hero-stat .stat-number {
  display: block;
  font-size: 32px;
  font-weight: 700;
  color: #56aea4;
}
.sec-hero-stat .stat-label {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.sec-hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}
.sec-btn-primary {
  display: inline-block;
  background: #56aea4;
  color: #fff !important;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.sec-btn-primary:hover {
  background: #3d9e94;
  transform: translateY(-1px);
  color: #fff !important;
  text-decoration: none;
}
.sec-btn-outline {
  display: inline-block;
  border: 2px solid rgba(255,255,255,0.5);
  color: #fff !important;
  padding: 12px 32px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
}
.sec-btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: #fff;
  color: #fff !important;
  text-decoration: none;
}

/* ---- TRUST BAR ---- */
.sec-trust-bar {
  background: #fff;
  border-top: 1px solid #eee;
  padding: 20px;
  text-align: center;
}
.sec-trust-bar-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #999;
  margin-bottom: 16px;
  font-weight: 500;
}
.sec-trust-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}
.sec-trust-logos img {
  height: 35px;
  filter: grayscale(100%);
  opacity: 0.5;
  transition: all 0.3s;
}
.sec-trust-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ---- MAIN LAYOUT — 2 colonnes + sidebar ---- */
.sec-main {
  display: flex;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 24px;
  align-items: flex-start;
}
.sec-content {
  flex: 1;
  min-width: 0;
}
.sec-sidebar {
  flex: 0 0 280px;
  position: sticky;
  top: 100px;
}

/* ---- SIDEBAR COMPONENTS ---- */
.sec-sidebar-cta {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 16px;
  text-align: center;
}
.sec-sidebar-cta h4 {
  font-size: 16px;
  font-weight: 700;
  color: #010643;
  margin: 0 0 8px;
}
.sec-sidebar-cta p {
  font-size: 13px;
  color: #575760;
  margin: 0 0 14px;
  line-height: 1.5;
}
.sec-sidebar-cta .sec-btn-primary {
  width: 100%;
  text-align: center;
  padding: 11px 20px;
  font-size: 13px;
  display: block;
}
.sec-sidebar-nav {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 16px;
}
.sec-sidebar-nav h4 {
  font-size: 13px;
  font-weight: 700;
  color: #010643;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0 0 12px;
}
.sec-sidebar-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sec-sidebar-nav li {
  margin-bottom: 2px;
}
.sec-sidebar-nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  border-radius: 6px;
  font-size: 13px;
  color: #575760;
  text-decoration: none;
  transition: all 0.2s;
}
.sec-sidebar-nav a:hover {
  background: #f7f8f9;
  color: #010643;
  text-decoration: none;
}
.sec-sidebar-nav a.is-active {
  color: #56aea4;
  font-weight: 600;
  background: rgba(86,174,164,0.06);
}
.sec-sidebar-nav .nav-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ccc;
  flex-shrink: 0;
  transition: background 0.2s;
}
.sec-sidebar-nav a.is-active .nav-dot {
  background: #56aea4;
}
.sec-sidebar-proof {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  text-align: center;
}
.sec-sidebar-proof .proof-number {
  font-size: 24px;
  font-weight: 800;
  color: #56aea4;
  display: block;
}
.sec-sidebar-proof .proof-label {
  font-size: 12px;
  color: #575760;
}

/* ---- INTRO SECTION ---- */
.sec-intro {
  text-align: center;
  max-width: 100%;
  margin: 0 0 50px;
}
.sec-intro h2 {
  font-size: 32px;
  font-weight: 700;
  color: #010643;
  margin: 0 0 16px;
}
.sec-intro p {
  font-size: 16px;
  color: #575760;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

/* ---- FILTER PILLS ---- */
.sec-filter-pills {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}
.sec-filter-pill {
  background: #f0f0f0;
  color: #575760;
  border: none;
  padding: 10px 22px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Roboto', sans-serif;
}
.sec-filter-pill:hover {
  background: #e0e0e0;
}
.sec-filter-pill.is-active {
  background: #56aea4;
  color: #fff;
}

/* ---- SECTOR CARDS GRID ---- */
.sec-cards-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 50px;
}
.sec-card {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 28px 24px 24px;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.sec-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #56aea4;
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: left;
}
.sec-card:hover {
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
  transform: translateY(-3px);
  border-color: #56aea4;
}
.sec-card:hover::before {
  transform: scaleX(1);
}
.sec-card-icon {
  width: 50px;
  height: 50px;
  background: #f0faf9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  font-size: 24px;
}
.sec-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: #010643;
  margin: 0 0 8px;
}
.sec-card p {
  font-size: 14px;
  color: #575760;
  line-height: 1.6;
  margin: 0 0 16px;
  flex: 1;
}
.sec-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #56aea4;
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: gap 0.2s, color 0.2s;
}
.sec-card-link:hover {
  color: #3d9e94;
  gap: 10px;
  text-decoration: none;
}
.sec-card[data-category] {
  transition: all 0.4s ease;
}
.sec-card.is-hidden {
  display: none;
}

/* ---- SEPARATOR ---- */
.sec-separator {
  border: none;
  border-top: 1px solid #eee;
  margin: 0 0 50px;
}

/* ---- WHY SEO SECTION ---- */
.sec-why {
  margin-bottom: 50px;
}
.sec-why-header {
  text-align: center;
  margin: 0 0 32px;
}
.sec-why-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: #010643;
  margin: 0 0 10px;
}
.sec-why-header p {
  font-size: 15px;
  color: #575760;
}
.sec-why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.sec-why-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  padding: 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  transition: box-shadow 0.3s;
}
.sec-why-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.sec-why-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  background: #f0faf9;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.sec-why-text h3 {
  font-size: 15px;
  font-weight: 600;
  color: #010643;
  margin: 0 0 4px;
}
.sec-why-text p {
  font-size: 13px;
  color: #575760;
  margin: 0;
  line-height: 1.6;
}

/* ---- PHASES FLOW ---- */
.sec-process {
  margin-bottom: 50px;
  text-align: center;
}
.sec-process h2 {
  font-size: 28px;
  font-weight: 700;
  color: #010643;
  margin: 0 0 10px;
}
.sec-process > p {
  font-size: 15px;
  color: #575760;
  max-width: 500px;
  margin: 0 auto 32px;
}
.sec-phases-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: #fff;
  border-radius: 14px;
  border: 1px solid #eee;
  padding: 28px 20px;
}
.sec-phase-step {
  flex: 1;
  text-align: center;
  padding: 12px;
}
.sec-phase-num {
  width: 44px;
  height: 44px;
  background: #56aea4;
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.sec-phase-step h3 {
  font-size: 15px;
  font-weight: 600;
  color: #010643;
  margin: 0 0 6px;
}
.sec-phase-step p {
  font-size: 12px;
  color: #575760;
  margin: 0;
  line-height: 1.5;
}
.sec-phase-arrow {
  flex: 0 0 auto;
  padding: 0 4px;
  align-self: center;
}
.sec-phase-arrow svg {
  width: 28px;
  height: 28px;
  color: #56aea4;
}

/* ---- CTA INLINE ---- */
.sec-cta-inline {
  background: linear-gradient(135deg, #56aea4, #3d9e94);
  border-radius: 14px;
  padding: 40px 32px;
  text-align: center;
  color: #fff;
  margin-bottom: 50px;
}
.sec-cta-inline h2 {
  font-size: 24px;
  font-weight: 700;
  margin: 0 0 10px;
  color: #fff;
}
.sec-cta-inline p {
  font-size: 15px;
  color: rgba(255,255,255,0.9);
  max-width: 480px;
  margin: 0 auto 20px;
}
.sec-cta-inline .sec-btn-white {
  display: inline-block;
  background: #fff;
  color: #56aea4 !important;
  padding: 13px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: all 0.2s;
}
.sec-cta-inline .sec-btn-white:hover {
  background: #f0faf9;
  transform: translateY(-1px);
  text-decoration: none;
}
.sec-cta-reassurance {
  font-size: 13px !important;
  color: rgba(255,255,255,0.7) !important;
  margin-top: 10px !important;
}

/* ---- TESTIMONIAL ---- */
.sec-testimonial {
  background: #fff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 32px;
  text-align: center;
  margin-bottom: 50px;
}
.sec-testimonial blockquote {
  font-size: 16px;
  font-style: italic;
  color: #010643;
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto 16px;
  border: none;
  padding: 0;
}
.sec-testimonial-author {
  font-size: 14px;
  color: #575760;
  font-weight: 500;
}
.sec-testimonial-stars {
  color: #f5a623;
  font-size: 20px;
  margin-bottom: 14px;
}

/* ---- CTA FINAL (full-width via .sec-full-width class) ---- */
.sec-cta-final {
  background: linear-gradient(135deg, #010643 0%, #0a1a5c 50%, #0099bc 100%);
  color: #fff;
  padding: 70px 24px;
  text-align: center;
}
.sec-cta-final-inner {
  max-width: 700px;
  margin: 0 auto;
}
.sec-cta-final h2 {
  font-size: 32px;
  font-weight: 700;
  margin: 0 0 16px;
  color: #fff;
}
.sec-cta-final p {
  font-size: 17px;
  color: rgba(255,255,255,0.85);
  margin: 0 0 28px;
}
.sec-cta-final .sec-btn-primary {
  padding: 16px 40px;
  font-size: 16px;
}
.sec-cta-final-reassurance {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: 14px;
}

/* ---- STICKY MOBILE CTA ---- */
.sec-sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: #fff;
  padding: 12px 16px;
  box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
  text-align: center;
}
.sec-sticky-cta .sec-btn-primary {
  width: 100%;
  padding: 13px 20px;
  font-size: 14px;
}

/* ---- REVEAL ANIMATION ---- */
.sec-reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease, transform 0.6s ease;
}
html.secteurs-js-ready .sec-reveal {
  opacity: 0;
  transform: translateY(20px);
}
html.secteurs-js-ready .sec-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .sec-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sec-sidebar {
    flex: 0 0 240px;
  }
}

@media (max-width: 768px) {
  .sec-hero {
    padding: 50px 16px 40px;
  }
  .sec-hero h1 {
    font-size: 26px;
  }
  .sec-hero-subtitle {
    font-size: 15px;
  }
  .sec-hero-stats {
    gap: 24px;
  }
  .sec-hero-stat .stat-number {
    font-size: 24px;
  }
  .sec-hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .sec-main {
    flex-direction: column;
    padding: 40px 16px;
  }
  .sec-sidebar {
    display: none;
  }
  .sec-sticky-cta {
    display: block;
  }
  .sec-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .sec-why-grid {
    grid-template-columns: 1fr;
  }
  .sec-phases-flow {
    flex-direction: column;
    padding: 24px 16px;
  }
  .sec-phase-arrow {
    transform: rotate(90deg);
    padding: 8px 0;
  }
  .sec-cta-inline {
    padding: 32px 20px;
  }
  .sec-cta-inline h2 {
    font-size: 22px;
  }
  .sec-testimonial {
    padding: 24px 16px;
  }
  .sec-testimonial blockquote {
    font-size: 15px;
  }
  .sec-cta-final {
    padding: 50px 16px;
  }
  .sec-cta-final h2 {
    font-size: 24px;
  }
  .sec-filter-pills {
    gap: 6px;
  }
  .sec-filter-pill {
    padding: 8px 16px;
    font-size: 13px;
  }
  .sec-trust-logos {
    gap: 20px;
  }
  .sec-trust-logos img {
    height: 28px;
  }
}
