@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700&display=swap');
:root{
  --bt-dark:#082f22;
  --bt-dark-2:#103f2d;
  --bt-green:#a8c653;
  --bt-green-2:#c3dc70;
  --bt-red:#d40746;
  --bt-orange:#f47b20;
  --bt-cream:#f7f4e8;
  --bt-white:#ffffff;
}

.bt-pedago-wrap,
.bt-pedago-template,
.bt-pedago-single{
  font-family:'Baloo 2',system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.bt-pedago-wrap{
  max-width:1320px;
  margin:0 auto;
  padding:72px 20px;
  color:var(--bt-white);
}

.bt-pedago-heading{
  text-align:center;
  max-width:860px;
  margin:0 auto 34px;
}

.bt-pedago-kicker,
.bt-pedago-card-topline,
.bt-pedago-detail-kicker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  max-width:100%;
  margin-bottom:12px;
  padding:8px 15px;
  border-radius:999px;
  background:var(--bt-green);
  color:var(--bt-dark);
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.03em;
  font-size:13px;
  line-height:1;
}

.bt-pedago-heading h2{
  margin:0 0 12px;
  color:var(--bt-white);
  font-size:clamp(34px,5vw,62px);
  line-height:.95;
  font-weight:700;
  text-transform:uppercase;
}

.bt-pedago-heading p{
  margin:0;
  color:rgba(255,255,255,.82);
  font-size:20px;
  line-height:1.45;
}

.bt-pedago-filters{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:12px;
  margin:34px 0 38px;
}

.bt-pedago-filter{
  border:1px solid rgba(168,198,83,.45);
  background:rgba(255,255,255,.08);
  color:var(--bt-white);
  border-radius:999px;
  padding:12px 20px;
  font-weight:700;
  cursor:pointer;
  transition:.2s ease;
  font-family:inherit;
}

.bt-pedago-filter:hover,
.bt-pedago-filter.is-active{
  background:var(--bt-green);
  color:var(--bt-dark);
  transform:translateY(-2px);
  box-shadow:0 12px 24px rgba(0,0,0,.18);
}

.bt-pedago-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:28px;
}

.bt-pedago-card{
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  min-height:100%;
  border-radius:28px;
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.035));
  border:1px solid rgba(168,198,83,.28);
  box-shadow:0 24px 50px rgba(0,0,0,.24);
  color:var(--bt-white);
}


.bt-pedago-card-img{
  position:relative;
  display:block;
  aspect-ratio:16/10;
  overflow:hidden;
  text-decoration:none;
  background:linear-gradient(135deg,var(--bt-dark-2),var(--bt-dark));
}

.bt-pedago-card-img::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(180deg,rgba(8,47,34,.08),rgba(8,47,34,.72));
}

.bt-pedago-card-img img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:.35s ease;
}

.bt-pedago-card:hover .bt-pedago-card-img img{
  transform:scale(1.06);
}

.bt-pedago-img-placeholder{
  width:100%;
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:28px;
  color:var(--bt-green);
  text-align:center;
  font-size:26px;
  line-height:1.1;
  font-weight:700;
  text-transform:uppercase;
}

.bt-pedago-card-age{
  position:absolute;
  left:18px;
  bottom:18px;
  z-index:2;
  display:inline-flex;
  border-radius:999px;
  padding:8px 14px;
  background:var(--bt-red);
  color:#fff;
  font-weight:700;
  font-size:13px;
  line-height:1;
}

.bt-pedago-card-body{
  position:relative;
  z-index:1;
  display:flex;
  flex:1;
  flex-direction:column;
  padding:26px;
}

.bt-pedago-card h3{
  margin:0 0 12px;
  color:var(--bt-white);
  font-size:clamp(25px,2.3vw,34px);
  line-height:.98;
  font-weight:700;
  text-transform:uppercase;
}

.bt-pedago-card h3 a{
  color:inherit;
  text-decoration:none;
}

.bt-pedago-card p{
  margin:14px 0 22px;
  color:rgba(255,255,255,.78);
  font-size:16px;
  line-height:1.5;
  font-weight:500;
}

.bt-pedago-meta,
.bt-pedago-template-meta{
  display:flex;
  flex-wrap:wrap;
  gap:9px;
  margin:0;
}

