/* Personnalisations Gestacapa (chargé après main.css) */

/* Logo : icône + nom « gesta » (marine) « capa » (bleu) */
.header .logo img,
.footer .logo img {
  height: 36px;
  width: 36px;
  margin-right: 10px;
}

.logo .sitename {
  font-family: var(--heading-font);
  font-weight: 700;
  letter-spacing: 0;
}

.logo .sitename .capa {
  color: var(--accent-color);
}

.footer-16 .brand-section .logo .sitename {
  font-weight: 700;
  letter-spacing: 0;
}

/* Accueil, bloc « à propos » : le « + » automatique n'a de sens que pour les années */
.home-about .about-content .stats-grid .stat-item + .stat-item .stat-number::after {
  content: none;
}

/* Accueil : grand logo à la place de la photo */
.hero .hero-visual .main-image .hero-logo {
  display: block;
  width: 100%;
  height: 100%;
}

/* Section « Un savoir-faire certifié » (titre professionnel RNCP) */
.certification .certif-card {
  background: var(--surface-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 88%);
}

.certification .certif-seal {
  height: 100%;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 40px 20px;
  color: #fff;
  text-align: center;
  background: linear-gradient(145deg, #175cdd, #112344);
}

.certification .certif-seal .seal {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  background: #fff;
  box-shadow: 0 0 0 10px rgba(255, 255, 255, .15), 0 0 0 20px rgba(255, 255, 255, .07);
}

.certification .certif-seal .seal i {
  font-size: 58px;
  color: #ff8a3d;
}

.certification .certif-seal .seal-code {
  font-family: var(--heading-font);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 1px;
}

.certification .certif-seal .seal-level {
  display: inline-block;
  padding: 4px 16px;
  border-radius: 50px;
  background: #ff8a3d;
  font-weight: 700;
  font-size: 15px;
}

.certification .certif-seal .seal-by {
  margin-top: 6px;
  font-size: 14px;
  opacity: .85;
}

.certification .certif-content {
  padding: 40px;
}

.certification .certif-label {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.certification .certif-content h3 {
  margin: 14px 0 12px;
  font-size: 30px;
  font-weight: 700;
}

.certification .certif-bloc {
  height: 100%;
  padding: 22px;
  border-radius: 14px;
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  background: color-mix(in srgb, var(--accent-color), transparent 96%);
}

.certification .certif-bloc .bloc-head {
  font-family: var(--heading-font);
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: 6px;
}

.certification .certif-bloc .bloc-head i {
  margin-right: 6px;
}

.certification .certif-bloc .bloc-title {
  font-weight: 600;
  color: var(--heading-color);
  font-size: 15px;
  margin-bottom: 10px;
}

.certification .certif-bloc ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
}

.certification .certif-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 26px;
  font-weight: 600;
}

@media (max-width: 768px) {
  .certification .certif-content {
    padding: 28px 22px;
  }
  .certification .certif-seal {
    min-height: 260px;
  }
}

/* Section « Aussi sur votre téléphone » (applications du Play Store) */
.play-store .store-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 34px;
  border-radius: 20px;
  background: var(--surface-color);
  box-shadow: 0 15px 45px color-mix(in srgb, var(--default-color), transparent 90%);
  transition: transform .3s ease, box-shadow .3s ease;
}

.play-store .store-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px color-mix(in srgb, var(--default-color), transparent 85%);
}

.play-store .store-head {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 18px;
}

.play-store .store-icon {
  flex: none;
  width: 88px;
  height: 88px;
  border-radius: 22px;
  box-shadow: 0 8px 20px color-mix(in srgb, var(--default-color), transparent 82%);
}

.play-store .store-head h3 {
  margin: 0 0 4px;
  font-size: 26px;
  font-weight: 700;
}

.play-store .store-tagline {
  margin: 0;
  color: var(--accent-color);
  font-weight: 600;
  font-size: 15px;
}

.play-store .store-features {
  list-style: none;
  padding: 0;
  margin: 6px 0 24px;
}

.play-store .store-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 7px 0;
  font-size: 15px;
}

.play-store .store-features i {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 9px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
}

.play-store .store-badge {
  margin-top: auto;
  align-self: flex-start;
}

.play-store .store-badge img {
  height: 64px;
  width: auto;
  margin-left: -10px; /* le badge officiel a une marge transparente */
}

/* Section KA-MAINT (application phare) */
.ka-maint {
  position: relative;
  overflow: hidden;
  color: rgba(255, 255, 255, .82);
  background:
    radial-gradient(circle at 85% 15%, rgba(31, 182, 214, .18), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(255, 138, 61, .14), transparent 45%),
    linear-gradient(135deg, #0b1830 0%, #112344 55%, #153a7a 100%);
}

.ka-maint h2,
.ka-maint h4 {
  color: #fff;
}

.ka-maint .ka-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .6px;
  text-transform: uppercase;
  color: #ff8a3d;
  background: rgba(255, 138, 61, .14);
  border: 1px solid rgba(255, 138, 61, .35);
}

