/* ============================================================
   Compagnie d'Arc de Pantin — styles.css (refonte propre)
   - Dark par défaut
   - Accueil: <body class="theme-light">
   - Header: burger responsive + dropdown
   ============================================================ */

/* -------------------------
   1) Variables & Reset
------------------------- */
:root{
  /* Dark theme */
  --bg: #0b0f14;
  --surface: #0f1520;
  --card: #121a28;
  --text: #e7eef8;
  --muted: #9fb0c7;

  /* Pantin colors */
  --primary: #17a34a;   /* green */
  --accent:  #7c3aed;   /* violet */
  --green:   #2e8b57;   /* alias (pages équipe etc.) */

  /* Effects */
  --shadow: rgba(0,0,0,.35);
  --ring: rgba(124,58,237,.45);

  /* Layout */
  --max: 1100px;
  --pad: 20px;
  --radius: 16px;
}

*,
*::before,
*::after{ box-sizing: border-box; }

html,body{ margin:0; padding:0; }
html{ overflow-x:hidden; }
body{
  overflow-x:hidden;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, "Helvetica Neue", Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background:
    radial-gradient(1200px 800px at 20% -10%, rgba(124,58,237,.12), transparent 40%),
    radial-gradient(900px 600px at 120% 10%, rgba(23,163,74,.12), transparent 50%),
    var(--bg);
  line-height: 1.6;
}

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

a{ color: inherit; }

/* Container stable */
.container{
  width: min(var(--max), 100% - (var(--pad) * 2));
  margin-inline: auto;
}

/* -------------------------
   2) Topbar + Navigation
------------------------- */
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;

  background: linear-gradient(180deg, rgba(15,21,32,.9), rgba(15,21,32,.75));
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.topbar .nav{
  position: relative; /* nécessaire pour le panneau mobile */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
  min-width: 0;
}
.brand-logo{
  font-size: 28px;
  filter: drop-shadow(0 6px 12px rgba(124,58,237,.3));
}
.brand-title{
  font-weight: 800;
  letter-spacing: .2px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 55vw;
}
.brand-sub{
  font-size: 12px;
  color: var(--muted);
}

/* Burger (visible en mobile) */
.burger{
  display: none;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 12px;
}

/* Menu desktop */
.navlinks{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap: wrap;
}

.navlinks a,
.dropbtn{
  text-decoration:none;
  color: var(--text);
  font-weight: 700;

  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(180deg, rgba(18,26,40,.8), rgba(9,13,20,.7));
  box-shadow: 0 4px 10px var(--shadow), inset 0 0 0 1px rgba(255,255,255,.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}

.navlinks a:hover,
.dropbtn:hover{
  transform: translateY(-1px);
  border-color: rgba(124,58,237,.5);
  box-shadow: 0 6px 16px rgba(124,58,237,.15);
}

.navlinks a.active{
  border-color: var(--primary);
  box-shadow: 0 6px 16px rgba(23,163,74,.18);
}

/* Dropdown */
.dropdown{ position: relative; }
.dropbtn{
  display:inline-flex;
  align-items:center;
  gap:6px;
}
.dropbtn .caret{
  display:inline-block;
  width:0; height:0;
  border:5px solid transparent;
  border-top-color: #fff;
  transition: transform .18s ease;
  transform-origin: 50% 45%;
}
.dropdown.open .dropbtn .caret{ transform: rotate(180deg); }

.dropdown-content{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  margin-top: 8px;

  min-width: 220px;
  padding: 8px;
  border-radius: 12px;

  background: linear-gradient(180deg, rgba(18,26,40,.95), rgba(9,13,20,.9));
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 12px 28px rgba(0,0,0,.35);
  z-index: 100;
}

/* zone tampon hover */
.dropdown-content::before{
  content:"";
  position:absolute;
  left:0; right:0;
  top:-10px;
  height: 12px;
}

.navlinks .dropdown-content a{
  display:block;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  white-space: nowrap;
}
.navlinks .dropdown-content a:hover{
  background: rgba(124,58,237,.15);
}

.dropdown.open .dropdown-content{ display:block; }

@media (hover:hover){
  .dropdown:hover .dropdown-content{ display:block; }
  .dropdown:hover .dropbtn .caret{ transform: rotate(180deg); }
}

/* Responsive nav */
@media (max-width: 900px){
  .burger{ display:inline-flex; align-items:center; justify-content:center; }

  .navlinks{
    display: none; /* fermé par défaut */
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;

    flex-direction: column;
    align-items: stretch;
    gap: 10px;

    padding: 12px;
    border-radius: 16px;

    background: linear-gradient(180deg, rgba(18,26,40,.96), rgba(9,13,20,.94));
    border: 1px solid rgba(255,255,255,.10);
    box-shadow: 0 14px 40px rgba(0,0,0,.45);
    z-index: 1000;
  }

  .navlinks.is-open{ display:flex; }

  .navlinks a,
  .dropbtn{
    width: 100%;
    justify-content: space-between;
    padding: 12px 12px;
    border-radius: 14px;
  }

  /* dropdown en mobile : empilé */
  .dropdown-content{
    position: static;
    display: block;
    margin-top: 6px;
    padding: 6px 0 0;
    min-width: 0;

    background: transparent;
    border: 0;
    box-shadow: none;
  }

  .navlinks .dropdown-content a{
    padding: 10px 12px;
    border-radius: 12px;
  }
}

/* -------------------------
   3) Typo / boutons
------------------------- */
.h1{
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.15;
  margin: 10px 0 8px;
  font-weight: 900;
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
}
.kicker .dot{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--accent), var(--primary));
  box-shadow: 0 0 0 4px rgba(124,58,237,.12);
}

