:root {
  --blue: #073b8c;
  --gold: #ffca05;
  --dark: #1b2b45;
  --muted: #52627a;
  --light: #f5f7fa;
  --line: #dce2eb;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color: var(--dark);
  background: white;
  line-height: 1.6;
}
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
.container { max-width: 1150px; margin: auto; padding: 0 25px; }

.header {
  background: white;
  border-bottom: 1px solid var(--line);
}
.header-inner {
  min-height: 85px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.logo { display: flex; align-items: center; gap: 13px; font-size: 20px; font-weight: 650; }
.logo-icon {
  background: var(--blue);
  color: white;
  border-radius: 13px;
  padding: 8px 11px;
  font-weight: 850;
}
.logo-icon span { color: #ffca05; }
.language-picker { display: flex; align-items: center; gap: 8px; }
.language-picker button {
  border: 0;
  background: transparent;
  color: var(--muted);
  padding: 8px 4px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.language-picker button.selected {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 5px;
}
button:focus-visible, a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
}

.hero {
  background: var(--light);
  padding: 95px 0;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 55px;
  align-items: center;
}
.eyebrow {
  color: var(--blue);
  font-weight: 850;
  font-size: 12px;
  letter-spacing: 2px;
}
h1 {
  font-size: clamp(38px, 5vw, 64px);
  line-height: 1.12;
  letter-spacing: -1.8px;
  margin: 20px 0 24px;
  color: var(--blue);
}
h1 em {
  color: var(--blue);
  font-style: normal;

  text-decoration: none;
}
.hero p {
  font-size: 18px;
  color: var(--muted);
  max-width: 600px;
  margin-bottom: 32px;
}
.button {
  display: inline-flex;
  align-items: center;
  gap: 15px;
  background: var(--blue);
  color: white;
  padding: 15px 24px;
  border-radius: 10px;
  font-weight: 750;
}
.button:hover { background: #052b66; }
.hero-art {
  background: white;
  border: 1px solid var(--line);
  border-radius: 30px;
  min-height: 340px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 25px;
  box-shadow: 0 20px 55px #073b8c12;
}
.art-circle {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: var(--blue);
  display: grid;
  place-items: center;
  color: white;
  font-size: 100px;
}
.art-caption { font-weight: 700; color: var(--muted); text-align: center; }

.section { padding: 90px 0; }
h2 {
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.2;
  color: var(--blue);
  margin: 16px 0 18px;
}
.intro { max-width: 750px; font-size: 18px; color: var(--muted); }
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 45px;
}
.card {
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  background: white;
}
.card-icon { font-size: 36px; color: var(--blue); }
.card h3 { font-size: 23px; margin: 15px 0 10px; color: var(--blue); }
.card p { color: var(--muted); margin: 0; }
.contact { background: var(--light); }
.contact-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 35px;
}
.contact-inner p { max-width: 620px; color: var(--muted); font-size: 17px; }
.contact-mark { font-size: 85px; font-weight: 900; color: #dce2eb; white-space: nowrap; }

.footer { border-top: 1px solid var(--line); padding: 25px 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}
.footer a:hover { color: var(--blue); }

@media (max-width: 750px) {
  .container { padding: 0 20px; }
  .header-inner { min-height: 75px; }
  .logo { font-size: 17px; }
  .hero { padding: 60px 0; }
  .hero-inner { grid-template-columns: 1fr; gap: 35px; }
  .hero-art { min-height: 240px; }
  .art-circle { width: 125px; height: 125px; font-size: 75px; }
  .section { padding: 60px 0; }
  .cards { grid-template-columns: 1fr; gap: 15px; }
  .contact-mark { display: none; }
  .footer-inner { flex-direction: column; }
}

.site-nav {display:flex;gap:22px;align-items:center;font-weight:650}
.site-nav a:hover {color:var(--blue)}
@media(max-width:750px) {
.header-inner {flex-wrap:wrap;padding-top:12px;padding-bottom:12px}
.site-nav {order:3;width:100%;justify-content:center;gap:18px;font-size:14px}
}

.site-nav[hidden]{display:none!important}

/* MOBILE IMPROVEMENTS */
@media (max-width: 750px) {
  .header-inner { column-gap: 10px; row-gap: 4px; }
  .logo { gap: 8px; font-size: 16px; min-width: 0; }
  .logo img { width: 38px !important; height: 38px !important; }
  .language-picker { margin-left: auto; flex-shrink: 0; white-space: nowrap; }
  .language-picker button { min-height: 44px; min-width: 35px; }
  .site-nav {
    gap: 8px !important;
    justify-content: space-between !important;
    padding-bottom: 5px;
  }
  .site-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
    white-space: nowrap;
  }
}

.hero-actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; }
.hero-actions .hero-outline {
  background:transparent;
  color:var(--blue);
  border:2px solid var(--blue);
}
@media(max-width:750px) {
  .hero-actions { flex-direction:column; align-items:stretch; }
  .hero-actions .button { text-align:center; }
}

