/*
Theme Name: ASA Haut Nkam Child
Template: astra
Description: Thème enfant personnalisé pour l'Académie Sportive ASA Haut Nkam
Version: 1.0
Author: ASA Haut Nkam
*/

/* ===== VARIABLES COULEURS ===== */
:root {
  --vert:       #0a7c3e;
  --vert-dark:  #065c2d;
  --vert-light: #12a854;
  --vert-xlight:#e8f5ee;
  --blanc:      #ffffff;
  --gris:       #f4f6f4;
  --texte:      #1a1a1a;
  --accent:     #f5d800;
}

/* ===== RESET ASTRA ===== */
/* Cacher header et footer Astra */
#masthead,
.site-header,
.ast-mobile-header-wrap,
#colophon,
.site-footer,
.footer-widget-area {
  display: none !important;
}

/* Cacher titre de page WordPress */
.entry-title,
.page-title,
h1.page-title,
.ast-archive-title {
  display: none !important;
}

/* Enlever marges/paddings Astra */
.site-content,
.ast-container,
#content,
.entry-content {
  padding: 0 !important;
  margin: 0 !important;
  max-width: 100% !important;
}

.site,
#page {
  margin-top: 0 !important;
}

/* Page en pleine largeur */
.ast-page-builder-template #content {
  padding-top: 0 !important;
}

body {
  margin: 0 !important;
  padding: 0 !important;
}

/* ===== HEADER GLOBAL ===== */
.asa-top-bar {
  background: var(--vert-dark);
  color: rgba(255,255,255,.75);
  font-size: 12.5px;
  padding: 7px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Outfit', sans-serif;
}
.asa-top-bar a { color: var(--accent); text-decoration: none; }
.asa-top-bar-right { display: flex; gap: 20px; }

.asa-header {
  background: rgba(6,92,45,0.97);
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 2px 30px rgba(0,0,0,.25);
  font-family: 'Outfit', sans-serif;
}
.asa-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 24px;
  height: 72px;
}
.asa-logo-area {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}
.asa-logo-img {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.asa-logo-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.asa-logo-text { color: var(--blanc); line-height: 1.2; }
.asa-logo-text strong {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 1.5px;
  display: block;
}
.asa-logo-text span { font-size: 11px; opacity: .65; }

.asa-nav { display: flex; align-items: center; gap: 2px; }
.asa-nav a {
  color: rgba(255,255,255,.85);
  text-decoration: none;
  font-size: 13.5px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 6px;
  transition: background .2s;
}
.asa-nav a:hover,
.asa-nav a.active { background: var(--vert-light); color: var(--blanc); }

.asa-nav-dropdown { position: relative; }
.asa-nav-dropdown > a::after { content: ' ▾'; font-size: 9px; opacity: .7; }
.asa-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  background: var(--vert-dark);
  min-width: 220px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.08);
  z-index: 999;
}
.asa-nav-dropdown:hover .asa-dropdown-menu { display: block; }
.asa-dropdown-menu a {
  display: block;
  padding: 11px 18px;
  font-size: 13.5px;
  color: rgba(255,255,255,.8);
  border-left: 3px solid transparent;
  border-radius: 0;
}
.asa-dropdown-menu a:hover {
  background: var(--vert);
  border-left-color: var(--accent);
  color: var(--blanc);
}

.asa-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.asa-burger span {
  width: 26px;
  height: 2px;
  background: var(--blanc);
  border-radius: 2px;
  display: block;
  transition: all .3s;
}

.asa-mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--vert-dark);
  padding: 16px;
}
.asa-mobile-menu.open { display: flex; }
.asa-mobile-menu a {
  color: var(--blanc);
  padding: 12px;
  border-radius: 6px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  font-family: 'Outfit', sans-serif;
}
.asa-mobile-menu a:hover { background: var(--vert); }

/* ===== FOOTER GLOBAL ===== */
.asa-footer-stripe {
  height: 4px;
  background: linear-gradient(90deg, var(--vert-light), var(--accent), var(--vert-light));
}
.asa-footer {
  background: var(--vert-dark);
  color: rgba(255,255,255,.8);
  padding: 60px 24px 24px;
  font-family: 'Outfit', sans-serif;
}
.asa-footer-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
}
.asa-footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin-top: 16px;
  opacity: .65;
  max-width: 300px;
}
.asa-footer-socials { display: flex; gap: 10px; margin-top: 20px; }
.asa-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blanc);
  text-decoration: none;
  font-size: 15px;
  font-weight: 700;
  transition: background .2s, transform .15s;
}
.asa-social-btn:hover {
  background: var(--vert-light);
  transform: translateY(-2px);
}
.asa-footer h4 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
  color: var(--accent);
  margin-bottom: 18px;
}
.asa-footer ul { list-style: none; padding: 0; margin: 0; }
.asa-footer ul li { margin-bottom: 10px; }
.asa-footer ul li a {
  color: rgba(255,255,255,.65);
  text-decoration: none;
  font-size: 14px;
  transition: color .2s, padding-left .15s;
  display: inline-block;
}
.asa-footer ul li a::before { content: '›  '; opacity: .4; }
.asa-footer ul li a:hover { color: var(--blanc); padding-left: 4px; }

.asa-contact-item {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 13.5px;
  align-items: flex-start;
  line-height: 1.5;
}
.asa-contact-item .ico { font-size: 16px; flex-shrink: 0; margin-top: 2px; }
.asa-contact-item a { color: var(--accent); text-decoration: none; }
.asa-contact-item a:hover { text-decoration: underline; }

.asa-footer-bottom {
  max-width: 1200px;
  margin: 40px auto 0;
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  opacity: .45;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .asa-nav { display: none; }
  .asa-burger { display: flex; }
  .asa-footer-grid { grid-template-columns: 1fr 1fr; }
  .asa-top-bar-right { display: none; }
}
@media (max-width: 560px) {
  .asa-footer-grid { grid-template-columns: 1fr; }
  .asa-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
