/* CSS pour le HTML produit par HtmlBuilder en mode "web" (getHTML('web')).
   À charger sur la page qui AFFICHE ce rendu — distinct du CSS de l'éditeur
   lui-même (qui est isolé en Shadow DOM et n'a pas besoin de ce fichier). */

.hbw-root {
    margin: 0 auto;
    width: 100%;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}
.hbw-root > * + * { margin-top: 16px; }

.hbw-heading { margin: 0; line-height: 1.3; font-weight: 700; }
.hbw-heading--h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
.hbw-heading--h2 { font-size: clamp(1.375rem, 3vw, 1.75rem); }
.hbw-heading--h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); }

.hbw-btn-wrap {}
.hbw-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: opacity .15s ease;
}
.hbw-btn:hover { opacity: .88; }
.hbw-btn--full { display: block; width: 100%; text-align: center; }

.hbw-img { max-width: 100%; height: auto; display: block; margin: 0 auto; }

.hbw-divider { border: none; border-top-width: 1px; margin: 0 auto; }

.hbw-spacer {}

.hbw-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.hbw-social__link {
    text-decoration: none;
    color: #6750A4;
    font-weight: 600;
    text-transform: capitalize;
}

.hbw-columns {
    display: grid;
    grid-template-columns: repeat(var(--hbw-col-count, 2), 1fr);
    gap: 24px;
}
@media (max-width: 600px) {
    .hbw-columns { grid-template-columns: 1fr; }
}

.hbw-html {}
