/* Café 100% Pro — Header uniquement */
:root{
  --bg: #ffffff;
  --text: #111827;
  --muted: #6b7280;
  --brand: #B45309;
  --brand-2: #92400e;
  --nav-h: 86px;
  --font-base: 'Inter', ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
  margin: 0;
  font-family: var(--font-base);
  font-weight: 400;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  padding-top: var(--nav-h);
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

/* Autorise la sélection uniquement dans les champs de saisie. */
input,
textarea,
[contenteditable="true"]{
  -webkit-user-select: text;
  user-select: text;
}

img{ max-width: 100%; height: auto; display: block; }
a{ color: inherit; text-decoration: none; }

.main{ padding: 30px 0 46px; }
.section{ padding: 38px 0; }
.page-partenaire{
  padding-top: 18px;
}
.page-partenaire .main{
  padding-top: 60px;
}
.page-actualite .main{
  padding-top: 0;
}
.page-actualite .section{
  padding-top: 0;
}
body.page-actualite{
  padding-top: 18px;
}
body.page-legal{
  padding-top: 18px;
}
.section-alt{ background: rgba(17,24,39,.02); border-top: 1px solid rgba(229,231,235,.9); border-bottom: 1px solid rgba(229,231,235,.9); }
.section-head{ margin-bottom: 24px; }
.section-kicker{
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(17,24,39,.62);
  font-size: .78rem;
}
.section-title{
  margin: 8px 0 8px;
  font-weight: 900;
  letter-spacing: -0.028em;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
}
.section-title-brand{
  color: #B45309;
}
.section-desc{
  margin: 0;
  color: rgba(17,24,39,.70);
  max-width: 70ch;
  font-weight: 400;
  line-height: 1.62;
}

.grid-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.grid-3{
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
}
.card{
  border: 1px solid rgba(229,231,235,.9);
  background: #fff;
  padding: 22px;
}
.card-accent{
  border-color: rgba(180,83,9,.28);
  background: rgba(180,83,9,.05);
}
.card-title{
  margin: 0 0 10px;
  font-weight: 800;
  letter-spacing: -0.018em;
  font-size: 1.15rem;
}
.card-text{
  margin: 0 0 14px;
  color: rgba(17,24,39,.72);
  font-weight: 400;
  line-height: 1.62;
}
.card-text:last-child{ margin-bottom: 0; }
.card-text--event-date{
  margin-bottom: 10px;
  font-weight: 900;
  font-size: 1.08rem;
  color: var(--brand);
}
.card-text--event-date time{
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(180,83,9,.35);
}
.card-text--event-description{
  color: rgba(17,24,39,.92);
  font-weight: 600;
}
.founders-note-handwritten{
  font-family: 'Caveat', cursive;
  font-size: clamp(1.22rem, 2.1vw, 1.55rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.5;
  color: rgba(17,24,39,.9);
  letter-spacing: .01em;
  word-spacing: .14em;
}
.founders-strip{
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  gap: 14px;
  align-items: stretch;
  border: 1px solid rgba(180,83,9,.45);
  background: #fcf7f3;
  padding: 0;
}
.founders-strip__media{
  min-height: 220px;
  background: #fcf7f3;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.founders-strip__img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: brightness(1.05) contrast(1.02) saturate(.95);
}
.founders-strip__note{
  min-height: 220px;
  background: #fcf7f3;
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.founders-strip__note .card-text{
  margin: 0;
}
.founders-note-signature{
  display: block;
  width: 100%;
  margin-top: 10px !important;
  text-align: right;
  font-family: var(--font-base);
  font-style: normal !important;
  font-weight: 800;
  font-size: .95rem;
  letter-spacing: .02em;
  word-spacing: normal;
  color: #92400e;
  text-transform: uppercase;
}
.founders-strip__placeholder{
  color: rgba(17,24,39,.58);
  font-size: .92rem;
}
.event-media-frame{
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(229,231,235,.9);
  border-radius: 8px;
  background: #fff;
}
.event-media-frame--square{
  border-radius: 0;
}
.event-media-img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.founders-photo-img{
  filter: contrast(1.08) saturate(1.12) sepia(.14) brightness(1.02);
  transform: scale(1.015);
}
.video-card{ margin-top: 20px; }
.video-frame{
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(229,231,235,.9);
  background: #fff;
  margin: 14px 0 14px;
}
.video-embed{
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.video-privacy-placeholder{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
  background: #111827 url("../img/background-video-locale.webp") center / cover no-repeat;
}
.video-privacy-placeholder--france{
  background-image: url("../img/background-video-france.webp");
}
.video-privacy-placeholder::before{
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(17,24,39,.42);
}
.video-privacy-placeholder > *{
  position: relative;
  z-index: 1;
}
.video-privacy-placeholder .card-text{
  margin: 0;
  color: #ffffff;
}
.video-privacy-note{
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.93rem;
}

.btn-square{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(229,231,235,.9);
  background: #fff;
  color: #111827;
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
}
.btn-primary{
  background: #B45309;
  border-color: rgba(180,83,9,.35);
  color: #fff;
}
.btn-ghost{
  background: transparent;
  border-color: rgba(17,24,39,.18);
}
.btn-square:hover{ opacity: .95; }

.cta-inline{ display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.cta-stack{ display: grid; gap: 12px; margin-top: 16px; }

/* Encart « Contacts du groupe » (page locale) */
.card--local-referents .local-referent-list{
  list-style: none;
  margin: 0 0 16px;
  padding: 0;
  display: grid;
  gap: 0;
}
.local-referent-item{
  padding: 16px 0;
  border-top: 1px solid rgba(229,231,235,.9);
}
.local-referent-item:first-child{
  border-top: 0;
  padding-top: 4px;
}
.local-referent-head{
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 10px;
}
.local-referent-name{
  font-size: 1.02rem;
}
.local-referent-role{
  font-size: .76rem;
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #b45309;
}
.local-referent-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: center;
}
.local-referent-link{
  font-weight: 850;
  font-size: .92rem;
  color: #B45309;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(180,83,9,.35);
}
.local-referent-link:hover{
  color: #92400e;
}
.local-referent-fallback{
  margin-bottom: 8px;
}

.list{
  margin: 0;
  padding-left: 18px;
  color: rgba(17,24,39,.72);
}
.list li{ margin: 8px 0; }
.list--numbered{
  padding-left: 22px;
}
.list--numbered li{
  padding-left: 4px;
}

.card--success-banner{
  border-color: rgba(22,163,74,.35);
  background: rgba(240,253,244,.65);
}
.card--error-banner{
  border-color: rgba(220,38,38,.35);
  background: rgba(254,242,242,.75);
}

.register-form-intro{ margin-bottom: 18px; }
.register-form{
  display: grid;
  gap: 16px;
  margin-top: 8px;
  max-width: 520px;
}
.register-field{
  display: grid;
  gap: 6px;
}
.register-field--check{
  margin-top: 4px;
}
.register-check-label{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .95rem;
  line-height: 1.45;
  color: rgba(17,24,39,.78);
  cursor: pointer;
}
.register-check-label input{
  margin-top: 4px;
  flex-shrink: 0;
}
.register-input--full{
  width: 100%;
  box-sizing: border-box;
}
.register-hint{
  font-size: .86rem;
  color: rgba(17,24,39,.55);
}
.register-req{
  color: #b45309;
  font-weight: 800;
}
.register-actions{
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.contact-row{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 10px;
}
.contact-note{ color: rgba(17,24,39,.60); }

.social-row{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* Actualités */
.news-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.news-item{
  display: grid;
  gap: 12px;
}
.news-thumb{
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid rgba(229,231,235,.9);
  background: rgba(229,231,235,.35);
}
.news-meta{
  font-weight: 900;
  letter-spacing: .10em;
  text-transform: uppercase;
  font-size: .76rem;
  color: rgba(17,24,39,.62);
}
.news-title{
  margin: 0;
  font-weight: 950;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}
.news-excerpt{
  margin: 0;
  color: rgba(17,24,39,.70);
  line-height: 1.58;
}
.news-link{
  font-weight: 950;
  color: #B45309;
  text-decoration: underline;
  text-decoration-color: rgba(180,83,9,.35);
  text-underline-offset: 6px;
}
.news-link:not(.news-link--social){
  text-decoration: none;
}
.news-link-icon{
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: block;
  object-fit: contain;
}
.news-link:hover{ opacity: .9; }
.news-link--social{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}
.news-meta-sep{ margin: 0 6px; }
.news-reading-time{
  display: block;
  margin-top: 4px;
  color: #B45309;
}

/* Fil LinkedIn (Elfsight) — pleine largeur de la section */
#actualites .linkedin-feed-embed{
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
#actualites .linkedin-feed-embed [class*="elfsight-app"]{
  width: 100% !important;
  max-width: 100% !important;
}
#actualites .linkedin-feed-embed iframe{
  width: 100% !important;
  max-width: none !important;
}
#actualites .linkedin-feed-embed .eapps-widget{
  max-width: 100% !important;
}
/* Bandeau « Free LinkedIn Feed Widget » (Elfsight) — masqué si rendu dans le DOM (hors shadow root) */
#actualites .linkedin-feed-embed .eapps-link,
#actualites .linkedin-feed-embed .eapps-widget-toolbar,
#actualites .linkedin-feed-embed a[class*="eapps"][href*="elfsight"]{
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  pointer-events: none !important;
}

/* Partenaires (affichage original) */
.partners-mosaic{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  width: 100%;
  max-width: min(980px, 100%);
  margin-inline: auto;
}
.partner-tile{
  border: 1px solid rgba(229,231,235,.9);
  background: #fff;
  display: grid;
  place-items: center;
  padding: 14px;
  min-height: 150px;
  flex: 0 1 230px;
}
.partner-tile img{
  width: 100%;
  height: 78px;
  object-fit: contain;
}
.partner-fallback{
  text-align: center;
  font-weight: 850;
  color: rgba(17,24,39,.75);
}

/* Fiche partenaire national (partenaire.php) : logo centré dans la carte */
.partner-detail-logo-card{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  box-sizing: border-box;
}
.partner-detail-logo{
  display: block;
  max-height: 160px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
}
@media (max-width: 768px){
  .partner-detail-logo{
    max-height: 120px;
  }
}

.tile-1{ grid-row: auto; }
.partners-cta{
  margin-top: 20px;
  display: flex;
  justify-content: flex-end;
}

/* Trombinoscope local : grille fluide (alignée sur le .container comme le reste de la page) */
.members-grid{
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 28px 22px;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  min-width: 0;
}
.member-card{
  display: grid;
  gap: 12px;
  align-content: start;
  text-align: center;
  max-width: 220px;
  width: 100%;
  margin-inline: auto;
  padding: 14px 12px 16px;
  box-sizing: border-box;
  min-width: 0;
}
.member-avatar-wrap{
  display: grid;
  place-items: center;
  width: 100%;
  position: relative;
}
/* Portrait 4:5 : photo entière visible (contain), bandes neutres si besoin */
img.member-avatar{
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  max-width: none;
  box-sizing: border-box;
  border: 3px solid #fff;
  outline: 1px solid rgba(17, 24, 39, 0.14);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  object-fit: contain;
  object-position: center;
  background: #eceff1;
}
.member-avatar--fallback{
  width: 100%;
  aspect-ratio: 4 / 5;
  height: auto;
  box-sizing: border-box;
  background: rgba(180, 83, 9, 0.12);
  color: #B45309;
  font-weight: 900;
  display: grid;
  place-items: center;
  font-size: clamp(1.1rem, 4.5vw, 1.45rem);
  border: 3px solid #fff;
  outline: 1px solid rgba(17, 24, 39, 0.14);
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}
.member-avatar-corner-icon{
  position: absolute;
  right: 8px;
  bottom: 8px;
  width: 18px;
  height: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}
.member-avatar-corner-icon img{
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
/* Pages locales — trombinoscope : même format que la fiche profil (carré, 140px, sans arrondi) */
body.is-local-page .section-members-local .members-grid{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 28px 22px;
}
body.is-local-page .section-members-local .member-avatar-wrap{
  width: min(140px, 100%);
  max-width: 140px;
  margin-inline: auto;
  margin-bottom: 12px;
}
body.is-local-page .section-members-local img.member-avatar,
body.is-local-page .section-members-local .member-avatar--fallback{
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 140px;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
}
body.is-local-page .section-members-local .member-avatar--fallback{
  font-size: clamp(0.95rem, 3.5vw, 1.2rem);
}
.member-name{
  margin: 0;
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1.28;
  color: #B45309;
}
.member-meta{
  margin: 0;
  color: rgba(17, 24, 39, 0.7);
  line-height: 1.38;
  font-size: 0.9rem;
}
.member-meta-stack{
  display: grid;
  gap: 3px;
}
.member-meta--primary{
  font-weight: 800;
  color: rgba(17, 24, 39, 0.86);
  font-size: 0.9rem;
}
.member-meta--secondary{
  font-weight: 500;
  color: #374151;
  font-size: 0.7rem;
}
a.member-card--link{
  text-decoration: none;
  color: #111827;
  display: block;
  transition: border-color .15s ease, box-shadow .15s ease;
}
a.member-card--link:hover{
  border-color: rgba(180,83,9,.35);
  box-shadow: 0 4px 18px rgba(17,24,39,.08);
}
a.member-card--link:focus-visible{
  outline: 2px solid #B45309;
  outline-offset: 2px;
}
a.member-card.member-card--hidden{
  display: none;
}
.profile-card-head{
  display: grid;
  grid-template-columns: min(200px, 38%) 1fr;
  gap: 22px;
  align-items: start;
}
@media (max-width: 640px){
  .profile-card-head{
    grid-template-columns: 1fr;
  }
}

/* Fiche membre : photo carrée centrée, contact, puis entreprise */
.profile-hero{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-bottom: 8px;
}
.profile-name-centered{
  margin: 18px 0 0;
  text-align: center;
  max-width: 36ch;
}
.profile-card-avatar--square{
  width: min(140px, 52vw);
  max-width: 140px;
}
.page-membre .profile-card-avatar--square img.member-avatar,
.page-membre .profile-card-avatar--square .member-avatar--fallback{
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 140px;
  object-fit: cover;
  border-radius: 0;
}
.page-membre .profile-card-avatar--square img.member-avatar{
  object-fit: cover;
}
.profile-personal-block{
  margin-top: 18px;
  padding: 18px 0;
  border-top: 1px solid rgba(229,231,235,.95);
  text-align: center;
}
.profile-digital-tools{
  margin-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  text-align: center;
}
.profile-digital-tools__actions{
  justify-content: center;
  width: 100%;
  max-width: 100%;
}
.profile-digital-tools__mini-links{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 16px;
  margin: 2px 0 10px;
}
.profile-mini-link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 900;
  color: #B45309;
  text-decoration: none;
  font-size: .92rem;
}
.profile-mini-link:hover{
  opacity: .9;
  text-decoration: underline;
  text-decoration-color: rgba(180,83,9,.35);
  text-underline-offset: 6px;
}
.profile-mini-link__icon{
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  color: #B45309;
}
.profile-mini-link__icon svg{
  width: 18px;
  height: 18px;
  display: block;
}
.profile-qr-block{
  margin-top: 14px;
  display: flex;
  justify-content: center;
  width: 100%;
}
.profile-qr-image{
  display: block;
  width: 128px;
  height: 128px;
  max-width: 100%;
  background: #fff;
  padding: 6px;
  border-radius: 0;
  border: 1px solid rgba(229,231,235,.9);
  box-shadow: 0 6px 18px rgba(17,24,39,.06);
}
.profile-block-kicker{
  margin: 0 0 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(17,24,39,.55);
  font-size: .72rem;
}
.profile-personal-block .profile-block-kicker:not(:first-child){
  margin-top: 20px;
}
.profile-contact-list--centered{
  justify-content: center;
  margin-top: 0;
}
.profile-contact-list--icons-row{
  flex-wrap: nowrap;
  justify-content: center;
  gap: 10px 14px;
  margin: 0;
}
.page-membre .profile-contact-link--icon-only{
  gap: 0;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  justify-content: center;
  align-items: center;
  color: #B45309;
}
.page-membre .profile-contact-link--icon-only:hover{
  color: #92400e;
  border-color: rgba(180,83,9,.35);
  background: rgba(180,83,9,.06);
}

/* Fiche membre : "site web" en badge orange (comme btn primary) */
.page-membre .profile-contact-link--website{
  background: #B45309;
  border-color: rgba(180,83,9,.35);
  color: #ffffff;
}
.page-membre .profile-contact-link--website:hover{
  background: #92400e;
  border-color: rgba(180,83,9,.55);
  color: #ffffff;
}
.page-membre .profile-contact-list--icons-row .profile-contact-icon--website{
  color: #ffffff;
}
.page-membre .profile-contact-list--icons-row .profile-contact-icon,
.page-membre .profile-contact-list--icons-row .profile-contact-icon--linkedin,
.page-membre .profile-contact-list--icons-row .profile-contact-icon--facebook,
.page-membre .profile-contact-list--icons-row .profile-contact-icon--instagram{
  color: #B45309;
}
.page-membre .profile-contact-link--website .profile-contact-icon--website{
  color: #ffffff;
}
.page-membre .profile-contact-link--icon-only:hover .profile-contact-icon,
.page-membre .profile-contact-link--icon-only:hover .profile-contact-icon--linkedin,
.page-membre .profile-contact-link--icon-only:hover .profile-contact-icon--facebook,
.page-membre .profile-contact-link--icon-only:hover .profile-contact-icon--instagram{
  color: #92400e;
}
.page-membre .profile-contact-link--website:hover .profile-contact-icon--website{
  color: #ffffff;
}

/* Fiche membre mobile : compacter les icônes contact sur une seule ligne */
@media (max-width: 640px){
  .page-membre .profile-contact-list--icons-row{
    gap: 6px;
  }
  .page-membre .profile-contact-link--icon-only{
    padding: 6px;
    min-width: 34px;
    min-height: 34px;
  }
  .page-membre .profile-contact-icon svg{
    width: 16px;
    height: 16px;
  }
}

/* Fiche membre: occupe au moins la hauteur écran (mobile/tablette/desktop) */
body.page-membre{
  padding-top: 0;
  min-height: 100dvh;
}
body.page-membre .main{
  min-height: 100dvh;
  padding: 10px 0;
}
body.page-membre .section{
  min-height: 100%;
  padding: 0;
  display: flex;
  align-items: stretch;
}
body.page-membre .container{
  display: flex;
}
body.page-membre .profile-card{
  width: 100%;
  min-height: calc(100dvh - 20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.page-membre .profile-card-under-avatar-badge{
  margin-top: 10px;
  text-align: center;
  font-weight: 900;
  font-size: .72rem;
  letter-spacing: 0;
  text-transform: none;
  color: #B45309;
}
.profile-company-block{
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(229,231,235,.95);
  text-align: center;
}
.page-membre .profile-card--digital .profile-company-block{
  margin-top: 0;
}
.profile-company-inner{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
}
@media (min-width: 560px){
  .profile-company-inner{
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    justify-content: center;
  }
}
.profile-company-logo-wrap{
  flex-shrink: 0;
  display: grid;
  place-items: center;
  padding: 14px 18px;
  background: rgba(17,24,39,.03);
  border: 1px solid rgba(229,231,235,.9);
  border-radius: 0;
  min-width: 0;
}
.profile-company-logo{
  display: block;
  max-height: 88px;
  max-width: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 0;
}
.profile-company-text{
  flex: 1;
  min-width: 0;
  max-width: 52ch;
}
.profile-company-name{
  margin: 0 0 10px;
  font-weight: 950;
  letter-spacing: -0.02em;
  font-size: 1.25rem;
  color: #111827;
}
.profile-company-sector{
  margin: 0 0 12px;
  color: rgba(17,24,39,.78);
  line-height: 1.55;
  font-size: .98rem;
}
.profile-activity{
  margin-top: 10px;
  line-height: 1.55;
}
.profile-activity--company{
  margin-top: 4px;
  text-align: left;
  color: rgba(17,24,39,.76);
}
@media (max-width: 559px){
  .profile-company-text .profile-activity--company{
    text-align: center;
  }
}
.profile-contact-list{
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  align-items: center;
}
.profile-contact-link{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #111827;
  font-weight: 850;
  font-size: .95rem;
  padding: 8px 12px;
  border: 1px solid rgba(229,231,235,.95);
  background: rgba(255,255,255,.96);
  transition: border-color .15s ease, color .15s ease;
}
.profile-contact-link:hover{
  border-color: rgba(180,83,9,.35);
  color: #B45309;
}
.profile-contact-icon{
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #B45309;
  line-height: 0;
}
.profile-contact-icon svg{
  display: block;
}
.profile-contact-icon--linkedin{
  color: #0a66c2;
}
.profile-contact-icon--facebook{
  color: #1877f2;
}
.profile-contact-icon--instagram{
  color: #e4405f;
}
.profile-contact-label{
  max-width: 220px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Footer */
.site-footer{
  background: #B45309;
  color: rgba(255,255,255,.96);
  border-top: 1px solid rgba(0,0,0,.12);
}
.footer-inner{
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  padding: 46px 0 54px;
}
.footer-brand{
  font-weight: 950;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
}
.footer-brand-block{ display: grid; gap: 8px; }
.footer-text{
  margin: 0;
  color: #ffffff;
  max-width: 34ch;
}
.footer-col{ display: grid; gap: 8px; align-content: start; }
.footer-title{
  margin: 0;
  font-size: .95rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #ffffff;
}
.footer-links{
  display: grid;
  gap: 12px;
}
.footer-links a{
  color: rgba(255,255,255,.96);
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,.35);
  text-underline-offset: 6px;
}
.footer-links a:hover{
  text-decoration-color: rgba(255,255,255,.75);
}
/* Footer desktop: colonnes du milieu centrées, informations à droite */
.footer-inner > :nth-child(2),
.footer-inner > :nth-child(3){
  justify-items: center;
  text-align: center;
}
.footer-inner > :nth-child(4){
  justify-items: end;
  text-align: right;
}
.footer-bottom{
  border-top: 1px solid rgba(229,231,235,.9);
  padding: 18px 0;
  background: #ffffff;
  color: #111827;
  font-size: .93rem;
}
.by-alt{
  font-weight: 400;
  letter-spacing: .01em;
  color: #111827;
}
.by-alt-name{
  font-weight: 700;
}
.by-alt-t{
  color: #B45309;
}
.site-version{
  margin-top: 2px;
  text-align: center;
  font-size: .52rem;
  line-height: 1.2;
  color: #111827;
}

.container{
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}
/* Pleine largeur vue : pas d’inset latéral (bords écran / zone utile). */
.container--edge{
  width: min(1200px, 100%);
  margin-inline: auto;
  padding-inline: 0;
  box-sizing: border-box;
}

.skip-link{
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--text);
  color: #fff;
  padding: 10px 12px;
  border-radius: 0;
  z-index: 9999;
}
.skip-link:focus{ left: 16px; }

/* Header mega */
.site-header{
  position: relative;
  overflow: visible;
  min-height: calc(100vh - var(--nav-h));
}

.header-logo-banner{
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,.38)),
    url("../img/background-france.webp") center / cover no-repeat;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(229,231,235,.9);
  min-height: calc(100vh - var(--nav-h));
  display: grid;
  align-content: center;
}

/* CTA sur le bandeau */
.banner-content{
  padding: 34px 0;
}
.banner-card{
  width: min(720px, 100%);
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(229,231,235,.9);
  border-radius: 0;
  box-shadow: 0 18px 0 rgba(0,0,0,.08);
  padding: 18px 18px 16px;
}
.banner-card--with-stat{
  width: min(960px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 32px;
  align-items: start;
  padding: 20px 20px 18px;
}
.banner-card-body{
  min-width: 0;
}
.banner-stat-aside{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex-shrink: 0;
  padding-top: 2px;
}
.banner-stat-num{
  display: block;
  font-weight: 950;
  font-size: clamp(2.6rem, 7.5vw, 4.75rem);
  line-height: 0.92;
  color: #B45309;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}
.banner-stat-caption{
  display: block;
  margin-top: 10px;
  font-size: 0.84rem;
  font-weight: 750;
  color: rgba(17, 24, 39, 0.66);
  line-height: 1.35;
  text-align: center;
}
.banner-stat-link{
  margin-top: 12px;
  font-size: 0.82rem;
  font-weight: 800;
  color: #B45309;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(180, 83, 9, 0.45);
}
.banner-stat-link:hover{
  text-decoration-color: #B45309;
}
#trombinoscope{
  scroll-margin-top: calc(var(--nav-h) + 12px);
}
@media (max-width: 720px){
  .banner-card--with-stat{
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px 14px 16px;
  }
  .banner-stat-aside{
    align-items: center;
    text-align: center;
    order: 2;
    border-top: 1px solid rgba(17, 24, 39, 0.08);
    padding-top: 16px;
  }
  .banner-card-body{
    order: 1;
  }
  .banner-stat-num{
    font-size: clamp(2.35rem, 14vw, 3.4rem);
  }
}
.banner-kicker{
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(17,24,39,.72);
  font-size: .78rem;
}
.banner-title{
  margin-top: 8px;
  font-weight: 950;
  letter-spacing: -0.03em;
  font-size: clamp(1.6rem, 3.1vw, 2.5rem);
  color: #111827;
}
.banner-title-city{
  color: var(--brand);
}
.banner-subtitle{
  margin-top: 8px;
  color: rgba(17,24,39,.72);
  font-size: 1.02rem;
  line-height: 1.45;
}
.banner-form{
  margin-top: 14px;
  display: grid;
  gap: 8px;
}
.banner-label{
  font-weight: 850;
  font-size: .92rem;
  color: rgba(17,24,39,.82);
}
.banner-row{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
}
.banner-input{
  height: 46px;
  border-radius: 0;
  border: 1px solid rgba(229,231,235,.95);
  padding: 0 12px;
  font-size: 1rem;
  outline: none;
  background: rgba(255,255,255,.95);
}
.banner-input:focus{
  border-color: rgba(180,83,9,.55);
  box-shadow: 0 0 0 4px rgba(180,83,9,.14);
}
.banner-cta{
  height: 46px;
  padding: 0 14px;
  border-radius: 0;
  border: 1px solid rgba(180,83,9,.35);
  background: #B45309;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}
.banner-cta:hover{ opacity: .95; }
.banner-examples{
  color: rgba(17,24,39,.64);
  font-size: .92rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.banner-chip{
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 0;
  border: 1px solid rgba(229,231,235,.95);
  background: rgba(255,255,255,.9);
  color: rgba(17,24,39,.84);
  text-decoration: none;
  font-weight: 850;
}
.banner-chip:hover{
  border-color: rgba(180,83,9,.30);
}

.header-nav-bar{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: #B45309;
  border-bottom: 1px solid rgba(0,0,0,.10);
}

/* Theme inverse pour les pages locales */
body.is-local-page .header-nav-bar{
  background: #ffffff;
  border-bottom: 1px solid rgba(229,231,235,.95);
}

/* Fiche profil membre : même barre blanche que les pages locales */
body.page-membre .header-nav-bar{
  background: #ffffff;
  border-bottom: 1px solid rgba(229,231,235,.95);
}

/* Nous rejoindre + Partenaire : palette stricte orange/blanc avec contraste élevé */
body.page-nous-rejoindre .header-nav-bar .btn-square.btn-ghost,
body.page-partenaire .header-nav-bar .btn-square.btn-ghost{
  color: var(--brand);
  border-color: #ffffff;
  background: #ffffff;
}
body.page-nous-rejoindre .header-nav-bar .btn-square.btn-ghost:hover,
body.page-nous-rejoindre .header-nav-bar .btn-square.btn-ghost:focus-visible,
body.page-partenaire .header-nav-bar .btn-square.btn-ghost:hover,
body.page-partenaire .header-nav-bar .btn-square.btn-ghost:focus-visible{
  color: var(--brand);
  border-color: #ffffff;
  background: #ffffff;
  opacity: 1;
}

body.is-local-page .brand{
  color: #B45309;
}
body.is-local-page .brand-text::before{
  background: rgba(180,83,9,.45);
}
body.is-local-page .brand-subtitle--only{
  color: #b45309;
}
body.is-local-page .brand-country{
  color: #111827;
}
body.is-local-page .brand-logo--white{
  filter: none;
}
body.is-local-page .nav a{
  color: #B45309;
  text-decoration-color: transparent;
}
body.is-local-page .nav a:hover{
  text-decoration-color: rgba(180,83,9,.75);
}
body.is-local-page .nav a.nav-link--france{
  color: #111827;
}
body.is-local-page .nav a.nav-link--france:hover{
  text-decoration-color: rgba(17,24,39,.45);
}
body.is-local-page .nav-toggle{
  border-color: rgba(180,83,9,.35);
  color: #B45309;
}
body.is-local-page .nav-toggle-bars span{
  background: #B45309;
}

body.is-local-page .site-footer{
  background: #ffffff;
  color: var(--brand);
  border-top: 1px solid rgba(229,231,235,.95);
}
body.is-local-page .footer-text{
  color: #b45309;
}
body.is-local-page .footer-title{
  color: #b45309;
}
body.is-local-page .footer-links a{
  color: var(--brand);
  text-decoration-color: rgba(180,83,9,.35);
}
body.is-local-page .footer-links a:hover{
  text-decoration-color: var(--brand);
}
/* Bandeau « by alt » : même style que l’index national (fond blanc, texte foncé, accent sur le t). */
body.is-local-page .footer-bottom{
  background: #ffffff;
  color: #111827;
  border-top: 1px solid rgba(229,231,235,.9);
}
body.is-local-page .by-alt{
  color: #111827;
}
body.is-local-page .by-alt-name{
  color: #111827;
}
body.is-local-page .by-alt-t{
  color: #B45309;
}

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

.nav-wrap{
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-toggle{
  display: none;
  appearance: none;
  border: 1px solid rgba(255,255,255,.35);
  background: transparent;
  color: rgba(255,255,255,.96);
  padding: 10px;
  font-family: var(--font-base);
  font-weight: 600;
  cursor: pointer;
}
.nav-toggle-bars{
  display: grid;
  gap: 6px;
}
.nav-toggle-bars span{
  display: block;
  width: 26px;
  height: 3px;
  background: rgba(255,255,255,.96);
}

.brand{
  display: inline-flex;
  align-items: stretch;
  gap: 10px;
  min-width: 0;
  color: rgba(255,255,255,.95);
}
.brand-logo{
  width: 150px;
  height: auto;
}
.brand-logo--white{
  filter: brightness(0) invert(1);
}
.brand-text{
  display: grid;
  align-content: center;
  gap: 2px;
  padding-left: 14px;
  margin-left: 2px;
  position: relative;
}
.brand-text::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 1px;
  background: rgba(255,255,255,.45);
}
.brand-title{
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.1;
  font-size: 1rem;
}
.brand-subtitle{
  color: rgba(255,255,255,.80);
  font-size: .9rem;
  font-weight: 500;
}
.brand-subtitle--only{
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.brand-country{
  color: #ffffff;
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav a{
  color: rgba(255,255,255,.96);
  background: transparent;
  border: 0;
  padding: 10px 0;
  border-radius: 0;
  font-weight: 600;
  letter-spacing: 0;
  transition: opacity .15s ease, text-decoration-color .15s ease;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 6px;
}
.nav a:hover{
  opacity: .9;
  text-decoration-color: rgba(255,255,255,.75);
}
.nav-cta{
  font-weight: 700;
  text-decoration-color: rgba(255,255,255,.85);
}
.nav-cta:hover{
  opacity: .95;
}

.nav-icon{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 0;
  color: rgba(255,255,255,.96);
  text-decoration: none;
}
.nav-icon:hover{ opacity: .9; }
.icon{ width: 22px; height: 22px; }

/* Offcanvas (style bootstrap, carré) */
.offcanvas-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  z-index: 95;
}
.offcanvas{
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(360px, 88vw);
  background: #ffffff;
  border-left: 1px solid rgba(229,231,235,.9);
  z-index: 100;
  transform: translateX(100%);
  transition: transform .22s ease;
  display: grid;
  grid-template-rows: auto 1fr;
}
.offcanvas-open .offcanvas{ transform: translateX(0); }
.offcanvas-header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  height: var(--nav-h);
  padding: 0 16px;
  border-bottom: 1px solid rgba(229,231,235,.9);
}
.offcanvas-title{
  font-weight: 800;
  letter-spacing: -0.02em;
}
.offcanvas-close{
  appearance: none;
  border: 1px solid rgba(229,231,235,.9);
  background: transparent;
  padding: 10px;
  min-width: 46px;
  min-height: 41px;
  display: grid;
  place-content: center;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}
.offcanvas-body{
  padding: 10px 16px 16px;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  display: grid;
  align-content: start;
  gap: 10px;
}
.offcanvas-link{
  display: block;
  padding: 14px 12px;
  border: 1px solid rgba(229,231,235,.9);
  background: #ffffff;
  color: #111827;
  font-weight: 700;
  letter-spacing: .01em;
}
.offcanvas-link--primary{
  border-color: rgba(180,83,9,.35);
  background: rgba(180,83,9,.08);
}
.offcanvas-link:hover{
  border-color: rgba(17,24,39,.28);
}

/* zone de test */
.page-placeholder{ padding: 22px 0; }
.scroll-spacer{ height: 160vh; }
.placeholder-card{
  border: 1px dashed rgba(180,83,9,.35);
  background: rgba(180,83,9,.05);
  border-radius: 0;
  padding: 14px 16px;
  color: #6b4a33;
}

/* Responsive */
@media (max-width: 1024px){
  .logo-banner{ max-height: 190px; }
  .nav a{ padding: 10px 0; }
  .banner-card{ width: min(820px, 100%); }
  .grid-3{ grid-template-columns: 1fr; }
  .news-grid{ grid-template-columns: 1fr; }
  .partners-mosaic{
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 130px;
  }
  .members-grid{
    gap: 22px 16px;
  }
  .partner-tile{ min-height: 130px; }
  .partner-tile img{ height: 68px; }
  .footer-inner{
    grid-template-columns: 1fr;
  }
  .footer-inner > *{
    justify-items: center;
    text-align: center;
  }
  .footer-inner > :nth-child(4){
    justify-items: center;
    text-align: center;
  }
  .footer-text{
    text-align: center;
    margin-inline: auto;
  }

  body.page-membre .container{
    width: min(1200px, calc(100% - 24px));
  }
}

/* Desktop: version plus aérée */
@media (min-width: 1280px){
  .main{ padding: 44px 0 64px; }
  .section{ padding: 52px 0; }
  .section-head{ margin-bottom: 30px; }

  .grid-2{ gap: 28px; }
  .grid-3{ gap: 28px; }
  .news-grid{ gap: 28px; }

  .card{ padding: 28px; }
  .card-title{ margin-bottom: 14px; }
  .card-text{ margin-bottom: 16px; }

  .video-card{ margin-top: 26px; }
  .partners-mosaic{ gap: 20px; }
  .partners-cta{ margin-top: 26px; }

  .footer-inner{
    padding: 58px 0 68px;
    gap: 26px;
  }
}

@media (max-width: 1024px){
  /* Décale le cadrage du background pour voir plus la gauche */
  .header-logo-banner{ background-position: 20% center; }

  .nav-toggle{ display: inline-flex; }
  .nav-desktop{ display: none; }
  body.offcanvas-open{
    overflow: hidden;
    touch-action: none;
  }
}

/* Offcanvas plein écran (tablette + mobile) */
@media (max-width: 1024px){
  .offcanvas{
    left: 0;
    right: 0;
    width: 100vw;
    border-left: 0;
  }
}

/* Trombinoscope local : une colonne sur très petits écrans (pas de scroll horizontal) */
@media (max-width: 320px){
  body.is-local-page .section-members-local .members-grid{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px){
  :root{ --nav-h: 74px; }
  .container{ width: min(1200px, calc(100% - 24px)); }
  .header-inner{ padding: 12px 0; }
  .brand{ display: inline-flex; }
  .nav a{ padding: 10px 0; }
  .nav a:nth-child(1),
  .nav a:nth-child(2),
  .nav a:nth-child(3){ display: none; }
  .icon{ width: 20px; height: 20px; }
  .banner-content{ padding: 18px 0; }
  .banner-card{ padding: 14px; border-radius: 0; }
  .banner-row{ grid-template-columns: 1fr; }
  .banner-examples{ justify-content: center; }
  .main{ padding: 16px 0 26px; }
  .section{ padding: 20px 0; }
  .grid-2{ grid-template-columns: 1fr; }
  .founders-strip__media,
  .founders-strip__note{
    min-height: 170px;
  }
  .partners-mosaic{
    grid-template-columns: 1fr;
    grid-auto-rows: 120px;
  }
  .members-grid{
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 20px 14px;
  }
  .partner-tile{ min-height: 120px; }
  .partner-tile img{ height: 60px; }
  .footer-inner{
    grid-template-columns: 1fr;
    padding: 32px 0 36px;
  }
  .footer-inner > *{
    justify-items: center;
    text-align: center;
  }
  .footer-inner > :nth-child(4){
    justify-items: center;
    text-align: center;
  }
  .footer-text{
    text-align: center;
    margin-inline: auto;
  }
}

@media (max-width: 640px) and (orientation: portrait){
  .founders-strip{
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "note note"
      "photo-left photo-right";
  }
  .founders-strip > .founders-strip__media:first-child{
    grid-area: photo-left;
  }
  .founders-strip > .founders-strip__media:last-child{
    grid-area: photo-right;
  }
  .founders-strip > .founders-strip__note{
    grid-area: note;
  }
}

/* Sur écrans tactiles, neutralise les effets hover/focus simulés. */
@media (hover: none), (pointer: coarse){
  a,
  button,
  [role="button"]{
    transition: none !important;
    -webkit-tap-highlight-color: transparent;
  }

  a:hover,
  button:hover,
  [role="button"]:hover,
  a:active,
  button:active,
  [role="button"]:active{
    opacity: inherit !important;
    color: inherit !important;
    background: inherit !important;
    border-color: inherit !important;
    box-shadow: none !important;
    transform: none !important;
    text-decoration: none !important;
  }
}
