:root{
  --bg:#f7fbfb;
  --surface:#ffffff;
  --surface2:#f1f8f7;

  --text:#0b1718;
  --muted:#4b5b60;

  --teal:#0f6b6f;     /* bleu canard */
  --teal2:#0a575a;
  --gold:#d9891c;     /* orange-or */

  --border: rgba(15, 26, 28, .12);
  --ring: rgba(15,107,111,.24);

  --shadow: 0 18px 55px rgba(0,0,0,.10);
  --shadow2: 0 10px 25px rgba(0,0,0,.08);
  --shadow3: 0 8px 18px rgba(0,0,0,.06);

  --r: 20px;
  --r2: 16px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:
    radial-gradient(900px 520px at 15% -10%, rgba(15,107,111,.20), transparent 55%),
    radial-gradient(900px 520px at 90% 0%, rgba(217,137,28,.18), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 40%, var(--bg) 100%);
}

a{color:inherit;text-decoration:none}
.container{width:min(1120px, 92%); margin:0 auto}

/* Accessibilité */
.skip{
  position:absolute; left:-999px; top:10px;
  background:#fff; border:1px solid var(--border);
  padding:10px 12px; border-radius:12px;
}
.skip:focus{left:12px}

/* ===== Header ===== */
.header{
  position:sticky; top:0; z-index:20;
  background: rgba(255,255,255,.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(15,26,28,.10);
}

.nav{ padding: 14px 0; }

.brand{ margin-bottom:10px; line-height:1.15; }
.brand .title{
  font-weight: 950;
  letter-spacing: .2px;
  font-size: 20px;
}
.brand .subtitle{
  color: var(--muted);
  font-size: 13px;
  margin-top:2px;
}

.menu{
  display:flex; flex-wrap:wrap; gap:10px;
}
.menu a{
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 800;
  color: var(--teal);
  background: rgba(15,107,111,.08);
  border: 1px solid rgba(15,107,111,.18);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.menu a:hover{
  background: rgba(15,107,111,.14);
  border-color: rgba(15,107,111,.28);
  transform: translateY(-1px);
}

/* ===== Typo / Sections ===== */
.section{ padding: 30px 0; }

h1{
  margin:0 0 10px;
  font-size: clamp(30px, 4.4vw, 54px);
  letter-spacing:-.5px;
  line-height:1.05;
}
h2{
  margin:0 0 14px;
  font-size: clamp(20px, 2.2vw, 28px);
  color: var(--gold);
}
h3{
  margin:0 0 8px;
  color: var(--teal);
}
.lead{
  margin:0 0 14px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 70ch;
}
.small{ color: var(--muted); font-size: 13px; line-height: 1.55; }

/* ===== Cards ===== */
.card{
  background: rgba(255,255,255,.90);
  border: 1px solid rgba(15,26,28,.10);
  border-radius: var(--r);
  box-shadow: var(--shadow3);
}
.card.pad{ padding: 22px; }

.hero{ padding: 34px 0 12px; }

/* IMPORTANT : on garde hero-grid en colonne unique (Vision sous la photo) */
.hero-grid{
  max-width: 900px;
  margin: 0 auto;
}

/* ===== Image (accueil / hero) ===== */
.hero-image{
  width:100%;
  height:auto;
  max-height:500px;
  object-fit:cover;
  border-radius:20px;
  margin:14px 0;
  box-shadow:0 10px 30px rgba(0,0,0,.12);
}

/* ===== Buttons ===== */
.actions{ display:flex; gap:10px; flex-wrap:wrap; margin-top: 14px; }
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 11px 16px;
  border-radius: 16px;
  font-weight: 900;
  border: 1px solid rgba(15,107,111,.35);
  background: linear-gradient(180deg, rgba(15,107,111,1), rgba(10,87,90,1));
  color:#fff;
  box-shadow: 0 10px 18px rgba(15,107,111,.18);
  transition: transform .12s ease, filter .12s ease;
}
.btn:hover{ transform: translateY(-1px); filter: brightness(1.02); }
.btn.secondary{
  background: rgba(255,255,255,.85);
  color: var(--teal);
  box-shadow: none;
}

/* ===== Pills ===== */
.pillrow{ display:flex; flex-wrap:wrap; gap:8px; margin-top: 12px; }
.pill{
  font-size: 12px;
  font-weight: 800;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(15,107,111,.20);
  background: rgba(15,107,111,.06);
  color: var(--teal);
}

/* ===== Grid / Tiles ===== */
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}
.tile{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,26,28,.10);
  border-radius: var(--r);
  padding: 16px;
  box-shadow: var(--shadow3);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.tile:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow2);
  border-color: rgba(15,107,111,.25);
}
.tile p{ margin:0; color: var(--muted); line-height: 1.6; }

