/* Pages ville / thème : écran d'ouverture court, texte SEO replié dans des <details>.
   Le texte reste dans le HTML (lisible par Google). Compatible RTL (hébreu) : propriétés logiques. */

.sm-hero { padding-block: 44px; }
@media (min-width: 768px) { .sm-hero { padding-block: 64px; } }

.sm-acc-group { border-top: 1px solid #d9dcea; margin-bottom: 32px; }
.sm-acc { border-bottom: 1px solid #d9dcea; }
.sm-acc > summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-block: 16px;
  min-height: 52px;
}
.sm-acc > summary::-webkit-details-marker { display: none; }
.sm-acc > summary:focus-visible { outline: 3px solid #c9a961; outline-offset: 2px; }
.sm-acc-title { margin: 0; font-size: 1.15rem; line-height: 1.35; font-weight: 700; color: #1e3a8a; }
@media (min-width: 768px) { .sm-acc-title { font-size: 1.3rem; } }
.sm-acc-icon { flex: none; width: 24px; text-align: center; font-size: 1.6rem; line-height: 1; color: #8a6d2b; }
.sm-acc-icon::before { content: "+"; }
.sm-acc[open] > summary .sm-acc-icon::before { content: "\2212"; }
.sm-acc-body { padding-bottom: 20px; }
.sm-acc-body p { font-size: 1.05rem; margin-bottom: 1rem; }
.sm-acc-body > :last-child { margin-bottom: 0; }

/* Bloc d'ouverture identique à la page d'accueil : sous-titre, deux boutons, mention "Gratuit et confidentiel" */
.sm-hero-sub { font-size: 1.25rem; line-height: 1.5; color: #dbeafe; max-width: 48rem; margin: 0 auto 32px; }
@media (min-width: 768px) { .sm-hero-sub { font-size: 1.5rem; } }
.sm-hero-actions { display: flex; flex-direction: column; gap: 16px; align-items: stretch; justify-content: center; }
@media (min-width: 640px) { .sm-hero-actions { flex-direction: row; align-items: center; } }
.sm-btn-gold, .sm-btn-ghost { display: inline-block; text-align: center; text-decoration: none; font-weight: 700; border-radius: 8px; transition: all .3s; }
.sm-btn-gold { background: #c9a961; color: #fff !important; padding: 16px 24px; font-size: 1rem; }
.sm-btn-gold:hover { background: #b8954f; transform: translateY(-2px); box-shadow: 0 8px 16px rgba(201, 169, 97, .3); }
.sm-btn-ghost { background: rgba(255, 255, 255, .1); color: #fff !important; padding: 16px 40px; font-size: 1.1rem; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sm-btn-ghost:hover { background: rgba(255, 255, 255, .2); }
@media (min-width: 768px) { .sm-btn-gold { padding-inline: 40px; font-size: 1.1rem; } }
.sm-hero-micro { margin: 24px 0 0; color: #fff; font-size: .9rem; font-weight: 500; }

/* Titre H1 des pages ville : même taille que les titres de section (text-3xl : 1.875rem / 2.25rem) */
.sm-hero h1.sm-hero-title { font-size: 1.875rem; line-height: 2.25rem; }

/* Mobile : H1 des pages ville plus petit pour tenir sur 3 lignes maximum */
@media (max-width: 720px) { .sm-hero h1.sm-hero-title { font-size: 1.5rem; line-height: 2rem; } }

/* Fond du héros (pages sans cette règle en ligne, ex. blog) */
.hero-gradient { background: linear-gradient(rgba(15,23,42,.85), rgba(30,58,95,.9)), url('/couple.jpg') center/cover no-repeat; }
