:root{
  /* Couleurs */
  --bg: #f6f8fb;
  --bg2:#ffffff;
  --text:#0f172a;
  --muted:#475569;

  /* Vert SST (subtil) */
  --brand:#0AA36A;
  --brand-dark:#078457;
  --brand-soft: rgba(10,163,106,.10);

  --danger:#dc2626;
  --ok:#16a34a;

  /* UI */
  --card:#ffffff;
  --border: rgba(15,23,42,.10);
  --border2: rgba(15,23,42,.14);
  --shadow: 0 18px 60px rgba(2,6,23,.08);
  --shadow2: 0 10px 30px rgba(2,6,23,.08);
  --radius:18px;
  --radius2:14px;
  --max:1120px;

  --ring: 0 0 0 4px rgba(10,163,106,.18);
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Arial;
  color:var(--text);
  background:
    radial-gradient(1000px 600px at 10% 0%, rgba(10,163,106,.08), transparent 60%),
    radial-gradient(900px 520px at 90% 0%, rgba(10,163,106,.06), transparent 60%),
    linear-gradient(180deg, #ffffff, var(--bg));
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
.container{max-width:var(--max); margin:0 auto; padding:26px 22px}
@media (max-width:700px){ .container{padding:18px 14px} }

/* NAV */
.nav{
  position:sticky; top:0; z-index:20;
  background: rgba(255,255,255,.72);
  border-bottom:1px solid var(--border);
  backdrop-filter: blur(10px);
}
.nav-inner{
  max-width:var(--max); margin:0 auto;
  padding:14px 22px;
  display:flex; align-items:center; justify-content:space-between; gap:16px;
}
.brand{
  display:flex; align-items:center; gap:12px;
  font-weight:900; letter-spacing:.2px;
}
.brand img{
  width:40px; height:40px;
  border-radius:14px;
  object-fit:cover;
  background:#fff;
  border:1px solid var(--border);
  box-shadow: 0 10px 25px rgba(2,6,23,.08);
}
.nav-links{display:flex; gap:8px; flex-wrap:wrap; align-items:center}
.nav-links a{
  color:var(--muted);
  padding:9px 12px;
  border-radius:999px;
  border:1px solid transparent;
  transition: all .15s ease;
}
.nav-links a:hover{
  color:var(--text);
  background: rgba(2,6,23,.04);
  border-color: var(--border);
}

/* TYPO */
h1{font-size:44px; line-height:1.06; margin:0 0 12px; letter-spacing:-.6px}
h2{font-size:26px; margin:0 0 10px; letter-spacing:-.2px}
h3{font-size:18px; margin:0 0 8px}
p{color:var(--muted); line-height:1.65; margin:0 0 12px}
.small{font-size:13px; color:rgba(71,85,105,.85)}
code{font-size:13px; padding:.15rem .4rem; border-radius:10px; background:rgba(2,6,23,.04); border:1px solid var(--border)}

/* LAYOUT */
.grid{display:grid; grid-template-columns:repeat(3,1fr); gap:14px}
@media (max-width:980px){ .grid{grid-template-columns:1fr} }

.kpis{display:grid; grid-template-columns:repeat(3,1fr); gap:12px}
@media (max-width:980px){ .kpis{grid-template-columns:1fr} }

hr{border:0; border-top:1px solid var(--border); margin:18px 0}

/* CARDS */
.card{
  background: var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow: var(--shadow2);
  padding:18px;
}
.card:hover{border-color: var(--border2)}
.card.soft{
  background: linear-gradient(180deg, rgba(255,255,255,1), rgba(2,6,23,.015));
}
.card.highlight{
  background:
    radial-gradient(900px 520px at 10% 0%, rgba(10,163,106,.10), transparent 60%),
    linear-gradient(180deg, #ffffff, rgba(2,6,23,.01));
}

/* HERO */
.hero{
  padding:44px 0 10px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:16px;
  align-items:stretch;
}
@media (max-width:980px){ .hero{grid-template-columns:1fr; padding:22px 0 6px;} }

.headline{
  border-radius: 24px;
  padding:26px;
  border:1px solid var(--border);
  box-shadow: var(--shadow);
  background:
    radial-gradient(900px 520px at 12% 0%, rgba(10,163,106,.12), transparent 60%),
    radial-gradient(900px 520px at 88% 0%, rgba(10,163,106,.08), transparent 60%),
    linear-gradient(180deg, #ffffff, rgba(2,6,23,.01));
}

/* Pills / badges */
.pills{display:flex; gap:8px; flex-wrap:wrap; margin-top:14px}
.badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(10,163,106,.22);
  background: var(--brand-soft);
  color: rgba(15,23,42,.88);
  font-size:13px;
}

/* BUTTONS */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  padding:11px 14px;
  border-radius:14px;
  border:1px solid rgba(10,163,106,.35);
  background: linear-gradient(180deg, rgba(10,163,106,1), rgba(8,132,87,1));
  color:white;
  font-weight:800;
  cursor:pointer;
  transition: transform .08s ease, filter .15s ease, box-shadow .15s ease;
  box-shadow: 0 12px 30px rgba(10,163,106,.18);
}
.btn:hover{filter:brightness(1.03)}
.btn:active{transform: translateY(1px)}
.btn.secondary{
  background: rgba(2,6,23,.04);
  color: var(--text);
  border-color: var(--border);
  box-shadow:none;
}
.btn.ghost{
  background: transparent;
  color: var(--text);
  border-color: var(--border);
  box-shadow:none;
}
.btn.danger{
  background: rgba(220,38,38,.10);
  border-color: rgba(220,38,38,.35);
  color: rgba(127,29,29,.95);
  box-shadow:none;
}

/* FORMS */
label{display:block; margin:12px 0 6px; color:rgba(71,85,105,.95); font-size:14px}
.input, select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  background: #fff;
  color: var(--text);
  outline:none;
  transition: box-shadow .15s ease, border-color .15s ease, background .15s ease;
}
.input:focus, select:focus, textarea:focus{
  box-shadow: var(--ring);
  border-color: rgba(10,163,106,.55);
}
textarea{resize:vertical; min-height:120px}

/* TABLES */
.table{
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  overflow:hidden;
  border-radius:16px;
  border:1px solid var(--border);
  background: #fff;
}
.table th, .table td{
  padding:12px 12px;
  border-bottom:1px solid var(--border);
  text-align:left;
}
.table th{
  color:rgba(71,85,105,.95);
  font-weight:900;
  background: rgba(2,6,23,.02);
}
.table tr:last-child td{border-bottom:0}
.table tr:hover td{background: rgba(10,163,106,.035)}

/* ALERTS */
.alert{
  margin:12px 0;
  padding:12px 14px;
  border-radius:16px;
  border:1px solid var(--border);
  background: #fff;
}
.alert.success{
  border-color: rgba(10,163,106,.30);
  background: rgba(10,163,106,.06);
}
.alert.error{
  border-color: rgba(220,38,38,.25);
  background: rgba(220,38,38,.06);
}

/* FOOTER */
.footer{opacity:.98; padding-bottom:42px}


/* ===== NAV PREMIUM (CLEAN) ===== */
.nav-inner.nav-premium{
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.brand-premium{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:900;
  letter-spacing:.2px;
  min-width: 180px;
}

.brand-mark{
  width:42px;
  height:42px;
  border-radius:14px;
  display:grid;
  place-items:center;
  background:#fff;
  border:1px solid var(--border);
  box-shadow: 0 10px 25px rgba(2,6,23,.08);
  overflow:hidden;
}

.brand-mark img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.brand-title{
  font-size:16px;
  color:var(--text);
}

.nav-pill{
  display:flex;
  align-items:center;
  gap:6px;
  padding:6px;
  border:1px solid var(--border);
  background: rgba(255,255,255,.78);
  border-radius:999px;
  box-shadow: 0 8px 18px rgba(2,6,23,.06);
}

.nav-pill a{
  padding:10px 12px;
  border-radius:999px;
  color:var(--muted);
  font-weight:800;
  border:1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}

.nav-pill a:hover{
  background: var(--brand-soft);
  color: var(--text);
  border-color: rgba(10,163,106,.18);
}

.nav-pill a.active{
  background: rgba(10,163,106,.14);
  color: #0b3d2b;
  border-color: rgba(10,163,106,.28);
}

.nav-actions{
  display:flex;
  align-items:center;
  gap:10px;
  min-width: 260px;
  justify-content:flex-end;
}

/* Boutons un peu plus "premium" et moins gros */
.btn{
  padding:10px 14px;
  border-radius:14px;
}
.btn.secondary, .btn.ghost{
  background: rgba(2,6,23,.04);
}

/* Responsive */
@media (max-width: 980px){
  .nav-inner.nav-premium{
    flex-wrap:wrap;
    justify-content:center;
    padding: 12px 14px;
  }
  .brand-premium, .nav-actions{
    min-width: unset;
    width:100%;
    justify-content:center;
  }
  .nav-pill{
    width:100%;
    justify-content:center;
    border-radius:18px;
    flex-wrap:wrap;
  }
}
@media (max-width: 900px){
  .nav-inner{flex-wrap:wrap; justify-content:center}
  .nav-left{width:100%; justify-content:center}
  .nav-right{width:100%; justify-content:center; flex-wrap:wrap}
  .nav-links{flex-wrap:wrap; justify-content:center; border-radius:18px}
}
.reviews-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:20px;
    margin:40px auto;
    max-width:1100px;
}

.review-card{
    background:#fff;
    padding:20px;
    border-radius:16px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}

.review-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:10px;
}




