﻿/* ============================================================
   planner.skys.be  Design 2026  (no framework)
   ============================================================ */

/*  Variables  */
:root {
  --primary: #5B6CFF;
  --primary-light: #818cf8;
  --primary-dark: #4338ca;
  --accent: #7C3AED;
  --dark: #080e1a;
  --grad: linear-gradient(135deg, #5B6CFF 0%, #7C3AED 100%);
  --success: #10B981;
  --warning: #F59E0B;
  --surface: #FFFFFF;
  --surface-alt: #F8FAFC;
  --border: rgba(0, 0, 0, .07);
  --text: #0F172A;
  --text-muted: #64748B;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, .08), 0 2px 8px rgba(0, 0, 0, .05);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, .12), 0 8px 16px rgba(0, 0, 0, .06);
  --radius: 18px;
  --radius-sm: 10px;
  --ease: all .25s cubic-bezier(.4, 0, .2, 1);
  --max-w: 1200px;
}

/*  Reset  */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--surface-alt);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/*  Layout helpers  */
.tp-container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.tp-container--narrow {
  max-width: 760px;
}

.text-center {
  text-align: center;
}

/* Grid */
.tp-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.tp-grid-4>* {
  flex: 1 1 calc(25% - 1.5rem);
  min-width: 220px;
}

.tp-grid-3>* {
  flex: 1 1 calc(33% - 1.5rem);
  min-width: 260px;
}

.tp-grid-2>* {
  flex: 1 1 calc(50% - 1.5rem);
  min-width: 280px;
}

/*  Navbar  */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(8, 14, 26, 0.92);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06), 0 4px 24px rgba(0, 0, 0, 0.3);
}

.site-nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  position: relative;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
}

.nav-logo img {
  height: 44px;
  width: auto;
}

.nav-logo-pill {
  display: inline-flex;
  align-items: flex-end;
  gap: 2px;
  background: rgba(255, 255, 255, 0.97);
  padding: 6px 14px 6px 8px;
  border-radius: 12px;
  text-decoration: none;
}

.nav-logo-pill img {
  height: 30px;
  width: auto;
  object-fit: contain;
}

.nav-title {
  font-weight: 800;
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 3px;
}

.nav-title-logo {
  height: 0.64em;
  width: auto;
  vertical-align: middle;
  position: relative;
  top: -0.05em;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-item {
  font-size: .9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  padding: .45rem .9rem;
  border-radius: var(--radius-sm);
  transition: var(--ease);
  text-decoration: none;
}

.nav-item:hover,
.nav-item.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

/* Burger */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  border-radius: var(--radius-sm);
  transition: var(--ease);
}

.nav-burger:hover {
  background: rgba(29, 78, 216, .08);
}

.nav-burger span {
  display: block;
  height: 2px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 2px;
  transition: var(--ease);
}

/*  Page banner  */
.page-banner {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, .76);
  backdrop-filter: blur(2px);
}

.page-banner .tp-container {
  position: relative;
  z-index: 1;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.banner-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -.02em;
}

.banner-text {
  margin-top: 1rem;
  font-size: 1rem;
  color: var(--text);
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.85;
}

/*  Sections  */
.tp-section {
  padding: 4rem 0;
  background: var(--surface-alt);
}

.tp-section--alt {
  background: var(--surface);
}

.section-title {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--text);
  letter-spacing: -.02em;
  margin-bottom: .5rem;
}

.section-lead {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 680px;
  margin: 0 auto 1.5rem;
}

/* Section pills */
.section-pill {
  display: inline-block;
  padding: .3rem 1.1rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.section-pill--blue {
  background: rgba(29, 78, 216, .10);
  color: var(--primary);
}

.section-pill--indigo {
  background: rgba(91, 108, 255, .12);
  color: var(--primary);
}

.section-pill--green {
  background: rgba(16, 185, 129, .10);
  color: #059669;
}

.section-pill--amber {
  background: rgba(245, 158, 11, .12);
  color: #D97706;
}

/*  Cards  */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--ease);
  text-align: center;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(91, 108, 255, .22);
}

.card-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  margin: .75rem 0 .5rem;
  letter-spacing: -.01em;
}

.card-title--blue {
  color: var(--primary);
}

.card-title--green {
  color: #059669;
}