/* Images des blocs projet (classe tile-img) */
.tile-img{
  width:100%;
  height:140px;
  object-fit:cover;
  border-radius:14px;
  margin:0 0 12px;
  box-shadow:0 6px 14px rgba(0,0,0,.08);
}

/* ===== Callout Event ===== */
.callout{
  border-radius: var(--r);
  border: 1px solid rgba(217,137,28,.40);
  background:
    radial-gradient(700px 220px at 20% 0%, rgba(217,137,28,.18), transparent 60%),
    radial-gradient(700px 220px at 80% 0%, rgba(15,107,111,.14), transparent 60%),
    rgba(255,255,255,.92);
  box-shadow: var(--shadow2);
  padding: 20px;
}
.callout .kicker{
  display:inline-flex; align-items:center; gap:10px;
  font-weight: 950;
  color: var(--teal);
  background: rgba(15,107,111,.08);
  border: 1px solid rgba(15,107,111,.18);
  padding: 6px 10px;
  border-radius: 999px;
}
.callout .title{
  margin: 10px 0 6px;
  font-weight: 950;
  font-size: 22px;
  letter-spacing:-.2px;
}
.callout .date{
  margin-top: 10px;
  font-weight: 950;
  color: var(--text);
}
.callout .place{
  color: var(--muted);
  margin-top: 4px;
}

/* ===== Ancienne mise en page (si tu en as encore) ===== */
.list{ display:grid; gap: 14px; }
.item{
  display:flex; align-items:center; gap: 14px;
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,26,28,.10);
  border-radius: var(--r);
  padding: 14px;
  box-shadow: var(--shadow3);
}
.photo{
  width: 82px; height: 82px;
  border-radius: 18px;
  object-fit: cover;
  border: 2px solid rgba(15,107,111,.20);
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
  flex: 0 0 auto;
}
.meta{ margin:0; color: var(--muted); font-size: 13px; line-height: 1.55; }

/* ===== Équipe 2 par 2 (team-grid / team-card) ===== */
.team-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:20px;
  margin-top:20px;
}

.team-card{
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(15,26,28,.10);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 8px 18px rgba(0,0,0,.06);
  text-align:left; /* IMPORTANT pour les longs textes */
}

.team-card .photo{
  display:block;
  width:110px;
  height:110px;
  border-radius:50%;
  object-fit:cover;
  margin: 0 auto 12px;
  border: 2px solid rgba(15,107,111,.20);
  box-shadow: 0 10px 18px rgba(0,0,0,.08);
}

.team-card h3{
  text-align:center;
  margin: 8px 0 10px;
  color: var(--teal);
}

/* IMPORTANT : on force l’affichage des textes */
.team-card p.meta{
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  display:block;
  visibility: visible;
  opacity: 1;
}

.team-card p.meta b{
  color: var(--text);
}

/* ===== Tête de liste mise en avant ===== */
.leader-card{
  text-align:center;
  background: linear-gradient(180deg, rgba(15,107,111,.08), rgba(255,255,255,.95));
  border:1px solid rgba(15,107,111,.25);
  border-radius:24px;
  padding:40px 30px;
  box-shadow:0 20px 50px rgba(0,0,0,.08);
  max-width:860px;
  margin:0 auto;
}

.leader-photo{
  width:170px;
  height:170px;
  border-radius:50%;
  object-fit:cover;
  border:4px solid #fff;
  box-shadow:0 12px 25px rgba(0,0,0,.15);
  margin-bottom:18px;
}

.leader-card h2{
  margin:10px 0 8px;
  font-size:28px;
}

.leader-meta{
  font-weight:700;
  color: var(--teal);
  margin: 0 0 14px;
}

.leader-text{
  max-width:720px;
  margin:0 auto;
  line-height:1.7;
  color: var(--muted);
}

/* ===== Form ===== */
.form{ display:grid; gap: 12px; max-width: 740px; }
label{ display:grid; gap:6px; color: var(--muted); font-size: 14px; }
input, textarea{
  width:100%;
  padding: 11px 12px;
  border-radius: 14px;
  border: 1px solid rgba(15,26,28,.12);
  background: rgba(255,255,255,.96);
  outline:none;
}
input:focus, textarea:focus{
  border-color: rgba(15,107,111,.40);
  box-shadow: 0 0 0 4px var(--ring);
}

