/* KIWANIS 3 FORÊTS — identité élégante, lisible et adaptée aux mobiles. */
:root {
  font-family: "Segoe UI", Inter, Arial, Helvetica, sans-serif;
  font-size: 16px;
  color: #17365a;
  background: #eaf1f8;
  --blue: #08366d;
  --blue-deep: #062a56;
  --gold: #e6b646;
  --gold-light: #f9e6b2;
  --line: #d4dfed;
  --bg: #eaf1f8;
  --white: #fff;
  --shadow: 0 5px 18px rgba(9, 43, 81, .09);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-height: 100vh; background: linear-gradient(180deg,#f0f5fa 0%,#e7f0f9 55%,#eaf1f8 100%); }
button, input, textarea, select { font: inherit; }
button { cursor: pointer; -webkit-tap-highlight-color: transparent; }
button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 3px solid #d49d23; outline-offset: 3px;
}
/* En-tête compact et distinctif : menu / nom / logo du club */
.top {
  color: #fff;
  background: linear-gradient(118deg, #05264e 0%, #083b76 65%, #0a376d 100%);
  border-bottom: 5px solid var(--gold);
  box-shadow: 0 5px 18px rgba(4, 32, 72, .13);
}
.top-inner {
  max-width: 1050px;
  height: 128px;
  margin: auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.menu-button {
  width: 52px; height: 52px; flex: 0 0 52px;
  display: grid; place-items: center;
  border: 1px solid rgba(255,255,255,.26);
  border-radius: 14px;
  color: #fff;
  background: rgba(255,255,255,.09);
  transition: background .2s ease, border-color .2s ease;
}
.menu-button:hover { background: rgba(255,255,255,.17); border-color: rgba(255,255,255,.45); }
.menu-lines { display: flex; flex-direction: column; gap: 6px; }
.menu-lines span { width: 23px; height: 2px; border-radius: 2px; background: #fff; }
.brand-block { margin-left: auto; display: flex; align-items: center; justify-content: flex-end; gap: 18px; min-width: 0; }
.brand-text { text-align: right; min-width: 0; }
.brand-title { font-family: Georgia, "Times New Roman", serif; font-size: clamp(1.8rem,3vw,2.7rem); line-height: 1.08; font-weight: 700; letter-spacing: .09em; color: #fff; }
.brand-subtitle { margin-top: 8px; font-size: clamp(.85rem,1.4vw,1.08rem); font-weight: 600; letter-spacing: .045em; color: #f0c663; white-space: nowrap; }
.brand { width: 106px; height: 106px; object-fit: contain; border-radius: 50%; background: #fff; padding: 3px; flex: 0 0 auto; box-shadow: 0 2px 14px rgba(0,0,0,.16); }
.nav { background:#fff; box-shadow:var(--shadow); padding: 13px 18px; display:flex; flex-wrap:wrap; gap:9px; justify-content:center; }
.nav[hidden] { display: none; }
.nav button { border:1px solid #dbe5f0; background:#f4f7fb; padding:12px 19px; border-radius:12px; color:var(--blue-deep); font-weight:650; min-height:46px; }
.nav button:hover { background: #e7f0fa; }
/* Pages et typographie */
.content { width:min(940px,calc(100% - 36px)); margin: 30px auto 52px; min-height:55vh; }
.content > h1.page-title { margin: 0 0 6px; font-family:Georgia,"Times New Roman",serif; font-size:2.2rem; font-weight:700; color:var(--blue-deep); letter-spacing:-.025em; }
.page-title { display:flex; align-items:center; justify-content:space-between; gap:12px; margin:0 0 22px; }
.page-title h1 { margin:0; font-family:Georgia,"Times New Roman",serif; font-size:2rem; color:var(--blue-deep); }
.subtitle { color:#5b708a; margin:7px 0 26px; font-size:1.08rem; line-height:1.5; }
.section-title { margin:32px 0 15px; font-family:Georgia,"Times New Roman",serif; font-size:1.55rem; color:var(--blue-deep); }
/* Grandes rubriques sans émojis multicolores */
.grid-main { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
.tile { border:1px solid rgba(255,255,255,.15); background:linear-gradient(145deg,#0a427f 0%,#073065 100%); color:#fff; border-radius:19px; min-height:155px; padding:24px 12px; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:14px; font-size:1.25rem; font-weight:700; letter-spacing:.01em; box-shadow:0 8px 19px rgba(9,46,96,.15); transition: transform .15s,box-shadow .15s; }
.tile:hover { transform:translateY(-2px); box-shadow:0 11px 21px rgba(9,46,96,.23); }
.tile:active { transform:translateY(0); }
.tile .emoji { font-size:0; height:39px; width:39px; display:block; position:relative; }
.tile .emoji::after { content:""; display:block; width:39px; height:39px; background:#f1bf55; -webkit-mask-position:center; mask-position:center; -webkit-mask-size:contain; mask-size:contain; -webkit-mask-repeat:no-repeat; mask-repeat:no-repeat; }
.grid-main .tile:nth-child(1) .emoji::after { -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M16 3v4M8 3v4M3 10h18'/%3E%3C/svg%3E"); }
.grid-main .tile:nth-child(2) .emoji::after { -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1.1-1.1a5.5 5.5 0 0 0-7.8 7.8L12 21l8.8-8.6a5.5 5.5 0 0 0 0-7.8Z'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.8 4.6a5.5 5.5 0 0 0-7.8 0L12 5.7l-1.1-1.1a5.5 5.5 0 0 0-7.8 7.8L12 21l8.8-8.6a5.5 5.5 0 0 0 0-7.8Z'/%3E%3C/svg%3E"); }
.grid-main .tile:nth-child(3) .emoji::after { -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7V5a2 2 0 0 1 2-2h5l2 3h7a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7V5a2 2 0 0 1 2-2h5l2 3h7a2 2 0 0 1 2 2v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2Z'/%3E%3C/svg%3E"); }
.grid-main .tile:nth-child(4) .emoji::after { -webkit-mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M16 3.2a4 4 0 0 1 0 7.6M22 21v-2a4 4 0 0 0-3-3.9'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3C/svg%3E"); mask-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2M16 3.2a4 4 0 0 1 0 7.6M22 21v-2a4 4 0 0 0-3-3.9'/%3E%3Ccircle cx='9' cy='7' r='4'/%3E%3C/svg%3E"); }
/* Blocs blancs en contraste avec le fond bleuté */
.card { background:var(--white); border:1px solid #d7e0ea; border-left:5px solid var(--gold); border-radius:18px; padding:23px; margin:16px 0; box-shadow:var(--shadow); }
.card h2 { color:var(--blue-deep); font-size:1.23rem; margin:0 0 12px; font-weight:750; line-height:1.35; }
.card p { margin:8px 0; line-height:1.55; }
.muted { color:#5c7188; }
.button { border:1px solid transparent; background:var(--blue); color:#fff; padding:13px 20px; border-radius:12px; font-weight:700; min-height:49px; box-shadow:0 3px 8px rgba(10,49,90,.08); transition:filter .15s ease,transform .15s ease; }
.button:hover { filter:brightness(1.05); }
.button:active { transform:scale(.99); }
.button.gold { background:linear-gradient(120deg,#efc65d,#dfab33); color:#142e50; border-color:#e6b84e; }
.button.outline { background:#fff; color:var(--blue); border:1.5px solid #b9cadd; box-shadow:none; }
.button.red { background:#ae3434; }
.button.small { font-size:.91rem; padding:9px 14px; min-height:42px; }
.button.full { width:100%; margin-top:20px; min-height:59px; font-size:1.06rem; }
.button:disabled { opacity:.55; cursor:not-allowed; }
.actions { display:flex; flex-wrap:wrap; gap:9px; margin-top:16px; }
.status { display:inline-block; border-radius:40px; background:#f2f5fa; border:1px solid #dce5ee; padding:7px 13px; font-size:.87rem; font-weight:700; color:#325476; }
.status.yes { background:#e5f4e9; color:#176138; border-color:#c8e5d2; }
.status.no { background:#fbeaea; color:#943737; border-color:#edc8c8; }
.field { display:grid; gap:7px; margin:15px 0; }
.field label { color:#17385d; font-weight:700; }
.field input,.field textarea,.field select,.search { border:1px solid #b9c9da; padding:13px 14px; border-radius:11px; background:#fff; width:100%; min-height:49px; color:#153657; }
.field textarea { min-height:100px; }
.filters { display:flex; flex-wrap:wrap; gap:9px; margin-bottom:18px; }
.filters button { background:#fff; color:var(--blue); border:1px solid #c8d7e7; padding:12px 17px; border-radius:11px; font-weight:700; min-height:46px; }
.filters button.active { background:var(--blue); color:#fff; border-color:var(--blue); }
.empty { padding:34px 20px; text-align:center; background:#fff; border:1px dashed #b8c9db; border-radius:18px; color:#536d87; box-shadow:0 3px 12px rgba(9,43,81,.04); line-height:1.55; }
.footer { border-top:1px solid #d8e4ef; padding:24px 12px 35px; text-align:center; color:#71859c; font-size:.81rem; letter-spacing:.025em; }
.demo-note { margin-top:9px; letter-spacing:normal; }
.pill { background:#f2f5f9; border-radius:8px; padding:9px 11px; display:inline-block; }
.search { margin-bottom:15px; }
.two-col { display:grid; grid-template-columns:1fr 1fr; gap:14px; }
.hidden { display:none!important; }
.detail { margin-top:16px; padding-top:14px; border-top:1px solid var(--line); }
.notice { background:#fff9e9; border:1px solid #ecdba9; border-radius:13px; padding:15px 17px; font-size:.91rem; color:#655429; margin-bottom:20px; line-height:1.5; }
.doc-row { display:flex; align-items:center; justify-content:space-between; gap:10px; }
.doc-row strong { display:block; }
.tiny { font-size:.87rem; }
/* Téléphone : informations et boutons restent lisibles même sur 320-360 px */
@media(max-width:560px) {
  .top-inner { height:105px; padding:0 13px; gap:10px; }
  .menu-button { width:46px; height:46px; flex-basis:46px; border-radius:12px; }
  .brand-block { gap:9px; }
  .brand { width:80px; height:80px; padding:2px; }
  .brand-title { font-size:clamp(1.23rem,5.5vw,1.65rem); letter-spacing:.055em; }
  .brand-subtitle { margin-top:5px; font-size:clamp(.68rem,2.8vw,.85rem); letter-spacing:0; }
  .content { width:calc(100% - 28px); margin:23px auto 34px; }
  .content > h1.page-title { font-size:2.05rem; }
  .subtitle { font-size:1rem; margin-bottom:22px; }
  .page-title { gap:8px; }
  .page-title h1 { font-size:1.53rem; }
  .card { padding:17px 16px; }
  .grid-main { gap:12px; }
  .tile { min-height:128px; font-size:1.04rem; padding:17px 8px; gap:10px; border-radius:16px; }
  .tile .emoji,.tile .emoji::after { width:32px; height:32px; }
  .two-col { grid-template-columns:1fr; gap:0; }
  .actions .button { flex:1 1 auto; }
  .nav { justify-content:stretch; }
  .nav button { width:calc(50% - 5px); }
  .page-title .button { font-size:.85rem; padding:9px 11px; }
  .section-title { font-size:1.4rem; }
  .button.full { font-size:1rem; padding:13px 10px; }
}
@media(max-width:355px) {
  .top-inner { padding:0 10px; gap:6px; }
  .brand { width:69px; height:69px; }
  .brand-block { gap:6px; }
  .brand-title { font-size:1.14rem; }
  .brand-subtitle { font-size:.66rem; }
  .menu-button { width:42px; height:42px; flex-basis:42px; }
  .tile { font-size:.98rem; }
}
@media(prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto!important; transition:none!important; } }