.card-title--amber {
  color: #D97706;
}

.card-text {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.75;
}

/* Feature icon */
.feat-icon {
  width: 58px;
  height: 58px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  background: linear-gradient(135deg, rgba(91, 108, 255, .12), rgba(124, 58, 237, .10));
}

.feat-icon--green {
  background: linear-gradient(135deg, rgba(16, 185, 129, .10), rgba(5, 150, 105, .08));
}

.feat-icon--amber {
  background: linear-gradient(135deg, rgba(245, 158, 11, .10), rgba(217, 119, 6, .08));
}

.feat-icon img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

/*  Tarification — skin booking-style  */

.ta-section {
  background: #F1F5F9 !important;
}

/* Cartes abonnement */
.nb-card {
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid #E2E8F0;
  border-top: 4px solid transparent;
  box-shadow: 0 6px 28px rgba(0, 0, 0, .09), 0 2px 8px rgba(0, 0, 0, .05);
  padding: 2rem 1.75rem 1.75rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: var(--ease);
}

.nb-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, .13), 0 4px 16px rgba(0, 0, 0, .07);
}

.nb-card--green {
  border-top-color: #10B981;
}

.nb-card--indigo {
  border-top-color: var(--primary);
}

.nb-card--amber {
  border-top-color: #F59E0B;
}

.nb-card--featured {
  border-color: #C7D2FE;
  box-shadow: 0 6px 28px rgba(91, 108, 255, .22), 0 0 0 3px rgba(91, 108, 255, .22);
}

.nb-featured-badge {
  position: absolute;
  top: -1rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .3rem 1.1rem;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(91, 108, 255, .38);
}

.nb-badge {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .25rem .9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.nb-badge--green {
  background: #D1FAE5;
  color: #065F46;
}

.nb-badge--indigo {
  background: rgba(91, 108, 255, .12);
  color: var(--primary-dark);
}

.nb-badge--amber {
  background: #FEF3C7;
  color: #B45309;
}

.nb-price-block {
  display: flex;
  align-items: flex-end;
  gap: .5rem;
  margin-bottom: .75rem;
}

.nb-amount {
  font-family: 'Poppins', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1;
}

.nb-amount--green {
  color: #059669;
}

.nb-amount--indigo {
  color: var(--primary);
}

.nb-amount--amber {
  color: #D97706;
}

.nb-period {
  color: #94A3B8;
  font-size: .9rem;
  margin-bottom: .3rem;
}

.nb-custom-label {
  font-size: .82rem;
  color: var(--text-muted);
  margin-bottom: .75rem;
  font-style: italic;
}

.nb-features {
  list-style: none;
  padding: 0;
  margin: .75rem 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: .45rem;
}

.nb-features li {
  font-size: .88rem;
  color: var(--text-muted);
}

.nb-feature--no {
  color: #94A3B8 !important;
}

.nb-tagline {
  font-size: .78rem;
  font-weight: 600;
  color: #059669;
  margin-top: 1rem;
}

.nb-tagline--indigo {
  color: var(--primary);
}

/* Prix double (engagement / sans engagement) */
.nb-engagement-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  padding: .25rem .75rem;
  border-radius: 999px;
  margin: .4rem 0 .3rem;
  letter-spacing: .02em;
}

.nb-engagement-badge--green {
  background: #DCFCE7;
  color: #166534;
}

.nb-engagement-badge--indigo {
  background: rgba(91, 108, 255, .10);
  color: var(--primary-dark);
}

.nb-price-alt {
  font-size: .78rem;
  color: #94A3B8;
  margin-bottom: .8rem;
}

.nb-price-alt strong {
  color: #64748B;
}

/* Blocs (Mise en place / Maintenance / SMS) */
.nb-block {
  background: #fff;
  border-radius: 20px;
  border: 1.5px solid #E2E8F0;
  box-shadow: 0 6px 28px rgba(0, 0, 0, .09), 0 2px 8px rgba(0, 0, 0, .05);
  padding: 1.75rem;
}

.nb-block-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.nb-block-icon {
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  background: #EEF2FF;
  border-radius: .875rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  line-height: 1;
}

.nb-block-icon--green {
  background: #D1FAE5;
}

.nb-block-icon--indigo {
  background: #EDE9FE;
}

.nb-block-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 .15rem;
}

