/* =========================
   ProxiTech – Modern Dark Blue
   (adapté à ton HTML actuel)
   ========================= */

:root{
  --bg-0:#070914;
  --bg-1:#080b1f;
  --bg-2:#0b1a4f;
  --bg-3:#2b2fd9;

  --text:#eaf0ff;
  --muted:#b9c6ff;

  --accent:#4aa3ff;     /* bleu clair */
  --accent-2:#7bff7b;   /* vert léger type "ProxiTech" */
  --border:rgba(255,255,255,.10);

  --card:rgba(16, 20, 55, .55);
  --card2:rgba(26, 33, 120, .45);

  --shadow: rgba(0,0,0,.45);
  --glow: rgba(80, 95, 255, .35);

  --radius: 18px;
  --radius2: 26px;
}

/* Reset propre */
*{ box-sizing:border-box; }

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

html {
    /* Cette couleur ne servira QUE pour les zones de rebond (scroll) */
    background-color: #070914; 
    margin: 0;
    padding: 0;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100dvh;
    color: #eaf0ff;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    
    /* On place le dégradé directement ici au lieu du ::before pour éviter l'assombrissement */
    background: 
        radial-gradient(900px 500px at 75% 18%, rgba(70, 90, 255, .55) 0%, rgba(0,0,0,0) 60%),
        radial-gradient(700px 700px at 20% 0%, rgba(20, 30, 90, .75) 0%, rgba(0,0,0,0) 60%),
        linear-gradient(135deg, #070914 0%, #0b1a4f 45%, #2b2fd9 100%);
    background-attachment: fixed; /* Très important pour garder le fond stable au scroll */
    background-size: cover;
}

/* Container */
.container{
  max-width: 1280px;      /* 1200 ou 1280 */
  margin: 0 auto;
  padding: 0 28px 46px;
}

/* Nav */
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  width:100%;
  padding: 18px 18px;
  position: sticky;
  top: 0;
  backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(7,9,20,.75) 0%, rgba(7,9,20,.35) 100%);
  border-bottom: 1px solid rgba(255,255,255,.06);
  border-radius: 0 0 16px 16px;
  z-index: 10;
  margin-bottom: 22px;
}

/* Logo texte */
.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 900;
  letter-spacing: .3px;
  font-size: 20px;
  text-shadow: 0 16px 40px rgba(0,0,0,.45);
}

.brand-logo{
  height: 64px;      /* ajuste: 28–40px selon ton logo */
  width: auto;
  display:block;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.35));
}

.brand-text{
  color: var(--text);
}

/* option: si tu veux garder l'effet bleu->vert sur "Tech" */
.brand-text{
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}


/* liens nav */
.nav-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.nav-links a{
  color: var(--muted);
  padding: 9px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(255,255,255,.03);
  transition: transform .12s ease, background .12s ease, color .12s ease, border-color .12s ease;
}
.nav-links a:hover{
  color: var(--text);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.12);
  transform: translateY(-1px);
  text-decoration: none;
}

/* Hero */
.hero{
  padding: 64px 10px 26px;   /* plus d’air */
  text-align:center;
}

.hero h1{
  font-size: clamp(34px, 3.8vw, 56px);  /* plus grand */
  line-height: 1.05;
  max-width: 1000px;
  margin: 0 auto;
}

.hero p{
  max-width: 860px;
  margin: 14px auto 0;
  font-size: 16px;
}


/* Badges */
.badges{
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
  margin-top: 18px;
}

.badge{
  font-size: 14px;
  color: var(--text);
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,.08) 0%, rgba(255,255,255,.03) 100%);
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
  opacity: .95;
}

/* CTA buttons */
.cta{
  margin-top: 18px;
  display:flex;
  gap:12px;
  justify-content:center;
  flex-wrap:wrap;
}

.btn{
  display:inline-block;
  padding: 12px 16px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-weight: 700;
  letter-spacing: .2px;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
  box-shadow: 0 18px 50px rgba(0,0,0,.25);
}

.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
}

