/*
Theme Name: Éditions Lumumba Child Astra
Theme URI: https://editionslumumba.com
Description: Thème enfant premium pour Éditions Lumumba, basé sur Astra. Charte sobre : noir, blanc, vert Lumumba, vert profond, vert clair et gris. Navigation premium, sections immersives, cartes modernes, animations discrètes, footer institutionnel complet et responsive.
Author: Smartway Concept
Author URI: https://smartwayconcept.top/
Template: astra
Version: 1.1.0
Text Domain: editions-lumumba-astra-child
*/

/* =========================================================
   ÉDITIONS LUMUMBA — DESIGN SYSTEM PREMIUM
   ========================================================= */

:root{
  --lumumba-black:#111111;
  --lumumba-black-deep:#0B0B0B;
  --lumumba-black-soft:#2A2A2A;
  --lumumba-white:#FFFFFF;
  --lumumba-offwhite:#F7F8F7;
  --lumumba-green:#00A86B;
  --lumumba-green-dark:#007A4D;
  --lumumba-green-soft:#0F3D32;
  --lumumba-green-light:#DDF5EC;
  --lumumba-gray:#A7A7A7;
  --lumumba-gray-text:#667085;
  --lumumba-border:#E5E7EB;
  --lumumba-border-dark:rgba(255,255,255,.12);
  --lumumba-shadow-sm:0 2px 8px rgba(17,17,17,.06);
  --lumumba-shadow-md:0 8px 24px rgba(17,17,17,.08);
  --lumumba-shadow-lg:0 18px 45px rgba(17,17,17,.12);
  --lumumba-container:1240px;
  --lumumba-radius-sm:8px;
  --lumumba-radius-md:12px;
  --lumumba-radius-lg:20px;
  --lumumba-radius-xl:28px;
  --lumumba-transition:all .3s cubic-bezier(.4,0,.2,1);
}

/* Base */
html{scroll-behavior:smooth;}
body{
  color:var(--lumumba-black-soft);
  background:var(--lumumba-white);
  font-family:Inter,Arial,sans-serif;
  line-height:1.7;
  overflow-x:hidden;
}
body,
button,
input,
select,
textarea{
  font-family:Inter,Arial,sans-serif;
}
h1,h2,h3,h4,h5,h6{
  color:var(--lumumba-black);
  font-family:Georgia,"Times New Roman",serif;
  line-height:1.16;
  letter-spacing:-.015em;
}
p{color:var(--lumumba-black-soft);}
.ast-container,
.lumumba-container{
  width:min(92%,var(--lumumba-container));
  max-width:var(--lumumba-container);
  margin-left:auto;
  margin-right:auto;
}
::selection{
  background:var(--lumumba-green);
  color:var(--lumumba-white);
}

/* =========================================================
   LIENS — AUCUN BLEU
   ========================================================= */
a,
a:visited{
  color:var(--lumumba-green-dark);
  transition:var(--lumumba-transition);
}
a:hover,
a:focus{
  color:var(--lumumba-green);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible{
  outline:3px solid rgba(0,168,107,.25);
  outline-offset:3px;
  border-radius:6px;
}

/* =========================================================
   BOUTONS
   ========================================================= */
button,
input[type="button"],
input[type="submit"],
input[type="reset"],
.wp-element-button,
.elementor-button,
.ast-button,
.ast-custom-button,
.woocommerce a.button,
.woocommerce button.button,
.woocommerce input.button,
.lumumba-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:.5rem;
  border:1px solid var(--lumumba-green)!important;
  border-radius:999px!important;
  background:linear-gradient(135deg,var(--lumumba-green),var(--lumumba-green-dark))!important;
  color:var(--lumumba-white)!important;
  font-family:Inter,Arial,sans-serif;
  font-weight:800;
  font-size:.95rem;
  text-decoration:none!important;
  box-shadow:0 4px 14px rgba(0,168,107,.24);
  transition:var(--lumumba-transition);
}
.lumumba-btn{
  padding:.85rem 1.7rem;
  white-space:nowrap;
}
button:hover,
button:focus,
input[type="button"]:hover,
input[type="submit"]:hover,
input[type="reset"]:hover,
.wp-element-button:hover,
.elementor-button:hover,
.elementor-button:focus,
.ast-button:hover,
.ast-custom-button:hover,
.woocommerce a.button:hover,
.woocommerce button.button:hover,
.woocommerce input.button:hover,
.lumumba-btn:hover{
  border-color:var(--lumumba-green-dark)!important;
  background:linear-gradient(135deg,var(--lumumba-green-dark),var(--lumumba-green-soft))!important;
  color:var(--lumumba-white)!important;
  transform:translateY(-2px);
  box-shadow:0 8px 24px rgba(0,122,77,.28);
}
.lumumba-btn-outline,
.lumumba-btn-outline:visited,
.lumumba-button-secondary,
.elementor-button.lumumba-button-secondary{
  background:var(--lumumba-white)!important;
  border-color:var(--lumumba-border)!important;
  color:var(--lumumba-black)!important;
  box-shadow:var(--lumumba-shadow-sm);
}
.lumumba-btn-outline:hover,
.lumumba-button-secondary:hover,
.elementor-button.lumumba-button-secondary:hover{
  background:var(--lumumba-green-dark)!important;
  border-color:var(--lumumba-green-dark)!important;
  color:var(--lumumba-white)!important;
}