.nb-block-subtitle {
  font-size: .82rem;
  color: var(--text-muted);
  margin: 0;
  font-style: italic;
}

/* Lignes dans les blocs */
.nb-rows {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}

.nb-row {
  background: #F8FAFC;
  border: 1px solid #E9EEF4;
  border-radius: 12px;
  padding: .85rem 1.1rem;
}

.nb-row--best {
  background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
  border: 1.5px solid #6EE7B7;
}

.nb-row--gifted {
  background: linear-gradient(135deg, #ECFDF5, #D1FAE5);
}

.nb-row--sms {
  border: 1.5px dashed #A5B4FC;
  background: linear-gradient(135deg, rgba(238, 242, 255, .6), rgba(237, 233, 254, .4));
}

.nb-row-badge {
  display: inline-block;
  background: #059669;
  color: #fff;
  font-size: .6rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: .18rem .65rem;
  border-radius: 999px;
  margin-bottom: .45rem;
}

.nb-row-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nb-row-title {
  font-size: .95rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 .15rem;
}

.nb-row-sub {
  font-size: .8rem;
  color: var(--text-muted);
  margin: 0;
}

.nb-row-pill {
  font-size: .75rem;
  font-weight: 700;
  padding: .3rem .9rem;
  border-radius: 999px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nb-row-pill--green {
  background: #D1FAE5;
  color: #065F46;
}

.nb-row-pill--blue {
  background: #EDE9FE;
  color: #5B21B6;
}

.nb-row-pill--gray {
  background: #F1F5F9;
  color: #64748B;
}

.nb-inline-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  margin-right: .25rem;
}

.nb-inline-period {
  font-size: .85rem;
  color: var(--text-muted);
}

/*  Forms  */
.tp-label {
  display: block;
  font-weight: 500;
  font-size: .88rem;
  margin-bottom: .35rem;
  color: var(--text);
  text-align: left;
}

.tp-input,
.tp-textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  color: var(--text);
  background: var(--surface);
  transition: var(--ease);
  outline: none;
  display: block;
  margin-bottom: 1rem;
}

.tp-input:focus,
.tp-textarea:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, .15);
}

.tp-btn {
  display: inline-block;
  background: var(--grad);
  color: white;
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  font-weight: 600;
  padding: .75rem 2rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: var(--ease);
  box-shadow: 0 4px 20px rgba(91, 108, 255, .38);
}

.tp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(91, 108, 255, .5);
}

.tp-btn:disabled {
  opacity: .42;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/*  Login  */
.login-card {
  max-width: 420px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 3rem 2.5rem;
  text-align: center;
}

.login-card h1 {
  font-family: 'Poppins', sans-serif;
  color: var(--primary);
  margin-bottom: 1.75rem;
  font-size: 1.7rem;
  font-weight: 700;
}

/*  Admin table  */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.admin-table th {
  background: var(--primary);
  color: white;
  padding: .85rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.admin-table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
}

.admin-table tr:hover td {
  background: rgba(29, 78, 216, .03);
}

/* ================================================
   ANALYSE MARCHE  (page=an)
   ================================================ */
.an-section {
  background: #F1F5F9 !important;
}

.an-block {
  background: #fff;
  border: 1.5px solid #E2E8F0;
  border-radius: 20px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .06);
  padding: 2rem 2.2rem;
  margin-bottom: 2rem;
}

.an-block-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #1E293B;
  margin: 0 0 1.4rem;
  padding-bottom: .8rem;
  border-bottom: 2px solid rgba(91, 108, 255, .15);
}

/* Table */
.an-table-wrap {
  overflow-x: auto;
}

.an-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .88rem;
  border-radius: 12px;
  overflow: hidden;
}

.an-table th {
  background: var(--grad);
  color: #fff;
  padding: .75rem 1rem;
  text-align: left;
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.an-table td {
  padding: .75rem 1rem;
  border-bottom: 1px solid #E9EEF4;
  color: #334155;
  vertical-align: middle;
}

.an-table tr:last-child td {
  border-bottom: none;
}

.an-table tr:hover td {
  background: #F8FAFC;
}

.an-row--danger td {
  background: #FEF2F2;
}

.an-row--danger:hover td {
  background: #FEE2E2;
}

/* Tags/badges */
.an-tag {
  display: inline-block;
  padding: .2rem .7rem;
  border-radius: 999px;
  font-size: .78rem;
  font-weight: 600;
  white-space: nowrap;
}

.an-tag--green {
  background: #DCFCE7;
  color: #166534;
}

.an-tag--orange {
  background: #FEF3C7;
  color: #92400E;
}

.an-tag--red {
  background: #FEE2E2;
  color: #991B1B;
}

.an-tag--indigo {
  background: #EEF2FF;
  color: #3730A3;
}

/* Stat cards */
.an-stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin-bottom: 1rem;
}