/* ===== Gallery ===== */
.gallery{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.shot{
  margin:0;
  border-radius: var(--r);
  overflow:hidden;
  border: 1px solid rgba(15,26,28,.10);
  background:#fff;
  box-shadow: var(--shadow3);
}
.shot img{
  width:100%;
  height: 180px;
  object-fit: cover;
  display:block;
  transform: scale(1.01);
  transition: transform .18s ease;
}
.shot:hover img{ transform: scale(1.05); }
.shot figcaption{
  padding: 10px 12px;
  color: var(--muted);
  font-size: 13px;
}

/* ===== Footer ===== */
.footer{
  margin-top: 18px;
  padding: 26px 0 36px;
  border-top: 1px solid rgba(15,26,28,.10);
  color: var(--muted);
}

/* ===== Responsive ===== */
@media (max-width: 920px){
  .grid-3{ grid-template-columns: 1fr; }
  .gallery{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}

@media (max-width: 700px){
  .team-grid{ grid-template-columns: 1fr; }
}

@media (max-width: 600px){
  .hero-image{
    max-height:220px;
    border-radius:16px;
  }
  .tile-img{ height:120px; }
  .hero{ padding-top: 18px; }
  h1{ font-size: 32px; }
}

@media (max-width: 520px){
  .gallery{ grid-template-columns: 1fr; }
  .shot img{ height: 200px; }
}
/* ===== Accueil plus moderne (B + C) ===== */

.hero-cover{
  position: relative;
  min-height: 62vh;
  display:flex;
  align-items: flex-end;
  padding: 70px 0 34px;
  background:
    linear-gradient(180deg, rgba(15,107,111,.55), rgba(255,255,255,.0) 55%),
    radial-gradient(900px 420px at 20% 10%, rgba(217,137,28,.22), transparent 60%),
    url("./images/jausiers-hero.jpg") center/cover no-repeat;
}

.hero-cover::after{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(247,251,251,.92) 70%, rgba(247,251,251,1) 100%);
  pointer-events:none;
}

.hero-cover-inner{
  position: relative;
  z-index: 1;
}

.hero-card{
  max-width: 920px;
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(15,26,28,.10);
  border-radius: 26px;
  box-shadow: 0 22px 60px rgba(0,0,0,.12);
  padding: 26px;
}

.hero-badge{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 7px 12px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 12px;
  color: var(--teal);
  background: rgba(15,107,111,.08);
  border: 1px solid rgba(15,107,111,.18);
  margin-bottom: 12px;
}

.hero-sub{
  margin: 0 0 10px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 75ch;
  font-size: 16px;
}

/* Galerie un peu plus "fun" */
.gallery .shot{
  transform: translateY(0);
  transition: transform .18s ease, box-shadow .18s ease;
}
.gallery .shot:hover{
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(0,0,0,.10);
}

/* Responsive */
@media (max-width: 800px){
  .hero-cover{ min-height: 56vh; padding-top: 56px; }
  .hero-card{ padding: 20px; border-radius: 22px; }
}
@media (max-width: 600px){
  .hero-cover{ min-height: 52vh; }
  .hero-card h1{ font-size: 34px; }
}
/* Photo de groupe (accueil) */
.group-photo{
  margin: 36px 0;
}

.group-photo img{
  width: 100%;
  display: block;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,.12);
  object-fit: cover;
}

/* Mobile : un peu moins haut / moins de marge */
@media (max-width: 600px){
  .group-photo{ margin: 22px 0; }
  .group-photo img{ border-radius: 18px; }
}
/* Bloc réunion publique amélioré */
.pub-meeting {
  background: linear-gradient(135deg, #ffd89b, #19547b);
  border: 3px solid var(--gold);
  border-radius: 24px;
  padding: 26px 20px;
  margin: 28px auto;
  text-align: center;
  max-width: 900px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  color: #fff;
}

.pub-header {
  font-size: 26px;
  font-weight: 900;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.pub-subtitle {
  font-size: 22px;
  margin: 8px 0 10px;
  font-weight: 700;
}

.pub-text {
  font-size: 18px;
  margin: 6px 0 14px;
  line-height: 1.6;
}

.pub-date {
  font-size: 20px;
  font-weight: 800;
  margin: 8px 0;
}

.pub-place {
  font-size: 16px;
  font-weight: 600;
  margin-top: 4px;
}

/* Réduction sur petit écran */
@media (max-width: 600px) {
  .pub-meeting {
    padding: 18px 12px;
  }
  .pub-header {
    font-size: 22px;
  }
  .pub-subtitle {
    font-size: 20px;
  }
  .pub-text {
    font-size: 16px;
  }
  .pub-date {
    font-size: 18px;
  }
}/* Réduire uniquement la taille du titre de Le mot de l’équipe */
.team-section-title {
  font-size: 28px; /* ajuste la valeur comme tu veux */
  margin-bottom: 12px;
}
/* Réduire uniquement la taille du titre "Le mot de l’équipe" */
.team-section-title {
  font-size: 28px !important;
  line-height: 1.1 !important;
  font-weight: 700;
  color: var(--teal2);
  margin-bottom: 10px;
}