/* bouton principal */
.btn.primary{
  border: none;
  color: #061024;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow:
    0 22px 60px var(--shadow),
    0 18px 80px rgba(80,95,255,.35);
}
.btn.primary:hover{
  transform: translateY(-1px) scale(1.01);
}

/* Grid cards */
.grid{
  margin: 26px 0 18px;  /* top et bottom */
  display:grid;
  gap: 14px;
  grid-template-columns: repeat(3, 1fr);
}

/* Cards style "soft glass" */
.card{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  padding: 18px 18px;
  background:
    radial-gradient(800px 260px at 70% 20%, rgba(130,140,255,.18) 0%, rgba(0,0,0,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.02) 100%),
    var(--card);
  box-shadow:
    0 22px 70px rgba(0,0,0,.35),
    0 0 0 1px rgba(255,255,255,.03) inset;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}

.card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.16);
  background:
    radial-gradient(800px 260px at 70% 20%, rgba(130,140,255,.26) 0%, rgba(0,0,0,0) 60%),
    linear-gradient(180deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.02) 100%),
    var(--card2);
}

.card h3{
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 900;
}

.small{
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
  font-size: 14px;
  font-weight: 500;
}

/* Notice */
.notice{
  margin-top: 18px;
  padding: 14px 16px;
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background:
    linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.02) 100%),
    rgba(10, 14, 40, .55);
  color: var(--muted);
  box-shadow: 0 18px 60px rgba(0,0,0,.30);
}

.notice strong{
  color: var(--text);
}

.notice a{
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px dotted rgba(255,255,255,.35);
}
.notice a:hover{
  border-bottom-color: rgba(255,255,255,.75);
}


/* Footer */
.footer{
  margin-top: 26px;
  padding: 14px 6px;           
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  color: var(--muted);
  border-top: 1px solid rgba(255,255,255,.06);
}

.footer > div:last-child{ justify-self: end; }

.footer-center-logo{
  justify-self: center;
  display: inline-flex;
  align-items: center;
  line-height: 0;
  padding: 0;                     
  margin: 0;                    
}

.footer-center-logo img{
  height: 32px;                   
  width: auto;
  opacity: .9;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.25));
}
.footer-center-logo:hover img{ opacity: 1; }

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

  /* On garde le sticky sur mobile */
  .nav{
    position: sticky;
    top: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding: 12px 12px;
  }

  .brand{
    justify-content: center;
  }

  /* Logo plus petit sur mobile */
  .brand-logo{
    height: 44px;
    margin: 0 auto;
  }

  .nav-links{
    justify-content: center;
    gap: 8px;
  }

  /* Boutons nav plus “touch friendly” */
  .nav-links a{
    padding: 10px 12px;
    text-align: center;
  }

  .hero{ padding-top: 22px; }
}

/* =========================
   TABLES (Services & tarifs)
   Slider par table (mobile)
   ========================= */

.section-title{
  margin: 34px 0 12px;
  font-size: 18px;
  font-weight: 900;
  text-align: left;
  letter-spacing: .2px;
  text-shadow: 0 18px 50px rgba(0,0,0,.35);
}

/* Le conteneur scrollable */
.table-wrap {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch; /* Crucial pour iOS */
  touch-action: pan-x;               /* Crucial pour Android */
  position: relative;
  margin: 18px 0;
  border-radius: 12px;
}

.table {
  display: table;
  width: 100%;
  min-width: 600px; /* Réduit un peu pour faciliter le déclenchement */
  table-layout: fixed;
  border-collapse: separate;
  border-spacing: 0;
}

/* SUPPRIME OU COMMENTE CES BLOCS (Ils empêchent de toucher le tableau sur les bords) */
/* .table-wrap::before, .table-wrap::after { ... } */

.table th,
.table td {
  padding: 12px 12px;
  text-align: left;
  vertical-align: middle; /* Aligné au milieu c'est plus élégant pour les prix */
  border-bottom: 1px solid rgba(255,255,255,.08);
  word-wrap: break-word; /* Force le retour à la ligne si un mot est trop long */
}