.an-stat-card {
  background: #F8FAFC;
  border: 1.5px solid #E2E8F0;
  border-radius: 14px;
  padding: 1.4rem 1.2rem;
  text-align: center;
}

.an-stat-card--highlight {
  background: linear-gradient(135deg, rgba(91, 108, 255, .08), rgba(124, 58, 237, .08));
  border-color: rgba(91, 108, 255, .28);
}

.an-stat-value {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.2;
}

.an-stat-card--highlight .an-stat-value {
  color: var(--primary-dark);
}

.an-stat-label {
  font-size: .8rem;
  color: #64748B;
  margin-top: .4rem;
}

/* Alerts */
.an-alert {
  border-radius: 12px;
  padding: 1rem 1.3rem;
  font-size: .9rem;
  line-height: 1.65;
}

.an-alert--info {
  background: rgba(91, 108, 255, .06);
  border-left: 4px solid var(--primary);
  color: #1e1b4b;
}

.an-alert--success {
  background: #F0FDF4;
  border-left: 4px solid #10B981;
  color: #14532D;
}

.an-alert--warning {
  background: #FFFBEB;
  border-left: 4px solid #F59E0B;
  color: #78350F;
}

.an-alerts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1.5rem;
}

@media (max-width: 640px) {
  .an-alerts-grid {
    grid-template-columns: 1fr;
  }
}

/* ROI quote */
.an-roi-box {
  background: linear-gradient(135deg, rgba(91, 108, 255, .07), rgba(124, 58, 237, .07));
  border: 1.5px solid rgba(91, 108, 255, .22);
  border-radius: 14px;
  padding: 1.6rem 1.8rem;
  text-align: center;
}

.an-roi-quote {
  font-size: 1.05rem;
  color: var(--primary-dark);
  line-height: 1.75;
  margin: 0;
  font-style: italic;
}


/* ROI block (au-dessus de Conclusion) */
.roi-block {
  margin-bottom: 2rem;
}

.roi-quote {
  background: linear-gradient(135deg, rgba(91, 108, 255, .07), rgba(124, 58, 237, .07));
  border: 1.5px solid rgba(91, 108, 255, .2);
  border-left: 5px solid var(--accent);
  border-radius: 16px;
  padding: 1.8rem 2rem;
  font-size: 1.05rem;
  font-style: italic;
  color: var(--primary-dark);
  line-height: 1.8;
  text-align: center;
}

.roi-quote strong {
  font-style: normal;
}

/*  Conclusion  */
.conclusion-box {
  background: linear-gradient(135deg, #F0FDF4, #ECFDF5);
  border: 1.5px solid rgba(16, 185, 129, .2);
  border-radius: var(--radius);
  padding: 3.5rem 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.conclusion-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: #059669;
  margin-bottom: 1.5rem;
}

.conclusion-box p {
  color: var(--text);
  font-size: 1.05rem;
  line-height: 1.95;
}

/*  CTA strip  */
.cta-strip {
  background: var(--dark);
  padding: 3.5rem 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad);
  opacity: 0.12;
  pointer-events: none;
}

.cta-title {
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: white;
  position: relative;
}

.cta-text {
  color: rgba(255, 255, 255, .75);
  margin: .75rem 0 1.5rem;
  font-size: 1rem;
  position: relative;
}

.cta-btn-outline {
  display: inline-block;
  border: 2px solid rgba(255, 255, 255, .5);
  color: white;
  padding: .75rem 2rem;
  border-radius: 999px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  font-size: .92rem;
  transition: var(--ease);
  text-decoration: none;
  position: relative;
}

.cta-btn-outline:hover {
  background: rgba(255, 255, 255, .18);
  border-color: white;
}