.ka-maint h2 {
  margin: 18px 0 18px;
  font-size: 42px;
  font-weight: 800;
  line-height: 1.15;
}

.ka-maint .ka-lead {
  font-size: 18px;
  line-height: 1.7;
  color: rgba(255, 255, 255, .9);
}

.ka-maint .ka-story {
  padding-left: 16px;
  border-left: 3px solid #ff8a3d;
  font-style: italic;
}

.ka-maint .ka-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 28px;
}

.ka-maint .ka-stat {
  padding: 16px 12px;
  text-align: center;
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
}

.ka-maint .ka-stat strong {
  display: block;
  font-family: var(--heading-font);
  font-size: 32px;
  line-height: 1.1;
  color: #fff;
}

.ka-maint .ka-stat strong i {
  color: #1fb6d6;
  font-size: 28px;
}

.ka-maint .ka-stat span {
  display: block;
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.35;
}

.ka-maint .ka-visual {
  text-align: center;
}

.ka-maint .ka-logo {
  position: relative;
  width: min(360px, 100%);
  aspect-ratio: 1;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(23, 92, 221, .55) 0%, rgba(23, 92, 221, .15) 55%, transparent 70%);
}

.ka-maint .ka-logo::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, .18);
}

.ka-maint .ka-logo img {
  width: 72%;
  height: auto;
}

.ka-maint .ka-flow {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.ka-maint .ka-flow li {
  position: relative;
  flex: 1;
  max-width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
}

.ka-maint .ka-flow li i {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
}

.ka-maint .ka-flow li:nth-child(3) i {
  background: #ff8a3d;
  border-color: #ff8a3d;
}

.ka-maint .ka-flow li + li::before {
  content: "\2192";
  position: absolute;
  left: -10px;
  top: 10px;
  color: rgba(255, 255, 255, .45);
}

.ka-maint .ka-features {
  margin-top: 56px;
}

.ka-maint .ka-feature {
  height: 100%;
  padding: 22px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .05);
  border: 1px solid rgba(255, 255, 255, .09);
  transition: background .3s ease, transform .3s ease;
}

.ka-maint .ka-feature:hover {
  background: rgba(255, 255, 255, .09);
  transform: translateY(-4px);
}

.ka-maint .ka-feature i {
  display: inline-flex;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  font-size: 20px;
  color: #fff;
  background: linear-gradient(135deg, #175cdd, #1fb6d6);
}

.ka-maint .ka-feature h4 {
  margin: 14px 0 6px;
  font-size: 17px;
  font-weight: 700;
}

.ka-maint .ka-feature p {
  margin: 0;
  font-size: 14px;
  line-height: 1.55;
}

.ka-maint .ka-more {
  margin: 22px 0 0;
  text-align: center;
  font-size: 15px;
}

.ka-maint .ka-more i {
  color: #ff8a3d;
  margin-right: 4px;
}

.ka-maint .ka-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}

.ka-maint .ka-btn-primary,
.ka-maint .ka-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 32px;
  border-radius: 50px;
  font-weight: 700;
  transition: all .3s ease;
}

.ka-maint .ka-btn-primary {
  color: #fff;
  background: #ff8a3d;
  box-shadow: 0 12px 30px rgba(255, 138, 61, .35);
}

.ka-maint .ka-btn-primary:hover {
  color: #fff;
  background: #ff7a22;
  transform: translateY(-2px);
}

.ka-maint .ka-btn-outline {
  color: #fff;
  border: 2px solid rgba(255, 255, 255, .4);
}

.ka-maint .ka-btn-outline:hover {
  color: #112344;
  background: #fff;
  border-color: #fff;
}

@media (max-width: 991px) {
  .ka-maint h2 {
    font-size: 32px;
  }
  .ka-maint .ka-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* KA-MAINT : logo au-dessus du titre + carrousel de captures dans un cadre de navigateur */
.ka-maint .ka-brand {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.ka-maint .ka-brand img {
  height: 78px;
  width: auto;
}

.ka-maint .ka-stats {
  grid-template-columns: repeat(2, 1fr);
}

.ka-maint .ka-browser {
  border-radius: 14px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 30px 70px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .08);
  transform: perspective(1600px) rotateY(-4deg);
  transition: transform .5s ease;
}

.ka-maint .ka-browser:hover {
  transform: none;
}

.ka-maint .ka-browser-bar {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 10px 14px;
  background: #e9edf5;
  border-bottom: 1px solid #d8deea;
}

.ka-maint .ka-browser-bar .dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ff5f57;
}