.table thead th{
  background: rgba(255,255,255,.06);
  color: rgba(234,240,255,.95);
  font-weight: 900;
}

.table tbody tr:hover td{
  background: rgba(255,255,255,.04);
}

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

/* Définition des colonnes */
.table th:nth-child(1), 
.table td:nth-child(1) { width: 40%; }

.table th:nth-child(2), 
.table td:nth-child(2) { width: 30%; text-align: left; }

.table th:nth-child(3), 
.table td:nth-child(3) { width: 50%; }

@media (max-width: 760px){
  .table{ min-width: 680px; }
  .table th, .table td{ padding: 10px 10px; }
}

/* =========================
   Pricing (Abonnements)
   ========================= */

.pricing{
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.plan{
  position: relative;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(900px 260px at 70% 10%, rgba(130,140,255,.18) 0%, rgba(0,0,0,0) 55%),
    linear-gradient(180deg, rgba(255,255,255,.06) 0%, rgba(255,255,255,.02) 100%),
    rgba(16, 20, 55, .52);
  box-shadow: 0 22px 70px rgba(0,0,0,.35);
  padding: 18px 18px 16px;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;

  /* Pour aligner les boutons en bas */
  display: flex;
  flex-direction: column;
  min-height: 520px; /* ajuste si tu veux plus/moins haut */
}

.plan:hover{
  transform: translateY(-2px);
  border-color: rgba(255,255,255,.16);
}

.plan-top h3{
  margin: 2px 0 8px;
  font-size: 18px;
  font-weight: 900;
}

.plan-sub{
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.price{
  display:flex;
  align-items:baseline;
  gap: 6px;
  margin: 6px 0 0;
}

.price-amount{
  font-size: 34px;
  font-weight: 950;
  letter-spacing: .2px;
  text-shadow: 0 18px 50px rgba(0,0,0,.35);
}

.price-period{
  color: var(--muted);
  font-weight: 700;
}

/* features */
.plan-features{
  list-style: none;
  padding: 14px 0 0;
  margin: 14px 0 0;
  border-top: 1px solid rgba(255,255,255,.08);
  display: grid;
  gap: 10px;

  /* prend l'espace restant -> bouton en bas */
  flex: 1;
}

.plan-features li{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  color: rgba(234,240,255,.92);
  font-size: 14px;
  line-height: 1.35;
}

.ok{
  display:inline-flex;
  width: 18px;
  height: 18px;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  background: rgba(123,255,123,.15);
  border: 1px solid rgba(123,255,123,.25);
  color: rgba(234,240,255,.95);
  font-weight: 900;
  flex: 0 0 auto;
  margin-top: 1px;
}

/* CTA button inside plan (par défaut : sobre) */
.plan-btn{
  width: 100%;
  text-align: center;
  margin-top: auto;          /* colle le bouton en bas */
  padding: 14px 16px;
  border-radius: 16px;
  margin-top: 24px;

  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  color: var(--text);
  box-shadow: 0 18px 50px rgba(0,0,0,.22);
  transition: transform .12s ease, background .12s ease, border-color .12s ease, filter .12s ease;
}

.plan-btn:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.18);
  transform: translateY(-1px);
}

/* Bouton central uniquement (dégradé) */
.plan-btn-featured{
  border: none !important;
  color: #061024 !important;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%) !important;
  box-shadow:
    0 22px 60px rgba(0,0,0,.35),
    0 18px 80px rgba(80,95,255,.25) !important;
  transition: transform .14s ease, filter .14s ease, box-shadow .14s ease;
}

.plan-btn-featured:hover{
  transform: translateY(-2px) scale(1.01);
  filter: brightness(1.07) saturate(1.08);
  box-shadow:
    0 28px 85px rgba(0,0,0,.45),
    0 22px 120px rgba(80,95,255,.35) !important;
}

/* bonus: petit feedback au clic */
.plan-btn-featured:active{
  transform: translateY(0px) scale(.99);
  filter: brightness(1.02);
}


