
:root{
  --bg:#0f1720;          /* fond foncé chic */
  --panel:#18212e;       /* cartes */
  --panel2:#1f2a38;      /* variantes */
  --border:rgba(255,255,255,.08);

  --text:#e6edf6;        /* texte clair */
  --muted:#9aa7b8;       /* texte secondaire */

  --accent:#5cff9a;      /* vert fluo doux (clé) */
  --accent2:#34d399;     /* vert secondaire */
  --danger:#ff6b6b;

  --shadow:0 10px 30px rgba(0,0,0,.35);
  --radius:14px;
}


*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(900px 500px at 20% 0%, rgba(99,179,255,.18), transparent 60%),
              radial-gradient(900px 500px at 80% 0%, rgba(74,222,128,.14), transparent 60%),
              var(--bg);
  color:var(--text);
}

/* TOPBAR */
.topbar{
  position:sticky; top:0; z-index:50;
  display:flex; gap:16px;
  align-items:center; justify-content:space-between;
  padding:14px 18px;
  background:rgba(15,23,42,.72);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}

.brandLink{display:flex; align-items:center; gap:12px; text-decoration:none; color:inherit}
.brandLogo{
  width:46px; height:46px; object-fit:contain;
  border-radius:12px;
  background:rgba(255,255,255,.05);
  border:1px solid var(--border);
  padding:6px;
}
.brandName{font-weight:800; letter-spacing:.2px}
.brandTag{font-size:12px; color:var(--muted)}

.topActions{display:flex; gap:10px; flex-wrap:wrap; justify-content:flex-end}
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.06);
  color:var(--text);
  text-decoration:none;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}
.btn:hover{transform:translateY(-1px)}
.btn-primary{
  background: linear-gradient(135deg, rgba(99,179,255,.95), rgba(74,222,128,.85));
  border:0;
  color:#071022;
  font-weight:700;
}
.btn-outline{background:transparent}
.btn-whatsapp{
  border:1px solid rgba(74,222,128,.35);
  background:rgba(74,222,128,.10);
}

/* WhatsApp floating */
.waFloat{
  position:fixed; right:16px; bottom:16px; z-index:60;
  padding:12px 14px;
  border-radius:999px;
  border:1px solid rgba(74,222,128,.40);
  background:rgba(15,23,42,.80);
  color:var(--text);
  text-decoration:none;
  box-shadow: var(--shadow);
}

/* Layout */
.layout{
  display:grid;
  grid-template-columns: 290px 1fr;
  gap:16px;
  padding:16px;
  max-width:1200px;
  margin:0 auto;
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border:1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Sidebar */
.sidebar{display:flex; flex-direction:column; gap:14px}
.sidebar .card{padding:14px}
.sidebar h2{margin:0 0 10px 0; font-size:16px}
.menu{display:flex; flex-direction:column; gap:6px}
.menu a{
  padding:10px 10px;
  border-radius:12px;
  text-decoration:none;
  color:var(--text);
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.06);
}
.menu a:hover{
  border-color: rgba(99,179,255,.35);
  background:rgba(99,179,255,.10);
}
.infoLine{margin:6px 0}
.muted{color:var(--muted)}
.bullets{margin:10px 0 0; padding-left:18px; color:var(--muted)}
.bullets li{margin:6px 0}

/* Content */
.content{display:flex; flex-direction:column; gap:14px}
.hero{padding:18px; display:grid; grid-template-columns: 1.2fr .8fr; gap:16px}
.hero h1{margin:0 0 8px 0; font-size:28px}
.lead{margin:0 0 12px 0; color:var(--muted); line-height:1.4}
.checks{display:flex; flex-wrap:wrap; gap:8px; margin:12px 0}
.checks span{
  font-size:13px;
  padding:7px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.08);
}
.ctaBar{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px}