.lead{
  color: #cfd9ea;
  font-size: clamp(14px, 2.2vw, 18px);
  max-width: 60ch;
}

.cta-row{
  display:flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;

  padding: 12px 16px;
  border-radius: 12px;

  font-weight: 800;
  text-decoration:none;
  color: var(--text);

  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(124,58,237,.22), rgba(124,58,237,.12));
  box-shadow: 0 6px 18px rgba(124,58,237,.18);

  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn:hover{
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(124,58,237,.25);
  filter: brightness(1.03);
}
.btn.alt{
  background: linear-gradient(180deg, rgba(23,163,74,.22), rgba(23,163,74,.12));
  box-shadow: 0 6px 18px rgba(23,163,74,.18);
}

/* -------------------------
   4) Hero
------------------------- */
.hero{
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.hero .inner{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 28px;
  padding: 58px 0;
  align-items: center;
}

@media (max-width: 900px){
  .hero .inner{
    grid-template-columns: 1fr;
    padding: 38px 0;
    align-items: start;
  }
}

.hero-card{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 20px;
  padding: 18px;
  box-shadow: 0 10px 30px var(--shadow), inset 0 0 0 1px rgba(255,255,255,.03);
}
.hero-card h3{ margin: 8px 0 4px; }
.badge{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  border: 1px solid rgba(255,255,255,.12);
  padding: 8px 10px;
  border-radius: 999px;
  background: #6c3eb8;
  font-size: 13px;
  color: white;
}

/* -------------------------
   5) Sections / Cards / Tags
------------------------- */
.section{
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.section h2{
  font-size: 26px;
  margin: 0 0 16px;
}

.grid{ display:grid; gap:16px; }

.grid.cards{
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 900px){
  .grid.cards{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .grid.cards{ grid-template-columns: 1fr; }
}

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.06);
  border-radius: var(--radius);
  padding: 16px;
  box-shadow: 0 8px 24px var(--shadow), inset 0 0 0 1px rgba(255,255,255,.03);
}
.card h3{ margin: 6px 0 8px; }
.meta{ font-size: 13px; color: var(--muted); }

.tag{
  display:inline-flex;
  align-items:center;
  gap: 8px;

  padding: 6px 10px;
  border-radius: 999px;
  font-size: 13px;

  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(124,58,237,.2), rgba(124,58,237,.08));
}

/* Text overflow safe */
.hero-card, .card, p{ overflow-wrap:anywhere; word-break:break-word; }

/* -------------------------
   6) Calendar table
------------------------- */
.calendar{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px;
  overflow: hidden;
}

