:root {
  --surtymar-blue: #022a52;
  --surtymar-blue-dark: #011d39;
  --surtymar-red: #d42027;
  --surtymar-light: #f4f7fa;
  --surtymar-text: #2b2b2b;
}

/* =========================
   BASE
========================= */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  color: var(--surtymar-text);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  transition: 0.3s;
}

img {
  max-width: 100%;
  height: auto;
}

main {
  overflow: hidden;
}

/* =========================
   HEADER
========================= */

.surtymar-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  padding: 20px 0;
  transition: 0.3s;
  background: transparent;
}

.header-scrolled {
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  padding: 12px 0;
}

.surtymar-navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.surtymar-logo img {
  height: 60px;
  max-height: 60px;
  width: auto;
}

.surtymar-logo .logo-scrolled {
  display: none !important;
}

.surtymar-logo .logo-default {
  display: block !important;
}

.header-scrolled .surtymar-logo .logo-default {
  display: none !important;
}

.header-scrolled .surtymar-logo .logo-scrolled {
  display: block !important;
}

.surtymar-nav ul {
  display: flex;
  gap: 35px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.surtymar-nav a {
  color: #fff;
  font-weight: 600;
  font-size: 15px;
}

.header-scrolled .surtymar-nav a {
  color: var(--surtymar-blue);
}

.surtymar-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.surtymar-phone {
  color: #fff;
  font-weight: 600;
}

.header-scrolled .surtymar-phone {
  color: var(--surtymar-blue);
}

.btn-surtymar-header {
  background: var(--surtymar-red);
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 600;
}

.btn-surtymar-header:hover {
  color: #fff;
  background: #b6171e;
}

/* =========================
   MENU MOBILE
========================= */

.surtymar-mobile-toggle {
  display: none;
  background: none;
  border: none;
}

.surtymar-mobile-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 5px 0;
  background: #fff;
}

.header-scrolled .surtymar-mobile-toggle span {
  background: var(--surtymar-blue);
}

.surtymar-mobile-menu {
  display: none;
}

.surtymar-mobile-menu.active {
  display: block;
  position: fixed;
  top: 90px;
  left: 0;
  width: 100%;
  background: #fff;
  z-index: 9998;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.08);
}

.surtymar-mobile-menu ul {
  margin: 0;
  padding: 20px;
  list-style: none;
}

.surtymar-mobile-menu li {
  margin-bottom: 15px;
}

.surtymar-mobile-menu a {
  color: var(--surtymar-blue);
  font-weight: 600;
}

/* =========================
   HERO
========================= */

.surtymar-hero {
  min-height: 850px;
  display: flex;
  align-items: center;
  background: linear-gradient(rgba(0, 0, 0, 0.25), rgba(0, 0, 0, 0.25)), url("assets/images/homp.jpg");
  background-size: cover;
  background-position: center;
  color: #fff;
  padding-top: 120px;
}

@media (min-width: 992px) {
  .surtymar-hero {
    background: var(--surtymar-blue);
    position: relative;
    overflow: hidden;
  }

  .surtymar-hero video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }

  .surtymar-hero .container {
    position: relative;
    z-index: 1;
  }

  .surtymar-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(2, 0, 0, 0.25);
    z-index: 1;
  }

  .surtymar-hero .container {
    position: relative;
    z-index: 2;
  }
}

.hero-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 20px;
  font-size: 14px;
}

.hero-content h1 {
  font-size: 68px;
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 25px;
}