.badge{
  padding:14px;
  border-radius:14px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
}
.badgeTitle{font-weight:800; margin-bottom:10px}
.badgeLine{display:flex; gap:10px; margin:8px 0; color:var(--muted)}
.badgeLine span{width:20px; text-align:center}

/* =========================
   PRESTATIONS (PROPRE)
   - 2 colonnes PC
   - photo en haut, texte dessous
   - mêmes dimensions gauche/droite
   ========================= */

.servicesGrid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

/* 1 carte */
.service.card{
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  height: 100%;
  min-height: 420px; /* => cartes plus "égales" */
}

/* Force l’ordre : photo d'abord, texte ensuite (même si ton HTML est inversé) */
.serviceMedia{ order: 1; }
.serviceText{ order: 2; }

/* Media */
.serviceMedia{
  margin: 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
}

.serviceMedia img{
  width: 100%;
  height: 220px;       /* même taille partout */
  object-fit: cover;   /* recadre sans déformer */
  display: block;
}

/* Légende */
.serviceMedia figcaption{
  font-size: 12px;
  color: var(--muted);
  padding: 10px 10px;
}

/* Texte */
.serviceText{
  width: 100%;
  flex: 1;
}

.serviceText h2, .serviceText h3{
  margin: 0 0 10px 0;
  font-size: 18px;
}

.serviceText p{
  margin: 0 0 10px 0;
  color: var(--muted);
  line-height: 1.5;
}

/* Mobile : 1 colonne */
@media (max-width: 900px){
  .servicesGrid{
    grid-template-columns: 1fr;
  }
  .serviceMedia img{
    height: 240px;
  }
}

/* =========================
   AVANT / APRES (GROS + CLIQUABLE)
   ========================= */
#avantapres{ padding:16px; }

.galleryBig{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 12px;
}

.gaItem{
  display:block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  position: relative;
}

.gaItem img{
  width: 100%;
  height: 260px;
  object-fit: cover;
  display:block;
}

.gaItem span{
  position:absolute;
  top:10px;
  left:10px;
  background: rgba(0,0,0,.60);
  color:#fff;
  font-size:12px;
  padding: 5px 9px;
  border-radius: 999px;
}

.gaItem:hover img{
  transform: scale(1.03);
  transition: .2s ease;
}

@media (max-width: 900px){
  .galleryBig{ grid-template-columns: 1fr; }
  .gaItem img{ height: 280px; }
}


/* Contact */
#contact{padding:16px}
.contactGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:10px;
  margin:14px 0;
}
.contactCard{
  padding:12px;
  border-radius:14px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.08);
}
.contactCard .k{color:var(--muted); font-size:12px}
.contactCard .v a{color:var(--text); text-decoration:none}

/* Footer */
.footer{padding:16px}
.footerInner{display:flex; flex-direction:column; gap:6px}

/* Responsive */
@media (max-width: 820px){
  .layout{grid-template-columns: 1fr}
  .hero{grid-template-columns: 1fr}
  .service{grid-template-columns: 1fr}
  .contactGrid{grid-template-columns: 1fr}
  .gallery{grid-template-columns: 1fr}
  .topActions{justify-content:flex-start}
.service {
  flex-direction: column;
}

}

.heroBrand{
  margin-bottom: 16px;
}

.heroLogo{
  width: 360px;      /* ← LOGO BEAUCOUP PLUS GRAND */
  max-width: 100%;
  height: auto;
  margin-bottom: 12px;
}


.heroTagline{
  font-size: 16px;
  color: var(--muted);
}
.heroBrand{
  margin-bottom: 18px;
}

.heroLogo{
  width: 220px;
  max-width: 100%;
  height: auto;
  margin-bottom: 8px;
}

.heroTagline{
  font-size: 16px;
  color: var(--muted);
}
.brandLogo{
  width: 300px;
  height: auto;
  display: block;
  border-radius: 12px;
}
.heroLogo{
  width: 320px;
  height: auto;
  display: block;
  margin: 0 0 14px 0;
  object-fit: contain;
}
.qr {
  text-align: center;
  margin-top: 12px;
}

