/* ==========================================================================
   VTGlass — correctifs & finitions (chargé en dernier)
   ========================================================================== */

/* ---- Couleurs de texte plus lisibles ---- */
:root{ --vt-amber-text:#9a5d00; }

/* ---- Formulaire 3D dans le hero ---- */
.hero-card.hero-card--3d{ background:transparent !important; padding:0 !important; border-radius:24px; box-shadow:none !important; transform:none !important; }
.hero-card.hero-card--3d::before{ border-radius:26px; inset:-3px; }
.hero-form-area{ min-width:0; }

/* ---- Liens des cartes blog sans soulignement ---- */
.blog-preview-grid a, .blog-preview-grid a *{ text-decoration:none !important; }

/* ---- Bouton "Devis" du header ---- */
.header-rdv{ white-space:nowrap; }

/* ---- Mobile ---- */
@media (max-width:1024px){
  .hero-crack{ display:none !important; }
}
@media (max-width:768px){
  .header-rdv{ display:none !important; }
  .header-inner{ padding:10px 14px !important; gap:10px !important; }
  .logo-wordmark{ font-size:1.3rem !important; }
  .floaters{ display:none !important; }              /* la barre du bas suffit */
  .welcome-notif{ display:none !important; }         /* évite de masquer le formulaire */
  body{ padding-bottom:64px; }                       /* place pour la barre mobile */
  .hero{ padding-top:140px !important; }
}
@media (max-width:420px){
  .hero-ctas .btn{ width:100%; }
}

/* ==========================================================================
   Lisibilité des couleurs (contraste)
   ========================================================================== */
:root{ --gray-400:#6b7280; --gray-500:#525b68; }
/* textes ambre sur fond clair -> ambre foncé lisible */
[style*="color:var(--slate-500)"], [style*="color: var(--slate-500)"]{ color:#9a5d00 !important; }
h1 [style*="color:var(--slate-500)"], h2 [style*="color:var(--slate-500)"], h3 [style*="color:var(--slate-500)"]{ color:#c27a00 !important; }
[style*="color:#b8720a"]{ color:#8a5200 !important; }
.section-tag, .cat-tag{ color:#8a5200 !important; }
.card-link{ color:#9a5d00 !important; }
.logo-wordmark em{ color:#e0940f; }
.header .logo-wordmark em, .rdv-header .logo-wordmark em{ color:#d98a0b; }
/* pied de page */
.footer-bottom p, .footer-bottom a, .rdv-footer p, .site-footer p, .site-footer a{ color:rgba(255,255,255,.66) !important; }
.footer-bottom a:hover{ color:#f0b93a !important; }
.footer-nav a{ color:rgba(255,255,255,.72); }
.hiw-cta-sub{ color:rgba(255,255,255,.75) !important; }
/* boutons WhatsApp : vert plus soutenu pour un texte blanc lisible */
.btn-green, .wn-btn-green, .mob-btn-wa, .f-btn-wa{ background:linear-gradient(135deg,#16a34a,#0e7c68) !important; color:#fff !important; }
/* titre du hero : dégradé uniquement aux couleurs de la marque */
.hero-title .hl{ background:linear-gradient(90deg,#f0b93a,#ffd98a,#e8a020,#f0b93a) !important; background-size:300% auto !important;
  -webkit-background-clip:text !important; background-clip:text !important; color:transparent !important; }

/* ==========================================================================
   Notification de bienvenue : en bas à gauche (ne cache plus le formulaire)
   ========================================================================== */
.welcome-notif{ top:auto !important; right:auto !important; left:20px; bottom:24px; transform:translateY(calc(100% + 40px)) !important; }
.welcome-notif.show{ transform:none !important; }

/* ==========================================================================
   Mobile : formulaire plus haut dans la page
   ========================================================================== */
@media (max-width:768px){
  .hero-ctas{ display:none !important; }          /* Appeler / WhatsApp / RDV déjà dans la barre du bas */
  .hero-sub{ margin-bottom:18px !important; font-size:1rem !important; }
  .hero-checklist{ display:grid !important; grid-template-columns:1fr 1fr; gap:8px 12px !important; margin-bottom:6px; }
  .hero-check{ font-size:.8rem !important; }
  .hero-inner{ gap:24px !important; }
}

/* ==========================================================================
   Page rendez-vous : formulaire 3D intégré à la carte
   ========================================================================== */
.rdv-form-inner .vtd{ box-shadow:none; padding:0; border-radius:0; background:transparent; }
.rdv-form-inner .vtd-title, .rdv-form-inner .vtd-sub{ display:none; }
.rdv-form-inner .vtd-steps{ margin-top:0; }

/* Sections sombres : textes clairs bien visibles */
.guarantees .section-tag{ color:#ffd27a !important; background:rgba(240,185,58,.16) !important; }
.guarantees .section-subtitle{ color:rgba(255,255,255,.8) !important; }
.g-desc{ color:rgba(255,255,255,.78) !important; }
.cta-section p{ color:rgba(255,255,255,.82); }

/* Page rendez-vous (lien pub) : formulaire visible tout de suite sur mobile */
@media (max-width:600px){
  .rdv-badges, .rdv-sub{ display:none !important; }
  .rdv-band{ padding-top:22px !important; padding-bottom:70px !important; }
  .rdv-title{ font-size:1.5rem !important; }
}