.hero-content p {
  font-size: 20px;
  max-width: 700px;
  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* =========================
   BOUTONS
========================= */

.btn-surtymar {
  display: inline-block;
  background: var(--surtymar-red);
  color: #fff;
  padding: 15px 30px;
  border-radius: 4px;
  font-weight: 600;
}

.btn-surtymar:hover {
  color: #fff;
  background: #b6171e;
}

.btn-surtymar-outline {
  display: inline-block;
  border: 2px solid var(--surtymar-blue);
  color: var(--surtymar-blue);
  padding: 13px 28px;
  border-radius: 4px;
  font-weight: 600;
}

.btn-surtymar-outline:hover {
  background: var(--surtymar-blue);
  color: #fff;
}

.btn-surtymar-outline-light {
  display: inline-block;
  border: 2px solid #fff;
  color: #fff;
  padding: 13px 28px;
  border-radius: 4px;
  font-weight: 600;
}

.btn-surtymar-outline-light:hover {
  background: #fff;
  color: var(--surtymar-blue);
}

/* =========================
   BLOC BLEU
========================= */

.surtymar-highlight {
  margin-top: -80px;
  position: relative;
  z-index: 20;
}

.highlight-box {
  background: var(--surtymar-blue);
  color: #fff;
  padding: 50px;
  border-radius: 8px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.highlight-box h2 {
  color: #fff;
  margin-bottom: 20px;
}

.highlight-list {
  margin: 0;
  padding-left: 20px;
}

.highlight-list li {
  margin-bottom: 10px;
}

/* =========================
   SECTIONS
========================= */

.surtymar-intro,
.surtymar-services,
.surtymar-references,
.surtymar-values,
.surtymar-cta {
  padding: 30px 0;
}

.section-heading {
  margin-bottom: 50px;
}

.section-heading span {
  display: block;
  color: var(--surtymar-red);
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.section-heading h2 {
  color: var(--surtymar-blue);
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
}

/* =========================
   SERVICES
========================= */

.surtymar-services {
  position: relative;
  background: var(--surtymar-light);
}

.surtymar-services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("assets/images/fret.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  opacity: 0.8;
  z-index: 0;
}

.surtymar-services .container {
  position: relative;
  z-index: 1;
}

.surtymar-services .section-heading span {
  color: #fff;
}

.surtymar-services .section-heading h2 {
  color: #fff;
}

.service-card {
  background: rgba(255, 255, 255, 0.85) !important;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  height: 100%;
  backdrop-filter: blur(2px);
}

.service-image img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.service-content {
  padding: 35px;
}

.service-content h3 {
  color: var(--surtymar-blue);
  margin-bottom: 25px;
}

.service-content ul {
  margin-bottom: 30px;
}

.service-content li {
  margin-bottom: 10px;
}

.service-content ul.two-columns {
  columns: 2;
  column-gap: 30px;
  padding-left: 20px;
}

.service-content ul.two-columns li {
  break-inside: avoid;
  margin-bottom: 10px;
}

/* =========================
   REFERENCES
========================= */

.surtymar-references img {
  max-height: 80px;
  opacity: 0.8;
  transition: 0.3s;
}

.surtymar-references img:hover {
  opacity: 1;
}

/* =========================
   VALEURS
========================= */

.surtymar-values {
  background: var(--surtymar-light);
}

.value-box {
  background: #fff;
  padding: 35px 25px;
  text-align: center;
  border-radius: 8px;
  height: 100%;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.value-box h3 {
  color: var(--surtymar-blue);
  font-size: 34px;
  font-weight: 800;
}

/* =========================
   CTA
========================= */

.surtymar-cta {
  background: var(--surtymar-blue);
  color: #fff;
}

.surtymar-cta h2 {
  color: #fff;
  font-size: 48px;
  margin-bottom: 20px;
}

.surtymar-cta p {
  max-width: 700px;
  margin: 0 auto 30px;
}

/* =========================
   SCORING & TEMOIGNAGES
========================= */

.surtymar-scoring {
  padding: 20px 0;
  background: var(--surtymar-light);
}

.surtymar-scoring .row {
  display: flex;
  align-items: stretch;
}

.surtymar-scoring .col-lg-8 {
  display: flex;
  flex-direction: column;
}

.surtymar-scoring .col-lg-4 {
  display: flex;
}

.surtymar-scoring .col-lg-4 .testimonials-carousel {
  flex: 1;
}

.scoring-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 20px;
}

.scoring-item {
  text-align: center;
  background: #fff;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.scoring-item i {
  font-size: 48px;
  color: #0d2d67;
  margin-bottom: 15px;
  display: block;
}

.scoring-number {
  font-size: 30px;
  font-weight: 800;
  color: var(--surtymar-blue);
  line-height: 1.2;
}

.scoring-item p {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--surtymar-text);
}

.clients-carousel {
  overflow: hidden;
  padding: 25px 0;
  margin-top: 30px;
  border-radius: 8px;
}

.clients-track {
  display: flex;
  gap: 60px;
  animation: scrollClients 60s linear infinite;
  width: max-content;
}

.clients-track img {
  max-width: 250px;
  max-height: 150px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 1;
  transition: 0.3s;
  flex-shrink: 0;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border-radius: 8px;
}

.clients-track img:hover {
  opacity: 1;
}

.clients-carousel:hover .clients-track {
  animation-play-state: paused;
}

@keyframes scrollClients {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.testimonials-carousel {
  background: #fff;
  padding: 20px 25px;
  border-radius: 8px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-slide p {
  font-size: 15px;
  font-style: italic;
  margin-bottom: 15px;
  color: var(--surtymar-text);
}

.testimonial-author strong {
  display: block;
  font-size: 14px;
  color: var(--surtymar-blue);
}

.testimonial-author span {
  display: block;
  font-size: 13px;
  color: #888;
  margin-bottom: 10px;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding: 0 5px;
}

.testimonial-footer button {
  background: var(--surtymar-blue);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
  flex-shrink: 0;
}

.testimonial-footer button:hover {
  background: var(--surtymar-red);
}

.testimonial-footer .testimonial-logo {
  max-width: 175px;
  max-height: 60px;
  width: auto;
  height: auto;
  opacity: 0.7;
  object-fit: contain;
}

/* =========================
   PARALLAX CTA
========================= */

.surtymar-parallax {
  min-height: 500px;
  background: url("assets/images/paralhome.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  color: #fff;
}

.parallax-overlay {
  background: rgba(2, 42, 82, 0.45);
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 40px 0;
}

.parallax-label {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  color: #fff;
  margin-bottom: 10px;
  opacity: 0.7;
}

.surtymar-parallax h2 {
  color: #fff;
  font-size: 52px;
  font-weight: 700;
  margin-bottom: 8px;
  line-height: 1.1;
}

.parallax-subtitle {
  font-size: 24px;
  opacity: 0.85;
  margin-bottom: 0;
}

.parallax-right {
  text-align: right;
}

.parallax-contact {
  font-size: 20px;
  margin-bottom: 25px;
}

.parallax-contact a {
  color: #fff;
  font-weight: 600;
  transition: 0.3s;
  text-decoration: none;
}

.parallax-contact a:hover {
  color: var(--surtymar-red);
}

.parallax-separator {
  margin: 0 12px;
  opacity: 0.4;
}

.parallax-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
  flex-wrap: wrap;
}

.btn-parallax-primary {
  display: inline-block;
  background: #fff;
  color: var(--surtymar-blue);
  padding: 14px 35px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  transition: 0.3s;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.btn-parallax-primary:hover {
  background: var(--surtymar-red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(212, 32, 39, 0.4);
}

.parallax-badge {
  display: inline-block;
  background: var(--surtymar-red);
  color: #fff;
  padding: 8px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  box-shadow: 0 4px 15px rgba(212, 32, 39, 0.3);
  animation: pulse-badge 2s ease-in-out infinite;
}

@keyframes pulse-badge {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* =========================
   FOOTER
========================= */

.surtymar-footer {
  background: var(--surtymar-blue-dark);
  color: #fff;
  padding-top: 80px;
}

.footer-logo {
  max-height: 70px;
  margin-bottom: 25px;
}

.footer-block {
  margin-bottom: 40px;
}

.footer-block h3 {
  color: #fff;
  margin-bottom: 25px;
  font-size: 20px;
}

.footer-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-block li {
  margin-bottom: 10px;
}

.footer-block a {
  color: #d7ddea;
}

.footer-block a:hover {
  color: #fff;
}

.footer-contact li {
  color: #d7ddea;
}

.btn-surtymar-footer {
  display: inline-block;
  margin-top: 20px;
  background: var(--surtymar-red);
  color: #fff;
  padding: 12px 24px;
  border-radius: 4px;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 40px;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  font-size: 14px;
}

/* =========================
   UTILITAIRES
========================= */

.up {
  text-transform: uppercase;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 991px) {
  .surtymar-nav,
  .surtymar-header-right {
    display: none;
  }

  .surtymar-mobile-toggle {
    display: block;
  }

  .hero-content h1 {
    font-size: 46px;
  }

  .surtymar-hero {
    min-height: 700px;
  }

  .highlight-box {
    padding: 35px;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }

  .scoring-grid {
    grid-template-columns: 1fr 1fr;
  }

  .testimonials-carousel {
    margin-top: 30px;
  }

  .parallax-right {
    text-align: left;
    margin-top: 30px;
  }

  .parallax-actions {
    justify-content: flex-start;
  }

  .surtymar-parallax h2 {
    font-size: 38px;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 36px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .section-heading h2 {
    font-size: 32px;
  }

  .surtymar-cta h2 {
    font-size: 34px;
  }

  .surtymar-intro,
  .surtymar-services,
  .surtymar-references,
  .surtymar-values,
  .surtymar-cta {
    padding: 70px 0;
  }

  .scoring-grid {
    grid-template-columns: 1fr;
  }

  .surtymar-parallax h2 {
    font-size: 28px;
  }

  .parallax-subtitle {
    font-size: 18px;
  }

  .parallax-contact {
    font-size: 17px;
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .parallax-separator {
    display: none;
  }

  .parallax-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-parallax-primary {
    text-align: center;
  }

  .parallax-badge {
    text-align: center;
  }

  .surtymar-parallax {
    background-attachment: scroll;
  }
}
/* =========================
   PAGES INTERNES
========================= */

.st-breadcumb-area {
  position: relative;
  padding: 180px 0 100px;
}

.st-breadcumb-area::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(2, 42, 82, 0.65);
}

.breadcumb__top__content {
  position: relative;
  z-index: 2;
}

.breadcumb__top__content span {
  display: block;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.breadcumb__top__content h2 {
  color: #fff;
  font-size: 56px;
  font-weight: 700;
  margin: 0;
}

.surtymar-page-content p {
  margin-bottom: 5px !important;
  line-height: 1.45;
}
.surtymar-page-content ul {
  margin-bottom: 5px !important;
  padding-left: 20px;
}

.surtymar-page-content li {
  margin-bottom: 5px !important;
  line-height: 1.45;
}
.surtymar-page-content h2 {
  color: var(--surtymar-blue);
  margin-bottom: 30px;
}

.surtymar-page-content h3 {
  color: var(--surtymar-blue);
  margin: 35px 0 20px;
  font-size: 24px;
}

.surtymar-page-content ul {
  margin-bottom: 25px;
}

.surtymar-page-content li {
  margin-bottom: 10px;
}

.surtymar-content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.header-scrolled {
  background: #fff;
}

@media (max-width: 991px) {
  .st-breadcumb-area {
    padding: 150px 0 80px;
  }

  .breadcumb__top__content h2 {
    font-size: 40px;
  }

  .surtymar-content-image {
    margin-top: 40px;
  }
}
/* =========================
   PAGES INTERNES
========================= */

.st-breadcumb-area {
  position: relative;
  padding: 180px 0 100px;
}

.st-breadcumb-area::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.breadcumb__top__content {
  position: relative;
  z-index: 2;
}

.breadcumb__top__content span {
  display: block;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.breadcumb__top__content h2 {
  color: #fff;
  font-size: 56px;
  font-weight: 700;
  margin: 0;
}

.surtymar-page-content {
  padding: 80px 0;
}

.surtymar-page-content h2 {
  position: relative;
  color: var(--surtymar-blue);
  text-transform: uppercase;
  margin-bottom: 40px;
  padding-left: 30px;
  font-weight: 700;
}

.surtymar-page-content h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 60px;
  background: #0b2341;
}

.surtymar-page-content h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -12px;
  width: 220px;
  height: 3px;
  background: linear-gradient(90deg, #0b2341, rgba(11, 35, 65, 0));
}
.surtymar-page-content h3 {
  color: var(--surtymar-blue);
  margin: 35px 0 20px;
  font-size: 24px;
}

.surtymar-page-content p {
  margin-bottom: 5px;
  line-height: 1.45;
}

.surtymar-page-content ul {
  margin-bottom: 15px;
}

.surtymar-page-content li {
  margin-bottom: 5px;
  line-height: 1.45;
}

.surtymar-content-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 5px 15px;
}

.header-scrolled {
  background: #fff;
}

@media (max-width: 991px) {
  .st-breadcumb-area {
    padding: 150px 0 80px;
  }

  .breadcumb__top__content h2 {
    font-size: 40px;
  }

  .surtymar-content-image {
    margin-top: 40px;
  }

  .surtymar-page-content h2::before {
    height: 45px;
  }
}

/* =========================
   PARALLAX CONSEIL
========================= */

.surtymar-parallax {
  position: relative;
  background-attachment: fixed;
}

.surtymar-parallax-overlay {
  position: relative;
  z-index: 2;
  padding: 120px 0;
}

.surtymar-parallax-subtitle {
  display: block;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.surtymar-parallax h2 {
  color: #fff;
  margin-bottom: 30px;
}

.surtymar-parallax p {
  color: #fff;
  margin-bottom: 15px;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .surtymar-parallax {
    background-attachment: scroll;
  }

  .surtymar-parallax-overlay {
    padding: 80px 0;
  }
}

/* =========================
   EQUIPE
========================= */

.surtymar-team {
  padding: 80px 0;
}

.team-card {
  display: block;
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.team-card-image {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  margin-bottom: 20px;
}

.team-card-image img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  display: block;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 5px 15px;
  transition: 0.4s;
}

.team-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: 0.3s;
}

.team-overlay span {
  color: #fff;
  font-size: 18px;
  font-weight: 600;
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.team-card:hover img {
  transform: scale(1.03);
}

.team-card h3 {
  font-size: 22px;
  margin-bottom: 5px;
  color: var(--surtymar-blue);
}

.team-card p {
  color: #666;
  margin: 0;
  font-size: 15px;
}

/* =========================
   PROFIL
========================= */

.surtymar-profile {
  padding: 50px 0;
}

.profile-card {
  background: #fff;
  border-radius: 10px;
  padding: 40px;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 20px;
}

.profile-photo {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 5px 15px;
}

.profile-card h1 {
  margin-bottom: 10px;
  color: var(--surtymar-blue);
}

.profile-card h3 {
  margin-bottom: 25px;
  color: #666;
  font-size: 22px;
}

.profile-contact {
  margin-bottom: 30px;
}

.profile-contact p {
  margin-bottom: 8px;
}

.profile-contact a {
  color: var(--surtymar-blue);
}

.profile-social {
  margin-top: 20px;
}

.profile-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  background: #0b2341;
  border-radius: 50%;
  margin-right: 10px;
  text-decoration: none;
  color: #fff !important;
}

.profile-social a i {
  color: #fff !important;
  font-size: 16px;
}

.profile-bio {
  margin-top: 30px;
}

.profile-bio h2 {
  margin-bottom: 20px;
}

.profile-bio p {
  margin-bottom: 12px;
  line-height: 1.6;
}

@media (max-width: 991px) {
  .profile-card {
    padding: 25px;
  }

  .profile-photo {
    margin-bottom: 30px;
  }
}

/* =========================
   BOUTONS
========================= */

.btn-surtymar {
  display: inline-block;
  background: #0b2341;
  color: #fff;
  padding: 12px 28px;
  border-radius: 58px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-surtymar:hover {
  background: #15355f;
  color: #fff;
}
/* =========================
   INTRO FORMATIONS
========================= */

.formations-intro {
  position: relative;
  padding: 90px 0;
  margin: 50px 0 0;
  background: url("../assets/images/formation.jpg") center center / cover no-repeat;
  overflow: hidden;
}

.formations-intro-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 24, 74, 0.82);
}

.formations-intro .container {
  position: relative;
  z-index: 2;
}

.formations-intro-content h2 {
  color: #fff;
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 25px;
}

.formations-intro-content > p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.8;
  max-width: 700px;
  margin-bottom: 45px;
}

.formations-highlights {
  display: flex;
  gap: 35px;
}

.formation-highlight {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.formation-highlight i {
  color: #fff;
  font-size: 34px;
  margin-top: 4px;
}

.formation-highlight h4 {
  color: #fff;
  font-size: 18px;
  margin-bottom: 5px;
}

.formation-highlight span {
  display: block;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  line-height: 1.5;
}

.formations-certifications {
  background: #fff;
  border-radius: 12px;
  padding: 35px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 5px 15px;
}

.certification-item {
  flex: 1;
  text-align: center;
}

.certification-item i {
  color: #0d2d67;
  font-size: 48px;
  margin-bottom: 15px;
}

.certification-item h4 {
  color: #0d2d67;
  margin-bottom: 10px;
}

.certification-item p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
}

.certification-divider {
  width: 1px;
  height: 120px;
  background: #e5e5e5;
  margin: 0 25px;
}
/* =========================
   FORMATIONS
========================= */

.formations-listing {
  padding: 100px 0;
}

.formations-filters {
  padding: 30px;
  margin-bottom: 20px;
  text-align: center;
  background: #f5f7fa;
  border: 2px dashed #cfd8e3;
  color: #0d2d67;
  font-weight: 600;
}

.formations-table-wrapper {
  background: #fff;
  padding: 35px;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 5px 15px;
  overflow-x: auto;
}

.formations-table {
  width: 100%;
  border-collapse: collapse;
}

.formations-table th {
  padding: 18px;
  background: #0d2d67;
  color: #fff;
  font-weight: 600;
}

.formations-table td {
  padding: 18px;
  border-bottom: 1px solid #e5e7ee;
}

.formations-table tbody tr:hover {
  background: #f8f9fb;
}

.formations-pagination {
  display: flex;
  gap: 10px;
  margin-top: 30px;
}

.formations-pagination a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 18px;
  border: 1px solid #d9dde5;
  background: #fff;
  color: #0d2d67;
  font-weight: 600;
}

.formations-pagination a.active {
  background: #0d2d67;
  color: #fff;
  border-color: #0d2d67;
}

.formations-sidebar {
  display: flex;
  flex-direction: column;
  gap: 30px;
  height: 100%;
}

.formations-sidebar-title {
  margin-bottom: 20px;
}

.formations-box {
  padding: 35px;
  background: #fff;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 5px 15px;
}

.formations-sidebar > .formations-box:first-child {
  margin-top: 160px;
}

.formations-box h3 {
  margin-bottom: 25px;
}

.formations-box a:not(.st-btn):not(.st-btn2) {
  display: block;
  padding: 12px 0;
  color: #0d2d67;
  border-bottom: 1px solid #edf0f5;
}

.formations-box a:not(.st-btn):not(.st-btn2):last-child {
  border-bottom: none;
}

.formations-box a i {
  width: 24px;
  margin-right: 10px;
}

.formations-contact {
  margin-top: auto;
}

.formations-contact p {
  margin-bottom: 25px;
}

.formations-contact .st-btn {
  border-bottom: none;
}

.formations-box .st-btn2 {
  border-bottom: none;
}
.formations-btn {
  display: inline-block;
  padding: 14px 30px;
  background: #0d2d67;
  color: #fff !important;
  border: 1px solid #0d2d67;
  border-radius: 4px;
  font-weight: 600;
  text-align: center;
  transition: all 0.3s ease;
}

.formations-btn:hover {
  background: #153d87;
  color: #fff !important;
}
.isps-title {
  padding: 20px 30px;
  margin-bottom: 30px;
  background: linear-gradient(90deg, #0d2d67 0%, #1f4a92 60%, #dfe8f8 100%);
  color: #ffffff !important;
}
/* =========================
   PARALLAX CTA (première section)
========================= */

.surtymar-parallax-cta {
  min-height: 500px;
  background: url("assets/images/paralhome.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  color: #fff;
}

.parallax-cta-overlay {
  background: rgba(2, 42, 82, 0.45);
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 40px 0;
}

/* =========================
   PARALLAX AGENCE (deuxième section)
========================= */

.surtymar-parallax-agence {
  min-height: 600px;
  background: url("assets/images/paralconseil.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  color: #fff;
}

.parallax-agence-overlay {
  background: rgba(0, 0, 0, 0.95);
  width: 100%;
  min-height: 600px;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

/* Styles communs aux deux parallax */
.surtymar-parallax-cta h2,
.surtymar-parallax-agence h2 {
  color: #fff;
}

.surtymar-parallax-cta p,
.surtymar-parallax-agence p {
  color: #fff;
}
.surtymar-parallax-agence {
  min-height: 600px;
  background: url("assets/images/paralconseil.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  align-items: center;
  color: #fff;
  margin-bottom: 25px;
}
/* =========================
   CLIENTS GRILLE
========================= */

.surtymar-clients-grid {
  padding: 60px 0 80px;
  background: var(--surtymar-light);
}

.client-card {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  background: #fff;
  padding: 20px;
  text-align: center;
  height: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-card:hover {
  transform: translateY(-5px);
  box-shadow: rgba(0, 0, 0, 0.5) 0px 10px 30px;
}

.client-card img {
  max-width: 100%;
  max-height: 250px;
  width: auto;
  height: auto;
  object-fit: contain;
}

.client-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 42, 82, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  border-radius: 8px;
}

.client-card:hover .client-overlay {
  opacity: 1;
}

.client-overlay span {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

@media (max-width: 991px) {
  .client-card {
    min-height: 150px;
    padding: 15px;
  }
}

@media (max-width: 576px) {
  .client-card {
    min-height: 120px;
    padding: 12px;
  }
  .client-overlay span {
    font-size: 13px;
  }
}

/* =========================
   AGRÉMENTS & MÉTHODOLOGIE
========================= */

.surtymar-infos {
  padding: 80px 0;
  background: #fff;
}

.info-card {
  background: var(--surtymar-light);
  border-radius: 12px;
  overflow: hidden;
  height: 100%;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 10px 30px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.info-card:hover {
  transform: translateY(-5px);
  box-shadow: rgba(0, 0, 0, 0.25) 0px 15px 40px;
}

.info-card-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.info-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.info-card:hover .info-card-image img {
  transform: scale(1.03);
}

.info-card-content {
  padding: 35px 30px;
}

.info-card-content h3 {
  color: var(--surtymar-blue);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 15px;
}

.info-card-content h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--surtymar-red);
  border-radius: 2px;
}

.info-card-content p {
  margin-bottom: 15px;
  line-height: 1.7;
}

.info-card-content p:last-child {
  margin-bottom: 0;
}

.info-card-content em {
  color: var(--surtymar-blue);
  font-style: italic;
}

@media (max-width: 991px) {
  .surtymar-infos {
    padding: 60px 0;
  }
  .info-card {
    margin-bottom: 30px;
  }
  .info-card-image {
    height: 180px;
  }
  .info-card-content {
    padding: 25px 20px;
  }
  .info-card-content h3 {
    font-size: 24px;
  }
}

@media (max-width: 576px) {
  .surtymar-infos {
    padding: 40px 0;
  }
  .info-card-image {
    height: 150px;
  }
  .info-card-content {
    padding: 20px 15px;
  }
  .info-card-content h3 {
    font-size: 20px;
  }
}
/* =========================
   PARALLAX OVERLAY (conseil.php)
========================= */

.surtymar-parallax {
  position: relative;
  background-attachment: fixed;
}

.surtymar-parallax-overlay {
  background: rgba(2, 42, 82, 0.7);
  width: 100%;
  min-height: 500px;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.surtymar-parallax-subtitle {
  display: block;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
}

.surtymar-parallax h2 {
  color: #fff;
  margin-bottom: 30px;
}

.surtymar-parallax p {
  color: #fff;
  margin-bottom: 15px;
  line-height: 1.6;
}
/* =========================
   MARGE AVANT FOOTER
========================= */

.surtymar-parallax {
  margin-bottom: 25px;
}
/* =========================
   A PROPOS - INTRO
========================= */

.surtymar-about-intro {
  padding: 80px 0 40px;
  background: #fff;
}

.about-logo {
  max-height: 80px;
  width: auto;
  margin-bottom: 25px;
}

.surtymar-about-intro h2 {
  color: var(--surtymar-blue);
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 30px;
}

.surtymar-about-intro p {
  font-size: 18px;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 20px;
  color: var(--surtymar-text);
  text-align: justify;
}

.surtymar-about-intro p:last-child {
  margin-bottom: 0;
}

@media (max-width: 991px) {
  .surtymar-about-intro {
    padding: 60px 0 30px;
  }
  .surtymar-about-intro h2 {
    font-size: 32px;
  }
  .surtymar-about-intro p {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .surtymar-about-intro {
    padding: 40px 0 20px;
  }
  .about-logo {
    max-height: 60px;
  }
  .surtymar-about-intro h2 {
    font-size: 26px;
  }
}
/* =========================
   BOUTON FORMATION DETAIL
========================= */

.btn-formation-detail {
  display: inline-block;
  background: var(--surtymar-blue);
  color: #fff;
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
  box-shadow: 0 3px 10px rgba(2, 42, 82, 0.25);
  white-space: nowrap;
}

.btn-formation-detail:hover {
  background: var(--surtymar-red);
  color: #fff;
  box-shadow: 0 5px 20px rgba(212, 32, 39, 0.35);
  transform: translateY(-2px);
}
/* =========================
   EQUIPE - CONTACT OVERLAY
========================= */

.team-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 42, 82, 0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 0.3s;
}

.team-card:hover .team-overlay {
  opacity: 1;
}

.team-contact-link {
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
  padding: 4px 12px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.1);
}

.team-contact-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.25);
} /* =========================
   CARTE GOOGLE MAPS
========================= */

.surtymar-map {
  padding: 40px 0 60px;
  background: var(--surtymar-light);
}

.map-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  height: 350px;
  border: none;
}

@media (max-width: 991px) {
  .surtymar-map {
    padding: 30px 0 50px;
  }
  .map-wrapper iframe {
    height: 280px;
  }
}

@media (max-width: 576px) {
  .surtymar-map {
    padding: 20px 0 40px;
  }
  .map-wrapper iframe {
    height: 220px;
  }
}
/* =========================
   CONTACT
========================= */

.surtymar-contact {
  padding: 60px 0 80px;
  background: var(--surtymar-light);
}

.surtymar-contact .section-heading p {
  font-size: 18px;
  color: var(--surtymar-text);
  max-width: 700px;
  margin: 0 auto;
}

.contact-form-wrapper {
  max-width: 800px;
  margin: 40px auto 0;
  background: #fff;
  padding: 50px;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 10px 30px;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid #e5e7ee;
  border-radius: 8px;
  font-size: 16px;
  transition: 0.3s;
  background: #f8f9fb;
}

.form-control:focus {
  border-color: var(--surtymar-blue);
  outline: none;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(2, 42, 82, 0.1);
}

.form-control::placeholder {
  color: #aaa;
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.contact-form .btn-surtymar {
  padding: 14px 50px;
  font-size: 18px;
  border: none;
  cursor: pointer;
}

.help-block {
  color: var(--surtymar-red);
  font-size: 13px;
  margin-top: 5px;
}

@media (max-width: 991px) {
  .contact-form-wrapper {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  .contact-form-wrapper {
    padding: 20px;
  }
  .form-control {
    padding: 12px 14px;
    font-size: 14px;
  }
  .contact-form .btn-surtymar {
    width: 100%;
    padding: 14px;
  }
}
/* =========================
   PAGES INTERNES - H4
========================= */

.surtymar-page-content h4 {
  color: var(--surtymar-blue);
  font-size: 16px;
  font-weight: 600;
  margin: 25px 0 15px;
  line-height: 1;
}
.surtymar-phone {
  color: #fff;
  font-weight: 600;
  padding: 8px 18px;
  border: 2px solid #fff;
  border-radius: 50px;
  transition: 0.3s;
}

.surtymar-phone:hover {
  background: #fff;
  color: var(--surtymar-blue);
}

.header-scrolled .surtymar-phone {
  color: var(--surtymar-blue);
  border-color: var(--surtymar-blue);
}

.header-scrolled .surtymar-phone:hover {
  background: var(--surtymar-blue);
  color: #fff;
}
/* =========================
   ACTUALITÉS
========================= */

.surtymar-news {
  padding: 60px 0 80px;
  background: var(--surtymar-light);
}

.news-card {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  transition:
    transform 0.3s,
    box-shadow 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-8px);
  box-shadow: rgba(0, 0, 0, 0.5) 0px 10px 30px;
}

.news-image {
  position: relative;
  overflow: hidden;
  padding-top: 56.25%;
}

.news-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.news-card:hover .news-image img {
  transform: scale(1.05);
}

.news-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  background: var(--surtymar-blue);
}

.news-badge strong {
  font-weight: 600;
}

.badge-formation {
  background: #0a66c2;
}

.badge-evenement {
  background: #e67e22;
}

.badge-innovation {
  background: #8e44ad;
}

.badge-default {
  background: var(--surtymar-blue);
}

.news-content {
  padding: 20px 25px 25px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-content h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--surtymar-blue);
  margin-bottom: 10px;
  line-height: 1.3;
  flex: 0 0 auto;
}

.news-content p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--surtymar-text);
  margin-bottom: 18px;
  flex: 1;
}

.news-link {
  display: inline-block;
  background: transparent;
  color: var(--surtymar-blue);
  border: 1.5px solid var(--surtymar-blue);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 500;
  transition: 0.3s;
  text-decoration: none;
  align-self: flex-start;
}

.news-link:hover {
  background: var(--surtymar-blue);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 3px 12px rgba(2, 42, 82, 0.25);
}

@media (max-width: 991px) {
  .surtymar-news {
    padding: 40px 0 60px;
  }
}

@media (max-width: 576px) {
  .news-content {
    padding: 15px 18px 20px;
  }
  .news-content h3 {
    font-size: 14px;
  }
  .news-content p {
    font-size: 13px;
  }
}
/* =========================
   ARTICLE DÉTAIL
========================= */

.surtymar-article-detail {
  padding: 60px 0 80px;
  background: var(--surtymar-light);
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
}

.article-badge {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #fff;
  background: var(--surtymar-blue);
}

.article-badge strong {
  font-weight: 600;
}

.article-date {
  font-size: 14px;
  color: #888;
}

.article-image {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  margin-bottom: 35px;
}

.article-image img {
  width: 100%;
  height: auto;
  display: block;
}

.article-content {
  background: #fff;
  padding: 45px 50px;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 5px 20px;
  margin-bottom: 35px;
}

.article-content p {
  font-size: 17px;
  line-height: 1.8;
  color: var(--surtymar-text);
  margin-bottom: 18px;
}

.article-content p:last-child {
  margin-bottom: 0;
}

.article-back {
  text-align: center;
}

.btn-back {
  display: inline-block;
  background: var(--surtymar-blue);
  color: #fff;
  padding: 12px 35px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 15px;
  transition: 0.3s;
  text-decoration: none;
  box-shadow: 0 3px 15px rgba(2, 42, 82, 0.2);
}

.btn-back:hover {
  background: var(--surtymar-red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 25px rgba(212, 32, 39, 0.3);
}

@media (max-width: 991px) {
  .surtymar-article-detail {
    padding: 40px 0 60px;
  }
  .article-content {
    padding: 30px 25px;
  }
  .article-content p {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .article-content {
    padding: 20px 18px;
  }
  .article-content p {
    font-size: 15px;
  }
  .article-meta {
    flex-wrap: wrap;
    gap: 10px;
  }
  .btn-back {
    width: 100%;
    text-align: center;
  }
}
/* =========================
   PAGINATION
========================= */

.news-pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 40px;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 14px;
  background: #fff;
  color: var(--surtymar-blue);
  border: 1.5px solid #e5e7ee;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
}

.page-link:hover {
  background: var(--surtymar-light);
  border-color: var(--surtymar-blue);
}

.page-link.active {
  background: var(--surtymar-blue);
  color: #fff;
  border-color: var(--surtymar-blue);
}

.page-link.active:hover {
  background: var(--surtymar-blue-dark);
}

@media (max-width: 576px) {
  .page-link {
    min-width: 34px;
    height: 34px;
    font-size: 13px;
    padding: 0 10px;
  }
  .news-pagination {
    gap: 5px;
  }
}
/* =============================================
   FILTRES FORMATIONS (compact - une ligne)
   ============================================= */
.filter-form {
  background: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 1.5rem;
}

.filter-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 0.5rem 0.6rem;
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  flex: 0 1 auto;
}

.filter-group label {
  font-size: 0.55rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #888;
  margin-bottom: 0.1rem;
}

.filter-group select,
.filter-group input {
  padding: 0.2rem 0.4rem;
  border: 1px solid #d9dde5;
  border-radius: 4px;
  font-size: 0.75rem;
  background: #fff;
  height: 28px;
  transition: border 0.2s;
}

.filter-group select:focus,
.filter-group input:focus {
  outline: none;
  border-color: var(--surtymar-blue);
  box-shadow: 0 0 0 2px rgba(2, 42, 82, 0.1);
}

/* Largeurs spécifiques */
.filter-type {
  flex: 0 0 10%;
  min-width: 80px;
}
.filter-format {
  flex: 0 0 10%;
  min-width: 80px;
}
.filter-search {
  flex: 0 0 14%;
  min-width: 100px;
}
.filter-date {
  flex: 0 0 20%;
  min-width: 160px;
}
.filter-actions {
  flex: 0 0 auto;
  display: flex;
  flex-direction: row;
  gap: 0.3rem;
  align-items: center;
}

.filter-date-group {
  display: flex;
  gap: 0.2rem;
  align-items: center;
}
.filter-date-group input {
  flex: 1;
  min-width: 60px;
  padding: 0.2rem 0.3rem;
}
.filter-date-group span {
  font-size: 0.6rem;
  color: #999;
  padding: 0 0.1rem;
}

.btn-filter,
.btn-reset-filter {
  padding: 0.15rem 0.6rem;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.btn-filter {
  background: var(--surtymar-blue);
  color: #fff;
}
.btn-filter:hover {
  background: var(--surtymar-blue-dark);
}

.btn-reset-filter {
  background: transparent;
  color: #666;
  border: 1px solid #d9dde5;
}
.btn-reset-filter:hover {
  background: #f5f7fa;
}

/* Responsive - si la ligne est trop serrée, on repasse en wrap */
@media (max-width: 1100px) {
  .filter-row {
    flex-wrap: wrap;
  }
  .filter-type,
  .filter-format {
    flex: 0 0 12%;
    min-width: 90px;
  }
  .filter-search {
    flex: 0 0 18%;
    min-width: 120px;
  }
  .filter-date {
    flex: 0 0 30%;
    min-width: 200px;
  }
  .filter-actions {
    flex: 0 0 auto;
  }
}
@media (max-width: 768px) {
  .filter-row {
    flex-direction: column;
    align-items: stretch;
  }
  .filter-group {
    flex: 1 1 auto !important;
    min-width: 0 !important;
  }
  .filter-date-group {
    flex-wrap: wrap;
  }
  .filter-actions {
    flex-direction: row;
    justify-content: stretch;
  }
  .btn-filter,
  .btn-reset-filter {
    flex: 1;
  }
}
.formations-table {
  width: 100%;
  table-layout: fixed;
}
.formations-table th:nth-child(1),
.formations-table td:nth-child(1) {
  width: 31%;
}

.formations-table th:nth-child(2),
.formations-table td:nth-child(2) {
  width: 10%;
}

.formations-table th:nth-child(3),
.formations-table td:nth-child(3) {
  width: 10%;
}

.formations-table th:nth-child(4),
.formations-table td:nth-child(4) {
  width: 10%;
}

.formations-table th:nth-child(5),
.formations-table td:nth-child(5) {
  width: 10%;
}

.formations-table th:nth-child(6),
.formations-table td:nth-child(6) {
  width: 10%;
}

.formations-table th:nth-child(7),
.formations-table td:nth-child(7) {
  width: 20%;
}
.formations-table td {
  overflow: hidden;
  text-overflow: ellipsis;
}
@media (max-width: 768px) {
  .formations-table td {
    overflow: visible;
    text-overflow: initial;
    white-space: normal;
  }
}
/* FILTRES */
.filter-group label {
  display: block;
  text-align: left;
  margin-bottom: 6px;
  padding-left: 0;
}
.formations-filters {
  background: #f5f5f5;
  border: 2px dashed #d7dfea;
  padding: 30px;
}
.formations-filters {
  background: none;
  border: none;
  padding: 0;
  margin-bottom: 30px;
}
.formations-filters {
  background: none;
  border: none;
  padding: 0;
}

.filter-form {
  background: #fff;
  padding: 18px 20px;
  border-radius: 10px;
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}
/* Séparation filtres / recherche */
.filter-format {
  position: relative;
  margin-right: auto;
  padding-right: 30px;
}
/* =========================
   TABLEAU MOBILE
========================= */

@media (max-width: 768px) {
  .formations-table-wrapper {
    height: auto;
    padding: 15px;
  }

  .formations-table,
  .formations-table tbody,
  .formations-table tr,
  .formations-table td {
    display: block;
    width: 100%;
  }

  .formations-table thead {
    display: none;
  }

  .formations-table tr {
    margin-bottom: 15px;
    padding: 15px;
    background: #fff;
    border: 1px solid #e5e7ee;
    box-shadow: rgba(0, 0, 0, 0.08) 0px 3px 8px;
  }

  .formations-table td {
    padding: 3px 0;
    border: none;
    text-align: left;
  }

  .formations-table td:before {
    content: attr(data-label);
    display: inline-block;
    width: 80px;
    margin-right: 8px;
    margin-bottom: 2px;
    color: #0d2d67;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
  }

  .formations-table td[data-label="Formation"] {
    margin-bottom: 12px;
    font-size: 18px;
    font-weight: 700;
    color: #0d2d67;
  }

  .formations-table td[data-label="Formation"]:before {
    display: none;
  }

  .formations-table td[data-label="Action"] {
    margin-top: 15px;
  }

  .formations-table td[data-label="Action"]:before {
    display: none;
  }

  .btn-formation-detail {
    display: block;
    text-align: center;
  }
}
@media (max-width: 768px) {
  .formations-table th,
  .formations-table td {
    width: auto !important;
    max-width: none !important;
  }
}
/* =============================================
   DETAIL FORMATION
   ============================================= */

.surtymar-detail-formation {
  padding: 60px 0 80px;
  background: var(--surtymar-light);
}

.detail-formation-card {
  background: #fff;
  border-radius: 16px;
  padding: 40px;
  box-shadow: rgba(0, 0, 0, 0.15) 0px 10px 30px;
  margin-bottom: 40px;
}

.detail-formation-image {
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 5px 15px;
}

.detail-formation-image-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--surtymar-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: var(--surtymar-blue);
}

.detail-formation-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.badge-type,
.badge-format {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}

.badge-type {
  background: var(--surtymar-blue);
}

.badge-format {
  background: var(--surtymar-red);
}

.detail-formation-infos {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 40px;
  margin-bottom: 25px;
  padding: 15px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
}

.info-item i {
  color: var(--surtymar-blue);
  font-size: 18px;
  width: 20px;
}

.detail-formation-description {
  margin-bottom: 30px;
}

.detail-formation-description h3 {
  color: var(--surtymar-blue);
  font-size: 18px;
  margin-bottom: 10px;
}

.detail-formation-description p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--surtymar-text);
}

.detail-formation-blocks {
  margin-bottom: 40px;
}

.detail-block {
  background: #fff;
  border-radius: 14px;
  padding: 25px 30px;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 5px 20px;
  height: 100%;
  margin-bottom: 20px;
}

.detail-block h3 {
  color: var(--surtymar-blue);
  font-size: 18px;
  margin-bottom: 12px;
}

.detail-block h3 i {
  margin-right: 10px;
  color: var(--surtymar-red);
}

.detail-block p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--surtymar-text);
  margin: 0;
}

