/* =========================
   RESET & BASE
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.6;
  color: #222;
  background: #f4f6f8;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

/* =========================
   HEADER
========================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #ddd;
  z-index: 1000;
}

.header-inner {
  max-width: 1200px;
  margin: auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 40px;
}

nav {
  display: flex;
  gap: 20px;
}

nav a {
  font-size: 14px;
  font-weight: 600;
}

.langs {
  display: flex;
  gap: 8px;
  font-size: 13px;
}

.burger {
  display: none;
  font-size: 26px;
}

/* =========================
   SECTIONS
========================= */
section {
  padding: 70px 20px;
}

.container {
  max-width: 1200px;
  margin: auto;
}

.section-title {
  font-size: 26px;
  margin-bottom: 12px;
}

.section-intro {
  max-width: 720px;
  color: #555;
  margin-bottom: 30px;
}

/* =========================
   HERO / CHOIX
========================= */
.hero {
  margin-top: 80px;
  background: #ffffff;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.choice-box {
  background: #fafafa;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 28px;
}

.choice-box h2 {
  margin-bottom: 10px;
}

.choice-box p {
  font-size: 14px;
  color: #555;
  margin-bottom: 16px;
}

.choice-box button {
  padding: 12px 18px;
  border-radius: 6px;
  background: #f4a100;
  color: #fff;
  font-weight: 700;
}

.choice-box.pro button {
  background: #0b3c5d;
}

/* =========================
   ASSOCIATION
========================= */
.association {
  background: #0b3c5d;
  color: #ffffff;
  text-align: center;
}

.association a {
  display: inline-block;
  margin-top: 10px;
  color: #ffd27d;
  font-weight: 700;
}

/* =========================
   CARDS (ANNONCES / ENTRAIDE)
========================= */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.card {
  background: #ffffff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,.05);
}

.card h3 {
  font-size: 16px;
  margin-bottom: 8px;
}

.card p {
  font-size: 14px;
  color: #555;
}

/* =========================
   AIDE
========================= */
.help {
  background: #ffffff;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  text-align: center;
}

.help button {
  margin-top: 18px;
  padding: 12px 20px;
  border-radius: 6px;
  background: #0b3c5d;
  color: #ffffff;
  font-weight: 700;
}

/* =========================
   FOOTER
========================= */
footer {
  background: #222;
  color: #ccc;
  padding: 50px 20px;
}

.footer-grid {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px,1fr));
  gap: 30px;
}

footer h4 {
  color: #ffffff;
  margin-bottom: 10px;
}

/* =========================
   MODALS
========================= */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.modal-box {
  background: #ffffff;
  border-radius: 12px;
  padding: 24px;
  width: 90%;
  max-width: 420px;
}

.modal-box input,
.modal-box textarea,
.modal-box select {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
}

.modal-box button {
  width: 100%;
  padding: 12px;
  border-radius: 6px;
  background: #f4a100;
  color: #ffffff;
  font-weight: 700;
}

.close {
  float: right;
  font-size: 22px;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {

  nav {
    display: none;
    position: absolute;
    top: 60px;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    width: 220px;
    height: calc(100vh - 60px);
    padding: 20px;
    border-left: 1px solid #ddd;
  }

  nav.open {
    display: flex;
  }

  .burger {
    display: block;
  }

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

}
.help{
  background:#f5f7fa;
  padding:80px 20px;
}

.help .container{
  max-width:800px;
}

.help form{
  background:#fff;
  padding:30px;
  border-radius:14px;
  box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.help textarea{
  width:100%;
  min-height:140px;
  border:1px solid #ddd;
  border-radius:10px;
  padding:15px;
  font-size:16px;
  resize:vertical;
  outline:none;
  transition:.2s;
}

.help textarea:focus{
  border-color:#f4a300;
  box-shadow:0 0 0 3px rgba(244,163,0,.15);
}

.help button{
  margin-top:15px;
  background:#f4a300;
  color:#000;
  border:none;
  padding:14px 22px;
  border-radius:30px;
  font-size:16px;
  cursor:pointer;
}

.help button:hover{
  background:#e09500;
}

#helpResult{
  margin-top:20px;
  background:#eef6ff;
  padding:20px;
  border-radius:10px;
  font-size:15px;
}
.entraide-experience{
  position:relative;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;

  background:
    url("img/bg.png") center center / cover no-repeat;
}

.entraide-overlay{
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      rgba(0,0,0,0.55),
      rgba(0,0,0,0.55)
    );
}

.entraide-card{
  position:relative;
  z-index:2;
  max-width:700px;
  width:100%;
  padding:50px;
  border-radius:32px;

  background:rgba(255,255,255,0.92);
  box-shadow:0 40px 100px rgba(0,0,0,.35);

  animation:fadeUp .8s ease-out both;
}

.entraide-card h2{
  font-size:36px;
  text-align:center;
  margin-bottom:10px;
}

.entraide-card .lead{
  text-align:center;
  font-size:17px;
  color:#555;
  margin-bottom:35px;
}

.entraide-card form{
  display:flex;
  flex-direction:column;
  gap:18px;
}

.entraide-card input,
.entraide-card textarea{
  width:100%;
  padding:16px 18px;
  border-radius:18px;
  border:1px solid #ddd;
  font-size:16px;
}

.entraide-card textarea{
  min-height:120px;
  resize:none;
}

.field-row{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:15px;
}

.cta-xl{
  margin-top:15px;
  padding:18px;
  font-size:18px;
  border-radius:40px;
  border:none;
  cursor:pointer;
  background:linear-gradient(135deg,#000,#333);
  color:#fff;
  transition:.3s;
}

.cta-xl:hover{
  transform:translateY(-3px);
  box-shadow:0 20px 50px rgba(0,0,0,.4);
}

@keyframes fadeUp{
  from{
    opacity:0;
    transform:translateY(40px);
  }
  to{
    opacity:1;
    transform:none;
  }
}

@media(max-width:768px){
  .entraide-card{
    padding:35px 25px;
    margin:20px;
  }
  .field-row{
    grid-template-columns:1fr;
  }
}
.initiative-band{
  position:relative;
  height:180px;
  background:
    linear-gradient(
      rgba(6,22,44,0.92),
      rgba(6,22,44,0.92)
    ),
    url("img/how2.png") center center / cover no-repeat;
}

.initiative-content{
  max-width:1200px;
  height:100%;
  margin:auto;
  padding:0 30px;

  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;

  color:#fff;
}

.initiative-content p{
  font-size:20px;
  font-weight:500;
  margin:0;
  max-width:700px;
}

.initiative-btn{
  background:transparent;
  border:2px solid rgba(255,255,255,0.85);
  color:#fff;
  padding:14px 28px;
  border-radius:40px;
  font-size:15px;
  text-decoration:none;
  transition:.25s;
  white-space:nowrap;
}

.initiative-btn:hover{
  background:#fff;
  color:#06162c;
}

@media(max-width:900px){
  .initiative-band{
    height:auto;
    padding:40px 0;
  }

  .initiative-content{
    flex-direction:column;
    text-align:center;
  }

  .initiative-content p{
    font-size:18px;
  }
}