/*
Theme Name: Auto-école Togo
Theme URI: https://exemple.tg
Author: Auto-école
Description: Thème de blocs pour auto-école : accueil, à propos, formations et tarifs, inscription, galerie, contact. Les 6 pages sont créées automatiquement à l'activation.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.6
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: auto-ecole
*/

html { scroll-behavior: smooth; }

.site-header-ae {
  position: sticky;
  top: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid #eee3e2;
}

.wp-block-column.carte {
  background: #fdf3f2;
  border-radius: 12px;
  padding: 1.5rem;
  border-top: 4px solid #b3261e;
}

.wp-block-button__link {
  transition: transform .15s ease, box-shadow .15s ease;
}
.wp-block-button__link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, .18);
}

.wp-block-list li { margin-bottom: .6rem; }

.whatsapp-flottant {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  background: #25d366;
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none;
  padding: .8rem 1.1rem;
  border-radius: 999px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}
.whatsapp-flottant:hover { background: #1ebe5b; }

iframe { max-width: 100%; border-radius: 12px; }

@media (max-width: 600px) {
  .whatsapp-flottant { right: 12px; bottom: 12px; padding: .7rem .9rem; }
}