.detail-programme-block {
  background: #fff;
  border-radius: 14px;
  padding: 30px 40px;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 5px 20px;
}

.detail-programme-block h3 {
  color: var(--surtymar-blue);
  font-size: 22px;
  margin-bottom: 20px;
}

.detail-programme-block h3 i {
  margin-right: 12px;
  color: var(--surtymar-red);
}

.programme-content {
  font-size: 15px;
  line-height: 1.6;
}

.programme-jour {
  color: var(--surtymar-blue);
  font-size: 20px;
  font-weight: 700;
  margin: 25px 0 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--surtymar-light);
}

.programme-module {
  color: var(--surtymar-blue);
  font-size: 17px;
  font-weight: 600;
  margin: 15px 0 8px;
}

.programme-desc {
  margin: 4px 0 4px 20px;
  color: var(--surtymar-text);
}

.programme-duree {
  margin: 4px 0 8px 20px;
  color: var(--surtymar-text);
  font-size: 14px;
}

.programme-other {
  margin: 4px 0;
  color: var(--surtymar-text);
}

@media (max-width: 991px) {
  .detail-formation-card {
    padding: 25px;
  }
  .detail-formation-image {
    margin-bottom: 25px;
  }
  .detail-programme-block {
    padding: 25px;
  }
}