.bt-pedago-meta span,
.bt-pedago-template-meta span{
  display:inline-flex;
  align-items:center;
  border-radius:999px;
  padding:8px 12px;
  background:rgba(168,198,83,.14);
  border:1px solid rgba(168,198,83,.36);
  color:var(--bt-green-2);
  font-size:13px;
  font-weight:700;
  line-height:1.15;
}

.bt-pedago-card-actions,
.bt-pedago-detail-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:auto;
}

.bt-pedago-btn,
.bt-pedago-pdf-button,
.bt-pedago-back-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border-radius:999px;
  padding:13px 22px;
  font-weight:600;
  line-height:1;
  text-decoration:none!important;
  transition:.2s ease;
  font-family:inherit;
}

.bt-pedago-btn,
.bt-pedago-pdf-button{
  background:var(--bt-red);
  color:#fff!important;
  box-shadow:0 12px 26px rgba(212,7,70,.25);
}

.bt-pedago-btn-outline,
.bt-pedago-back-button{
  background:var(--bt-green);
  color:var(--bt-dark)!important;
  box-shadow:none;
}

.bt-pedago-btn:hover,
.bt-pedago-pdf-button:hover,
.bt-pedago-back-button:hover{
  transform:translateY(-2px);
  filter:brightness(1.03);
}

/* Shortcodes pour Divi Theme Builder */
.bt-pedago-detail-card{
  width:100%;
  max-width:900px;
  border-radius:34px;
  padding:clamp(28px,4vw,54px);
  background:rgba(8,47,34,.86);
  border:1px solid rgba(168,198,83,.34);
  box-shadow:0 28px 70px rgba(0,0,0,.32);
  color:var(--bt-white);
  backdrop-filter:blur(8px);
}

.bt-pedago-detail-card h1{
  margin:0 0 18px;
  color:var(--bt-white);
  font-size:clamp(38px,6vw,76px);
  line-height:.92;
  font-weight:700;
  text-transform:uppercase;
}

.bt-pedago-template-meta--card{
  margin-bottom:24px;
}

.bt-pedago-detail-text{
  max-width:760px;
  margin:0 0 28px;
  color:rgba(255,255,255,.84);
  font-size:clamp(17px,1.7vw,20px);
  line-height:1.55;
}

.bt-pedago-detail-text p{
  margin:0 0 14px;
}

.bt-pedago-template{
  width:100%;
}

.bt-pedago-template-hero{
  min-height:640px;
  display:flex;
  align-items:center;
  padding:clamp(40px,7vw,110px) 20px;
  background-color:var(--bt-dark);
  background-size:cover;
  background-position:center;
  border-radius:0 0 46px 46px;
}

.bt-pedago-template-hero > .bt-pedago-detail-card{
  max-width:980px;
  margin:0 auto;
}

.bt-pedago-single{
  max-width:1320px;
  margin:0 auto;
  padding:42px 20px;
}

.bt-pedago-single-hero{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:36px;
  align-items:stretch;
  background:linear-gradient(135deg,var(--bt-dark),var(--bt-dark-2));
  border-radius:32px;
  padding:36px;
}

.bt-pedago-single h1{
  color:#fff;
}

.bt-pedago-lead,
.bt-pedago-richtext{
  color:rgba(255,255,255,.82);
}

@media(max-width:980px){
  .bt-pedago-grid{grid-template-columns:repeat(2,minmax(0,1fr));}
  .bt-pedago-single-hero{grid-template-columns:1fr;}
}

@media(max-width:640px){
  .bt-pedago-wrap{padding:48px 14px;}
  .bt-pedago-grid{grid-template-columns:1fr;}
  .bt-pedago-card-body{padding:22px;}
  .bt-pedago-filter{width:100%;}
  .bt-pedago-card-actions .bt-pedago-btn,
  .bt-pedago-detail-actions a{width:100%;}
  .bt-pedago-detail-card{border-radius:26px;}
  .bt-pedago-template-hero{min-height:auto;border-radius:0 0 30px 30px;}
}


/* Template Divi conseillé : hero avec image gérée dans Divi + contenu par-dessus */
.bt-pedago-hero-content,
.bt-pedago-resume-block,
.bt-pedago-pdf-box{
  font-family:'Baloo 2',system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
}

.bt-pedago-hero-content{
  max-width:980px;
  color:var(--bt-white);
  padding:clamp(24px,5vw,72px) 0;
}