/*  Footer commercial Skys  */
.skys-commercial-footer {
  background: #050913;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 34px 20px 28px;
}

.scf-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  gap: 20px;
}

.scf-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.scf-tagline {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.58);
  letter-spacing: 0.01em;
}

.scf-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.scf-links a {
  color: #a5b4fc;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
}

.scf-links a:hover {
  color: #c7d2fe;
  text-decoration: underline;
}

.scf-main {
  display: grid;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.scf-brand {
  display: inline-flex;
}

.scf-logo-wrap {
  display: inline-flex;
  align-items: flex-end;
  gap: 1px;
  background: rgba(255, 255, 255, 0.96);
  padding: 5px 12px 5px 8px;
  border-radius: 10px;
  text-decoration: none;
}

.scf-logo-wrap img {
  height: 22px;
  object-fit: contain;
}

.scf-logo-wm {
  font-weight: 800;
  font-style: italic;
  font-size: 1.1rem;
  line-height: 1;
  letter-spacing: -0.04em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-bottom: 3px;
}

.scf-product {
  font-size: 1.02rem;
  color: #fff;
  font-weight: 800;
  margin-bottom: 6px;
}

.scf-sub {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 9px;
}

.scf-legal {
  font-size: 0.78rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.45);
}

.scf-legal strong {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 700;
}

/*  Responsive  */
@media (max-width: 900px) {
  .tp-grid-4>* {
    flex: 1 1 calc(50% - 1.5rem);
  }
}

@media (max-width: 640px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(8, 14, 26, 0.97);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    padding: .75rem 1.5rem 1rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
    gap: .1rem;
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-burger {
    display: flex;
  }

  .tp-grid-4>*,
  .tp-grid-3>*,
  .tp-grid-2>* {
    flex: 1 1 100%;
  }

  .page-banner .tp-container {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .login-card {
    padding: 2rem 1.25rem;
  }

  .conclusion-box {
    padding: 2rem 1.25rem;
  }

  .cta-btn-outline {
    display: block;
    margin-bottom: .75rem;
  }
}

/* ============================================================
   GALERIE – EFFETS VISUELS DÉVELOPPÉS
   ============================================================ */

/* Shimmer qui balaye l'image après son arrivée */
@keyframes shimmerSwipe {
  from {
    transform: translateX(-130%) skewX(-12deg);
  }

  to {
    transform: translateX(210%) skewX(-12deg);
  }
}

/* Halo de bienvenue qui s'estompe */
@keyframes arrivalGlow {
  0% {
    opacity: .55;
  }

  55% {
    opacity: .18;
  }

  100% {
    opacity: 0;
  }
}

/* Trait de soulignement animé sur le titre */
@keyframes underlineGrow {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

/* --- Section --- */
.gallery-section {
  background:
    radial-gradient(ellipse 65% 45% at 10% 15%, rgba(59, 130, 246, .13), transparent),
    radial-gradient(ellipse 50% 40% at 90% 85%, rgba(8, 145, 178, .11), transparent),
    #f8fafc;
  padding: 5rem 0;
}

.gallery-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

/* --- Carte (reste dans le flux, ne disparaît pas) --- */
.gallery-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 42%) 1fr;
  align-items: stretch;
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(29, 78, 216, .11);
  box-shadow: 0 2px 18px rgba(0, 0, 0, .07), 0 1px 4px rgba(0, 0, 0, .04);
  /* légère entrée du conteneur */
  opacity: 0;
  transform: translateY(14px) scale(.988);
  transition:
    opacity .55s ease-out,
    transform .55s cubic-bezier(.22, .7, 0, 1),
    box-shadow .3s ease,
    border-color .3s ease;
  pointer-events: none;
  will-change: transform, opacity;
}

.gallery-item.is-visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Halo bleu qui arrive puis s'estompe */
.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle at 28% 50%, rgba(59, 130, 246, .32), transparent 62%);
  opacity: 0;
  pointer-events: none;
  z-index: 6;
}

.gallery-item.is-visible::before {
  animation: arrivalGlow 2s ease-out .08s forwards;
}

/* Alternance image gauche / droite */
.gallery-item:nth-child(even) {
  grid-template-columns: 1fr minmax(260px, 42%);
}

.gallery-item:nth-child(even) .gallery-image-wrapper {
  order: 2;
}