@media (max-width: 576px) {
  .detail-formation-card {
    padding: 18px;
  }
  .detail-formation-infos {
    gap: 12px;
  }
  .detail-block {
    padding: 20px;
  }
  .detail-programme-block {
    padding: 20px;
  }
  .programme-jour {
    font-size: 17px;
  }
  .programme-module {
    font-size: 15px;
  }
}
/* =============================================
   DETAIL FORMATION - DEVIS
   ============================================= */
.detail-devis-block {
  background: #fff;
  border-radius: 14px;
  padding: 30px 40px;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 5px 20px;
  margin-top: 40px;
}

.detail-devis-block h3 {
  color: var(--surtymar-blue);
  font-size: 22px;
  margin-bottom: 25px;
}

.detail-devis-block h3 i {
  margin-right: 12px;
  color: var(--surtymar-red);
}

.devis-form label {
  font-weight: 600;
  color: var(--surtymar-text);
  display: block;
  margin-bottom: 5px;
}

.devis-form input {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 15px;
  transition: border 0.2s;
}

.devis-form input:focus {
  outline: none;
  border-color: var(--surtymar-blue);
  box-shadow: 0 0 0 3px rgba(2, 42, 82, 0.1);
}

.btn-devis {
  background: var(--surtymar-red);
  color: #fff;
  padding: 12px 30px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  margin-top: 20px;
  transition: background 0.2s;
}