/* Featured plan (carte du centre) */
.plan.featured{
  border: 1px solid rgba(74,163,255,.30);
  box-shadow:
    0 26px 80px rgba(0,0,0,.42),
    0 18px 90px rgba(80,95,255,.28);
  background:
    radial-gradient(900px 260px at 70% 10%, rgba(130,140,255,.26) 0%, rgba(0,0,0,0) 55%),
    linear-gradient(180deg, rgba(255,255,255,.07) 0%, rgba(255,255,255,.02) 100%),
    rgba(18, 24, 70, .60);
  transform: translateY(-4px);
}

.plan.featured:hover{
  transform: translateY(-6px);
}

.plan-badge{
  position: absolute;
  top: 14px;
  right: 14px;
  font-size: 12px;
  font-weight: 900;
  padding: 8px 10px;
  border-radius: 999px;
  color: #061024;
  background: linear-gradient(90deg, var(--accent) 0%, var(--accent-2) 100%);
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}

/* Responsive pricing */
@media (max-width: 900px){
  .pricing{
    grid-template-columns: 1fr;
  }
  .plan{
    min-height: auto;
  }
  .plan.featured{
    transform: none;
  }
}

/* Spacers (remplace les <br> de mise en page) */
.spacer-xs { height: 8px; }
.spacer-sm { height: 14px; }
.spacer-md { height: 22px; }
.spacer-lg { height: 32px; }
.spacer-xl { height: 46px; }

/* Sur mobile : on réduit un peu les vides */
@media (max-width: 760px){
  .spacer-sm { height: 10px; }
  .spacer-md { height: 16px; }
  .spacer-lg { height: 22px; }
  .spacer-xl { height: 30px; }
}

/* Mobile nav clean */
@media (max-width: 600px){
  .container{
    padding: 0 14px 34px; /* moins de marge sur mobile */
  }

  .nav{
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 12px;
    border-radius: 0 0 14px 14px;
  }

  .brand-logo{
    height: 46px; /* plus petit sur mobile */
  }

  .nav-links{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .nav-links a{
    padding: 10px 0;
    text-align: center;
    font-size: 13px;
    border-radius: 12px;
    white-space: nowrap; /* évite les retours à la ligne */
  }

  /* Si "Services & tarifs" casse quand même, on réduit un peu */
  .nav-links a:nth-child(2){
    font-size: 12px;
  }
}

@media (max-width: 900px){
  .pricing{
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .plan{
    min-height: auto;
    padding: 20px;
  }

  .plan-features{
    gap: 12px;
  }

  .plan-features li{
    gap: 12px;
    line-height: 1.45;
  }

  .price-amount{
    font-size: 32px;
  }

}

.about-container {
    display: flex;
    flex-direction: column; /* Aligne les éléments à la verticale */
    align-items: center;    /* Centre l'image et le titre horizontalement */
    text-align: center;     /* Centre tout le texte */
    gap: 25px;
    max-width: 800px;       /* Empêche le texte de s'étaler trop largement */
    margin: 0 auto;         /* Centre tout le bloc sur la page */
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-text p {
    text-align: justify;
    hyphens: auto;
    margin-bottom: 15px;
    line-height: 1.6;
    color: #b0b8d1;
}

.about-image {
    display: flex;
    flex-direction: column; /* Force les éléments à s'empiler verticalement */
    align-items: center;    /* Centre l'image et le prénom l'un par rapport à l'autre */
}

.about-image img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #2b2fd9;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

/* Ajustement pour mobile */
@media (max-width: 768px) {
    .about-image img {
        width: 120px;       /* Un peu plus petit sur téléphone */
        height: 120px;
        margin-bottom: 15px;
    }
}

.name-tag {
    display: block;
    margin-top: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    color: #eaf0ff;
    letter-spacing: 0.5px;
}

/* Optionnel : si tu veux un petit effet "badge" très moderne */
.name-tag {
    background: rgba(43, 47, 217, 0.2); /* Rappel de ton bleu en fond léger */
    padding: 4px 15px;
    border-radius: 20px;
    border: 1px solid rgba(43, 47, 217, 0.4);
    display: inline-block; /* Pour que le badge ne prenne pas toute la largeur */
}

