/* ===== Header / nav ===== */
.vnav{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 0;
  gap:12px;
}
.vnav .brand-logo{ height:81px; width:auto; display:block; transform:translateX(-25%); }
.vnav-actions{ display:flex; align-items:center; gap:18px; }
.vnav-link{
  font-size:13.5px;
  font-weight:500;
  color:var(--text-muted);
  text-decoration:none;
  white-space:nowrap;
}
.vnav-link:hover{ color:var(--encre); }
.vnav-cta{
  font-family:var(--font-body);
  font-weight:600;
  font-size:13.5px;
  color:#fff;
  background:var(--encre);
  padding:12px 18px;
  border-radius:8px;
  text-decoration:none;
  white-space:nowrap;
  display:inline-block;
  border:none;
  cursor:pointer;
}
.vnav-cta:hover{ filter:brightness(1.1); }
@media (max-width: 520px){
  .vnav .brand-logo{ height:60px; }
  .vnav-link{ display:none; } /* déjà présent dans le hero et le footer, évite une rangée trop chargée */
  .vnav-cta{ font-size:12.5px; padding:11px 14px; }
}

/* ===== Hero ===== */
.hero-section{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap:48px;
  align-items:center;
  padding:40px 0 70px;
}
@media (max-width: 860px){
  .hero-section{ grid-template-columns:1fr; padding:20px 0 50px; }
}
.hero-eyebrow{
  font-family:var(--font-mono);
  font-size:12px;
  letter-spacing:0.12em;
  text-transform:uppercase;
  color:var(--lagon);
  margin-bottom:14px;
}
.hero-title{
  font-family:var(--font-display);
  font-weight:700;
  font-size:clamp(30px, 4.2vw, 46px);
  line-height:1.12;
  letter-spacing:-0.01em;
  color:var(--encre);
  margin:0 0 20px;
}
.hero-sub{
  font-size:16.5px;
  color:var(--text-muted);
  max-width:480px;
  margin:0 0 32px;
  line-height:1.6;
}
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:36px; }
.btn-primary{
  font-family:var(--font-body);
  font-weight:600;
  font-size:15px;
  color:#fff;
  background:var(--encre);
  padding:14px 26px;
  border-radius:9px;
  text-decoration:none;
  display:inline-block;
  border:none;
  cursor:pointer;
}
.btn-primary:hover{ filter:brightness(1.1); }
.btn-secondary{
  font-family:var(--font-body);
  font-weight:600;
  font-size:15px;
  color:var(--encre);
  background:transparent;
  border:1px solid var(--border);
  padding:13px 24px;
  border-radius:9px;
  text-decoration:none;
  display:inline-block;
}
.btn-secondary:hover{ border-color:var(--lagon); background:var(--nacre); }