.ka-maint .ka-browser-bar .dot:nth-child(2) {
  background: #febc2e;
}

.ka-maint .ka-browser-bar .dot:nth-child(3) {
  background: #28c840;
}

.ka-maint .ka-browser-url {
  flex: 1;
  margin-left: 12px;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 12px;
  color: #5b6577;
  background: #fff;
}

.ka-maint .ka-browser-url i {
  color: #22a06b;
  margin-right: 4px;
}

.ka-maint .ka-browser .carousel-item img {
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top;
}

.ka-maint .ka-browser .carousel-control-prev,
.ka-maint .ka-browser .carousel-control-next {
  width: 12%;
  opacity: 0;
  transition: opacity .3s ease;
}

.ka-maint .ka-browser:hover .carousel-control-prev,
.ka-maint .ka-browser:hover .carousel-control-next {
  opacity: .9;
}

.ka-maint .ka-browser .carousel-control-prev-icon,
.ka-maint .ka-browser .carousel-control-next-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: rgba(17, 35, 68, .75);
  background-size: 45%;
}

.ka-maint .ka-carousel-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 18px;
}

.ka-maint .ka-caption {
  font-family: var(--heading-font);
  font-weight: 600;
  color: #fff;
}

.ka-maint .ka-dots {
  position: static;
  margin: 0;
  justify-content: flex-end;
}

.ka-maint .ka-dots [data-bs-target] {
  width: 9px;
  height: 9px;
  margin: 0 4px;
  border: 0;
  border-radius: 50%;
  background-color: #fff;
  opacity: .35;
}

.ka-maint .ka-dots .active {
  width: 26px;
  border-radius: 5px;
  background-color: #ff8a3d;
  opacity: 1;
}

.ka-maint .ka-flow {
  margin-top: 22px;
}

@media (max-width: 991px) {
  .ka-maint .ka-browser {
    transform: none;
  }
}

/* 14 écrans : points plus serrés */
.ka-maint .ka-dots [data-bs-target] {
  width: 7px;
  height: 7px;
  margin: 0 3px;
}

.ka-maint .ka-dots .active {
  width: 20px;
}

/* Accroche compacte (hauteur divisée par deux environ) */
.hero {
  min-height: auto;
  padding: 140px 0 40px; /* 140px : dégage l'en-tête fixe (barre du haut + menu) */
}

.hero .hero-content .emergency-contact {
  max-width: 560px;
}

.hero .hero-content {
  padding: 0;
}

.hero .hero-content .trust-badges {
  gap: .75rem;
}

.hero .hero-content .trust-badges .badge-item {
  padding: .35rem .85rem;
  font-size: .8rem;
}

.hero .hero-content h1 {
  font-size: 2.6rem;
  margin-bottom: .75rem;
}