/* ===== Avis: formulaire ===== */
.form-review {
  max-width: 680px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.form-review label {
  font-weight: 600;
  margin-top: 6px;
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 10px 12px;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  background: rgba(255,255,255,.6);
}

.rating-help {
  font-size: 14px;
  opacity: .75;
}

/* ===== Star rating (stable & joli) ===== */
.star-rating {
  display: inline-flex;
  flex-direction: row-reverse;
  gap: 6px;
  line-height: 1;
}

.star-rating input {
  display: none;
}

.star-rating label {
  font-size: 30px;
  cursor: pointer;
  color: #d6d6d6;
  transition: transform .06s ease, color .18s ease;
  user-select: none;
}

.star-rating label:hover {
  transform: translateY(-1px);
}

.star-rating label:hover,
.star-rating label:hover ~ label {
  color: #f5b301; /* jaune */
}

.star-rating input:checked ~ label {
  color: #f5b301; /* jaune */
}

/* ===== Actions ===== */
.form-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 6px;
}

/* Mobile */
@media (max-width: 640px) {
  .rating-row {
    gap: 10px;
  }
  .star-rating label {
    font-size: 34px;
  }
  .form-actions .btn,
  .form-actions .btn.secondary {
    width: 100%;
    text-align: center;
  }
}
.review-title {
  text-align: center;
  margin-bottom: 25px;
}
.rating-block {
  margin-top: 10px;
}

