/*
Theme Name: Académie BS (Custom)
Theme URI: https://example.com/
Author: David Bardy
Description: Thème WordPress custom inspiré d’une mise en page “ColorCrafters-like”, basé sur Bootstrap 5.3.x.
Version: 1.0.0
License: GPLv2 or later
Text Domain: academie-bs
*/

/* --- Design tokens (faciles à overrider via le Customizer) --- */
:root{
  --cc-primary: #1f6f5b;
  --cc-accent:  #f08b2d;
  --cc-ink:     #121212;
  --cc-muted:   #6c757d;
  --cc-bg:      #fbf7ef;
  --cc-card:    #ffffff;
  --cc-green: #1f6f5b;
  --cc-light-green : #c8e3dc;
  --cc-radius:  18px;
  --cc-orange-500:#f08b2d;
}

/* --- Base --- */
body{
  color: var(--cc-ink);
  background: var(--cc-bg);
}
.wp-singular {background: #fff;}
.page-template-maison {background: var(--cc-bg) !important;}
.page-template-jardin {background: var(--cc-light-green) !important;}
a{ text-decoration: none; color:var(--cc-accent);}
a:hover{ text-decoration: underline; }



/* --- Header / Navbar --- */
.cc-navbar{
  backdrop-filter: blur(10px);
}

.cc-cta{
  border-radius: 999px;
}

/* --- Hero --- */
.cc-hero{
  padding: clamp(1.5rem, 6vw, 2.5rem) 0;
}

.cc-hero h1{
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

.cc-hero .cc-highlight{
  color: var(--cc-accent);
}

/* --- Cards --- */
.cc-card{
  background: var(--cc-card);
  border: 1px solid rgba(0,0,0,.06);
  border-radius: var(--cc-radius);
  box-shadow: 0 8px 30px rgba(0,0,0,.06);
}

.cc-pill{
  border-radius: 999px;
}

/* --- Footer --- */
.cc-footer{
  background: #1a1a1a;
  color: rgba(255,255,255,.85);
}
.cc-footer a{ color: rgba(255,255,255,.9); }
.cc-footer a:hover{ color: #fff; }
header.sticky-top{
  transition: background-color .25s ease, box-shadow .25s ease;
  background: transparent;
}

header.sticky-top.is-scrolled{
  background: rgba(255,255,255,.95);   /* ou var(--cc-bg) */
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
@font-face{
  font-family: "Poppins";
  src: url("./assets/fonts/poppins/Poppins-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "Poppins";
  src: url("./assets/fonts/poppins/Poppins-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "Poppins";
  src: url("./assets/fonts/poppins/Poppins-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "Poppins";
  src: url("./assets/fonts/poppins/Poppins-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face{
  font-family: "Poppins";
  src: url("./assets/fonts/poppins/Poppins-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


@font-face{
  font-family: "Google Sans ";
  src: url("./assets/fonts/google-sans/GoogleSans_17pt-Regular.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

.google-sans-<uniquifier> {
  font-family: "Google Sans", sans-serif;
  font-optical-sizing: auto;
  font-weight: <weight>;
  font-style: normal;
  font-variation-settings:
    "GRAD" 0;
}


/* Application globale */
body{
  font-family: "Google Sans", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

h1,h2,h3,h4,h5,h6{
  font-family: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}


/* Nav */
#menu-menu .nav-link {text-transform: uppercase;font-family: "Poppins";font-weight: 500;}
#menu-menu .menu-item {padding:4px 8px;}

.h2-custom {font-family: "Poppins";font-weight: 500;font-size: 2.4rem;}
.extra-bold {font-weight: 900;}
.orange {color: var(--cc-accent);}
.bd-orange-500 {background: var(--cc-orange-500);}
.bg-green {background: var(--cc-green)}

a.thememove-btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

a.thememove-btn > span{
  position: relative;
  display: inline-flex;
  align-items: center;
}

/* L’hexagone noir */
a.thememove-btn > span::before{
  content: "";
  position: absolute;
  left:-80px;
  top: 50%;
  width: 68px;
  height: 68px;
  transform: translateY(-50%);
  background: #000;
  /* hexagone */
  clip-path: polygon(
    25% 6.7%, 75% 6.7%,
    100% 50%,
    75% 93.3%, 25% 93.3%,
    0% 50%
  );
}

/* L’icône “dans” l’hexagone (on utilise ton <i>) */
a.thememove-btn > span > i{
  position: absolute;
  left:-80px;
  top: 50%;
  width: 64px;
  height: 64px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  color: #fff;
  z-index: 1;
  pointer-events: none;
  margin: 0;
  font-size:2rem;
}

/* (option) animation au hover */
a.thememove-btn:hover > span::before{
  transform: translateY(-50%) scale(1.05);
}


/* Post */
.category-label {font-family: "Poppins", serif;font-size: 0.8rem;letter-spacing: 2px;}
article h1 {font-weight: 700;}
article h2 {font-family: "Poppins";font-weight: 700;font-size: 1.8rem;margin-bottom: 30px;}
article h3 {font-family: "Poppins";font-weight: 500;font-size: 1.4rem;color:var(--cc-green) !important;margin-bottom: 30px;}
article p, article li {font-size:1.1rem;line-height: 1.7rem;}
article li {margin-bottom: 6px;}
/* Sidebar */
#sidebar {border-left :1px solid rgba(26,26,26,0.3); }
#sidebar .h4 { font-family: "Google Sans ";font-weight:700;color:#2a2622;}

/* Post */
.bio  {background-color: #faf3e9;}

/* TOC */
.simpletoc-list {margin-bottom:40px;}
.simpletoc-list li a {color:var(--cc-accent);}