.bt-pedago-hero-kicker{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:max-content;
  max-width:100%;
  margin-bottom:18px;
  padding:8px 18px;
  border-radius:999px;
  background:var(--bt-green);
  color:var(--bt-dark);
  font-size:15px;
  line-height:1;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.02em;
}

.bt-pedago-hero-content h1{
  margin:0 0 18px;
  color:var(--bt-white);
  font-family:'Baloo 2',system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:clamp(42px,7vw,82px);
  line-height:.92;
  font-weight:700;
  text-transform:uppercase;
  text-shadow:0 12px 28px rgba(0,0,0,.28);
}

.bt-pedago-hero-pills{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  align-items:center;
}

.bt-pedago-hero-pills span{
  display:inline-flex;
  align-items:center;
  min-height:42px;
  padding:10px 16px;
  border-radius:999px;
  background:rgba(8,47,34,.82);
  border:1px solid rgba(168,198,83,.42);
  color:var(--bt-green-2);
  font-size:16px;
  line-height:1.15;
  font-weight:700;
  backdrop-filter:blur(6px);
}

.bt-pedago-resume-block{
  color:var(--bt-white);
}

.bt-pedago-resume-block h2{
  position:relative;
  margin:0 0 24px;
  color:var(--bt-white);
  font-family:'Baloo 2',system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:clamp(34px,4.5vw,54px);
  line-height:1;
  font-weight:700;
}

.bt-pedago-resume-block h2::after{
  content:"";
  display:block;
  width:72px;
  height:6px;
  margin-top:14px;
  border-radius:999px;
  background:var(--bt-green);
}

.bt-pedago-resume-text{
  max-width:760px;
  color:rgba(255,255,255,.86);
  font-size:clamp(18px,1.6vw,21px);
  line-height:1.58;
  font-weight:500;
}

.bt-pedago-resume-text p{
  margin:0 0 16px;
}

.bt-pedago-pdf-box{
  position:relative;
  overflow:hidden;
  border-radius:30px;
  padding:clamp(28px,4vw,44px);
  background:linear-gradient(145deg,var(--bt-green),var(--bt-green-2));
  color:var(--bt-dark);
  box-shadow:0 26px 60px rgba(0,0,0,.24);
}


.bt-pedago-pdf-icon{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:78px;
  height:78px;
  margin-bottom:20px;
  border-radius:50%;
  background:var(--bt-orange);
  color:#fff;
  font-size:22px;
  line-height:1;
  font-weight:700;
  box-shadow:0 16px 34px rgba(244,123,32,.26);
}

.bt-pedago-pdf-box h3{
  position:relative;
  z-index:1;
  margin:0 0 14px;
  color:var(--bt-dark);
  font-family:'Baloo 2',system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:clamp(28px,3vw,40px);
  line-height:1;
  font-weight:700;
}

.bt-pedago-pdf-box p{
  position:relative;
  z-index:1;
  margin:0 0 24px;
  color:rgba(8,47,34,.86);
  font-size:18px;
  line-height:1.45;
  font-weight:600;
}

.bt-pedago-pdf-box .bt-pedago-pdf-button{
  position:relative;
  z-index:1;
}

.bt-pedago-no-pdf{
  display:inline-flex;
  padding:12px 16px;
  border-radius:16px;
  background:rgba(255,255,255,.28);
}

@media(max-width:767px){
  .bt-pedago-hero-content{padding:40px 0;}
  .bt-pedago-hero-pills span{width:100%;}
  .bt-pedago-pdf-box .bt-pedago-pdf-button{width:100%;}
}

/* v1.5 — Suppression des ronds décoratifs dans les fonds */
.bt-pedago-card::after,
.bt-pedago-pdf-box::after{
  content:none !important;
  display:none !important;
}


/* v1.8 — Typographie cards plus légère en Baloo 2 */
.bt-pedago-card,
.bt-pedago-card *{
  font-family:'Baloo 2',system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
}

.bt-pedago-card-topline,
.bt-pedago-card-age,
.bt-pedago-card h3,
.bt-pedago-card h3 a,
.bt-pedago-meta span,
.bt-pedago-template-meta span,
.bt-pedago-card-actions .bt-pedago-btn{
  font-weight:600 !important;
}

.bt-pedago-card h3{
  letter-spacing:.01em;
}

.bt-pedago-card p{
  font-weight:500 !important;
}

.bt-pedago-filter{
  font-family:'Baloo 2',system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif !important;
  font-weight:600 !important;
}