.rating-text {
  font-weight: 600;
  margin-bottom: 8px;
}
/* ===== Avis - Stats ===== */

.avis-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 20px 0;
}

.avis-stats {
  text-align: right;
}

.avis-average {
  font-size: 20px;
  font-weight: 600;
}

.avis-percent {
  font-size: 14px;
  opacity: .75;
}

/* Mobile */
@media (max-width: 640px) {
  .avis-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .avis-stats {
    text-align: left;
  }
}


.icon-plus {
  width: 18px;
  height: 18px;
  color: #f5b301; /* jaune */
  transition: transform 0.2s ease;
}

.btn-avis:hover .icon-plus {
  transform: rotate(90deg);
}
/* =========================
   HOME — Premium
========================= */

:root{
  --green-700:#1b5e20;
  --green-600:#2e7d32;
  --green-500:#2f8f3a;
  --bg:#f6f8f7;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#475569;
  --border:rgba(15, 23, 42, .10);
  --shadow:0 10px 30px rgba(15,23,42,.08);
}

.container{
  max-width:1100px;
  margin:0 auto;
  padding:0 20px;
}

.home-hero{
  padding:44px 0 26px;
  background:
    radial-gradient(1000px 380px at 20% -10%, rgba(47,143,58,.18), transparent 60%),
    radial-gradient(900px 360px at 90% 0%, rgba(27,94,32,.12), transparent 55%),
    var(--bg);
}

