
/* ==========================================================
   V82.3 — Devenir membre / Adhésion internationale
   Fichier autonome : /assets/css/adhesion.css
========================================================== */

.adhesion-hero{
  padding:92px 7vw;
  background:
    radial-gradient(circle at 80% 18%,rgba(247,196,44,.18),transparent 30%),
    linear-gradient(120deg,#071d35,#0b4778);
  color:#fff;
  overflow:hidden;
}
.adhesion-hero-inner{
  max-width:1240px;
  margin:auto;
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:44px;
  align-items:center;
}
.adhesion-hero h1{
  font-size:clamp(2.8rem,6vw,5.5rem);
  line-height:.95;
  margin:18px 0;
  letter-spacing:-.055em;
}
.adhesion-hero p{
  max-width:760px;
  color:rgba(255,255,255,.82);
  font-size:1.12rem;
  line-height:1.75;
}
.adhesion-hero .section-eyebrow{
  color:#ffd95a!important;
  background:rgba(255,255,255,.08)!important;
  border-color:rgba(247,196,44,.32)!important;
}
.adhesion-hero-actions{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
  margin-top:28px;
}
.adhesion-card-showcase{
  position:relative;
  display:flex;
  justify-content:center;
  align-items:center;
  min-height:360px;
}
.adhesion-card-showcase img{
  width:min(620px,100%);
  border-radius:18px;
  transform:rotate(-1.4deg);
  box-shadow:0 34px 78px rgba(0,0,0,.30);
  position:relative;
  z-index:2;
}
.member-card-glow{
  position:absolute;
  width:70%;
  height:58%;
  border-radius:999px;
  background:radial-gradient(circle,rgba(247,196,44,.26),transparent 68%);
  filter:blur(8px);
}
.adhesion-section,
.adhesion-form-section{
  padding:84px 7vw;
}
.adhesion-soft{
  background:#f1f6fc;
}
.adhesion-container{
  max-width:1180px;
  margin:auto;
}
.adhesion-head{
  max-width:820px;
  margin:0 auto 40px;
  text-align:center;
}
.adhesion-head h2,
.conditions-grid h2{
  font-size:clamp(2rem,4vw,3.5rem);
  line-height:1.05;
  margin:12px 0 16px;
  color:#071d35;
  letter-spacing:-.035em;
}
.adhesion-head p,
.conditions-grid p{
  color:#64758b;
  line-height:1.75;
  font-size:1.04rem;
}
.adhesion-benefits{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:18px;
}
.adhesion-benefits article,
.conditions-list article{
  background:#fff;
  border:1px solid #dbe7f3;
  border-radius:24px;
  padding:26px;
  box-shadow:0 12px 30px rgba(9,34,66,.055);
}
.adhesion-benefits strong,
.conditions-list b{
  display:block;
  color:#0b4778;
  font-size:1.18rem;
  margin-bottom:10px;
}
.adhesion-benefits p,
.conditions-list span{
  color:#64758b;
  line-height:1.62;
}
.conditions-grid{
  display:grid;
  grid-template-columns:.95fr 1.05fr;
  gap:34px;
  align-items:center;
}
.conditions-list{
  display:grid;
  gap:14px;
}
.member-form{
  background:#fff;
  border:1px solid #dbe7f3;
  border-radius:34px;
  padding:32px;
  box-shadow:0 22px 60px rgba(9,34,66,.08);
}
.member-form fieldset{
  border:0;
  padding:0;
  margin:0 0 30px;
}
.member-form legend{
  width:100%;
  display:block;
  padding:0 0 14px;
  margin-bottom:18px;
  border-bottom:1px solid #e5edf6;
  color:#0b4778;
  font-size:1.35rem;
  font-weight:1000;
}
.form-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}
.member-form label{
  display:flex;
  flex-direction:column;
  gap:8px;
  color:#17324f;
  font-weight:850;
}
.member-form input,
.member-form select{
  height:48px;
  border:1.5px solid #d6e2ef;
  border-radius:14px;
  padding:0 14px;
  background:#fff;
  color:#071d35;
  font:inherit;
}
.member-form input[type=file]{
  padding:11px 12px;
}
.form-conditional{
  margin-top:22px;
  padding:22px;
  border-radius:24px;
  background:#f8fbff;
  border:1px solid #dbe7f3;
}
.form-conditional.hidden{
  display:none;
}
.form-conditional h3{
  margin:0 0 16px;
  color:#071d35;
  font-size:1.15rem;
}
.form-help{
  color:#64758b;
  line-height:1.65;
  margin-top:-8px;
}
.membership-types{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:12px;
}
.membership-types label{
  position:relative;
  cursor:pointer;
}
.membership-types input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}
.membership-types span{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:64px;
  text-align:center;
  border-radius:18px;
  border:1.5px solid #dbe7f3;
  background:#f8fbff;
  color:#0b4778;
  font-weight:1000;
  padding:12px;
}
.membership-types input:checked + span{
  background:#0b4778;
  border-color:#0b4778;
  color:#fff;
  box-shadow:0 12px 28px rgba(11,71,120,.22);
}
.acceptance-list{
  display:grid;
  gap:12px;
}
.acceptance-list label{
  display:flex;
  flex-direction:row;
  align-items:flex-start;
  gap:12px;
  padding:15px 16px;
  border-radius:16px;
  background:#f8fbff;
  border:1px solid #dbe7f3;
}
.acceptance-list input{
  width:18px;
  height:18px;
  margin-top:2px;
}
.form-submit-panel{
  display:flex;
  justify-content:space-between;
  gap:24px;
  align-items:center;
  padding:24px;
  border-radius:24px;
  background:linear-gradient(135deg,#071d35,#0b4778);
  color:#fff;
}
.form-submit-panel p{
  margin:6px 0 0;
  color:rgba(255,255,255,.76);
  line-height:1.55;
}
.form-submit-panel button{
  min-height:54px;
  border:0;
  border-radius:16px;
  padding:0 28px;
  background:#f7c42c;
  color:#082244;
  font-weight:1000;
  cursor:pointer;
}
@media(max-width:980px){
  .adhesion-hero-inner,
  .conditions-grid{
    grid-template-columns:1fr;
  }
  .adhesion-card-showcase{
    min-height:auto;
  }
  .adhesion-benefits{
    grid-template-columns:repeat(2,1fr);
  }
  .form-grid{
    grid-template-columns:1fr 1fr;
  }
  .membership-types{
    grid-template-columns:repeat(2,1fr);
  }
  .form-submit-panel{
    display:block;
  }
  .form-submit-panel button{
    width:100%;
    margin-top:18px;
  }
}
@media(max-width:620px){
  .adhesion-hero,
  .adhesion-section,
  .adhesion-form-section{
    padding:58px 22px;
  }
  .adhesion-hero h1{
    font-size:2.65rem;
  }
  .adhesion-benefits,
  .form-grid,
  .membership-types{
    grid-template-columns:1fr;
  }
  .member-form{
    padding:22px;
    border-radius:24px;
  }
  .form-conditional{
    padding:18px;
    border-radius:18px;
  }
  .adhesion-card-showcase img{
    transform:none;
  }
}

/* V82.4 — Conditions statutaires, schéma d’adhésion et catégories */
.adhesion-process{
  margin-top:34px;
  background:#fff;
  border:1px solid #dbe7f3;
  border-radius:30px;
  padding:28px;
  box-shadow:0 18px 46px rgba(9,34,66,.07);
}
.adhesion-process-head{
  max-width:760px;
  margin-bottom:22px;
}
.adhesion-process-head h3{
  margin:10px 0 0;
  color:#071d35;
  font-size:clamp(1.6rem,3vw,2.4rem);
  line-height:1.08;
}
.process-steps{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:16px;
}
.process-steps article{
  position:relative;
  background:#f8fbff;
  border:1px solid #dbe7f3;
  border-radius:22px;
  padding:22px;
}
.process-steps article span{
  display:inline-flex;
  width:38px;
  height:38px;
  align-items:center;
  justify-content:center;
  border-radius:999px;
  background:#0b4778;
  color:#fff;
  font-weight:1000;
  margin-bottom:14px;
}
.process-steps article b{
  display:block;
  color:#071d35;
  font-size:1.05rem;
  margin-bottom:8px;
}
.process-steps article p{
  color:#64758b;
  line-height:1.6;
  margin:0;
}
.auto-tags{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-top:16px;
}
.auto-tag{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:0 14px;
  border-radius:999px;
  font-weight:900;
  border:1px solid #dbe7f3;
}
.auto-tag.muted{
  background:#f8fbff;
  color:#64758b;
}
.auto-tag.active{
  background:#0b4778;
  color:#fff;
  border-color:#0b4778;
}
@media(max-width:980px){
  .process-steps{
    grid-template-columns:repeat(2,1fr);
  }
}
@media(max-width:620px){
  .process-steps{
    grid-template-columns:1fr;
  }
  .adhesion-process{
    padding:20px;
    border-radius:24px;
  }
}



/* V83.1 — Correctif Chrome / Safari / mobile */
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
body{overflow-x:hidden}

.member-form input,
.member-form select,
.member-form textarea,
.member-form button{
  -webkit-appearance:none;
  appearance:none;
  box-sizing:border-box;
  width:100%;
  max-width:100%;
  font-family:inherit;
  font-size:16px;
}

.member-form input,
.member-form select,
.member-form textarea{
  min-height:52px;
  border:1.5px solid #d6e2ef!important;
  border-radius:14px!important;
  background:#fff!important;
  color:#071d35!important;
  padding:0 15px!important;
  outline:none!important;
  box-shadow:none!important;
}

.member-form select{
  background-image:linear-gradient(45deg,transparent 50%,#0b4778 50%),linear-gradient(135deg,#0b4778 50%,transparent 50%);
  background-position:calc(100% - 20px) 22px,calc(100% - 14px) 22px;
  background-size:6px 6px,6px 6px;
  background-repeat:no-repeat;
  padding-right:38px!important;
}

.member-form input:focus,
.member-form select:focus,
.member-form textarea:focus{
  border-color:#0b4778!important;
  box-shadow:0 0 0 4px rgba(11,71,120,.10)!important;
}

.member-form input[type=file]{
  min-height:52px;
  padding:12px 14px!important;
  line-height:1.2;
}

.member-form label{min-width:0}
.form-grid{align-items:start}

@media(max-width:900px){
  .site-header{position:relative!important;display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:16px!important;padding:18px 22px!important}
  .site-header .brand,.brand{width:100%!important;display:flex!important;align-items:center!important;gap:12px!important}
  .site-header .brand img,.brand img{width:62px!important;height:62px!important;flex:0 0 auto!important}
  .site-header .brand b,.brand b{display:block!important;font-size:1.55rem!important;line-height:1.05!important;white-space:normal!important}
  .site-header nav,.nav{width:100%!important;display:flex!important;flex-wrap:wrap!important;gap:10px!important;justify-content:flex-start!important;overflow:visible!important}
  .site-header nav a,.nav a{flex:0 1 auto!important;font-size:.95rem!important;padding:11px 14px!important;border-radius:999px!important}
}

@media(max-width:760px){
  .adhesion-form-section{padding:46px 16px!important}
  .adhesion-head{margin-bottom:26px!important}
  .adhesion-head h2{font-size:2.15rem!important;line-height:1.05!important}
  .member-form{width:100%!important;padding:18px!important;border-radius:22px!important;overflow:hidden!important}
  .member-form legend{font-size:1.18rem!important;line-height:1.25!important}
  .form-grid{grid-template-columns:1fr!important;gap:14px!important}
  .form-conditional{padding:16px!important;border-radius:18px!important}
  .membership-types{grid-template-columns:1fr!important;gap:10px!important}
  .membership-types span{min-height:54px!important}
  .auto-tags{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  .auto-tag{width:100%!important;justify-content:center!important}
  .acceptance-list label{align-items:flex-start!important;font-size:.95rem!important}
  .acceptance-list input[type=checkbox]{width:20px!important;min-width:20px!important;height:20px!important;min-height:20px!important;padding:0!important;border-radius:5px!important;-webkit-appearance:auto!important;appearance:auto!important}
  .form-submit-panel{padding:18px!important;border-radius:20px!important}
  .form-submit-panel button{width:100%!important;min-height:54px!important;margin-top:16px!important}
}

@media(max-width:420px){
  .site-header{padding:16px 18px!important}
  .site-header .brand img,.brand img{width:58px!important;height:58px!important}
  .site-header .brand b,.brand b{font-size:1.35rem!important}
  .site-header nav a,.nav a{font-size:.88rem!important;padding:10px 12px!important}
  .adhesion-head h2{font-size:1.95rem!important}
  .member-form{padding:16px!important}
}