/* HELP REQUEST FORM */
.help-section { background: var(--light); }
.help-grid { display:grid; grid-template-columns:0.85fr 1.15fr; gap:40px; align-items:start; }
.help-intro h2 { margin:14px 0; }
.help-intro p { line-height:1.7; }
.help-free { color:#073b8c; font-weight:700; }
.help-form {
  background:white; padding:30px; border-radius:22px;
  border:1px solid #dce2eb; box-shadow:0 10px 35px #073b8c0d;
}
.help-fields { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.help-form label { display:block; font-weight:650; margin-bottom:14px; }
.help-form input,.help-form select,.help-form textarea {
  display:block; width:100%; box-sizing:border-box; margin-top:7px;
  padding:12px; border:1px solid #7c8ba2; border-radius:9px;
  font:inherit; background:white; color:#1b2b45;
}
.help-form textarea { resize:vertical; }
.help-form input:focus,.help-form select:focus,.help-form textarea:focus {
  outline:2px solid #073b8c; outline-offset:1px;
}
.help-form button { width:100%; }
.help-form button:disabled { opacity:.55; cursor:not-allowed; }
.help-privacy,.help-pending { font-size:13px; color:#52627a; }
@media(max-width:750px) {
  .help-grid,.help-fields { grid-template-columns:1fr; }
  .help-grid { gap:22px; }
  .help-form { padding:20px; }
}

/* HELP ICON BUTTONS */
.help-response {
  margin-top: 18px;
  padding: 14px 18px;
  background: #eef2f7;
  border-radius: 12px;
  color: #073b8c;
  font-weight: 700;
}
.help-service-tiles {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
.help-service-tile {
  min-width: 0;
  min-height: 112px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 5px;
  background: #f5f7fa;
  border: 2px solid #dce2eb;
  border-radius: 14px;
  color: #1b2b45;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}
.help-service-tile img {
  width: 56px;
  height: 56px;
}
.help-service-tile[aria-pressed="true"] {
  border-color: #073b8c;
  background: #fff7d6;
  box-shadow: 0 0 0 2px #073b8c22;
}
.help-service-tile:hover {
  border-color: #073b8c;
}
@media (max-width: 750px) {
  .help-service-tiles {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* REAL ORGANIZATION LOGOS */
.help-service-tile img {
  width: 100%;
  max-width: 95px;
  height: 65px;
  object-fit: contain;
}
.help-service-tile img[src*="caf-officiel"] {
  max-width: 65px;
}
.help-service-tile {
  min-height: 130px;
  background: #fff;
}

.help-confirmation {
  background: #edf2fa;
  border: 2px solid #073b8c;
  border-radius: 20px;
  padding: 30px;
  color: #073b8c;
  line-height: 1.7;
}
.help-confirmation h3 { margin-top: 0; }
.help-error {
  color: #b42318;
  font-weight: 700;
  margin-top: 14px;
}

.antispam-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.help-form .tg-consent {
  display:flex;
  align-items:flex-start;
  gap:12px;
  font-size:13px;
  line-height:1.5;
}
.help-form .tg-consent input[type="checkbox"] {
  width:20px;
  height:20px;
  padding:0;
  margin:1px 0 0;
  flex-shrink:0;
}

/* ABOUT US */
.about-who { background: #ffffff; }
.about-who .intro { max-width: 850px; }
.about-who-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin: 30px 0;
}
.about-who-grid article {
  background: white;
  border: 1px solid #dce2eb;
  border-radius: 20px;
  padding: 26px;
  box-shadow: 0 8px 24px rgba(7,59,140,.05);
}
.about-who-grid article span { font-size: 34px; }
.about-who-grid h3 { margin: 15px 0 10px; }
.about-who-grid p { line-height: 1.7; }
@media (max-width:750px) {
  .about-who-grid { grid-template-columns: 1fr; gap: 15px; }
}

/* OFFICIAL ASSOCIATION SECTION */
.ss-subtitle {
  margin: 40px 0 20px;
  font-size: clamp(24px, 3vw, 32px);
}
.about-who p {
  line-height: 1.75;
}
.about-who .intro {
  font-size: 1.15rem;
}
.ss-free {
  margin: 28px 0;
  padding: 20px 24px;
  background: #fff7d6;
  border-radius: 16px;
  color: #073b8c;
  font-weight: 700;
}
.ss-team {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  margin: 20px 0 36px;
}
.ss-person {
  background: white;
  border: 1px solid #dce2eb;
  border-radius: 20px;
  padding: 32px 20px;
  text-align: center;
  box-shadow: 0 8px 24px rgba(7,59,140,.05);
}
.ss-avatar {
  width: 105px;
  height: 105px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  font-weight: 800;
}
.ss-person h4 {
  margin: 0 0 10px;
  overflow-wrap: anywhere;
  font-size: 1.2rem;
}
.ss-person p {
  margin: 0;
}
.ss-official {
  display: flex;
  flex-direction: column;
  gap: 9px;
  background: #f5f7fa;
  border-radius: 18px;
  padding: 24px;
  margin: 35px 0;
}
.ss-official small {
  color: #52627a;
}
@media (max-width: 700px) {
  .ss-team {
    grid-template-columns: 1fr;
  }
}

/* SOURDS SOLIDAIRES NEW EMBLEM */
.header .logo img { width:64px !important; height:64px !important; object-fit:contain; }
.brand-hero { width:240px; max-width:85%; }
.brand-hero img { display:block; width:100%; height:auto; }
@media(max-width:750px) {
  .header .logo img { width:44px !important; height:44px !important; }
  .brand-hero { width:180px; }
}

/* Floating WhatsApp contact */
body { padding-bottom: calc(96px + env(safe-area-inset-bottom, 0px)); }
.ss-whatsapp {
  position: fixed;
  right: max(20px, env(safe-area-inset-right, 0px));
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 1000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 20px;
  box-sizing: border-box;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #073b8c;
  color: #fff;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  box-shadow: 0 6px 22px #073b8c26;
}
.ss-whatsapp svg { flex: 0 0 28px; }
.ss-whatsapp span { color: inherit; }
.ss-whatsapp:hover { background: #052b66; color: #fff; }
.ss-whatsapp:focus-visible { outline: 3px solid #073b8c; outline-offset: 4px; }
@media(max-width:600px) {
  .ss-whatsapp {
    right: max(12px, env(safe-area-inset-right, 0px));
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    padding: 0 16px;
  }
}

/* WhatsApp invitations in both languages */
.ss-whatsapp { max-width: calc(100vw - 40px); padding-top: 10px; padding-bottom: 10px; }
.ss-whatsapp .ss-wa-copy { display: flex; flex-direction: column; gap: 3px; }
.ss-whatsapp .ss-wa-uk { display: none; }
html[lang="uk"] .ss-whatsapp .ss-wa-fr { display: none; }
html[lang="uk"] .ss-whatsapp .ss-wa-uk { display: flex; }
.ss-whatsapp .ss-wa-prompt { font-size: 14px; line-height: 1.35; }
.ss-whatsapp .ss-wa-channel { font-size: 12px; font-weight: 500; }
.ss-whatsapp-inline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  box-sizing: border-box;
  max-width: 100%;
  margin: 4px 0 12px;
  padding: 12px 18px;
  border-radius: 12px;
  background: #073b8c;
  color: #fff;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}
.ss-whatsapp-inline:hover { background: #052b66; color: #fff; }
.ss-whatsapp-inline:focus-visible {
  outline: 3px solid #073b8c;
  outline-offset: 4px;
}
@media(max-width:600px) {
  .ss-whatsapp { max-width: calc(100vw - 24px); }
}

/* WhatsApp icon in help buttons */
.ss-whatsapp-inline { gap: 10px; }
.ss-whatsapp-inline svg { display: block; flex: 0 0 24px; }
.ss-whatsapp-inline span { color: inherit; }

/* CONTACT SOCIAL ICONS */
.contact .ss-contact-social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.contact .ss-contact-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
}
.contact .ss-contact-social svg {
  display: block;
  flex-shrink: 0;
}
.contact .ss-contact-social a:hover {
  color: var(--blue);
  background: #edf2fa;
}
.contact .ss-contact-social a:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

/* WhatsApp contact buttons */
.ss-whatsapp,
.ss-whatsapp-inline {
  background: #25d366;
  color: #fff;
}
.ss-whatsapp:hover,
.ss-whatsapp-inline:hover {
  background: #128c7e;
  color: #fff;
}

/* ABOUT BUTTONS SAME COLOR */
#about-fr a.button,
#about-uk a.button {
  background: #052b66;
}