.calendar th,
.calendar td{
  padding: 10px;
  text-align: center;
}
.calendar thead th{
  background: rgba(124,58,237,.15);
  font-weight: 900;
}
.calendar tbody td{
  border-top: 1px solid rgba(255,255,255,.06);
}
.calendar .today{
  background: linear-gradient(180deg, rgba(23,163,74,.2), transparent);
  font-weight: 900;
  border-left: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
}

/* wrapper pour éviter que le calendrier soit coupé sur mobile */
.table-wrap{
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;

  /* garde ton style arrondi visuel */
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.02);
}

/* la table doit pouvoir dépasser sans être "coupée" */
.table-wrap .calendar{
  width: 100%;
  min-width: 700px; /* force 7 colonnes lisibles */
  border: 0;        /* le wrapper porte la bordure */
  border-radius: 0; /* évite les doubles arrondis */
  overflow: visible;
}

/* thème light : wrapper cohérent */
.theme-light .table-wrap{
  background:#fff;
  border-color: rgba(0,0,0,.08);
}


/* -------------------------
   7) Gallery
------------------------- */
.gallery{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.gallery a{
  display:block;
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.08);
}
.gallery img{
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform .3s ease, filter .3s ease;
}
.gallery a:hover img{
  transform: scale(1.03);
  filter: saturate(1.08);
}

@media (max-width: 900px){
  .gallery{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .gallery{ grid-template-columns: 1fr; }
  .gallery img{ height: 240px; }
}

/* CSS-only lightbox */
.lightbox:target{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.85);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 20px;
  z-index: 100;
}
.lightbox img{
  max-width: 92vw;
  max-height: 86vh;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,.6);
}
.lightbox .close{
  position: fixed;
  top: 18px;
  right: 18px;
  background: rgba(255,255,255,.12);
  padding: 10px 12px;
  border-radius: 999px;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,.2);
}

/* -------------------------
   8) Table-like lists
------------------------- */
.list{ display:grid; gap:10px; }
.row{
  display:grid;
  grid-template-columns: 120px 1fr 140px;
  gap: 14px;
  align-items: center;

  padding: 12px;
  border-radius: 12px;

  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.06);
}
@media (max-width: 700px){
  .row{ grid-template-columns: 1fr; }
}

/* -------------------------
   9) Footer pro
------------------------- */
.footer-pro{
  padding: 36px 0 26px;
  background-color: var(--green);
  border-top: 1px solid rgba(255,255,255,.08);
  color: var(--text);
}

.footer-pro .footer-top{
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.footer-pro .footer-cta{ white-space: nowrap; }

.footer-brand{ display:flex; align-items:center; gap: 12px; }
.footer-brand .logo{ font-size: 24px; filter: drop-shadow(0 4px 8px rgba(124,58,237,.35)); }
.footer-brand .brand{ font-size: 18px; font-weight: 900; }
.footer-brand .sub{ font-size: 12px; color: rgba(255,255,255,.82); }

.footer-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
@media (max-width: 900px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns: 1fr; }
}

.footer-pro h4{
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: .3px;
}
.footer-links{ list-style:none; padding:0; margin:0; display:grid; gap:8px; }
.footer-links a{ color: rgba(255,255,255,.88); text-decoration:none; }
.footer-links a:hover{ text-decoration: underline; }

.addr{ font-style: normal; color: rgba(255,255,255,.88); }
.footer-meta{ list-style:none; padding:0; margin:10px 0 0; color: rgba(255,255,255,.88); display:grid; gap:6px; }

.socials{ display:flex; gap:10px; }
.soc{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(124,58,237,.20), rgba(124,58,237,.10));
  color:#fff;
  font-weight: 900;
  text-decoration:none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.soc:hover{ transform: translateY(-1px); box-shadow: 0 8px 18px rgba(124,58,237,.25); }

.newsletter{ display:flex; gap:8px; align-items:center; }
.newsletter input{
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.08);
  color: var(--text);
}
.newsletter .btn{ padding: 10px 14px; }

.footer-bottom{
  display:flex;
  justify-content:center;
  margin-top: 14px;
  text-align:center;
  color: rgba(255,255,255,.88);
}
.footer-bottom a{ color: rgba(255,255,255,.88); text-decoration:none; }
.footer-bottom a:hover{ text-decoration: underline; }
.footer-bottom .sep{ margin: 0 8px; color: rgba(255,255,255,.75); }

