/* cv.mr — Feuille de style partagée (tons repris du logo cvmr.png) */

:root{
  --navy:#15305c; --navy-700:#1c3f74; --navy-900:#0d1f3d;
  --green:#1c6b3c; --green-700:#155230; --green-100:#e8f4ec;
  --gold:#e0a824; --gold-700:#b5860f; --gold-100:#fbf1d9;
  --bg:#f4f6f9; --card:#ffffff; --border:#e1e4ea;
  --text:#1b2330; --muted:#6b7280;
  --danger:#b3261e; --danger-100:#fbe9e7;
  --radius-sm:8px; --radius:12px; --radius-lg:18px;
  --shadow-sm:0 1px 2px rgba(13,31,61,0.06);
  --shadow:0 8px 24px rgba(13,31,61,0.08);
  --shadow-lg:0 20px 40px rgba(13,31,61,0.16);
  --container:1120px;
}

*{box-sizing:border-box;}
html{-webkit-text-size-adjust:100%;}

body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  line-height:1.5;
}

img{max-width:100%;}

a{color:var(--navy);text-decoration:none;}
a:hover{color:var(--navy-700);}

:focus-visible{outline:2px solid var(--gold);outline-offset:2px;}

/* ---------- En-tête ---------- */
.site-header{
  position:sticky;top:0;z-index:40;
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 24px;background:#fff;border-bottom:1px solid var(--border);
  box-shadow:var(--shadow-sm);
  gap:16px;
}
.site-header .brand{display:flex;align-items:center;gap:9px;flex:0 0 auto;}
.site-header .brand img{width:34px;height:34px;object-fit:contain;}
.site-header .brand span{font-size:18px;font-weight:800;color:var(--navy-900);letter-spacing:-.01em;}

.nav-toggle{
  display:none;width:40px;height:40px;border-radius:var(--radius-sm);border:1px solid var(--border);
  background:#fff;align-items:center;justify-content:center;cursor:pointer;flex:0 0 auto;
}
.nav-toggle svg{width:20px;height:20px;color:var(--navy-900);}