.hero-stats{ display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; }
.hero-stat{ display:flex; flex-direction:column; min-width:0; }
.stat-icon{
  width:30px; height:30px; border-radius:9px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:8px;
}
.stat-icon--encre{ background:var(--encre); color:#fff; }
.stat-icon--lagon{ background:var(--lagon); color:#fff; }
.stat-icon--sauge{ background:var(--sauge); color:#fff; }
.hero-stat .stat-num{
  font-family:var(--font-display);
  font-weight:700;
  font-size:24px;
  color:var(--encre);
  white-space:nowrap;
}
.hero-stat .stat-label{
  font-size:12px;
  color:var(--text-faint);
  margin-top:2px;
  white-space:nowrap;
}

/* ===== Hero illustration ===== */
.hero-art{
  background:linear-gradient(135deg, var(--lagon) 0%, var(--sauge) 100%);
  border-radius:19px;
  padding:3px;
  min-height:340px;
  display:flex;
  box-shadow:0 12px 32px rgba(7,59,68,0.12);
}
.hero-art-inner{
  background:var(--nacre);
  border-radius:16px;
  padding:36px;
  width:100%;
  display:flex;
  align-items:center;
  justify-content:center;
}
.hero-art img{
  width:100%;
  height:auto;
  max-width:380px;
  display:block;
}

/* ===== Sections communes ===== */
.section{ padding:56px 0; border-top:1px solid var(--border-soft); }
.section-eyebrow{
  display:table;
  margin:0 auto 14px;
  font-family:var(--font-mono);
  font-size:11px;
  letter-spacing:0.08em;
  text-transform:uppercase;
  color:var(--encre);
  background:var(--lagon-pale);
  padding:4px 14px;
  border-radius:20px;
}
.section-title{
  font-family:var(--font-display);
  font-weight:700;
  font-size:clamp(22px,3vw,30px);
  color:var(--encre);
  text-align:center;
  margin:0 0 44px;
}

/* ===== Deux types de coffres ===== */
.type-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:24px;
}
@media (max-width: 700px){ .type-grid{ grid-template-columns:1fr; } }
.type-card{
  background:var(--nacre);
  border:1px solid var(--border);
  border-radius:14px;
  overflow:hidden;
  box-shadow:0 6px 20px rgba(7,59,68,0.06);
  transition:transform 0.15s, box-shadow 0.15s;
}
.type-card:hover{ transform:translateY(-3px); box-shadow:0 14px 30px rgba(7,59,68,0.12); }
.type-card-media{ position:relative; }
.type-card img{
  width:100%;
  aspect-ratio: 4 / 3;
  object-fit:cover;
  display:block;
}
.type-badge{
  position:absolute; bottom:14px; left:14px;
  color:#fff; font-family:var(--font-display); font-weight:700; font-size:13px;
  padding:6px 14px; border-radius:20px;
  box-shadow:0 4px 12px rgba(0,0,0,0.25);
}
.type-badge--lagon{ background:var(--lagon); }
.type-badge--sauge{ background:var(--sauge); }
.type-title{
  font-family:var(--font-display);
  font-weight:600;
  font-size:18px;
  color:var(--encre);
  margin:20px 22px 8px;
}
.type-text{
  font-size:14px;
  color:var(--text-muted);
  line-height:1.55;
  margin:0 22px 22px;
}

/* ===== Steps ===== */
.steps{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:24px;
}
@media (max-width: 780px){ .steps{ grid-template-columns:1fr; } }
.step-card{
  background:var(--nacre);
  border:1px solid var(--border);
  border-radius:14px;
  padding:26px 22px;
  position:relative;
  box-shadow:0 6px 20px rgba(7,59,68,0.06);
}
.step-icon{
  width:44px; height:44px;
  border-radius:11px;
  color:#fff;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:14px;
}
.step-icon--encre{ background:var(--encre); }
.step-icon--lagon{ background:var(--lagon); }
.step-icon--sauge{ background:var(--sauge); }
.step-num{
  position:absolute;
  top:22px; right:22px;
  width:26px; height:26px;
  border-radius:50%;
  background:var(--lagon-pale);
  color:var(--lagon);
  font-family:var(--font-mono);
  font-weight:600;
  font-size:12px;
  display:flex; align-items:center; justify-content:center;
}
.step-title{
  font-family:var(--font-display);
  font-weight:600;
  font-size:17px;
  color:var(--encre);
  margin:0 0 8px;
}
.step-text{ font-size:14px; color:var(--text-muted); line-height:1.55; }

/* ===== Nos installations ===== */
.install-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:24px;
}
@media (max-width: 700px){ .install-grid{ grid-template-columns:1fr; } }
.install-card{
  border-radius:14px;
  overflow:hidden;
  border:1px solid var(--border);
  box-shadow:0 6px 20px rgba(7,59,68,0.06);
}
.install-card img{
  width:100%;
  aspect-ratio: 4 / 3;
  object-fit:cover;
  display:block;
}

/* ===== Compatibilité ===== */
.compat-list{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  justify-content:center;
  max-width:820px;
  margin:0 auto;
}
.compat-chip{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family:var(--font-display);
  font-weight:600;
  font-size:16px;
  color:var(--encre);
  background:var(--nacre);
  border:1px solid var(--border);
  padding:15px 24px;
  border-radius:14px;
}
.compat-chip::before{
  content:'';
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--lagon);
  flex:none;
}