/* =========================================================
   HEADER ASTRA — NAVIGATION PREMIUM
   ========================================================= */
.site-header,
.ast-primary-header-bar{
  background:rgba(255,255,255,.97)!important;
  backdrop-filter:blur(12px);
  border-bottom:1px solid var(--lumumba-border)!important;
}
.ast-primary-header-bar{min-height:82px;}
.site-title,
.site-title a{
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:28px!important;
  color:var(--lumumba-black)!important;
  line-height:1;
  text-decoration:none!important;
}
.site-description{
  color:var(--lumumba-green-dark)!important;
  font-size:12px!important;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.custom-logo-link img,
.ast-site-identity img{
  max-height:58px;
  width:auto;
}
.main-header-menu .menu-link,
.ast-header-break-point .main-header-menu .menu-link{
  color:var(--lumumba-black)!important;
  font-family:Inter,Arial,sans-serif;
  font-size:14px;
  font-weight:750;
  letter-spacing:.01em;
  text-decoration:none!important;
}
.main-header-menu .menu-link:hover,
.main-header-menu .current-menu-item>.menu-link,
.main-header-menu .current-menu-ancestor>.menu-link{
  color:var(--lumumba-green-dark)!important;
}
.main-header-menu .sub-menu{
  border:1px solid var(--lumumba-border)!important;
  border-radius:16px;
  box-shadow:var(--lumumba-shadow-lg);
  overflow:hidden;
  padding:8px!important;
}
.main-header-menu .sub-menu .menu-link{
  border-radius:10px;
  padding:11px 14px!important;
}
.main-header-menu .sub-menu .menu-link:hover{
  background:var(--lumumba-green-light)!important;
  color:var(--lumumba-green-dark)!important;
}
.ast-mobile-popup-drawer .ast-mobile-popup-inner{
  background:var(--lumumba-white)!important;
}
.ast-mobile-popup-drawer .main-header-menu .menu-link{
  font-size:16px;
}

/* =========================================================
   SECTIONS IMMERSIVES
   ========================================================= */
.lumumba-section{padding:92px 0;}
.lumumba-section-alt{background:var(--lumumba-offwhite);}
.lumumba-section-dark{
  background:var(--lumumba-black);
  color:var(--lumumba-white);
}
.lumumba-section-dark h1,
.lumumba-section-dark h2,
.lumumba-section-dark h3{color:var(--lumumba-white);}
.lumumba-section-dark p{color:rgba(255,255,255,.78);}
.lumumba-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  color:var(--lumumba-green-dark);
  font-size:12px;
  font-weight:900;
  letter-spacing:.13em;
  text-transform:uppercase;
  margin-bottom:12px;
}
.lumumba-eyebrow:before{
  content:"";
  width:28px;
  height:2px;
  background:var(--lumumba-green);
  border-radius:20px;
}
.lumumba-hero-premium{
  position:relative;
  padding:110px 0 88px;
  background:
    radial-gradient(circle at 82% 12%,rgba(0,168,107,.14),transparent 360px),
    linear-gradient(180deg,#fff 0%,#fbfcfb 100%);
  overflow:hidden;
}
.lumumba-hero-premium:after{
  content:"";
  position:absolute;
  right:-140px;
  bottom:-180px;
  width:420px;
  height:420px;
  border:1px solid rgba(0,168,107,.12);
  border-radius:50%;
}
.lumumba-hero-grid{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:48px;
  align-items:center;
  position:relative;
  z-index:1;
}
.lumumba-hero-premium h1{
  font-size:clamp(3rem,6vw,6.2rem);
  max-width:880px;
  margin:0 0 22px;
}
.lumumba-hero-premium p{
  max-width:720px;
  font-size:1.16rem;
  color:var(--lumumba-gray-text);
  margin:0 0 30px;
}
.lumumba-hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
}
.lumumba-visual-card{
  min-height:420px;
  border:1px solid var(--lumumba-border);
  border-radius:var(--lumumba-radius-xl);
  background:
    radial-gradient(circle at 20% 20%,rgba(0,168,107,.16),transparent 35%),
    linear-gradient(145deg,rgba(0,168,107,.08),rgba(255,255,255,.96));
  box-shadow:var(--lumumba-shadow-lg);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.lumumba-visual-card svg{
  width:min(82%,420px);
  height:auto;
}

/* =========================================================
   CARTES, ICÔNES, GRILLES
   ========================================================= */
.lumumba-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem;}
.lumumba-grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;}
.lumumba-grid-auto{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:2rem;}
.lumumba-card,
.lumumba-feature-card,
.lumumba-dynamic-card{
  background:var(--lumumba-white);
  border:1px solid var(--lumumba-border);
  border-radius:var(--lumumba-radius-lg);
  box-shadow:var(--lumumba-shadow-sm);
  transition:var(--lumumba-transition);
}
.lumumba-card,
.lumumba-feature-card{padding:2rem;}
.lumumba-card:hover,
.lumumba-feature-card:hover,
.lumumba-dynamic-card:hover{
  transform:translateY(-4px);
  border-color:rgba(0,168,107,.28);
  box-shadow:var(--lumumba-shadow-md);
}
.lumumba-icon{
  width:46px;
  height:46px;
  border-radius:14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background:var(--lumumba-green-light);
  color:var(--lumumba-green-dark);
  margin-bottom:18px;
}
.lumumba-icon svg{
  width:24px;
  height:24px;
  stroke:currentColor;
  fill:none;
  stroke-width:2;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.lumumba-card h3,
.lumumba-feature-card h3{
  font-size:1.35rem;
  margin:0 0 10px;
}
.lumumba-card p,
.lumumba-feature-card p{
  color:var(--lumumba-gray-text);
  margin:0;
}

/* Cartes dynamiques */
.lumumba-dynamic-grid{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:22px;
}
.lumumba-dynamic-card{overflow:hidden;}
.lumumba-card-thumb{
  display:block;
  height:210px;
  background:var(--lumumba-green-light);
  overflow:hidden;
}
.lumumba-card-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .45s ease;
}
.lumumba-dynamic-card:hover .lumumba-card-thumb img{
  transform:scale(1.035);
}
.lumumba-card-content{padding:20px;}
.lumumba-card-date,
.lumumba-meta{
  display:block;
  color:var(--lumumba-gray-text);
  font-size:13px;
  margin-bottom:8px;
}
.lumumba-card-content h3{
  font-size:1.22rem;
  line-height:1.28;
  margin:0 0 10px;
}
.lumumba-card-content h3 a{
  color:var(--lumumba-black)!important;
  text-decoration:none!important;
}
.lumumba-card-content p{
  color:var(--lumumba-gray-text);
  font-size:14px;
  line-height:1.7;
  margin:0 0 14px;
}
.lumumba-card-link{
  color:var(--lumumba-green-dark)!important;
  text-decoration:none!important;
  font-weight:900;
}