.hero .hero-content .hero-description {
  max-width: none;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.hero .hero-content .hero-stats {
  gap: 1.75rem;
}

.hero .hero-content .hero-stats .stat-item h3 {
  font-size: 1.6rem;
}

.hero .hero-content .hero-actions {
  margin-bottom: 0;
}

.hero .hero-content .hero-actions .btn {
  padding: .7rem 1.6rem;
}

.hero .hero-content .emergency-contact {
  padding: .6rem .9rem;
}

.hero .hero-content .emergency-contact .emergency-icon {
  width: 40px;
  height: 40px;
  font-size: 1.05rem;
}

.hero .hero-content .emergency-contact .emergency-info strong {
  font-size: 1rem;
}

.hero .hero-visual {
  height: auto;
}

.hero .hero-visual .main-image {
  height: auto;
}

.hero .hero-visual .main-image .hero-logo {
  height: auto;
  aspect-ratio: 2 / 1;
}

@media (max-width: 768px) {
  .hero .hero-content h1 {
    font-size: 2rem;
  }
}

/* Ancres des applications (menu déroulant « Applications ») : compense le header fixe */
[id^="app-"] {
  scroll-margin-top: 100px;
}

/* Pages dédiées aux applications (même présentation que KA-MAINT) */
.ka-maint .ka-wordmark {
  font-family: var(--heading-font);
  font-size: 34px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.5px;
}

.ka-maint .ka-wordmark span {
  color: #ffb020;
}

.ka-maint .ka-brand + .ka-label {
  margin-top: 22px;
}

.ka-maint .ka-note {
  margin: 10px 0 0;
  font-size: 13px;
  color: rgba(255, 255, 255, .6);
}

.ka-maint .ka-note i {
  margin-right: 6px;
}

/* Pied de page : même bleu que le bandeau du haut de l'en-tête (topbar) */
.footer-16 {
  --background-color: #175cdd;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --accent-color: #ffffff;
  border-top: 0;
}
.footer-16 a {
  color: #ffffff;
}
.footer-16 .brand-section .contact-info .contact-item i {
  color: #cfe0ff;
}
.footer-16 .logo .sitename .capa {
  color: #cfe0ff;
}
/* L'icône du logo contient du bleu : posée sur une tuile blanche pour rester lisible */
.footer-16 .logo img {
  background: #ffffff;
  border-radius: 8px;
  padding: 3px;
}
.footer-16 .footer-bottom .copyright p,
.footer-16 .footer-bottom .legal-links a,
.footer-16 .footer-bottom .legal-links .credits {
  color: rgba(255, 255, 255, .8);
}
.footer-16 .footer-bottom .legal-links .credits a,
.footer-16 .footer-bottom .legal-links a:hover {
  color: #ffffff;
}
/* Bouton « haut de page » : liseré blanc pour rester visible sur le pied de page bleu */
.scroll-top {
  box-shadow: 0 0 0 2px #ffffff;
}

/* Pages des applications PCL : le bloc de présentation prend la couleur de l'en-tête de l'application
   (valeur --app-couleur de chaque application ; PCLMaCompta : .bg-monchoix). Dégradé vers une teinte
   plus foncée de la même couleur pour garder le texte blanc lisible. */
#pclmesgestproj.ka-maint { --ka-app: #0b6bcb; }
#pclmacompta.ka-maint    { --ka-app: #3d98f4; }
#pclgestclub.ka-maint    { --ka-app: #1c5fa8; }
#pclplanrepas.ka-maint   { --ka-app: #1f7a4d; }
#pclvoyages.ka-maint     { --ka-app: #0f7c8c; }
#pclmesgestproj.ka-maint,
#pclmacompta.ka-maint,
#pclgestclub.ka-maint,
#pclplanrepas.ka-maint,
#pclvoyages.ka-maint {
  color: rgba(255, 255, 255, .9);
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .12), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(255, 138, 61, .12), transparent 45%),
    linear-gradient(135deg, color-mix(in srgb, var(--ka-app) 55%, #000) 0%, color-mix(in srgb, var(--ka-app) 80%, #000) 55%, var(--ka-app) 100%);
}

/*--------------------------------------------------------------
# Page « La société » (societe.html)
--------------------------------------------------------------*/
.soc-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 90%);
  margin-bottom: 18px;
}
.soc-intro h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 20px;
}
.soc-intro .soc-lead {
  font-size: 1.15rem;
  color: var(--heading-color);
}
.soc-values {
  display: grid;
  gap: 16px;
}
.soc-value {
  display: flex;
  gap: 18px;
  padding: 22px 24px;
  border-radius: 16px;
  background: var(--surface-color);
  box-shadow: 0 10px 30px rgba(17, 35, 68, .08);
  border-left: 4px solid var(--accent-color);
}
.soc-value:nth-child(even) { border-left-color: #ff8a3d; }
.soc-value i {
  font-size: 28px;
  color: var(--accent-color);
  flex-shrink: 0;
}
.soc-value:nth-child(even) i { color: #ff8a3d; }
.soc-value h4 { font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; }
.soc-value p { margin: 0; font-size: .95rem; }

/* Services */
.soc-card {
  height: 100%;
  padding: 30px 28px;
  border-radius: 16px;
  background: var(--surface-color);
  box-shadow: 0 6px 20px rgba(17, 35, 68, .06);
  transition: transform .3s, box-shadow .3s;
}
.soc-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(17, 35, 68, .12);
}
.soc-card i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  font-size: 26px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-color), #3d98f4);
  margin-bottom: 18px;
}
.soc-card h4 { font-size: 1.15rem; font-weight: 700; }
.soc-card p { margin: 0; font-size: .95rem; }