.qr img {
  width: 110px;
  max-width: 100%;
  border-radius: 8px;
  background: #fff;
  padding: 6px;
}

.qrText {
  font-size: 12px;
  opacity: 0.8;
  margin-top: 4px;
}
/* QR dans la carte Coordonnées */
.qr{
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.qr img{
  width: 130px;          /* taille scannable */
  height: 130px;
  background: #ffffff;   /* contraste pour scanner */
  padding: 8px;
  border-radius: 10px;
}

.qrText{
  font-size: 13px;
  opacity: .9;
}
/* TITRE MOBILE */
.mobileTitle{
  display:none;           /* caché sur PC */
  font-weight:900;
  font-size:22px;
  letter-spacing:.2px;
  margin: 6px 0 10px 0;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(17, 26, 44, .85);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

/* Active en mobile */
@media (max-width: 820px){
  .topbar{
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .mobileTitle{
    display:block;
    text-align:center;
  }
}
/* HEADER MOBILE : NOM + LOGO */
.mobileHeader{
  display:none;
  text-align:center;
  padding:12px;
  border-radius:16px;
  background: rgba(17,26,44,.85);
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.mobileTitle{
  font-weight:900;
  font-size:24px;
  margin-bottom:8px;
  letter-spacing:.3px;
}

.mobileLogo{
  width:180px;
  max-width:100%;
  height:auto;
  border-radius:12px;
}

/* Visible uniquement en mobile */
@media (max-width: 820px){
  .topbar{
    flex-direction: column;
    gap: 10px;
  }
  .mobileHeader{
    display:block;
  }
}
.beforeAfter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 16px;
}

.baItem {
  position: relative;
}

.baItem img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.baItem span {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  padding: 4px 8px;
  border-radius: 6px;
  font-size: 12px;
}

/* ===== AVANT / APRES ===== */

.beforeAfter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 12px;
}

.baItem {
  position: relative;
}

.baItem img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.baItem span {
  position: absolute;
  top: 8px;
  left: 8px;
  background: rgba(0,0,0,0.65);
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 6px;
}
.beforeAfter {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.baItem {
  background: transparent;
  overflow: hidden;
}

.baItem img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* LAYOUT : menu à gauche + contenu à droite (comme avant) */
.layout{
  display: grid;
  grid-template-columns: 320px 1fr; /* gauche / droite */
  gap: 16px;
  align-items: start;
}

/* Sur mobile seulement, ça passe en 1 colonne */
@media (max-width: 900px){
  .layout{
    grid-template-columns: 1fr;
  }
}
/* Prestations : une après l'autre (liste verticale) */
.servicesList{
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media (max-width: 820px){
  .layout{ flex-direction: column; }
  .sidebar{ width:100%; }
  .service.card{ flex-direction: column; }
  .serviceMedia{ width:100%; flex-basis:auto; }
}
/* PC : menu à gauche + contenu à droite */
.layout{ display:flex; align-items:flex-start; gap:16px; }
.sidebar{ flex:0 0 320px; }
.content{ flex:1; min-width:0; }

/* Prestations : une par une (texte + photo) */

.serviceMedia{ flex:0 0 320px; }
.serviceMedia img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
}


/* ===== FIX DEFINITIF LAYOUT (comme avant) ===== */

.layout{
  display: flex !important;
  gap: 16px;
  align-items: flex-start;
}

/* MENU GAUCHE */
.sidebar{
  width: 300px;
  flex-shrink: 0;
  position: sticky;
  top: 16px;
}

/* CONTENU DROIT */
.content{
  flex: 1;
  min-width: 0;
}

/* CARTES PRESTATIONS : texte à gauche / image à droite */
.service.card{
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.serviceText{
  flex: 1;
}

.serviceMedia{
  width: 300px;
  flex-shrink: 0;
}

.serviceMedia img{
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* MOBILE */
@media (max-width: 900px){
  .layout{
    flex-direction: column;
  }

  .sidebar{
    width: 100%;
    position: static;
  }

  .service.card{
    flex-direction: column;
  }

  .serviceMedia{
    width: 100%;
  }
}

.serviceMedia img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 12px;
}
.service.card,
.serviceCard,
.service {
  display: flex;
  flex-direction: column;
}
.serviceMedia {
  order: 1;
  margin-bottom: 12px;
}

.serviceText {
  order: 2;
}

/* Même taille de cadre pour toutes les photos */
.serviceMedia {
  width: 100%;
}

/* Le "cadre" de la photo */
.serviceMedia img {
  width: 100%;
  height: 180px;        /* <- change à 200 si tu veux plus grand */
  object-fit: cover;    /* recadre proprement */
  display: block;
  border-radius: 14px;  /* arrondi identique partout */
}
/* Grille des prestations */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

/* Carte */
.service-card {
  background: rgba(255,255,255,0.06);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Image */
.service-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

/* Texte */
.service-content {
  padding: 14px;
}

.service-content h3 {
  margin-top: 0;
}/* ===== PRESTATIONS : VERSION SIMPLE ET PROPRE ===== */

.service.card {
  display: flex;
  flex-direction: column;   /* image au-dessus, texte en dessous */
  gap: 12px;
}

/* Images : toutes pareilles */
.serviceMedia img {
  width: 100%;
  height: 180px;            /* même hauteur partout */
  object-fit: cover;        /* coupe proprement */
  border-radius: 12px;
}

/* On enlève les effets bizarres gauche / droite */
.serviceText {
  width: 100%;
}

/* Les cartes ont toutes la même tête */
.service.card {
  padding: 16px;
}
/* ===== LOGO + TEXTE EN COLONNE (PAS CÔTE À CÔTE) ===== */

.brand {
  display: flex;
  flex-direction: column;   /* empile verticalement */
  align-items: flex-start;  /* aligné à gauche */
  gap: 6px;
}

.brandText {
  display: block !important;
}
/* =========================================
   RETOUR À "COMME AVANT" : 1 prestation par ligne
   ========================================= */

/* 1) Forcer la liste des prestations en 1 colonne (désactive le grid 2 colonnes) */
.services,
.servicesGrid,
.prestations,
.prestationsGrid,
.cards,
.grid,
#prestations {
  display: flex !important;
  flex-direction: column !important;
  gap: 16px !important;
}

/* 2) Chaque carte "service" : texte à gauche / photo à droite (comme avant) */
article.service.card,
article.service,
.service.card,
.serviceCard {
  display: flex !important;
  flex-direction: row !important;
  align-items: stretch !important;
  gap: 16px !important;
}

/* 3) Photo = même taille partout + bien cadrée */
.serviceMedia,
.serviceMedia img {
  width: 320px !important;
  height: 200px !important;
  object-fit: cover !important;
  border-radius: 14px !important;
}

/* 4) Sur mobile : photo sous le texte */
@media (max-width: 900px) {
  article.service.card,
  article.service,
  .service.card,
  .serviceCard {
    flex-direction: column !important;
  }

  .serviceMedia,
  .serviceMedia img {
    width: 100% !important;
    height: 220px !important;
  }
}
/* ===== CARTES PRESTATIONS : PHOTO EN HAUT, TEXTE EN DESSOUS ===== */

.service.card {
  display: flex;
  flex-direction: column; /* empile tout verticalement */
  gap: 12px;
}

/* Image toujours en haut */
.serviceMedia {
  width: 100%;
}

/* Taille IDENTIQUE pour toutes les photos */
.serviceMedia img {
  width: 100%;
  height: 220px;          /* 👉 ajuste si tu veux (200 / 240…) */
  object-fit: cover;     /* remplit sans déformer */
  border-radius: 12px;
  display: block;
}

/* Texte SOUS la photo */
.serviceText {
  width: 100%;
}

/* Supprime les layouts chelous gauche/droite */
.service.card > .serviceText,
.service.card > .serviceMedia {
  flex: none;
}
/* =====================================================
   FIX PRESTATIONS : IMAGE EN HAUT + TEXTE EN DESSOUS
   (Force comme "SARL Infini'sol")
   ===================================================== */

/* La carte prestation */
article.service.card,
.service.card{
  display: flex !important;
  flex-direction: column !important;   /* ✅ empile verticalement */
  gap: 12px !important;
  padding: 16px !important;
  overflow: hidden !important;         /* ✅ empêche le débordement */
}

/* Force l'ordre : image puis texte (même si HTML est inversé) */
.serviceMedia{ 
  order: 1 !important;
  width: 100% !important;
  margin: 0 !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  background: rgba(255,255,255,.03) !important;
}

.serviceText{
  order: 2 !important;
  width: 100% !important;
  position: static !important;         /* ✅ évite texte sur l’image */
  background: transparent !important;
}

/* Même taille partout */
.serviceMedia img{
  width: 100% !important;
  height: 200px !important;            /* ✅ taille normale et lisible */
  object-fit: cover !important;
  display: block !important;
}

/* Légende sous la photo */
.serviceMedia figcaption{
  display: block !important;
  font-size: 12px !important;
  color: var(--muted) !important;
  padding: 10px 10px !important;
}

/* Si tu as mis un <a> autour des images */
.serviceMedia a{
  display: block !important;
}
/* ===== AVANT / APRES : GROS + PLEINE LARGEUR + CLIQUABLE ===== */

#avantapres{
  padding: 16px;
  width: 100%;
}

/* grille 2 colonnes */
.galleryBig{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 12px;
}

/* chaque item cliquable */
.galItem{
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  text-decoration: none;
}

/* image BIG */
.galItem img{
  width: 100%;
  height: 320px;       /* + gros */
  object-fit: cover;
  display: block;
}

/* label Avant / Après */
.galItem span{
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
}

/* hover sympa */
.galItem:hover{
  transform: translateY(-1px);
}

/* mobile : 1 colonne */
@media (max-width: 900px){
  .galleryBig{
    grid-template-columns: 1fr;
  }
  .galItem img{
    height: 260px;
  }
}
/* ===== AVANT / APRES : GROS + PLEINE LARGEUR + CLIQUABLE ===== */

#avantapres{
  padding: 16px;
  width: 100%;
}

/* grille 2 colonnes */
.galleryBig{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 12px;
}

/* chaque item cliquable */
.galItem{
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  text-decoration: none;
}

/* image BIG */
.galItem img{
  width: 100%;
  height: 320px;       /* + gros */
  object-fit: cover;
  display: block;
}

/* label Avant / Après */
.galItem span{
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,.65);
  color: #fff;
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
}

/* hover sympa */
.galItem:hover{
  transform: translateY(-1px);
}

/* mobile : 1 colonne */
@media (max-width: 900px){
  .galleryBig{
    grid-template-columns: 1fr;
  }
  .galItem img{
    height: 260px;
  }
}
/* Le conteneur qui contient les cartes en 2 colonnes : on garde la grille,
   mais Avant/Après et Contact prennent toute la largeur grâce au grid-column au-dessus. */
.content{
  min-width: 0;
}
.galleryBig {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.gallItem {
  position: relative;
  display: block;
  cursor: pointer;
}

.gallItem img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: 12px;
}

.gallItem span {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 12px;
  padding: 4px 8px;
  border-radius: 8px;
  pointer-events: none; /* IMPORTANT */
}
#contact {
  grid-column: 1 / -1;
}
/* Espace entre l’image et le texte des cartes (mobile + desktop) */
.card h3,
.card h4 {
  margin-top: 12px;
}

