/* ========== Base ========== */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #111;
  background: #fff;
  line-height: 1.4;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: min(1100px, 100%);
  margin: 0 auto;
  padding: 0 16px;
}

/* ========== Header sticky (stack) ========== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: #ccc;
  border-bottom: 1px solid rgba(0,0,0,.15);
}

/* Tout centré, boutons sous le logo */
.header-inner--stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  text-align: center;
}

.brand img { width: 240px; height: auto; }

.header-actions--center {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.header-actions--center .btn {
  white-space: nowrap;
}

/* IMPORTANT: espace pour compenser le header sticky */
.header-offset { height: 140px; }  /* ajuste si tu veux plus/moins */
/* ========== Layout accueil ========== */
.welcome { padding: 18px 0 26px; }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  align-items: start;
}

.welcome-card {
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.welcome-card h1 {
  margin: 0 0 14px;
  font-size: clamp(22px, 3vw, 40px);
  line-height: 1.05;
  text-align: center;
}

/* ========== Boutons ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  padding: 10px 14px;
  border: 1px solid rgba(0,0,0,.20);
  background: #fff;
  transition: transform .08s ease, box-shadow .12s ease, background .12s ease;
}
.btn:active { transform: translateY(1px); }

.btn--ghost {
  background: rgba(255,255,255,.65);
}
.btn--ghost span {
  font-size: 14px;
  font-weight: 600;
}
.btn:hover {
  box-shadow: 0 10px 22px rgba(0,0,0,.12);
  background: rgba(255,255,255,.9);
}

.btn-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  justify-items: center;
}

.btn--img {
  width: 100%;
  padding: 10px;
  border-radius: 16px;
  background: #fff;
}
.btn--img img {
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
}

/* ========== Promo ========== */
.promo { margin-top: 18px; }
.promo-link {
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}
.promo-link:hover { filter: brightness(1.02); }

/* ========== Footer ========== */
.site-footer {
  margin-top: 26px;
  background: #ccc;
  border-top: 1px solid rgba(0,0,0,.15);
}

.footer-inner {
  padding: 16px 0;
  text-align: center;
}

.footer-link a {
  text-decoration: underline;
  font-weight: 600;
}

.footer-text {
  margin: 10px 0;
  font-size: 14px;
}

/* ========== Responsive ========== */
@media (max-width: 820px) {
  .header-offset { height: 150px; }

  .grid-2 { grid-template-columns: 1fr; }

  .btn-grid { grid-template-columns: 1fr; }
  .btn--img img { max-width: 260px; }
}

/* --- Fix centrage header (logo + boutons) --- */
.site-header .header-inner--stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.site-header .brand {
  display: inline-flex;
  justify-content: center;
}

.site-header .brand img {
  margin: 0 auto;      /* centre le logo */
}

.site-header .header-actions--center {
  width: 100%;
  display: flex;
  justify-content: center;  /* centre les boutons */
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;        /* force côte à côte */
}

.site-header .header-actions--center .btn {
  white-space: nowrap;
}

/* --- Header centré (logo + boutons en dessous) --- */
.site-header .header-stack{
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  gap: 10px;
  padding: 12px 0;
}

.site-header .brand{
  display: inline-flex;
  justify-content: center;
}

.site-header .brand img{
  margin: 0 auto;
}

.site-header .header-actions{
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px;
  flex-wrap: nowrap;
  width: auto;
}

.site-header .header-actions .btn{
  white-space: nowrap;
}

/* ===== Fix final header: tout centré, boutons sous le logo ===== */
.site-header .header-stack{
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 12px 0 !important;
  text-align: center !important;
}

/* centre le logo, même si un vieux style traîne */
.site-header .brand{
  display: inline-flex !important;
  justify-content: center !important;
  margin: 0 auto !important;
}
.site-header .brand img{
  margin: 0 auto !important;
}

/* boutons: côte à côte et centrés */
.site-header .header-links{
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: nowrap !important;
  width: auto !important;
  margin: 0 auto !important;
}

/* empêche “Contact us” de briser en 2 lignes */
.site-header .header-links .btn{
  white-space: nowrap !important;
}

/* en mini écran, on permet de wrapper pour éviter débordement */
@media (max-width: 420px){
  .site-header .header-links{ flex-wrap: wrap !important; }
}

/* compense la hauteur du header sticky */
.header-offset{ height: 140px; }



/* --- Membres: fil d’Ariane + switch langue --- */
.subnav{
  display:flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 12px 0 6px;
}
.breadcrumbs{ font-size: 14px; }
.breadcrumbs a{ text-decoration: underline; }
.sep{ margin: 0 8px; opacity: .7; }
.btn--small{ padding: 8px 12px; font-size: 14px; }

/* --- Page title --- */
.page{ padding: 10px 0 26px; }
.page-title{
  margin: 12px 0 18px;
  text-align:center;
  font-size: clamp(28px, 3vw, 42px);
}

/* --- Liste membres --- */
.members{
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: start;
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.members-icon img{
  width: 50px;
  height: 50px;
}

.members-links{
  margin: 0;
  padding-left: 18px;
  font-size: clamp(18px, 2vw, 28px);
  line-height: 1.3;
}

.members-links a{
  text-decoration: underline;
}

.promo--page{ margin-top: 18px; }

@media (max-width: 820px){
  .subnav{ flex-direction: column; align-items: flex-start; }
  .members{ grid-template-columns: 1fr; }
  .members-icon{ display:none; }
}

/* --- AGM page --- */
.agm-box{
  background:#fff;
  border:1px solid rgba(0,0,0,.15);
  border-radius:16px;
  padding:20px;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
  text-align:center;
  margin-top:15px;
}

.agm-date{
  font-size:20px;
  margin-bottom:10px;
}

.agm-highlight{
  font-size:28px;
  font-weight:bold;
  color:#c00000;
  margin:10px 0;
}

.agm-doc{
  margin-top:15px;
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}

.agm-doc img{
  width:28px;
  height:auto;
}

/* --- Exécutif --- */
.executif-intro{
  background:#fff;
  border:1px solid rgba(0,0,0,.12);
  border-radius:16px;
  padding:16px;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
  margin-top:14px;
}

.executif-intro p{
  margin: 0 0 10px;
  font-size: 18px;
}
.executif-intro p:last-child{ margin-bottom: 0; }

.executif-grid{
  margin-top: 16px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.role-card{
  background:#fff;
  border:1px solid rgba(0,0,0,.12);
  border-radius:16px;
  padding:14px;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
}

.role-title{
  font-weight: 800;
  margin-bottom: 6px;
}

.role-name{
  font-size: 18px;
  margin-bottom: 4px;
}

.role-email a{
  text-decoration: underline;
  font-weight: 600;
}

.role-vacant{
  font-style: italic;
  font-weight: 700;
}

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

/* --- Comités --- */
.comites-intro{
  background:#fff;
  border:1px solid rgba(0,0,0,.12);
  border-radius:16px;
  padding:16px;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
  margin-top:14px;
}

.comites-intro p{
  margin: 0 0 10px;
  font-size: 18px;
}
.comites-intro p:last-child{ margin-bottom: 0; }

.comites-grid{
  margin-top: 16px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.comite-card{
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding: 18px 12px;
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  font-weight: 800;
  font-size: 20px;
  transition: transform .08s ease, box-shadow .12s ease;
}

.comite-card:hover{
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(0,0,0,.12);
}

@media (max-width: 820px){
  .comites-grid{ grid-template-columns: 1fr; }
  .comite-card{ font-size: 18px; }
}


/* --- Unités --- */
.unites-intro{
  background:#fff;
  border:1px solid rgba(0,0,0,.12);
  border-radius:16px;
  padding:16px;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
  margin-top:14px;
}

.unites-intro p{
  margin:0 0 10px;
  font-size:18px;
}
.unites-intro p:last-child{ margin-bottom:0; }

.unites-grid{
  margin-top:16px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:14px;
}

.unite-card{
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:18px 12px;
  border-radius:16px;
  background:#fff;
  border:1px solid rgba(0,0,0,.12);
  box-shadow:0 6px 18px rgba(0,0,0,.06);
  font-weight:800;
  font-size:20px;
  transition: transform .08s ease, box-shadow .12s ease;
}

.unite-card:hover{
  transform: translateY(-1px);
  box-shadow:0 12px 22px rgba(0,0,0,.12);
}

@media (max-width: 820px){
  .unites-grid{ grid-template-columns: 1fr; }
  .unite-card{ font-size:18px; }
}

/* --- Contact --- */
.flash{
  display:none;
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
}
.flash--ok{ display:block; }
.flash--err{ display:block; }

.contact-grid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
  align-items:start;
  margin-top: 14px;
}

.card{
  background:#fff;
  border:1px solid rgba(0,0,0,.12);
  border-radius:16px;
  padding:16px;
  box-shadow:0 6px 18px rgba(0,0,0,.06);
}

.card-title{
  margin:0 0 6px;
  font-size: 22px;
}
.card-subtitle{
  margin:0 0 14px;
  opacity:.85;
}

.form .field{ margin: 0 0 12px; }
.form label{
  display:block;
  font-weight: 700;
  margin: 0 0 6px;
}
.form input, .form select, .form textarea{
  width:100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.18);
  font: inherit;
  background:#fff;
}
.form textarea{ resize: vertical; }

.form-actions{
  display:flex;
  align-items:center;
  gap: 12px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.form-hint{ margin:0; font-size: 13px; opacity:.75; }

.btn--primary{
  border: 1px solid rgba(0,0,0,.25);
  background: #111;
  color: #fff;
  font-weight: 800;
}
.btn--primary:hover{
  filter: brightness(1.08);
}

.hp{ display:none; } /* honeypot */

.contact-info{
  display:flex;
  gap: 14px;
  align-items:flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
}
.contact-photo{
  width: 200px;
  max-width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
}

.big{ font-size: 18px; margin: 0 0 8px; }
.hours{ margin-top: 14px; }
.hours h3{ margin: 0 0 8px; }
.hours-row{
  display:flex;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 0;
  border-top: 1px solid rgba(0,0,0,.08);
}
.hours-row:first-of-type{ border-top: 0; }

.map{
  display:block;
  margin-top: 14px;
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(0,0,0,.12);
  box-shadow: 0 10px 22px rgba(0,0,0,.08);
}
.map img{ width:100%; height:auto; display:block; }

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

.jtekt-grid{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:18px;
  max-width:1100px;
  margin:0 auto;
}

.unit-card-title{
  margin:0 0 12px;
  text-align:center;
  font-size:24px;
  line-height:1.2;
}

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


.privacy-links{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
  max-width:980px;
  margin:0 auto;
}

.privacy-card{
  display:flex;
  flex-direction:column;
  justify-content:center;
  min-height:220px;
}

.privacy-title{
  margin:0 0 14px;
  font-size:clamp(22px, 3vw, 34px);
  line-height:1.25;
  font-weight:800;
}

.privacy-title a{
  text-decoration:none;
}

.privacy-sub{
  margin:0;
  font-size:14px;
  line-height:1.5;
}

@media (max-width: 820px){
  .privacy-links{
    grid-template-columns:1fr;
  }

  .privacy-card{
    min-height:auto;
  }
}

.legal-page{
  font-size:17px;
  line-height:1.7;
}

.legal-page h2{
  margin:28px 0 12px;
  font-size:26px;
  line-height:1.3;
}

.legal-page h3{
  margin:22px 0 10px;
  font-size:22px;
  line-height:1.3;
}

.legal-page h4{
  margin:18px 0 8px;
  font-size:19px;
  line-height:1.3;
}

.legal-page p{
  margin:0 0 14px;
  text-align:justify;
}

.legal-page ul{
  margin:0 0 16px 22px;
  padding:0;
}

.legal-page li{
  margin:0 0 8px;
}

@media (max-width: 820px){
  .legal-page{
    font-size:16px;
  }

  .legal-page h2{
    font-size:22px;
  }

  .legal-page h3{
    font-size:19px;
  }

  .legal-page h4{
    font-size:17px;
  }
}