/* -------------------------
   10) Page Équipe (styles spécifiques)
------------------------- */
.section-team{
  background:
    radial-gradient(800px 500px at 20% 20%, rgba(108,62,184,.05), transparent),
    radial-gradient(900px 600px at 80% 80%, rgba(46,139,87,.05), transparent);
}

.team-section{
  margin-top: 40px;
  padding: 26px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.06);
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
}

.team-section h3{
  font-size: 22px;
  margin: 0 0 20px;
  display:flex;
  align-items:center;
  gap: 10px;
}
.team-section h3::before{
  content:'';
  display:inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: currentColor;
  opacity: .7;
}

.team-bureau h3{ color: var(--green); }
.team-encadrement h3{ color: var(--accent); }
.team-bureau .card{ border-top: 3px solid var(--green); }
.team-encadrement .card{ border-top: 3px solid var(--accent); }

/* ===== ÉQUIPE : grille + photos ===== */
.team-grid{
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

@media (max-width: 900px){
  .team-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px){
  .team-grid{ grid-template-columns: 1fr; }
}

.team-photo{
  width: 100%;
  border-radius: 12px;
  margin-bottom: 10px;
  object-fit: cover;
  aspect-ratio: 4 / 3; /* mieux qu'un height fixe */
}
/* -------------------------
   10bis) Page Contact (premium + responsive)
------------------------- */

/* Grille */
.contact-grid{
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap: 24px;
  margin-top: 24px;
  align-items: start;
}

@media (max-width: 900px){
  .contact-grid{ grid-template-columns: 1fr; }
}

/* Form row Nom/Email */
.contact-row{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 560px){
  .contact-row{ grid-template-columns: 1fr; }
}

/* Champs */
.contact-form .field label{
  display:block;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .2px;
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font: inherit;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.contact-form textarea{
  resize: vertical;
  min-height: 150px;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder{
  color: rgba(231,238,248,.65);
}

.contact-form input:focus,
.contact-form textarea:focus{
  border-color: rgba(124,58,237,.55);
  box-shadow: 0 0 0 4px rgba(124,58,237,.18);
}

/* Actions */
.contact-actions{
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.contact-actions .meta{
  opacity: .9;
}

/* Séparateur propre */
.separator{
  border: 0;
  height: 1px;
  background: rgba(255,255,255,.10);
  margin: 16px 0;
}

/* Carte map */
.map-wrap{
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}

/* (Optionnel) sur desktop, infos un peu sticky (super agréable) */
@media (min-width: 901px){
  .contact-info{
    position: sticky;
    top: 92px; /* sous la topbar */
  }
}

/* Light theme overrides */
.theme-light .contact-form input,
.theme-light .contact-form textarea{
  background: rgba(0,0,0,.03);
  color: #1c2333;
  border-color: rgba(0,0,0,.12);
}

.theme-light .contact-form input::placeholder,
.theme-light .contact-form textarea::placeholder{
  color: rgba(28,35,51,.55);
}

.theme-light .contact-form input:focus,
.theme-light .contact-form textarea:focus{
  border-color: rgba(108,62,184,.45);
  box-shadow: 0 0 0 4px rgba(108,62,184,.16);
}

.theme-light .separator{ background: rgba(0,0,0,.10); }

.theme-light .map-wrap{
  border-color: rgba(0,0,0,.10);
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}


/* -------------------------
   11) Utilitaires
------------------------- */
.center{ text-align:center; }
.mt-2{ margin-top:12px; }
.mt-3{ margin-top:18px; }
.mt-4{ margin-top:26px; }

.pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}
.pill .dot{
  width: 8px; height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, var(--primary), var(--accent));
}

.sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}

/* ============================================================
   12) THEME LIGHT (Accueil: body.theme-light)
   ============================================================ */
.theme-light{
  color:#1c2333;
  background:#f7f8fb;
}

/* topbar light */
.theme-light .topbar{
  background: var(--green);
  border-bottom: 1px solid rgba(0,0,0,.06);
}
.theme-light .brand-title,
.theme-light .brand-sub{ color:#fff; }

.theme-light .navlinks a,
.theme-light .dropbtn{
  color:#fff;
  border-color: rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
  box-shadow: none;
}
.theme-light .navlinks a.active{
  border-color:#fff;
  background: rgba(255,255,255,.18);
}

/* burger light */
.theme-light .burger{
  border: 1px solid rgba(255,255,255,.35);
  background: rgba(255,255,255,.12);
  color: #fff;
}

/* hero light */
.theme-light .hero{
  background: linear-gradient(90deg, #2e8b57, #6c3eb8);
}
.theme-light .hero .h1,
.theme-light .hero .lead,
.theme-light .hero .kicker,
.theme-light .hero .badge,
.theme-light .hero h3,
.theme-light .hero p{
  color:#fff;
}
.theme-light .hero-card{
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.35);
  box-shadow: 0 12px 30px rgba(0,0,0,.18);
}

/* sections light */
.theme-light .section{ border-bottom: 1px solid rgba(0,0,0,.06); }
.theme-light .card,
.theme-light .row,
.theme-light .team-section{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  box-shadow: 0 6px 24px rgba(0,0,0,.06);
  color:#1c2333;
}
.theme-light .meta{ color:#5f6b85; }
.theme-light .tag{
  background: rgba(108,62,184,.12);
  color: #3c2a67;
  border-color: rgba(108,62,184,.25);
}

/* calendar light */
.theme-light .calendar{
  background:#fff;
  border-color: rgba(0,0,0,.08);
}
.theme-light .calendar thead th{
  background: rgba(108,62,184,.15);
  color:#1c2333;
}
.theme-light .calendar tbody td{
  border-top: 1px solid rgba(0,0,0,.06);
}
.theme-light .calendar .today{
  background: linear-gradient(180deg, rgba(46,139,87,.22), transparent);
  border-left: 2px solid #2e8b57;
  border-right: 2px solid #2e8b57;
}

/* buttons light: lisibles */
.theme-light .btn{
  color:#fff;
  background: #6c3eb8;
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(108,62,184,.28);
}
.theme-light .btn:hover{
  box-shadow: 0 12px 28px rgba(108,62,184,.35);
}
.theme-light .btn.alt{
  background:#2e8b57;
  box-shadow: 0 8px 24px rgba(46,139,87,.28);
}
.theme-light .btn.alt:hover{
  box-shadow: 0 12px 28px rgba(46,139,87,.35);
}

/* menu panneau light (mobile) */
@media (max-width: 900px){
  .theme-light .navlinks{
    background: rgba(255,255,255,.97);
    border: 1px solid rgba(0,0,0,.08);
    box-shadow: 0 14px 40px rgba(0,0,0,.12);
  }
  .theme-light .navlinks a,
  .theme-light .dropbtn{
    color:#1c2333;
    border-color: rgba(0,0,0,.10);
    background: rgba(0,0,0,.03);
  }
  .theme-light .navlinks a.active{
    background: rgba(46,139,87,.12);
    border-color: rgba(46,139,87,.35);
  }
  .theme-light .navlinks .dropdown-content a{
    color:#1c2333;
  }
}

/* CONTACT — force styles */
.contact-grid{
  display:grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  gap:24px;
  align-items:start;
}
@media (max-width:900px){ .contact-grid{ grid-template-columns:1fr; } }

.contact-row{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
@media (max-width:560px){ .contact-row{ grid-template-columns:1fr; } }

.contact-form .field{ display:flex; flex-direction:column; gap:6px; }

.contact-form input,
.contact-form textarea{
  width:100%;
  padding:12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: var(--text);
  font: inherit;
  outline:none;
}

.contact-form label{
  font-weight:900;
  font-size:13px;
}

.separator{
  border:0;
  height:1px;
  background: rgba(255,255,255,.10);
  margin:16px 0;
}

.map-wrap{
  border-radius:16px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
}

.theme-light .contact-form input,
.theme-light .contact-form textarea{
  background: rgba(0,0,0,.03);
  color:#1c2333;
  border-color: rgba(0,0,0,.12);
}
.theme-light .separator{ background: rgba(0,0,0,.10); }

.btn-disabled{
  opacity: .35;
  pointer-events: none;
  filter: grayscale(1);
}

@media (max-width: 520px){
  .calendar th, .calendar td{ padding: 8px; }
  .calendar small{ font-size: 11px; }
}