/* ===== À propos ===== */
.about-content{
  max-width:720px;
  margin:0 auto;
}
.about-content p{
  font-size:15px;
  color:var(--text-muted);
  line-height:1.7;
  margin:0 0 16px;
  text-align:center;
}
.about-content strong{ color:var(--encre); }

/* ===== FAQ ===== */
.faq-list{
  max-width:720px;
  margin:0 auto;
  display:flex;
  flex-direction:column;
  gap:10px;
}
.faq-item{
  background:var(--nacre);
  border:1px solid var(--border);
  border-radius:12px;
  padding:16px 20px;
}
.faq-item summary{
  font-family:var(--font-body);
  font-weight:600;
  font-size:14.5px;
  color:var(--encre);
  cursor:pointer;
  list-style:none;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::before{
  content:'+';
  display:inline-block;
  width:18px;
  color:var(--lagon);
  font-weight:700;
}
.faq-item[open] summary::before{ content:'−'; }
.faq-item p{
  font-size:13.5px;
  color:var(--text-muted);
  line-height:1.6;
  margin:10px 0 0 18px;
}
.tbd-dark{
  background:rgba(255,255,255,0.1);
  padding:1px 6px;
  border-radius:4px;
  font-size:13px;
}
.lead-contact{
  font-size:13px;
  color:rgba(255,255,255,0.65);
  margin-top:20px;
  line-height:1.6;
}

/* ===== Devenir client ===== */
.lead-section{
  background:var(--encre);
  border-radius:20px;
  padding:48px 40px;
  color:#fff;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:40px;
  align-items:center;
}
@media (max-width: 780px){ .lead-section{ grid-template-columns:1fr; padding:32px 24px; } }
.lead-title{
  font-family:var(--font-display);
  font-weight:700;
  font-size:clamp(20px,2.6vw,28px);
  margin:0 0 12px;
}
.lead-sub{ font-size:14.5px; color:rgba(255,255,255,0.75); line-height:1.6; max-width:400px; }
.lead-form{ display:flex; flex-direction:column; gap:12px; }
.lead-form input, .lead-form textarea{
  width:100%;
  background:rgba(255,255,255,0.08);
  border:1px solid rgba(255,255,255,0.2);
  border-radius:8px;
  padding:12px 14px;
  color:#fff;
  font-family:var(--font-body);
  font-size:14px;
}
.lead-form input::placeholder, .lead-form textarea::placeholder{ color:rgba(255,255,255,0.45); }
.lead-form input:focus, .lead-form textarea:focus{ outline:none; border-color:var(--lagon-pale); }
.lead-form textarea{ resize:vertical; min-height:70px; font-family:var(--font-body); }
.lead-submit{
  background:#fff;
  color:var(--encre);
  border:none;
  border-radius:8px;
  padding:13px;
  font-weight:600;
  font-size:14.5px;
  cursor:pointer;
  font-family:var(--font-body);
}
.lead-submit:hover{ filter:brightness(0.95); }
.lead-feedback{ font-size:13px; min-height:18px; }
.lead-feedback.success{ color:#B7F0C9; }
.lead-feedback.error{ color:#F4B8B0; }

/* ===== Footer ===== */
.vfooter{
  border-top:1px solid var(--border-soft);
  padding:32px 0;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
  font-size:12.5px;
  color:var(--text-faint);
}
.vfooter a{ color:var(--text-faint); }
.vfooter-links{ display:flex; gap:20px; flex-wrap:wrap; }

/* ===== Réglages fins petits écrans (téléphone) ===== */
@media (max-width: 520px){
  .wrap{ padding:20px 18px 40px; }

  .hero-eyebrow{ margin-bottom:10px; }
  .hero-title{ margin-bottom:14px; }
  .hero-sub{ font-size:15px; margin-bottom:24px; }
  .hero-ctas{ flex-direction:column; gap:10px; margin-bottom:28px; }
  .hero-ctas a{ text-align:center; width:100%; }
  .hero-stats{
    display:grid;
    grid-template-columns:1fr 1fr;
    grid-template-areas: "a a" "b c";
    gap:10px;
  }
  .hero-stat{
    background:var(--nacre);
    border:1px solid var(--border);
    border-radius:12px;
    padding:16px;
    align-items:center;
    text-align:center;
  }
  .hero-stat:nth-child(1){
    grid-area:a;
    flex-direction:row;
    justify-content:center;
    text-align:left;
    gap:14px;
    padding:18px 20px;
  }
  .hero-stat:nth-child(1) .stat-icon{ margin-bottom:0; flex:none; }
  .hero-stat:nth-child(2){ grid-area:b; }
  .hero-stat:nth-child(3){ grid-area:c; }
  .hero-stat .stat-num{ font-size:20px; }
  .hero-stat .stat-label{ font-size:11px; white-space:normal; }

  .section{ padding:36px 0; }
  .section-title{ margin-bottom:28px; font-size:22px; }

  .type-title{ margin:16px 18px 6px; }
  .type-text{ margin:0 18px 18px; }

  .step-card{ padding:20px 18px; }

  .lead-section{ border-radius:14px; padding:28px 20px; gap:24px; }
  .lead-sub{ max-width:none; }

  .vfooter{ flex-direction:column; align-items:flex-start; gap:8px; padding:24px 0; }
}

/* ===== Modale de choix d'accès ===== */
.access-modal-overlay{
  display:none;
  position:fixed; inset:0; z-index:100;
  background:rgba(7,59,68,0.55);
  align-items:center; justify-content:center;
  padding:20px;
}
.access-modal-overlay.open{ display:flex; }
.access-modal{
  background:var(--nacre);
  border-radius:18px;
  padding:36px 34px;
  max-width:680px;
  width:100%;
  position:relative;
  box-shadow:0 24px 60px rgba(7,59,68,0.3);
}
.access-modal-close{
  position:absolute; top:18px; right:18px;
  background:none; border:none; font-size:16px; color:var(--text-faint); cursor:pointer;
  width:32px; height:32px; border-radius:8px;
}
.access-modal-close:hover{ background:var(--brume); color:var(--encre); }
.access-modal-title{
  font-family:var(--font-display); font-weight:700; font-size:20px; color:var(--encre);
  text-align:center; margin-bottom:26px;
}
.access-modal-options{ display:grid; grid-template-columns:repeat(3, 1fr); gap:16px; }
@media (max-width:700px){ .access-modal-options{ grid-template-columns:1fr; } }
.access-option{
  display:block;
  background:var(--brume);
  border:1px solid var(--border);
  border-radius:14px;
  padding:22px 18px;
  text-decoration:none;
  text-align:left;
  transition:border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.access-option:hover{ border-color:var(--lagon); transform:translateY(-2px); box-shadow:0 10px 22px rgba(7,59,68,0.1); }
.access-option-icon{
  width:42px; height:42px; border-radius:11px;
  display:flex; align-items:center; justify-content:center;
  margin-bottom:14px;
}
.access-option-icon--encre{ background:var(--encre); color:#fff; }
.access-option-icon--lagon{ background:var(--lagon); color:#fff; }
.access-option-icon--sauge{ background:var(--sauge); color:#fff; }
.access-option-title{ font-family:var(--font-display); font-weight:600; font-size:14.5px; color:var(--encre); margin-bottom:6px; }
.access-option-sub{ font-size:12.5px; color:var(--text-muted); line-height:1.5; }

/* La vitrine publique n'a pas d'en-tête fixe (contrairement à l'espace pro)
   — elle n'a donc pas besoin de la grande marge ajoutée pour compenser cet
   en-tête. On revient à un espacement normal en haut de page, ici,
   uniquement sur ordinateur (le mobile a déjà son propre réglage plus haut
   dans ce fichier, qu'on ne touche pas). */
@media (min-width: 641px){
  .wrap{ padding-top:36px; }
}