/* Badges et KPI */
.lumumba-badge{
  display:inline-flex;
  align-items:center;
  gap:.4rem;
  padding:.4rem .9rem;
  border-radius:999px;
  background:rgba(0,168,107,.10);
  border:1px solid rgba(0,168,107,.25);
  color:var(--lumumba-green-dark);
  font-weight:800;
  font-size:.82rem;
}
.lumumba-kpis{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
  margin:34px 0;
}
.lumumba-kpi{
  padding:22px;
  border:1px solid var(--lumumba-border);
  border-radius:var(--lumumba-radius-lg);
  background:var(--lumumba-white);
  box-shadow:var(--lumumba-shadow-sm);
}
.lumumba-kpi strong{
  display:block;
  color:var(--lumumba-green-dark);
  font-family:Georgia,"Times New Roman",serif;
  font-size:2.1rem;
  line-height:1;
  margin-bottom:8px;
}
.lumumba-kpi span{
  color:var(--lumumba-gray-text);
  font-size:.93rem;
}

/* Images */
.lumumba-image-cover,
.image-cover{
  width:100%;
  height:260px;
  object-fit:cover;
  border-radius:var(--lumumba-radius-lg);
}
.lumumba-avatar,
.avatar{
  width:96px;
  height:96px;
  border-radius:50%;
  object-fit:cover;
  border:3px solid rgba(0,168,107,.25);
}

/* =========================================================
   FORMULAIRES
   ========================================================= */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="date"],
select,
textarea,
.wpforms-form input,
.wpforms-form select,
.wpforms-form textarea,
.woocommerce form .form-row input.input-text,
.woocommerce form .form-row textarea{
  width:100%;
  border:1px solid var(--lumumba-border)!important;
  border-radius:var(--lumumba-radius-md)!important;
  background:var(--lumumba-white)!important;
  color:var(--lumumba-black)!important;
  min-height:46px;
  transition:var(--lumumba-transition);
}
textarea,
.wpforms-form textarea{min-height:130px;}
input:focus,
select:focus,
textarea:focus,
.wpforms-form input:focus,
.wpforms-form select:focus,
.wpforms-form textarea:focus{
  border-color:var(--lumumba-green)!important;
  box-shadow:0 0 0 4px rgba(0,168,107,.12)!important;
  outline:none!important;
}
.wpforms-form label{
  color:var(--lumumba-black);
  font-weight:800;
}