.home-hero .container{
  display:grid;
  grid-template-columns: 1.55fr .85fr;
  gap:18px;
  align-items:stretch;
}

.hero-card{
  background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.98));
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:26px;
}

.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  color:var(--green-700);
  background:rgba(47,143,58,.10);
  border:1px solid rgba(47,143,58,.18);
  padding:6px 10px;
  border-radius:999px;
  margin-bottom:14px;
  font-weight:600;
}

.hero-title{
  color:var(--text);
  font-size:44px;
  line-height:1.05;
  letter-spacing:-.8px;
  margin:0 0 10px;
}

.hero-title span{
  display:block;
  font-size:34px;
  letter-spacing:-.6px;
  margin-top:6px;
  color:#13253a;
}

.hero-subtitle{
  color:var(--muted);
  margin:0;
  font-size:16px;
  max-width:62ch;
}

.hero-actions{
  margin-top:18px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

.btn{ /* respecte tes boutons existants si déjà définis */
  text-decoration:none;
}

.btn-primary{
  background:linear-gradient(180deg, var(--green-600), var(--green-700));
  color:#fff !important;
  border:1px solid rgba(0,0,0,.08);
  border-radius:12px;
  padding:12px 16px;
  font-weight:700;
  box-shadow:0 10px 20px rgba(27,94,32,.18);
}

.btn-secondary{
  background:#fff;
  color:var(--green-700) !important;
  border:1px solid rgba(27,94,32,.22);
  border-radius:12px;
  padding:12px 16px;
  font-weight:700;
}

.btn-ghost{
  background:rgba(255,255,255,.55);
  color:var(--text) !important;
  border:1px solid var(--border);
  border-radius:12px;
  padding:12px 16px;
  font-weight:700;
}

.hero-metrics{
  margin-top:14px;
  display:flex;
  gap:12px;
  align-items:center;
  flex-wrap:wrap;
}

.metric{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:8px 12px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  color:var(--text);
}

.metric-star{
  color:#f5b301;
  font-size:18px;
  line-height:1;
}

.muted{ color:var(--muted); }

.hero-side .side-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:18px;
  box-shadow:var(--shadow);
  padding:18px;
}

.side-title{
  font-weight:800;
  color:var(--text);
  margin-bottom:10px;
}

.side-list{
  margin:0 0 14px;
  padding:0;
  list-style:none;
  color:var(--muted);
  display:grid;
  gap:8px;
}

.home-section{
  padding:34px 0;
  background:#fff;
}

.home-section-soft{
  background:var(--bg);
}

.section-title{
  text-align:center;
  color:var(--text);
  margin:0 0 18px;
  letter-spacing:-.3px;
}

.grid-3{
  display:grid;
  grid-template-columns:repeat(3, 1fr);
  gap:14px;
}

.feature-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:16px;
  padding:18px;
  box-shadow:0 10px 20px rgba(15,23,42,.05);
}

.feature-icon{
  width:40px;
  height:40px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:12px;
  background:rgba(47,143,58,.10);
  border:1px solid rgba(47,143,58,.18);
  margin-bottom:10px;
  font-size:20px;
}

.feature-card h3{
  margin:0 0 6px;
  color:var(--text);
}

.feature-card p{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.5;
}

.grid-2{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:14px;
  align-items:start;
}

.checklist{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  gap:10px;
  color:var(--muted);
}

.checklist li{
  position:relative;
  padding-left:26px;
}

.checklist li::before{
  content:"✓";
  position:absolute;
  left:0;
  top:0;
  color:var(--green-600);
  font-weight:900;
}

.info-card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:18px;
  box-shadow:0 10px 20px rgba(15,23,42,.05);
}

.info-title{
  font-weight:800;
  margin-bottom:8px;
  color:var(--text);
}

.info-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:12px;
}

/* CTA premium (plus fin, lisible) */
.home-cta{
  padding:34px 0 60px;
  background:var(--bg);
}