.btn-devis:hover {
  background: #b6171e;
}

.devis-message {
  background: #d4edda;
  color: #155724;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .detail-devis-block {
    padding: 20px;
  }
  .detail-devis-block h3 {
    font-size: 18px;
  }
}
/* =============================================
   DEVIS FORM - INPUT STYLE
   ============================================= */
/* Champs du formulaire de devis */
.devis-form input[type="text"],
.devis-form input[type="email"] {
  width: 500px;
  padding: 10px 14px;
  border: 1px solid #dce3ed;
  border-radius: 8px;
  font-size: 15px;
  transition: border 0.2s;
  background: #fff;
}

.devis-form input[type="text"]:focus,
.devis-form input[type="email"]:focus {
  outline: none;
  border-color: #022a52;
  box-shadow: 0 0 0 3px rgba(2, 42, 82, 0.1);
}

/* =============================================
   FORMATIONS PUBLIQUES - Colonne formation avec image
   ============================================= */

.formation-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}

.formation-cell img {
  width: 50px;
  height: auto;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.formation-cell .no-image {
  width: 50px;
  height: auto;
  background: #e5e7ee;
  border-radius: 8px;
  flex-shrink: 0;
}

.formation-cell .titre {
  font-weight: 500;
  word-break: break-word;
}
.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.filter-btn {
  display: inline-block;
  padding: 0.4rem 1.2rem;
  border: 1px solid var(--border, #dce3ed);
  border-radius: 6px;
  background: #fff;
  color: var(--text, #2b2b2b);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
}

.filter-btn:hover {
  background: var(--bg-light, #f0f4f8);
  border-color: var(--primary, #022a52);
}

.filter-btn.active {
  background: var(--primary, #022a52);
  color: #fff;
  border-color: var(--primary, #022a52);
}
/.testimonials-carousel {
  background: #f0f4f8;
  border-radius: 16px;
  padding: 25px 30px 20px;
  height: 100%;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  border: 1px solid #e5e9ee;
}

.testimonials-header {
  text-align: center;
  flex-shrink: 0;
  margin-bottom: 15px;
}

.testimonials-slides {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}

.testimonial-slide {
  display: none;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-slide p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--surtymar-text);
  font-style: italic;
  margin-bottom: 15px;
  /* Troncature CSS si besoin */
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonial-footer {
  flex-shrink: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid #dce3ed;
}

.testimonial-footer button {
  background: var(--surtymar-blue);
  color: #fff;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  transition: 0.3s;
}

.testimonial-footer button:hover {
  background: var(--surtymar-red);
}
/* =============================================
   CARROUSEL CLIENTS - Titre et dégradé
   ============================================= */

.clients-carousel-wrapper {
  margin: 40px 0 20px;
}

.clients-carousel-header {
  text-align: center;
  margin-bottom: 25px;
}

.clients-label {
  display: block;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--surtymar-red);
  margin-bottom: 2px;
  font-weight: 600;
}

.clients-carousel-header h3 {
  color: var(--surtymar-blue);
  font-size: 1.3rem;
  font-weight: 700;
  margin: 0;
}

.clients-carousel {
  position: relative;
  overflow: hidden;
  padding: 15px 0;
}

.clients-carousel::before,
.clients-carousel::after {
  content: "";
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.clients-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--surtymar-light), transparent);
}

.clients-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--surtymar-light), transparent);
}
/* =============================================
   DETAIL FORMATION - Liens conseillés
   ============================================= */
.detail-links-block {
  background: #fff;
  border-radius: 14px;
  padding: 30px 40px;
  box-shadow: rgba(0, 0, 0, 0.08) 0px 5px 20px;
  margin-top: 40px;
}

.detail-links-block h3 {
  color: var(--surtymar-blue);
  font-size: 22px;
  margin-bottom: 20px;
}

.detail-links-block h3 i {
  margin-right: 12px;
  color: var(--surtymar-red);
}

.links-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.link-item {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
  background: var(--surtymar-light);
  border-radius: 8px;
  color: var(--surtymar-blue);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s;
  border: 1px solid transparent;
  max-width: 400px;
}

.link-item:hover {
  background: var(--surtymar-blue);
  color: #fff;
  border-color: var(--surtymar-blue);
  transform: translateX(5px);
}

.link-item i {
  margin-left: 10px;
  font-size: 14px;
  transition: transform 0.3s;
}

.link-item:hover i {
  transform: translateX(3px);
}

@media (max-width: 768px) {
  .detail-links-block {
    padding: 20px;
  }
  .link-item {
    max-width: 100%;
    font-size: 14px;
    padding: 10px 16px;
  }
}