.gallery-item:nth-child(even) .gallery-content {
  order: 1;
}

/* Hover : géré en JS pour le 3D tilt ; CSS gère juste ombre+bordure */
.gallery-item:hover {
  box-shadow: 0 12px 52px rgba(29, 78, 216, .15), 0 3px 10px rgba(0, 0, 0, .07);
  border-color: rgba(29, 78, 216, .3);
}

/* --- Image wrapper : l'élément qui « vole » --- */
.gallery-image-wrapper {
  --img-tx: 0px;
  --img-ty: 90px;
  --img-rz: 5deg;
  position: relative;
  overflow: hidden;
  min-height: 280px;
  background: linear-gradient(140deg, rgba(29, 78, 216, .18) 0%, rgba(8, 145, 178, .14) 100%);
  /* état masqué : décalé + pivoté + flouté + désaturé */
  opacity: 0;
  transform: translate3d(var(--img-tx), var(--img-ty), 0) rotate(var(--img-rz)) scale(.82);
  filter: saturate(.08) brightness(1.5) blur(10px);
  transition:
    transform 1.2s cubic-bezier(.12, .84, .14, 1.08),
    opacity .9s ease-out,
    filter 1s ease-out;
  transition-delay: .1s;
  will-change: transform, filter, opacity;
}

.gallery-item.is-visible .gallery-image-wrapper {
  opacity: 1;
  transform: translate3d(0, 0, 0) rotate(0deg) scale(1);
  filter: saturate(1) brightness(1) blur(0);
}

/* Trait lumineux qui balaye l'image à l'arrivée */
.gallery-image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(108deg,
      transparent 28%,
      rgba(255, 255, 255, .6) 46%,
      rgba(255, 255, 255, .22) 54%,
      transparent 70%);
  transform: translateX(-135%) skewX(-12deg);
  pointer-events: none;
  z-index: 4;
}

.gallery-item.is-visible .gallery-image-wrapper::after {
  animation: shimmerSwipe 1s cubic-bezier(.4, 0, .2, 1) 1.1s forwards;
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .85s cubic-bezier(.2, .7, .2, 1);
}

.gallery-item:hover .gallery-image {
  transform: scale(1.055);
}

/* --- Contenu texte --- */
.gallery-content {
  padding: 2.25rem 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Titre : glisse depuis le bas + skew qui se résorbe */
.gallery-title {
  position: relative;
  font-size: clamp(1.2rem, 1.05rem + .55vw, 1.6rem);
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 1rem;
  line-height: 1.22;
  padding-bottom: .55rem;
  opacity: 0;
  transform: translateY(24px) skewX(-6deg);
  transition:
    opacity .7s ease-out .36s,
    transform .7s cubic-bezier(.22, .7, 0, 1) .36s;
}

/* Barre de soulignement animée sous le titre */
.gallery-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  height: 3px;
  width: 100%;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0s;
  /* sera activée par JS */
}

.gallery-item.is-visible .gallery-title {
  opacity: 1;
  transform: translateY(0) skewX(0deg);
}

.gallery-item.is-visible .gallery-title::after {
  animation: underlineGrow .55s cubic-bezier(.22, .7, 0, 1) .95s forwards;
}

/* Description : glisse depuis le bas */
.gallery-description {
  color: #334155;
  line-height: 1.82;
  font-size: 1rem;
  max-width: 62ch;
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity .7s ease-out .56s,
    transform .7s cubic-bezier(.22, .7, 0, 1) .56s;
}

.gallery-item.is-visible .gallery-description {
  opacity: 1;
  transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .gallery-item {
    grid-template-columns: minmax(210px, 40%) 1fr;
  }
}

@media (max-width: 768px) {
  .gallery-section {
    padding: 3rem 0;
  }

  .gallery-grid {
    gap: 2rem;
  }

  .gallery-item,
  .gallery-item:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .gallery-item:nth-child(even) .gallery-image-wrapper,
  .gallery-item:nth-child(even) .gallery-content {
    order: initial;
  }

  .gallery-image-wrapper {
    min-height: 220px;
  }

  .gallery-content {
    padding: 1.5rem 1.4rem 1.75rem;
  }

  .gallery-description {
    font-size: .96rem;
    line-height: 1.75;
  }
}