.cta-card{
  background:linear-gradient(135deg, rgba(47,143,58,.12), rgba(27,94,32,.06));
  border:1px solid rgba(27,94,32,.14);
  border-radius:18px;
  padding:18px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
}

.cta-card h2{
  margin:0 0 6px;
  color:var(--text);
}

.cta-card p{
  margin:0;
  color:var(--muted);
}

.cta-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
}

/* Responsive */
@media (max-width: 920px){
  .home-hero .container{
    grid-template-columns:1fr;
  }
  .grid-3{
    grid-template-columns:1fr;
  }
  .grid-2{
    grid-template-columns:1fr;
  }
  .hero-title{
    font-size:36px;
  }
  .hero-title span{
    font-size:28px;
  }
  .cta-card{
    flex-direction:column;
    align-items:flex-start;
  }
}
/* =========================
   HEADER PREMIUM
========================= */

.site-header {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 12px rgba(15,23,42,.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

.logo a {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #1b5e20;
  text-decoration: none;
}

.main-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.main-nav a {
  text-decoration: none;
  color: #0f172a;
  font-weight: 600;
  font-size: 15px;
  position: relative;
  padding: 4px 0;
  transition: color 0.2s ease;
}

.main-nav a:hover {
  color: #2e7d32;
}

.main-nav a.active {
  color: #2e7d32;
}

.main-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 100%;
  height: 2px;
  background: #2e7d32;
  border-radius: 2px;
}

/* Liseré fin premium */
.header-divider {
  height: 3px;
  background: linear-gradient(90deg, #1b5e20, #2e7d32, #43a047);
}

/* Responsive */
@media (max-width: 768px) {
  .main-nav {
    gap: 16px;
    font-size: 14px;
  }
}
/* ===== Header banner : proportions raisonnables ===== */
.site-hero{
  max-width: 1100px;                 /* même largeur que ton .container */
  margin: 14px auto 18px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(15,23,42,.08);
  box-shadow: 0 10px 28px rgba(15,23,42,.06);
  background: #fff;
}

.site-hero img{
  width: 100%;
  height: clamp(150px, 18vw, 240px); /* auto selon écran : min 150, max 240 */
  object-fit: cover;
  object-position: center 45%;       /* un peu plus bas pour garder le texte */
  display: block;
}

/* Mobile : bandeau plus compact */
@media (max-width: 768px){
  .site-hero{
    margin: 10px 12px 14px;
    border-radius: 14px;
  }
  .site-hero img{
    height: 150px;
    object-position: center 50%;
  }
}
.price-cell {
  white-space: nowrap;
}
.badge {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 10px;
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  letter-spacing: 0.5px;
}

.badge-full {
  background: #fee2e2;
  color: #b91c1c;
  border: 1px solid #fecaca;
}

.badge-available {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}
/* ===============================
   K1 Banner Formation
================================= */

.k1-banner {
  background: linear-gradient(135deg, #0f5132, #198754);
  color: white;
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 30px;
}

.k1-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.k1-text {
  flex: 1 1 500px;
}

.k1-text h2 {
  font-size: 28px;
  margin-bottom: 15px;
}

.k1-text p {
  font-size: 16px;
  margin-bottom: 15px;
  opacity: 0.95;
}

.k1-list {
  list-style: none;
  padding: 0;
  margin: 15px 0 25px 0;
}

.k1-list li {
  margin-bottom: 8px;
}

.btn-k1 {
  background: white;
  color: #198754;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}

.btn-k1:hover {
  background: #f1f1f1;
}

.k1-highlight {
  flex: 0 0 250px;
  display: flex;
  justify-content: center;
}

.k1-box {
  background: rgba(255,255,255,0.15);
  padding: 20px;
  border-radius: 10px;
  text-align: center;
  backdrop-filter: blur(4px);
}

.k1-box strong {
  display: block;
  font-size: 18px;
  margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .k1-banner {
    padding: 25px;
  }

  .k1-content {
    flex-direction: column;
    text-align: center;
  }

  .k1-highlight {
    width: 100%;
  }
}/* ===============================
   K1 Card (encadré + bouton à droite)
================================= */

.k1-card {
  border: 1px solid rgba(0,0,0,0.08);
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 22px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  display: flex;
  gap: 18px;
  align-items: stretch;
  flex-wrap: wrap;
}

.k1-left {
  flex: 1 1 520px;
  min-width: 280px;
}

.k1-left h2 {
  margin: 0 0 10px 0;
  font-size: 22px;
}

.k1-left p {
  margin: 0 0 14px 0;
  opacity: 0.92;
  line-height: 1.5;
}

.k1-badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.k1-pill {
  display: inline-block;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 13px;
  background: rgba(25,135,84,0.10);
  color: #198754;
  border: 1px solid rgba(25,135,84,0.20);
}

.k1-right {
  flex: 0 0 320px;
  min-width: 260px;
  display: flex;
}

.k1-right-box {
  width: 100%;
  border-radius: 12px;
  padding: 16px;
  background: linear-gradient(135deg, #0f5132, #198754);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.k1-right-title {
  font-weight: 700;
  font-size: 15px;
}

.k1-right-sub {
  font-size: 13px;
  opacity: 0.95;
  margin-bottom: 6px;
}

.btn-k1-right {
  display: inline-block;
  text-align: center;
  background: #fff;
  color: #198754;
  font-weight: 700;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
}

.btn-k1-right:hover {
  background: #f3f3f3;
}

/* Responsive */
@media (max-width: 768px) {
  .k1-card {
    padding: 18px;
  }
  .k1-right {
    flex: 1 1 100%;
  }
}
/* ===== Devis ===== */
.devis-form { max-width: 920px; margin: 0 auto; }
.devis-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.devis-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}
@media (max-width: 768px){
  .devis-grid { grid-template-columns: 1fr; }
  .devis-actions { justify-content: stretch; }
  .devis-actions .btn { width: 100%; }
}
/* Fix affichage devis (sécurité) */
.card form { display:block; }
.devis-grid { display:grid !important; }
/* =========================
   HOME Hero Image Block
========================= */

.hero-image-block {
  margin-top: 22px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(15,23,42,.08);
  max-width: 100%;
}

.hero-image {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Responsive */
@media (max-width: 920px) {
  .hero-image {
    height: 180px;
  }
}
/* =========================
   Objectifs pédagogiques
========================= */

.objectifs-header {
  text-align: center;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px 22px;
  margin-bottom: 26px;
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
  position: relative;
  overflow: hidden;
}

.objectifs-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 200px at 10% 0%, rgba(10,163,106,.08), transparent 60%);
  pointer-events: none;
}

.objectifs-badge {
  display: inline-block;
  background: var(--brand-soft);
  color: var(--brand-dark);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
  border: 1px solid rgba(10,163,106,.25);
}

.objectifs-header h2 {
  margin: 0 0 8px;
  font-size: 28px;
  letter-spacing: -0.4px;
}

.objectifs-header p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.photo-card{
  padding:0;
  overflow:hidden;
  border-radius: var(--radius);
}

.photo-card img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}
/* ===== Formation show: description premium ===== */
.formation-desc{
  background: rgba(2,6,23,.02);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 16px;
}

.formation-desc-title{
  margin: 14px 0 8px;
  font-size: 17px;
  font-weight: 900;
  letter-spacing: -.2px;
}

.formation-desc-p{
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.7;
}
.formation-desc-p:last-child{ margin-bottom: 0; }

/* ===== Admin small buttons ===== */
.btn-sm{
  padding:6px 10px;
  font-size:13px;
  border-radius:10px;
  font-weight:600;
  box-shadow:none;
}

.btn-sm.secondary{
  background:rgba(2,6,23,.04);
  border:1px solid var(--border);
  color:var(--text);
}

.btn-sm.danger{
  background:rgba(220,38,38,.08);
  border:1px solid rgba(220,38,38,.25);
  color:#991b1b;
}

.btn-sm.success{
  background:rgba(10,163,106,.10);
  border:1px solid rgba(10,163,106,.30);
  color:#0f5132;
}