/* Accompagnement : frise verticale */
.soc-timeline {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  max-width: 900px;
  position: relative;
}
.soc-timeline::before {
  content: "";
  position: absolute;
  left: 27px;
  top: 10px;
  bottom: 10px;
  width: 3px;
  background: linear-gradient(var(--accent-color), #ff8a3d);
  border-radius: 3px;
}
.soc-timeline li {
  position: relative;
  display: flex;
  gap: 26px;
  margin-bottom: 26px;
}
.soc-timeline li:last-child { margin-bottom: 0; }
.soc-step-num {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: 57px;
  height: 57px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--heading-font);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  background: var(--heading-color);
  box-shadow: 0 0 0 6px var(--background-color);
}
.soc-step-body {
  flex: 1;
  padding: 22px 26px;
  border-radius: 16px;
  background: var(--surface-color);
  box-shadow: 0 6px 20px rgba(17, 35, 68, .07);
}
.soc-step-body h4 { font-size: 1.2rem; font-weight: 700; }
.soc-step-body h4 small {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 10px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 600;
  color: #c25a12;
  background: #fff1e6;
  vertical-align: middle;
}
.soc-step-body p { margin-bottom: 0; }
.soc-deliverables {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.soc-deliverables li {
  display: inline-flex;
  gap: 6px;
  margin: 0;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: .85rem;
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
}

/* Méthode */
.soc-principle {
  height: 100%;
  padding: 26px 22px;
  border-radius: 16px;
  background: var(--surface-color);
  border-top: 4px solid var(--accent-color);
  box-shadow: 0 6px 20px rgba(17, 35, 68, .06);
}
.soc-principle i { font-size: 30px; color: #ff8a3d; }
.soc-principle h4 { font-size: 1.1rem; font-weight: 700; margin: 12px 0 8px; }
.soc-principle p { margin: 0; font-size: .93rem; }

/* Outils */
.soc-h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 22px;
}
.soc-criteria {
  list-style: none;
  padding: 0;
  margin: 0 0 22px;
}
.soc-criteria li {
  display: flex;
  gap: 14px;
  margin-bottom: 16px;
}
.soc-criteria li i {
  font-size: 24px;
  color: var(--accent-color);
  line-height: 1;
}
.soc-criteria strong { color: var(--heading-color); }
.soc-note {
  padding: 16px 18px;
  border-radius: 12px;
  background: #fff6ee;
  border-left: 4px solid #ff8a3d;
  font-size: .95rem;
}
.soc-note i { color: #ff8a3d; margin-right: 6px; }
.soc-stack {
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(17, 35, 68, .1);
}
.soc-stack-row {
  display: grid;
  grid-template-columns: 210px 1fr;
  gap: 4px 18px;
  padding: 16px 22px;
  background: var(--surface-color);
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}
.soc-stack-row:last-child { border-bottom: 0; }
.soc-stack-row:nth-child(odd) { background: #f7f9fe; }
.soc-stack-need {
  grid-row: span 2;
  font-weight: 700;
  color: var(--heading-color);
  display: flex;
  align-items: center;
  gap: 10px;
}
.soc-stack-need i { font-size: 22px; color: var(--accent-color); }
.soc-stack-tech { display: flex; flex-wrap: wrap; gap: 6px; }
.soc-stack-tech span {
  padding: 3px 11px;
  border-radius: 50px;
  font-size: .82rem;
  font-weight: 600;
  color: #fff;
  background: var(--heading-color);
}
.soc-stack-row p { margin: 0; font-size: .9rem; }
@media (max-width: 575px) {
  .soc-stack-row { grid-template-columns: 1fr; }
  .soc-stack-need { grid-row: auto; }
}

/* Formules */
.soc-offer {
  height: 100%;
  padding: 34px 30px;
  border-radius: 18px;
  background: var(--surface-color);
  box-shadow: 0 6px 20px rgba(17, 35, 68, .07);
  text-align: center;
}
.soc-offer > i { font-size: 38px; color: var(--accent-color); }
.soc-offer h4 { font-size: 1.35rem; font-weight: 800; margin: 12px 0 4px; }
.soc-offer-for { color: #ff8a3d; font-weight: 600; margin-bottom: 18px; }
.soc-offer ul { list-style: none; padding: 0; margin: 0; text-align: left; }
.soc-offer ul li {
  padding: 8px 0 8px 28px;
  position: relative;
  border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
}
.soc-offer ul li::before {
  content: "\F26E";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  color: var(--accent-color);
}
.soc-offer-featured {
  color: rgba(255, 255, 255, .9);
  background: linear-gradient(135deg, #0b1830, #112344 55%, #153a7a);
  transform: translateY(-8px);
}
.soc-offer-featured h4, .soc-offer-featured > i, .soc-offer-featured ul li::before { color: #fff; }
.soc-offer-featured ul li { border-top-color: rgba(255, 255, 255, .15); }

/* FAQ */
.soc-faq .accordion-item {
  border: 0;
  margin-bottom: 12px;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(17, 35, 68, .06);
}
.soc-faq .accordion-button { font-weight: 600; color: var(--heading-color); }
.soc-faq .accordion-button:not(.collapsed) {
  color: var(--accent-color);
  background: color-mix(in srgb, var(--accent-color), transparent 93%);
  box-shadow: none;
}

/* Appel à l'action */
.soc-cta-box {
  padding: 56px 40px;
  border-radius: 24px;
  text-align: center;
  color: rgba(255, 255, 255, .85);
  background:
    radial-gradient(circle at 85% 15%, rgba(31, 182, 214, .2), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(255, 138, 61, .18), transparent 45%),
    linear-gradient(135deg, #0b1830 0%, #112344 55%, #153a7a 100%);
}
.soc-cta-box h2 { color: #fff; font-weight: 800; font-size: 2rem; }
.soc-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}
.soc-btn-primary, .soc-btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  border-radius: 50px;
  font-weight: 700;
  transition: .3s;
}
.soc-btn-primary { background: #ff8a3d; color: #fff; box-shadow: 0 10px 25px rgba(255, 138, 61, .35); }
.soc-btn-primary:hover { background: #f47a2a; color: #fff; transform: translateY(-2px); }
.soc-btn-outline { border: 2px solid rgba(255, 255, 255, .4); color: #fff; }
.soc-btn-outline:hover { border-color: #fff; color: #fff; }
@media (max-width: 575px) {
  .soc-timeline::before { left: 19px; }
  .soc-timeline li { gap: 12px; }
  .soc-step-num { width: 41px; height: 41px; font-size: 1.1rem; box-shadow: 0 0 0 4px var(--background-color); }
  .soc-step-body { padding: 18px; }
  .soc-cta-box { padding: 40px 22px; }
  .soc-cta-box h2 { font-size: 1.5rem; }
}

/* Pied de page : liens légaux alignés sur les colonnes Applications / Gestacapa / Pascal CATEL */
.footer-16 .footer-bottom .legal-links.footer-nav-wrapper {
  display: block;
}
.footer-16 .footer-bottom .legal-links.footer-nav-wrapper .row {
  row-gap: 8px;
}
@media (max-width: 991px) {
  .footer-16 .footer-bottom .legal-links.footer-nav-wrapper {
    margin-top: 16px;
  }
}
.footer-16 .footer-bottom .legal-links.footer-nav-wrapper .row > div {
  text-align: left;
}

/* Pied de page plus compact */
.footer-16 { padding-top: 44px; }
.footer-16 .footer-main { margin-bottom: 20px; }
.footer-16 .brand-section .logo { margin-bottom: 14px !important; }
.footer-16 .brand-section .contact-info { margin-top: 18px !important; }
.footer-16 .brand-section .contact-info .contact-item { margin-bottom: 8px; }
.footer-16 .nav-column { margin-bottom: 18px; }
.footer-16 .nav-column h6 { margin-bottom: 12px; }
.footer-16 .nav-column .footer-nav { gap: 6px; }
.footer-16 .footer-bottom { padding: 14px 0; }
@media (max-width: 768px) {
  .footer-16 { padding-top: 36px; }
  .footer-16 .brand-section { margin-bottom: 20px; }
}
@media (max-width: 991px) {
  .footer-16 .footer-main .footer-nav-wrapper { margin-top: 10px; }
}

/* Accueil : compétences à la place des compteurs */
.hero .hero-content .hero-skills {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 6px 0 28px;
}
.hero .hero-content .hero-skills .skill-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .75);
  border: 1px solid color-mix(in srgb, var(--accent-color), transparent 85%);
  box-shadow: 0 4px 14px rgba(17, 35, 68, .06);
  transition: transform .25s, box-shadow .25s;
}
.hero .hero-content .hero-skills .skill-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 22px rgba(17, 35, 68, .1);
}
.hero .hero-content .hero-skills .skill-item i {
  flex-shrink: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent-color), #3d98f4);
}
.hero .hero-content .hero-skills .skill-item:nth-child(even) i {
  background: linear-gradient(135deg, #ff8a3d, #ffb020);
}
.hero .hero-content .hero-skills strong {
  display: block;
  font-size: 14px;
  line-height: 1.25;
  color: var(--heading-color);
}
.hero .hero-content .hero-skills span {
  display: block;
  font-size: 12px;
  color: color-mix(in srgb, var(--default-color), transparent 30%);
}
@media (max-width: 1199px) {
  .hero .hero-content .hero-skills { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 575px) {
  .hero .hero-content .hero-skills { gap: 8px; }
  .hero .hero-content .hero-skills .skill-item { padding: 8px; gap: 8px; }
  .hero .hero-content .hero-skills .skill-item i { width: 30px; height: 30px; font-size: 15px; border-radius: 8px; }
  .hero .hero-content .hero-skills strong { font-size: 12.5px; }
  .hero .hero-content .hero-skills span { font-size: 11px; }
}

/*--------------------------------------------------------------
# Menu principal en « méga-menu » (colonnes titrées, icônes en carré)
--------------------------------------------------------------*/
.navmenu .mega-ico {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  background: color-mix(in srgb, var(--accent-color), transparent 92%);
  color: var(--accent-color);
  transition: background .2s, color .2s;
}
.navmenu .mega-ico i {
  font-size: 17px !important;
  line-height: 1 !important;
  margin: 0 !important;
  width: auto !important;
  height: auto !important;
  background: none !important;
  border-radius: 0 !important;
  color: inherit !important;
  transform: none !important;
}
.navmenu .mega-ico img {
  width: 28px;
  height: 28px;
  border-radius: 6px;
}
.navmenu .mega-txt {
  display: flex;
  flex-direction: column;
  min-width: 0;
  white-space: normal;
}
.navmenu .mega-txt strong {
  font-weight: 600;
  font-size: 14.5px;
  line-height: 1.25;
  color: var(--heading-color);
}
.navmenu .mega-txt small {
  font-size: 12.5px;
  line-height: 1.3;
  color: color-mix(in srgb, var(--default-color), transparent 35%);
}
.navmenu .mega-title {
  margin: 0 0 10px;
  padding: 0 10px;
  font-family: var(--heading-font);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--heading-color), transparent 35%);
}

@media (min-width: 1200px) {
  /* le panneau se cale sur la largeur du conteneur de l'en-tête */
  .navmenu > ul > li.mega { position: static; }
  .navmenu .dropdown ul.mega-menu {
    left: 0;
    right: 0;
    top: 115%;
    display: grid;
    align-items: stretch;
    gap: 0;
    padding: 0;
    border-radius: 0 0 14px 14px;
    border-top: 2px solid var(--accent-color);
    box-shadow: 0 24px 50px rgba(17, 35, 68, .14);
  }
  .navmenu .dropdown:hover > ul.mega-menu { top: 100%; }
  .navmenu ul.mega-4 { grid-template-columns: repeat(3, 1fr) 1.35fr; }
  .navmenu .dropdown ul.mega-menu.mega-2 { grid-template-columns: repeat(2, 300px); left: auto; right: 0; width: max-content; }
  .navmenu .dropdown ul.mega-menu li.mega-col {
    min-width: 0;
    padding: 22px 16px 20px;
    border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
  }
  .navmenu .dropdown ul.mega-menu li.mega-col:last-child { border-right: 0; }
  .navmenu .dropdown ul.mega-menu li.mega-col-wide { background: #f7f9fe; }
  .navmenu .dropdown ul.mega-menu a {
    justify-content: flex-start;
    gap: 12px;
    padding: 8px 10px;
    border-radius: 10px;
  }
  .navmenu .dropdown ul.mega-menu a:hover { background: #f4f8ff; }
  .navmenu .dropdown ul.mega-menu a:hover .mega-ico { background: var(--accent-color); color: #fff; }
  .navmenu .dropdown ul.mega-menu a:hover .mega-txt strong { color: var(--accent-color); }
  .navmenu .mega-tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px 6px;
  }
  .navmenu .mega-tech .mega-ico { background: #fff; box-shadow: 0 0 0 1px color-mix(in srgb, var(--default-color), transparent 88%); }

  /* Bouton d'appel à l'action */
  .navmenu > ul > li.nav-cta { padding-left: 22px; }
  .navmenu > ul > li.nav-cta > a {
    padding: 11px 22px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    color: #000;
    background: #ff8a3d;
    box-shadow: 0 6px 16px rgba(255, 138, 61, .35);
  }
  .navmenu > ul > li.nav-cta > a:hover,
  .navmenu > ul > li.nav-cta > a.active { color: #000; background: #f47a2a; }
  .navmenu > ul > li.nav-cta > a:before { display: none; }
}

@media (max-width: 1199px) {
  .navmenu .dropdown ul.mega-menu { padding: 6px 0; margin: 4px 12px 10px; }
  .navmenu .dropdown ul.mega-menu li.mega-col { padding: 8px 0; }
  .navmenu .mega-title { padding: 0 12px; margin-bottom: 4px; }
  .navmenu .dropdown ul.mega-menu a {
    justify-content: flex-start;
    gap: 12px;
    padding: 7px 12px;
    font-size: 15px;
  }
  .navmenu .mega-tech-grid { display: grid; grid-template-columns: 1fr 1fr; }
  .navmenu li.nav-cta { padding: 12px 20px; }
  .navmenu li.nav-cta > a {
    justify-content: center;
    border-radius: 50px;
    color: #000 !important;
    background: #ff8a3d;
  }
}

/* Méga-menu Applications : 5 colonnes (avec WordPress) */
@media (min-width: 1200px) {
  .navmenu ul.mega-5 { grid-template-columns: repeat(5, 1fr); }
  .navmenu ul.mega-5 li.mega-col { padding-left: 12px; padding-right: 12px; }
}

/*--------------------------------------------------------------
# Page WordPress
--------------------------------------------------------------*/
#wordpress.ka-maint { --ka-app: #21759b; }
#wordpress.ka-maint {
  color: rgba(255, 255, 255, .9);
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 255, 255, .12), transparent 40%),
    radial-gradient(circle at 10% 90%, rgba(255, 138, 61, .12), transparent 45%),
    linear-gradient(135deg, color-mix(in srgb, var(--ka-app) 55%, #000) 0%, color-mix(in srgb, var(--ka-app) 80%, #000) 55%, var(--ka-app) 100%);
}
.wp-logo-tile {
  width: 78px;
  height: 78px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: #fff;
  color: #21759b;
  font-size: 48px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
}
/* Illustration d'un site vitrine */
.wp-mock {
  background: #fff;
  padding: 18px 22px 24px;
  color: #3c4049;
  font-size: 13px;
}
.wp-mock-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  border-bottom: 1px solid #eef1f6;
}
.wp-mock-brand { font-weight: 700; color: #112344; }
.wp-mock-brand i { color: #ff8a3d; font-size: 10px; margin-right: 4px; }
.wp-mock-links { display: flex; align-items: center; gap: 10px; }
.wp-mock-links b { width: 44px; height: 7px; border-radius: 4px; background: #dfe5ee; }
.wp-mock-links em { font-style: normal; padding: 4px 12px; border-radius: 50px; background: #ff8a3d; color: #000; font-weight: 700; font-size: 11px; }
.wp-mock-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 22px;
  align-items: center;
  padding: 26px 0;
}
.wp-mock-h {
  display: block;
  margin-bottom: 12px;
  font-family: var(--heading-font);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.2;
  color: #112344;
}
.wp-mock-line { display: block; height: 8px; margin-bottom: 8px; border-radius: 4px; background: #e6ebf2; }
.wp-mock-line.short { width: 65%; }
.wp-mock-btn {
  display: inline-block;
  margin-top: 8px;
  padding: 7px 18px;
  border-radius: 50px;
  background: #21759b;
  color: #fff;
  font-weight: 700;
  font-size: 12px;
}
.wp-mock-img {
  height: 150px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  color: rgba(255, 255, 255, .85);
  background: linear-gradient(135deg, #21759b, #3d98f4 60%, #ff8a3d);
}
.wp-mock-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.wp-mock-cards > div {
  padding: 14px;
  border-radius: 12px;
  background: #f7f9fe;
  border: 1px solid #eef1f6;
}
.wp-mock-cards i { display: block; margin-bottom: 10px; font-size: 20px; color: #21759b; }

/* Accueil : bloc WordPress sous les applications */
.wp-highlight {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 30px 34px;
  border-radius: 20px;
  background: var(--surface-color);
  border-left: 5px solid #21759b;
  box-shadow: 0 10px 30px rgba(17, 35, 68, .08);
}
.wp-highlight-icon {
  flex-shrink: 0;
  width: 84px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  font-size: 46px;
  color: #fff;
  background: linear-gradient(135deg, #0f4560, #21759b);
}
.wp-highlight-body { flex: 1; min-width: 0; }
.wp-highlight-body h4 { margin: 6px 0 6px; font-weight: 800; }
.wp-highlight-body p { margin-bottom: 10px; }
.wp-highlight-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: .93rem;
}
.wp-highlight-list i { margin-right: 6px; color: #21759b; }
.wp-highlight-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 50px;
  font-weight: 700;
  color: #fff;
  background: #21759b;
  transition: .25s;
}
.wp-highlight-cta:hover { color: #fff; background: #175a78; transform: translateY(-2px); }
@media (max-width: 991px) {
  .wp-highlight { flex-wrap: wrap; }
  .wp-highlight-cta { width: 100%; justify-content: center; }
}
@media (max-width: 575px) {
  .wp-highlight { padding: 24px 20px; gap: 16px; }
  .wp-highlight-icon { width: 60px; height: 60px; font-size: 32px; border-radius: 14px; }
}

/* Page contact : liste des services et champ piège anti-robots */
.contact .contact-form-card .form-select {
  height: calc(3.5rem + 2px);
  padding: 15px 20px;
  margin-bottom: 20px;
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
  background-color: var(--surface-color);
  color: var(--default-color);
}
.contact .contact-form-card .form-select:invalid { color: color-mix(in srgb, var(--default-color), transparent 40%); }
.contact .contact-form-card .form-select:focus { border-color: var(--accent-color); box-shadow: none; }
.contact .contact-info-item .info-content a { color: var(--accent-color); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