/* =========================================================
   WOOCOMMERCE
   ========================================================= */
.woocommerce ul.products li.product{
  border:1px solid var(--lumumba-border);
  border-radius:var(--lumumba-radius-lg);
  padding:16px!important;
  background:var(--lumumba-white);
  box-shadow:var(--lumumba-shadow-sm);
  transition:var(--lumumba-transition);
}
.woocommerce ul.products li.product:hover{
  transform:translateY(-5px);
  box-shadow:var(--lumumba-shadow-md);
}
.woocommerce div.product p.price,
.woocommerce div.product span.price,
.woocommerce ul.products li.product .price{
  color:var(--lumumba-green-dark)!important;
  font-weight:800;
}
.woocommerce span.onsale{
  background:var(--lumumba-green)!important;
  color:var(--lumumba-white)!important;
}
.woocommerce-message,
.woocommerce-info{border-top-color:var(--lumumba-green)!important;}
.woocommerce-message::before,
.woocommerce-info::before{color:var(--lumumba-green)!important;}
.woocommerce .quantity .qty{
  border:1px solid var(--lumumba-border)!important;
  border-radius:var(--lumumba-radius-sm)!important;
}

/* =========================================================
   FOOTER INSTITUTIONNEL COMPLET
   ========================================================= */
.site-footer,
.ast-footer-overlay,
.lumumba-footer{
  background:var(--lumumba-black-deep)!important;
  color:var(--lumumba-offwhite)!important;
}
.site-footer h1,
.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6,
.lumumba-footer h1,
.lumumba-footer h2,
.lumumba-footer h3,
.lumumba-footer h4{
  color:var(--lumumba-white)!important;
}
.site-footer p,
.site-footer li,
.lumumba-footer p,
.lumumba-footer li{
  color:var(--lumumba-gray)!important;
}
.site-footer a,
.site-footer a:visited,
.lumumba-footer a,
.lumumba-footer a:visited,
footer a,
footer a:visited{
  color:var(--lumumba-offwhite)!important;
  text-decoration:none!important;
}
.site-footer a:hover,
.lumumba-footer a:hover,
footer a:hover{
  color:var(--lumumba-green-light)!important;
}
.footer-credit a,
.footer-credit a:visited{
  color:var(--lumumba-green)!important;
  font-weight:900;
}

/* =========================================================
   ANIMATIONS DISCRÈTES
   ========================================================= */
.reveal,
.lumumba-reveal{
  opacity:0;
  transform:translateY(30px);
  transition:opacity .8s ease, transform .8s ease;
}
.reveal.revealed,
.lumumba-reveal.is-visible{
  opacity:1;
  transform:none;
}

/* Bouton retour en haut compatible */
.lumumba-back-to-top{
  position:fixed;
  right:18px;
  bottom:18px;
  width:44px;
  height:44px;
  border-radius:50%;
  background:var(--lumumba-green);
  color:var(--lumumba-white)!important;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:var(--lumumba-shadow-md);
  opacity:0;
  visibility:hidden;
  transform:translateY(10px);
  z-index:999;
}
.lumumba-back-to-top.is-visible{
  opacity:1;
  visibility:visible;
  transform:none;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media(max-width:1100px){
  .lumumba-hero-grid{grid-template-columns:1fr;}
  .lumumba-grid,
  .lumumba-grid-4,
  .lumumba-dynamic-grid,
  .lumumba-kpis{grid-template-columns:repeat(2,1fr);}
}
@media(max-width:900px){
  .lumumba-grid{grid-template-columns:1fr;}
}
@media(max-width:767px){
  body{font-size:16px;}
  .lumumba-section{padding:60px 0;}
  .lumumba-hero-premium{padding:72px 0 56px;}
  .lumumba-grid,
  .lumumba-grid-4,
  .lumumba-dynamic-grid,
  .lumumba-kpis{grid-template-columns:1fr;}
  .lumumba-visual-card{min-height:300px;}
  .custom-logo-link img,
  .ast-site-identity img{max-height:48px;}
  .elementor-button,
  .wp-element-button,
  button,
  input[type="submit"]{
    min-height:46px;
  }
}

/* Accessibilité : réduction des animations */
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto;}
  *,
  *::before,
  *::after{
    animation-duration:.01ms!important;
    animation-iteration-count:1!important;
    transition-duration:.01ms!important;
  }
  .reveal,
  .lumumba-reveal{
    opacity:1;
    transform:none;
  }
}