.site-header nav{display:flex;gap:6px;align-items:center;flex-wrap:wrap;justify-content:flex-end;}
.site-header nav a{
  font-size:13.5px;font-weight:600;color:var(--navy-900);padding:9px 12px;border-radius:var(--radius-sm);
  white-space:nowrap;
}
.site-header nav a:hover{background:var(--bg);color:var(--navy-900);}
.site-header nav a.nav-cta{background:var(--navy);color:#fff;}
.site-header nav a.nav-cta:hover{background:var(--navy-700);color:#fff;}

.lien-notifications{position:relative;display:inline-flex;align-items:center;color:var(--navy-900);padding:9px !important;}
.badge-notif{
  position:absolute;top:2px;right:2px;background:var(--danger);color:#fff;
  font-size:10px;font-weight:800;line-height:1;padding:3px 5px;border-radius:999px;min-width:16px;text-align:center;
}
.notif-item{padding:14px 0;border-bottom:1px solid var(--border);}
.notif-item:last-child{border-bottom:none;}
.notif-item.non-lue{background:var(--gold-100);margin:0 -24px;padding:14px 24px;}
.notif-titre{font-size:13.5px;font-weight:700;color:var(--navy-900);margin:0 0 4px;}
.notif-contenu{font-size:12.5px;color:var(--text);line-height:1.5;margin:0 0 4px;}
.notif-date{font-size:11px;color:var(--muted);}

/* ---------- Conteneurs ---------- */
.wrap{max-width:560px;margin:0 auto;padding:32px 20px 64px;}
.wrap-form{max-width:760px;margin:0 auto;padding:32px 20px 64px;}
.wrap-wide{max-width:var(--container);margin:0 auto;padding:32px 20px 64px;}

.card{background:var(--card);border:1px solid var(--border);border-radius:var(--radius);padding:26px 24px;box-shadow:var(--shadow-sm);}

h1.page-title{font-size:22px;margin:0 0 6px;color:var(--navy-900);font-weight:800;letter-spacing:-.01em;}
p.lead{font-size:13.5px;color:var(--muted);margin:0 0 20px;line-height:1.6;}

label{display:block;font-size:12.5px;font-weight:700;margin-bottom:6px;}
input[type=text],input[type=password],input[type=email],input[type=tel]{
  width:100%;height:46px;border:1px solid var(--border);border-radius:var(--radius-sm);
  padding:0 12px;font-size:14px;font-family:inherit;margin-bottom:14px;outline:none;
  transition:border-color .15s;
}
input:focus{border-color:var(--navy);}

.field-hint{font-size:11.5px;color:var(--muted);margin:-10px 0 14px;}

.checkbox-row{display:flex;gap:10px;align-items:flex-start;margin-bottom:18px;font-size:12.5px;color:var(--muted);line-height:1.5;}
.checkbox-row input{width:18px;height:18px;margin-top:1px;flex:0 0 auto;}

.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:8px;text-align:center;
  min-height:48px;padding:12px 22px;border-radius:var(--radius-sm);font-size:15px;font-weight:700;line-height:1.3;
  border:1px solid transparent;cursor:pointer;text-decoration:none;width:100%;
  transition:background-color .15s,border-color .15s,transform .1s;
}
.btn:active{transform:translateY(1px);}
.btn-primary{background:var(--navy);color:#fff;}
.btn-primary:hover{background:var(--navy-700);color:#fff;}
.btn-outline{background:#fff;color:var(--navy);border-color:var(--navy);}
.btn-outline:hover{background:var(--bg);}
.btn-gold{background:var(--gold);color:var(--navy-900);}
.btn-gold:hover{background:var(--gold-700);color:#fff;}

.alert{padding:12px 14px;border-radius:var(--radius-sm);font-size:13px;margin-bottom:16px;}
.alert ul{margin:0;padding-left:18px;}
.alert-danger{background:var(--danger-100);color:var(--danger);border:1px solid #f3c6c1;}
.alert-success{background:var(--green-100);color:var(--green);border:1px solid #bfe3cb;}

.tabs{display:flex;gap:8px;margin-bottom:20px;}
.tabs a{flex:1;text-align:center;padding:10px 0;border-radius:var(--radius-sm);font-size:13px;font-weight:700;text-decoration:none;}
.tabs a.active{background:var(--navy);color:#fff;}
.tabs a:not(.active){background:#fff;border:1px solid var(--border);color:var(--muted);}

.modal-overlay{
  position:fixed;inset:0;background:rgba(13,31,61,0.55);
  display:flex;align-items:center;justify-content:center;padding:24px;z-index:50;
}
.modal-card{
  background:#fff;border-radius:var(--radius-lg);padding:26px 22px;width:100%;max-width:340px;
  text-align:center;box-shadow:var(--shadow-lg);
}
.modal-icon{
  width:56px;height:56px;border-radius:999px;background:var(--green-100);
  display:flex;align-items:center;justify-content:center;margin:0 auto 16px;
}
.modal-card h2{font-size:16px;font-weight:800;color:var(--navy-900);margin:0 0 8px;}
.modal-card p{font-size:13px;color:var(--muted);line-height:1.6;margin:0 0 20px;}

/* ---------- Pied de page ---------- */
.site-footer{background:var(--navy-900);color:#fff;margin-top:40px;}
.site-footer-grid{
  max-width:var(--container);margin:0 auto;padding:40px 24px 24px;
  display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:32px;
}
.footer-brand{font-size:16px;font-weight:800;margin:0 0 8px;}
.footer-desc{font-size:12.5px;color:#aab4c8;line-height:1.6;margin:0;max-width:320px;}
.footer-col h3{font-size:11px;text-transform:uppercase;letter-spacing:.05em;color:#aab4c8;margin:0 0 12px;}
.footer-col ul{list-style:none;margin:0;padding:0;}
.footer-col li{margin-bottom:9px;}
.footer-col a{color:#e6eaf2;font-size:13px;}
.footer-col a:hover{color:#fff;text-decoration:underline;}
.site-footer-bottom{
  max-width:var(--container);margin:0 auto;padding:16px 24px 24px;
  border-top:1px solid rgba(255,255,255,.12);font-size:11.5px;color:#8b96ab;
  display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px;
}

/* Contenu des fiches Académie (texte authored, non issu d'une saisie utilisateur) */
.fiche-contenu p{font-size:13.5px;line-height:1.7;color:var(--text);margin:0 0 14px;}
.fiche-contenu ul{margin:0 0 16px;padding-left:20px;}
.fiche-contenu li{font-size:13px;line-height:1.6;margin-bottom:6px;}
.fiche-contenu h2{font-size:14.5px;font-weight:800;color:var(--navy-900);margin:20px 0 10px;}
.callout{display:flex;gap:10px;align-items:flex-start;border-radius:var(--radius-sm);padding:12px 14px;margin:0 0 16px;font-size:12.5px;line-height:1.6;}
.callout-danger{background:var(--danger-100);color:#7a1a14;}
.callout-tip{background:var(--gold-100);color:#6b5410;}

/* Éditeur de CV */
select,textarea{
  width:100%;border:1px solid var(--border);border-radius:var(--radius-sm);
  padding:10px 12px;font-size:14px;font-family:inherit;margin-bottom:14px;outline:none;background:#fff;
}
select{height:46px;}
textarea{resize:vertical;min-height:110px;line-height:1.5;}
select:focus,textarea:focus{border-color:var(--navy);}
.char-count{font-size:11px;color:var(--muted);text-align:right;margin:-10px 0 14px;}

input[type=file]{
  width:100%;border:1px dashed var(--border);border-radius:var(--radius-sm);
  padding:10px 12px;font-size:13px;font-family:inherit;margin-bottom:14px;background:var(--bg);color:var(--muted);
}
input[type=file]::file-selector-button,input[type=file]::-webkit-file-upload-button{
  display:inline-flex;align-items:center;justify-content:center;
  height:34px;padding:0 16px;margin-right:12px;border:1px solid var(--navy);border-radius:var(--radius-sm);
  background:#fff;color:var(--navy);font-size:13px;font-weight:700;font-family:inherit;cursor:pointer;
  transition:background-color .15s;
}
input[type=file]::file-selector-button:hover,input[type=file]::-webkit-file-upload-button:hover{background:var(--bg);}
input[type=file]:focus{border-color:var(--navy);}

.steps{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:22px;}
.steps a{
  flex:1;min-width:70px;text-align:center;padding:8px 4px;border-radius:7px;
  font-size:11px;font-weight:700;text-decoration:none;background:#fff;border:1px solid var(--border);color:var(--muted);
}
.steps a.step-active{background:var(--navy);color:#fff;border-color:var(--navy);}
.steps a.step-fait{background:var(--green-100);color:var(--green);border-color:#bfe3cb;}

.score-bar-track{background:var(--border);border-radius:999px;height:10px;overflow:hidden;margin-bottom:6px;}
.score-bar-fill{background:var(--green);height:100%;border-radius:999px;}
.score-label{font-size:12px;color:var(--muted);margin:0 0 18px;}

.item-list{list-style:none;margin:0 0 18px;padding:0;}
.item-list li{
  border:1px solid var(--border);border-radius:10px;padding:12px 14px;margin-bottom:10px;
  display:flex;justify-content:space-between;align-items:flex-start;gap:10px;
}
.item-list .item-titre{font-size:13.5px;font-weight:700;color:var(--navy-900);margin:0 0 3px;}
.item-list .item-details{font-size:12px;color:var(--muted);margin:0 0 4px;}
.item-list .item-description{font-size:12.5px;color:var(--text);line-height:1.5;margin:0;}
.item-list .btn-supprimer{
  flex:0 0 auto;background:none;border:none;color:var(--danger);cursor:pointer;font-size:12px;font-weight:700;padding:4px;
}

.chip-list{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px;min-height:14px;}
.chip{
  display:inline-flex;align-items:center;gap:6px;background:var(--green-100);color:var(--green);
  border-radius:999px;padding:6px 10px 6px 12px;font-size:12.5px;font-weight:600;
}
.chip button{background:none;border:none;color:var(--green);cursor:pointer;font-size:14px;line-height:1;padding:0;}
.chip-input-row{position:relative;margin-bottom:14px;}
.chip-suggestions{
  position:absolute;top:48px;left:0;right:0;background:#fff;border:1px solid var(--border);
  border-radius:var(--radius-sm);box-shadow:var(--shadow);z-index:10;max-height:200px;overflow-y:auto;display:none;
}
.chip-suggestions button{
  display:block;width:100%;text-align:left;background:none;border:none;padding:9px 12px;font-size:13px;cursor:pointer;color:var(--text);
}
.chip-suggestions button:hover{background:var(--bg);}

.btn-sm{min-height:38px;padding:8px 16px;font-size:13px;width:auto;}
.actions-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:6px;}
.actions-row .btn{width:auto;flex:1;min-width:140px;}

.recap-section{margin-bottom:20px;}
.recap-section h3{font-size:12.5px;font-weight:800;color:var(--navy-900);text-transform:uppercase;letter-spacing:.03em;margin:0 0 8px;}
.recap-empty{font-size:12.5px;color:var(--muted);font-style:italic;}

.badge{display:inline-block;padding:3px 10px;border-radius:999px;font-size:11px;font-weight:700;}
.badge-brouillon{background:#eef0f4;color:var(--muted);}
.badge-soumis{background:var(--gold-100);color:#6b5410;}
.badge-publie{background:var(--green-100);color:var(--green);}
.badge-rejete{background:var(--danger-100);color:var(--danger);}
.badge-quarantaine{background:var(--danger-100);color:var(--danger);}

.cv-liste-item{
  display:flex;justify-content:space-between;align-items:center;gap:12px;
  border:1px solid var(--border);border-radius:10px;padding:14px 16px;margin-bottom:10px;
  transition:box-shadow .15s,border-color .15s;
}
.cv-liste-item:hover{box-shadow:var(--shadow-sm);border-color:#c9cfdb;}
.cv-liste-item .cv-liste-titre{font-size:14px;font-weight:700;color:var(--navy-900);margin:0 0 4px;}
.cv-liste-item .cv-liste-meta{font-size:11.5px;color:var(--muted);}

/* Profil public */
.profil-header{text-align:center;margin-bottom:22px;}
.profil-header h1{font-size:21px;margin:0 0 4px;color:var(--navy-900);}
.profil-header .profil-titre{font-size:13.5px;color:var(--muted);margin:0 0 12px;}
.profil-qr{width:120px;height:120px;margin:14px auto 0;display:block;border:1px solid var(--border);border-radius:10px;}

/* ---------- Page d'accueil ---------- */
.hero{background:linear-gradient(135deg,var(--navy-900),var(--navy));color:#fff;}
.hero-inner{max-width:var(--container);margin:0 auto;padding:56px 24px 48px;text-align:center;}
.hero-logo{width:88px;height:88px;object-fit:contain;margin:0 auto 20px;display:block;}
.hero-inner h1{font-size:30px;line-height:1.25;margin:0 0 14px;font-weight:800;letter-spacing:-.01em;}
.hero-inner p.lead{color:#c3cbdc;font-size:15px;max-width:560px;margin:0 auto 28px;}
.hero-actions{display:flex;gap:12px;justify-content:center;flex-wrap:wrap;}
.hero-actions .btn{width:auto;padding:0 26px;}

.stat-strip{
  max-width:var(--container);margin:-28px auto 0;padding:0 24px;position:relative;z-index:2;
  display:grid;grid-template-columns:repeat(3,1fr);gap:16px;
}
.stat-pill{
  background:#fff;border-radius:var(--radius);padding:18px 16px;box-shadow:var(--shadow);text-align:center;
  border:1px solid var(--border);
}
.stat-pill .stat-valeur{font-size:24px;font-weight:800;color:var(--navy-900);}
.stat-pill .stat-label{font-size:11.5px;color:var(--muted);margin-top:2px;}

.section{max-width:var(--container);margin:0 auto;padding:48px 24px;}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:22px;flex-wrap:wrap;}
.section-head h2{font-size:20px;font-weight:800;color:var(--navy-900);margin:0 0 4px;}
.section-head p{font-size:13px;color:var(--muted);margin:0;}
.section-link{font-size:13px;font-weight:700;color:var(--navy);white-space:nowrap;}
.section-empty{
  border:1px dashed var(--border);border-radius:var(--radius);padding:32px;text-align:center;
  color:var(--muted);font-size:13px;background:#fff;
}

.feature-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.feature-card{
  background:#fff;border:1px solid var(--border);border-radius:var(--radius-lg);padding:26px;
  box-shadow:var(--shadow-sm);transition:box-shadow .15s,transform .15s;
}
.feature-card:hover{box-shadow:var(--shadow);transform:translateY(-2px);}
.feature-icon{
  width:48px;height:48px;border-radius:var(--radius-sm);background:var(--green-100);color:var(--green);
  display:flex;align-items:center;justify-content:center;margin-bottom:16px;
}
.feature-icon svg{width:24px;height:24px;}
.feature-card h3{font-size:15.5px;font-weight:800;color:var(--navy-900);margin:0 0 8px;}
.feature-card p{font-size:13px;color:var(--muted);line-height:1.6;margin:0 0 16px;}
.feature-card .btn{width:auto;}

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

.cv-card{
  background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:20px;
  box-shadow:var(--shadow-sm);transition:box-shadow .15s,transform .15s;display:block;
}
.cv-card:hover{box-shadow:var(--shadow);transform:translateY(-2px);}
.cv-card-top{display:flex;align-items:center;gap:12px;margin-bottom:12px;}
.cv-card-avatar{
  width:44px;height:44px;border-radius:999px;background:var(--navy);color:#fff;
  display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:800;flex:0 0 auto;
}
.cv-card-nom{font-size:14px;font-weight:700;color:var(--navy-900);margin:0;line-height:1.3;}
.cv-card-titre{font-size:12px;color:var(--muted);margin:2px 0 0;}
.cv-card-meta{font-size:11.5px;color:var(--muted);margin:0 0 10px;}
.cv-card .chip-list{margin-bottom:0;min-height:0;}
.cv-card .chip{background:var(--bg);color:var(--navy-900);font-size:11px;padding:4px 9px;}

.offre-card{
  background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:20px;
  box-shadow:var(--shadow-sm);transition:box-shadow .15s,transform .15s;display:block;
}
.offre-card:hover{box-shadow:var(--shadow);transform:translateY(-2px);}
.offre-card-badge{margin-bottom:10px;}
.offre-card h3{font-size:14.5px;font-weight:700;color:var(--navy-900);margin:0 0 4px;line-height:1.35;}
.offre-card-entreprise{font-size:12.5px;color:var(--muted);margin:0 0 12px;}
.offre-card-meta{display:flex;flex-wrap:wrap;gap:6px;font-size:11px;color:var(--muted);}
.offre-card-meta span{background:var(--bg);border-radius:999px;padding:3px 9px;}

.cta-band{background:var(--green-100);border-radius:var(--radius-lg);padding:36px 28px;text-align:center;}
.cta-band h2{font-size:19px;font-weight:800;color:var(--navy-900);margin:0 0 8px;}
.cta-band p{font-size:13.5px;color:var(--muted);margin:0 0 20px;max-width:480px;margin-left:auto;margin-right:auto;}
.cta-band .hero-actions .btn{background:var(--green);color:#fff;}
.cta-band .hero-actions .btn:hover{background:var(--green-700);}
.cta-band .hero-actions .btn-outline{background:#fff;color:var(--green);border-color:var(--green);}

@media print{
  .site-header,.site-footer,.no-print{display:none !important;}
  .wrap,.wrap-wide,.wrap-form{max-width:100%;padding:0;}
  .card{border:none;padding:0;}
  body{background:#fff;}
}

/* Administration */
.admin-nav{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:20px;}
.admin-nav a{
  padding:8px 14px;border-radius:7px;font-size:12.5px;font-weight:700;background:#fff;
  border:1px solid var(--border);color:var(--muted);text-decoration:none;
}
.admin-nav a.active{background:var(--navy);color:#fff;border-color:var(--navy);}

.stat-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;margin-bottom:22px;}
.stat-tile{border:1px solid var(--border);border-radius:10px;padding:14px;background:#fff;}
.stat-tile .stat-valeur{font-size:22px;font-weight:800;color:var(--navy-900);}
.stat-tile .stat-label{font-size:11px;color:var(--muted);margin-top:2px;}

.filter-bar{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:18px;align-items:flex-end;}
.filter-bar > div{flex:1;min-width:110px;}
.filter-bar label{font-size:11px;margin-bottom:4px;}
.filter-bar select,.filter-bar input{margin-bottom:0;height:40px;}
.filter-bar button{height:40px;width:auto;padding:0 16px;flex:0 0 auto;}

.table-scroll{overflow-x:auto;margin-bottom:16px;-webkit-overflow-scrolling:touch;}
table.admin-table{width:100%;border-collapse:collapse;font-size:12.5px;}
table.admin-table th{
  text-align:left;font-size:10.5px;text-transform:uppercase;letter-spacing:.03em;color:var(--muted);
  padding:8px 10px;border-bottom:2px solid var(--border);white-space:nowrap;
}
table.admin-table td{padding:10px;border-bottom:1px solid var(--border);vertical-align:middle;}
table.admin-table tr:last-child td{border-bottom:none;}
table.admin-table .table-actions{display:flex;gap:6px;flex-wrap:wrap;}
table.admin-table .table-actions form{display:inline;}
.btn-mini{
  display:inline-flex;align-items:center;height:30px;padding:0 10px;border-radius:6px;font-size:11px;font-weight:700;
  border:1px solid var(--border);background:#fff;color:var(--navy);cursor:pointer;text-decoration:none;width:auto;
}
.btn-mini-danger{color:var(--danger);border-color:#f3c6c1;}

.pagination{display:flex;justify-content:center;gap:6px;margin:6px 0 4px;flex-wrap:wrap;}
.pagination a,.pagination span{
  min-width:34px;height:34px;display:flex;align-items:center;justify-content:center;
  border-radius:7px;font-size:12px;font-weight:700;border:1px solid var(--border);color:var(--navy);text-decoration:none;
}
.pagination .active{background:var(--navy);color:#fff;border-color:var(--navy);}

.banniere-preview{width:100%;max-width:280px;border-radius:8px;border:1px solid var(--border);margin-bottom:12px;display:block;}
.banniere-card{border:1px solid var(--border);border-radius:10px;padding:14px;margin-bottom:12px;}
.banniere-card img{width:100%;max-width:220px;border-radius:6px;margin-bottom:8px;display:block;}

.log-item{border-bottom:1px solid var(--border);padding:10px 0;font-size:12.5px;}
.log-item:last-child{border-bottom:none;}
.log-item .log-meta{color:var(--muted);font-size:11px;}

/* ---------- Responsive : tablette ---------- */
@media (max-width:860px){
  .feature-grid{grid-template-columns:repeat(2,1fr);}
  .card-grid{grid-template-columns:repeat(2,1fr);}
  .stat-strip{grid-template-columns:repeat(3,1fr);}
  .site-footer-grid{grid-template-columns:1fr 1fr;}
}

/* ---------- Responsive : mobile (menu, empilement) ---------- */
@media (max-width:680px){
  .site-header{padding:10px 16px;flex-wrap:wrap;}
  .nav-toggle{display:inline-flex;}
  .site-header nav{
    display:none;width:100%;flex-direction:column;align-items:stretch;gap:2px;
    order:3;padding-top:10px;margin-top:10px;border-top:1px solid var(--border);
  }
  .site-header nav.nav-ouvert{display:flex;}
  .site-header nav a{padding:11px 10px;}
  .site-header nav a.nav-cta{text-align:center;}

  .wrap,.wrap-wide,.wrap-form,.section{padding-left:16px;padding-right:16px;}

  .hero-inner{padding:40px 16px 40px;}
  .hero-inner h1{font-size:23px;}
  .hero-actions{flex-direction:column;}
  .hero-actions .btn{width:100%;}

  .stat-strip{grid-template-columns:1fr;margin-top:-20px;}

  .feature-grid{grid-template-columns:1fr;}
  .card-grid{grid-template-columns:1fr;}

  .section-head{align-items:flex-start;}

  .site-footer-grid{grid-template-columns:1fr;gap:26px;padding:32px 20px 20px;}
  .site-footer-bottom{flex-direction:column;text-align:center;}

  .filter-bar{flex-direction:column;align-items:stretch;}
  .filter-bar button{width:100%;}

  .actions-row{flex-direction:column;}
  .actions-row .btn{width:100%;}

  .cv-liste-item{flex-direction:column;align-items:stretch;text-align:left;}
  .cv-liste-item .btn-mini{align-self:flex-start;}
}

@media (max-width:400px){
  .hero-inner h1{font-size:20px;}
  .card{padding:20px 16px;}
}
