:root{
  --max: 1500px;
  --text: #111;
  --muted: #6b7280;
  --line: rgba(0,0,0,.10);
  --bg: #fafafa;
  --card: #fff;
  --accent: #1877f2;
}

/* Base */
*{ box-sizing:border-box; }
html, body{ margin:0; padding:0; }
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size: 18px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.45;
}


/* ===== Header ===== */
.site-header{
  background: #2f5d50;/*teal */
}

.header-top{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.5rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.header-top img{
  width: 200px;
  /*height: 200px;*/
  /*object-fit: contain;*/
}

.title .titlename{
  display:inline-block;
  font-weight: 800;
  line-height: 1.15;
  font-style: oblique;
  font-size: 2.5rem;
  color: white;
}

/* Menu horizontal light */
.menuH{
  color:blue;
  max-width: var(--max);
  margin: 20px 0px 0px 0px;
  /*padding: .35rem 1rem .75rem;*/
  display:flex;
  align-items:center;
  justify-content:center;
  gap: .35rem;
  flex-wrap: wrap;
}

.menuH a{
  text-decoration:none;
  background-color: white;
  color:black;
  font-weight: 650;
  font-size: .95rem;
  padding: .42rem .72rem;
  border-radius: 999px;
  transition: background .15s ease, transform .15s ease;
}

.menuH a:hover{
  background: darkgray;
  transform: translateY(-1px);
}

.site-header hr{
  border: 0;
  border-top: 1px solid var(--line);
  margin: 0;
}

/* ===== Layout 2 colonnes ===== */
.layout{
  max-width: var(--max);
  margin: 0 auto;
  padding: 1rem;
  display:flex;
  gap: 1.2rem;
  align-items:flex-start;
}

.leftSide{
  width: 250px;
  flex: 0 0 280px;
}

.main{
  flex: 1 1 auto;
  min-width: 0;
  border-style: none none none solid;
  border-width: 1px;
  border-color: #aaa;
}

/* Responsive : 1 colonne */
@media (max-width: 900px){
  .menuH{ justify-content:flex-start; }
  .layout{ flex-direction:column; }
  .menu{ width: 100%; flex: none; }
}

/* ===== Ressources / Social ===== */
.social-links{
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  margin-bottom: .6rem;
}

.social-links a{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.6em;
  height: 1.6em;
  font-size: 1.8rem;
  padding: 0;
  text-decoration: none;
}

.social-links .fa-facebook{ color:#1877f2; }
.social-links .fa-instagram{ color:#e4405f; }

/* Docs */
.docs{
  display:flex;
  flex-direction:column;
  gap:.6rem;
}

figure{
  margin: .6rem 0 0;
  text-align: left;
}

figure img{
  /*width: 100px;*/
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

.download-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .35rem;
  padding: 0.35rem 0.8rem;   /* ↓ padding */
  font-size: 0.9rem;        /* ↓ texte */
  background: var(--accent);
  color: #fff;
  border-radius: 999px;
  font-weight: 550;
  text-decoration: none;
}

.download-btn:hover{
  filter: brightness(.95);
}

/* Titres (simple & propre) */
h1, h2, h3, h4{ margin: 0.9rem 0 0.4rem; }
h1{ font-size: 1.6rem; }
h2{ font-size: 1.25rem; }
h3{ font-size: 1.05rem; font-style: italic; }
h4{ font-size: 1rem; }

/* ===== Countdown tiles ===== */
.notes{
  /*display:flex;*/
  flex-wrap: wrap;
  gap: .6rem;
  align-items: center;
}

@font-face {
  font-family: "DSEG7";
  src: url("fonts/DSEG7Classic-Regular.woff2") format("woff2");
  font-display: swap;
}

.decompte {
  font-family: "DSEG7", monospace;
  font-size: 1,2rem;
  letter-spacing: .06em;
  color: #ffb347;                 /* ambre */
  background: #120b05;
  padding: .2rem .5rem;
  border-radius: 12px;
  text-shadow:
    0 0 6px rgba(255,170,80,.6),
    0 0 14px rgba(255,140,40,.4),
    0 0 24px rgba(255,120,20,.25);
}

.done{
  width: 100%;
  margin-top: .4rem;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(24,119,242,.10);
  border: 1px solid rgba(24,119,242,.25);
  display: none;
  color: #0b57d0;
}

/* ===== Facebook-like posts ===== */
.fb-feed{
  max-width: 720px;
  margin: 18px auto;
  padding: 0;
  display: grid;
  gap: 14px;
}

.fb-card{
  background: var(--card);
  border: 1px solid #e6e7eb;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,.06);
}

.fb-head{
  padding: 12px 14px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.fb-title{ font-weight: 700; font-size: 0.98rem; }
.fb-time{ font-size: 0.85rem; color: #6b7280; white-space: nowrap; }

.fb-img{
  display: block;
  width: 100%;
  height: auto;
  background: #f3f4f6;
}

.fb-body{
  padding: 12px 14px 14px;
  font-size: 0.98rem;
  line-height: 1.35;
}

.fb-body p{ margin: 0 0 10px; }

.fb-body a{
  color: var(--accent);
  text-decoration: none;
  font-weight: 650;
}
.fb-body a:hover{ text-decoration: underline; }

/* ===== SweetAlert form ===== */
.swal2-popup .form{
  display:flex;
  flex-direction:column;
  gap:.7rem;
}

.swal2-popup .input,
.swal2-popup textarea{
  width:100%;
  padding:.55rem .7rem;
  font-size:.95rem;
  border-radius:10px;
  border:1px solid rgba(0,0,0,.20);
  font:inherit;
}

.swal2-popup textarea{
  min-height:110px;
  resize:vertical;
}

.swal2-popup #contactBtn{
  width: fit-content;
  padding: .55rem 1.2rem;
  border-radius: 999px;
  border: none;
  background: var(--accent);
  color: #fff;
  font-weight: 650;
  cursor: pointer;
}

.swal2-popup #contactStatus{
  display:block !important;
  min-height: 1.2em !important;
  margin: .4rem 0 0 !important;
  color: #111 !important;
  font-size: .95rem !important;
  background: transparent !important;
}

/* Footer */
.site-footer{
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.2rem 1rem 2rem;
  color:#666;
  text-align:center;
}

/* Give the calendar a little breathing room inside the modal */
.swal-calendar {
  margin-top: .5rem;
}

/* Optional: round events a bit */
.swal-calendar .fc-event {
  border-radius: 999px;
  padding: 2px 6px;
  font-size: .85rem;
}

