:root{
  --bg: #0b0f14;
  --panel: rgba(255,255,255,.06);
  --panel2: rgba(255,255,255,.10);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.70);
  --muted2: rgba(255,255,255,.55);
  --border: rgba(255,255,255,.14);
  --accent: #8be9ff;
  --accent2: #b8ffa6;
  --shadow: 0 20px 70px rgba(0,0,0,.55);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:
  linear-gradient(rgba(10,15,20,0.72), rgba(10,15,20,0.82)),
  url("images/meteo-bg.jpg"),
  url("./images/meteo-bg.jpg"),
  url("meteo-bg.jpg");
background-position: center;
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
    
  color: var(--text);
}

.container{width:min(1120px, calc(100% - 40px)); margin:0 auto}
.section{padding: 86px 0}
.section--alt{
  background: linear-gradient(to bottom, rgba(255,255,255,.03), rgba(255,255,255,.01));
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.topbar{
  position: sticky; top:0; z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(11,15,20,.55);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding: 14px 0;
  gap: 18px;
}

.brand{display:flex; align-items:center; gap:12px; text-decoration:none; color: var(--text)}
.brand__logo{
  width: 38px; height: 38px; border-radius: 12px;
  display:grid; place-items:center;
  background: linear-gradient(135deg, rgba(139,233,255,.25), rgba(184,255,166,.18));
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
  font-weight: 700;
}
.brand__text{display:flex; flex-direction:column; line-height:1.05}
.brand__name{font-weight: 700; letter-spacing: .2px}
.brand__tag{font-size: 12px; color: var(--muted2)}

.nav{display:flex; align-items:center; gap: 10px; flex-wrap: wrap; justify-content:flex-end}
.nav__link, .nav__cta{
  text-decoration:none;
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: transform .12s ease, background .12s ease, border-color .12s ease, color .12s ease;
}
.nav__link:hover{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
  color: var(--text);
}
.nav__cta{
  color: rgba(0,0,0,.92);
  background: linear-gradient(135deg, rgba(139,233,255,.95), rgba(184,255,166,.90));
  border-color: rgba(255,255,255,.18);
  font-weight: 600;
}

.burger{
  display:none;
  width: 44px; height: 44px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}
.burger span{display:block; height:2px; margin:6px 10px; background: rgba(255,255,255,.85); border-radius:2px}

.hero{padding-top: 70px}
.hero__grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 26px;
  align-items:start;
}
.badge{
  display:inline-flex;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.10);
  color: var(--muted);
  font-size: 13px;
}
h1{
  margin: 14px 0 10px;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.06;
  letter-spacing: -0.6px;
}
.accent{color: var(--accent)}
.lead{color: var(--muted); font-size: 16px; line-height: 1.6; margin: 12px 0 18px}

.hero__actions{display:flex; gap: 12px; flex-wrap:wrap; margin: 12px 0 18px}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.14);
  text-decoration:none;
  color: var(--text);
  background: rgba(255,255,255,.06);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
  font-weight: 600;
}
.btn:hover{transform: translateY(-1px); background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18)}
.btn--primary{
  color: rgba(0,0,0,.92);
  background: linear-gradient(135deg, rgba(139,233,255,.95), rgba(184,255,166,.90));
}
.btn--ghost{background: transparent}
.btn--full{width: 100%}

.hero__stats{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 14px;
}
.stat{
  padding: 12px 12px;
  border-radius: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
}
.stat__value{font-weight: 700}
.stat__label{font-size: 12px; color: var(--muted2); margin-top: 4px}

.hero__card{display:flex; flex-direction:column; gap: 14px}
.card{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: var(--shadow);
}
.card--glass{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  padding: 18px;
}
.card--solid{
  background: rgba(255,255,255,.06);
  padding: 18px;
}
.card__title{margin: 0 0 10px; font-size: 16px}
.checklist{margin: 0; padding-left: 18px; color: var(--muted); line-height: 1.6}
.card__note{
  margin-top: 12px;
  padding: 12px;
  border-radius: 14px;
  background: rgba(0,0,0,.18);
  border: 1px solid rgba(255,255,255,.10);
  display:flex; gap: 10px; align-items:flex-start;
}
.dot{width:10px; height:10px; border-radius:999px; background: var(--accent); margin-top: 5px}
.muted{color: var(--muted)}
.small{font-size: 12px; color: var(--muted2)}

.section__head{margin-bottom: 18px}
.section__head h2{margin:0 0 6px; font-size: 26px; letter-spacing: -0.3px}

.grid{display:grid; gap: 14px}
.cards{grid-template-columns: repeat(4, 1fr)}
.tile{
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
  min-height: 180px;
}
.tile h3{margin: 0 0 8px}
.tile p{margin: 0 0 10px; color: var(--muted); line-height: 1.6}
.mini{margin: 0; padding-left: 18px; color: var(--muted2); line-height: 1.6}

.callout{
  margin-top: 16px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(135deg, rgba(139,233,255,.10), rgba(184,255,166,.06));
  display:flex; align-items:center; justify-content:space-between; gap: 14px;
}

.testimonials{grid-template-columns: repeat(3, 1fr)}
.quote{
  margin:0;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
}
.quote blockquote{margin:0; color: var(--text); line-height: 1.6}
.quote figcaption{margin-top: 10px; color: var(--muted2); font-size: 13px}

.gallery{grid-template-columns: repeat(4, 1fr)}
.shot{
  position:relative;
  text-decoration:none;
  border-radius: 18px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  min-height: 170px;
}
.shot__ph{
  position:absolute; inset:0;
  background:
    linear-gradient(135deg, rgba(139,233,255,.12), rgba(184,255,166,.08)),
    radial-gradient(500px 200px at 30% 30%, rgba(255,255,255,.10), transparent 60%),
    rgba(255,255,255,.02);
}
.shot__label{
  position:absolute; left: 12px; bottom: 12px;
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(0,0,0,.38);
  border: 1px solid rgba(255,255,255,.14);
  color: var(--text);
  font-size: 12px;
}
.tip{margin-top: 10px; color: var(--muted2)}

.about{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 16px;
  align-items:start;
}
.prose p{color: var(--muted); line-height: 1.7}
.prose ul{color: var(--muted); line-height: 1.7}

.panel{
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
}
.facts{list-style:none; margin: 12px 0 0; padding: 0; display:grid; gap: 10px}
.facts li{display:flex; justify-content:space-between; gap: 10px; color: var(--muted)}
.facts li span:first-child{color: var(--muted2)}

.contact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.contact__card{
  border-radius: 18px;
  padding: 16px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.10);
}
.contact__card--hint{
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
}
.contact__actions{display:grid; gap: 10px; margin-top: 10px}
.divider{height: 1px; background: rgba(255,255,255,.10); margin: 14px 0}
.links{display:flex; gap: 12px; flex-wrap:wrap}
.links a{color: var(--muted); text-decoration:none; border-bottom: 1px dashed rgba(255,255,255,.22)}
.links a:hover{color: var(--text)}

.footer{
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.10);
  display:flex; align-items:center; justify-content:space-between; gap: 12px;
}

code{
  padding: 2px 6px;
  border-radius: 8px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  color: var(--text);
}

/* Responsive */
@media (max-width: 980px){
  .hero__grid, .about{grid-template-columns: 1fr}
  .cards{grid-template-columns: repeat(2, 1fr)}
  .gallery{grid-template-columns: repeat(2, 1fr)}
  .testimonials{grid-template-columns: 1fr}
  .contact{grid-template-columns: 1fr}
}

@media (max-width: 760px){
  .burger{display:block}
  .nav{
    position: absolute;
    left: 0; right: 0; top: 66px;
    padding: 12px 20px 16px;
    display:none;
    background: rgba(11,15,20,.92);
    border-bottom: 1px solid rgba(255,255,255,.10);
    backdrop-filter: blur(10px);
  }
  .nav.is-open{display:flex; flex-direction:column; align-items:stretch}
  .nav__link, .nav__cta{width: 100%; text-align:center}
  .hero__stats{grid-template-columns: 1fr}
}
/* === HERO BACKGROUND IMAGE === */
.hero {
  position: relative;
  background-image:
    linear-gradient(
      to right,
      rgba(11,15,20,0.85),
      rgba(11,15,20,0.55)
    ),
    url("assets/hero-drone.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}.contact-lines p { margin: 10px 0; }
.small { font-size: 0.9rem; }
/* CONTACT : cartes côte à côte sur écran large */
#contact .grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

/* Mobile : une carte sous l’autre */
@media (max-width: 768px) {
  #contact .grid-2 {
    grid-template-columns: 1fr;
  }
}
/* FORCER les cartes Contact côte à côte */
#contact .grid-2 {
  display: flex !important;
  flex-direction: row !important;
  gap: 24px;
}

/* Chaque carte prend 50% */
#contact .grid-2 > .card {
  flex: 1;
}

/* Mobile : empilé */
@media (max-width: 768px) {
  #contact .grid-2 {
    flex-direction: column !important;
  }
}
.content.narrow {
  max-width: 900px;
  margin: 0 auto;
}
#apropos .grid-2 {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
}
.section-title {
  text-align: center;
  letter-spacing: 1px;
}

.section-underline {
  width: 60px;
  height: 3px;
  margin: 12px auto 30px;
  border-radius: 999px;
  opacity: 0.8;
}

.formations-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: start;
}

.formation-card {
  background: transparent; /* style Site123: fond clair, texte sous l'image */
  border-radius: 16px;
}

.formation-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 16px;
  display: block;
  margin-bottom: 18px;
}

.formation-card h3 {
  margin: 0 0 12px;
}

.formation-card p {
  margin: 0 0 12px;
  line-height: 1.6;
}

.formation-card ul {
  margin: 0;
  padding-left: 18px;
}

.formation-card li {
  margin: 8px 0;
}

.formation-wide {
  margin-top: 40px;
  padding: 22px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,0.12);
}

@media (max-width: 1000px) {
  .formations-3 { grid-template-columns: 1fr; }
  .formation-img { height: 200px; }
}
.apropos-bg {
  background-image: url("kuendu.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}.apropos-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

.apropos-bg > * {
  position: relative;
  z-index: 1;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

@media (max-width: 1100px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.gallery-item {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.06);
  min-height: 140px;
}

.gallery-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.9rem;
  background: rgba(0,0,0,0.55);
}
.gallery-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}
/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  place-items: center;
  background: rgba(0,0,0,0.85);
  z-index: 9999;
  padding: 24px;
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(1100px, 95vw);
  max-height: 85vh;
  border-radius: 14px;
  display: block;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 18px;
  font-size: 38px;
  line-height: 1;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  padding: 6px 10px;
}
/* ===== CONTACT : image de fond ===== */
#contact.contact-bg {
  background-image: url("contact-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  padding: 80px 0; /* IMPORTANT : donne de la hauteur */
}
}

/* voile sombre pour la lisibilité */
.contact-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

/* contenu au-dessus de l’image */
.contact-bg > * {
  position: relative;
  z-index: 1;
}
#contact a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
}

#contact a:hover {
  color: #ffffff;
  text-decoration: underline;
}
/* FORCE couleur blanche pour tous les liens du contact */
#contact a,
#contact a:visited,
#contact a:active {
  color: #ffffff !important;
  text-decoration: none;
}

/* Hover */
#contact a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}
/* ===== FORCE BLANC : CONTACT (EMAIL / TEL / RÉSEAUX) ===== */
#contact,
#contact * {
  color: #ffffff !important;
}

#contact a,
#contact a:visited,
#contact a:active {
  color: #ffffff !important;
  text-decoration: none !important;
}

#contact a:hover {
  color: #ffffff !important;
  text-decoration: underline !important;
}
.contact-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

.contact-link svg {
  flex-shrink: 0;
}
/* ===== CONTACT : blocs lisibles ===== */
#contact .card,
#contact .contact-box,
#contact .contact-panel {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 14px;
  padding: 20px 24px;
}/* Boutons Contact */
#contact .btn,
#contact .contact-btn {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  transition: all 0.25s ease;
}

#contact .btn:hover,
#contact .contact-btn:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-1px);
}#contact .contact-links a {
  opacity: 0.9;
  font-weight: 500;
}

#contact .contact-links a:hover {
  opacity: 1;
  text-decoration: underline;
}#contact .contact-grid {
  margin-top: 40px;
}
/* ===== CONTACT : cartes + boutons bien lisibles ===== */
#contact .contact-card {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  padding: 22px 26px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

/* Boutons (CTA) */
#contact .contact-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 0.2s ease, background 0.2s ease;
}

#contact .contact-cta:hover {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-1px);
}

/* Lien "Itinéraire Google Maps" + réseaux */
#contact a {
  text-decoration: none !important;
}

#contact a:hover {
  text-decoration: underline !important;
}
/* CONTACT : 2 cadres côte à côte */
#contact .contact-grid{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin-top: 18px;
}

/* Sur mobile : 1 colonne */
@media (max-width: 900px){
  #contact .contact-grid{ grid-template-columns: 1fr; }
}#contact .contact-grid > div{
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 18px 20px;
}
/* CONTACT : lisibilité liens & boutons */
#contact a{
  color: #ffffff;
  font-weight: 500;
}

#contact a:hover{
  text-decoration: underline;
}

/* Boutons contact */
#contact .btn,
#contact .btn-outline{
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.35);
  color: #ffffff;
  backdrop-filter: blur(4px);
}

#contact .btn:hover,
#contact .btn-outline:hover{
  background: rgba(0,0,0,0.55);
}
/* Contact – descendre la ligne Réseaux */
#contact .coordonnees .reseaux,
#contact .coordonnees p:last-child {
  margin-top: 18px;
  opacity: 0.9;
}
/* Contact – descendre la ligne Réseaux */
#contact .contact-card .muted.small {
  margin-top: 22px;
  display: block;
}
.formation-card ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0;
}

.formation-card li::before {
    content: none !important;
}
/* Kill bullets everywhere in that card */
.formation-card ul,
.formation-card ol {
  list-style: none !important;
  padding-left: 0 !important;
  margin-left: 0 !important;
}

.formation-card li::before,
.formation-card li::marker {
  content: "" !important;
  display: none !important;
}
.swiper-pagination,
.swiper-pagination-bullet,
.splide__pagination,
.splide__pagination__page,
.tns-nav,
.tns-nav button,
.glide__bullets,
.glide__bullet {
  display: none !important;
}
.formation-card li::before {
  content: none !important;
}
.dot {
  display: none;
}.meteo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.meteo-card {
    background: #111;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #222;
}

.meteo-card h2 {
    margin-bottom: 10px;
    color: #8be9fd;
}

.meteo-card pre {
    white-space: pre-wrap;
    font-family: monospace;
    font-size: 14px;
}
/* ===== INFOS UTILES (page météo) ===== */
.infos {
  margin-top: 10px;
}

.infos h3 {
  margin-bottom: 12px;
}

.infos div {
  margin: 6px 0;
}

.infos strong {
  margin-left: 6px;
  font-weight: 600;
  color: #ffffff;
}
/* ===== METEO (style identique accueil) ===== */
.weather-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
@media (max-width: 980px){
  .weather-grid{ grid-template-columns: 1fr; }
}

.weather-card{
  padding: 18px;
}

.weather-card h2{
  margin: 0 0 12px;
  font-size: 1.15rem;
  font-weight: 800;
}

/* glass dark (proche accueil) */
.glass{
  background: rgba(0,0,0,0.35);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  box-shadow: 0 12px 35px rgba(0,0,0,0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.weather-card pre{
  margin:0;
  white-space: pre-wrap;
  word-break: break-word;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-size: .92rem;
  line-height: 1.35;
  opacity: .95;
}

/* Infos utiles */
.infos .info-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid rgba(255,255,255,0.10);
}
.infos .info-row:last-of-type{ border-bottom:none; }
.infos span{ opacity:.85; }
.infos strong{ font-size:1.05rem; letter-spacing:.3px; }
.infos .info-sub{ margin-top:10px; font-size:.86rem; opacity:.75; }
header, nav {
  position: relative;
  z-index: 9999;
}
.meteo-page, main {
  position: relative;
  z-index: 1;
}
.meteo-page{padding:40px 20px;}
.weather-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.weather-card{padding:20px;border-radius:16px;}
.glass{background:rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.1);backdrop-filter:blur(10px);}
.weather-card h2{margin-bottom:10px;}
.weather-card pre{white-space:pre-wrap;font-family:monospace;font-size:.9rem;}
.infos .info-row{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.1);}
.infos .info-sub{font-size:.85rem;opacity:.8;margin-top:6px;}
.meteo-page{padding:40px 20px;}
.weather-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;}
.weather-card{padding:20px;border-radius:16px;}
.glass{background:rgba(0,0,0,.35);border:1px solid rgba(255,255,255,.1);backdrop-filter:blur(10px);}
.weather-card h2{margin-bottom:10px;}
.weather-card pre{white-space:pre-wrap;font-family:monospace;font-size:.9rem;}
.infos .info-row{display:flex;justify-content:space-between;padding:8px 0;border-bottom:1px solid rgba(255,255,255,.1);}
.infos .info-sub{font-size:.85rem;opacity:.8;margin-top:6px;}
/* Menu météo (fallback) */
#siteNav { display:flex; gap:18px; align-items:center; }
#burger { display:none; }

@media (max-width: 900px){
  #burger { display:inline-flex; }
  #siteNav { display:none; flex-direction:column; align-items:flex-start; gap:12px; padding-top:12px; }
  #siteNav.is-open { display:flex; }
}
/* ====== METEO PAGE STYLE ====== */

.meteo-page h1 {
  font-size: 48px;
  margin-bottom: 30px;
  letter-spacing: -1px;
}

/* Grille comme l’accueil */
.meteo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 340px;
  gap: 24px;
  align-items: start;
}

/* Cartes effet verre */
.meteo-card {
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  padding: 22px 24px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
  transition: 0.3s ease;
}

.meteo-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 50px rgba(0,0,0,0.55);
}

.meteo-card h2 {
  margin-bottom: 12px;
  font-size: 20px;
}

/* Texte METAR */
.meteo-card pre {
  font-family: "Courier New", monospace;
  font-size: 14px;
  line-height: 1.5;
  color: #eaeaea;
}

/* Bloc infos à droite */
.meteo-infos .info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 15px;
}

.meteo-infos strong {
  font-weight: 600;
}

/* Responsive */
@media (max-width: 1000px) {
  .meteo-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== FORCE STYLE PAGE METEO ===== */

.meteo-page {
  padding: 40px 0 80px;
}

.meteo-page h1 {
  font-size: 48px;
  margin-bottom: 30px;
  letter-spacing: -1px;
}

.meteo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 340px;
  gap: 24px;
  align-items: start;
}

.meteo-card {
  background: rgba(255,255,255,0.05) !important;
  border-radius: 16px;
  padding: 22px 24px;
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.meteo-card h2 {
  margin-bottom: 12px;
  font-size: 20px;
}

.meteo-card pre {
  font-family: monospace;
  font-size: 14px;
  line-height: 1.5;
  color: #eaeaea;
}

.meteo-infos .info-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
  font-size: 15px;
}

@media (max-width: 1000px) {
  .meteo-grid {
    grid-template-columns: 1fr;
  }
}
/* ===== METEO : même déco que l’accueil (glassy + glow) ===== */

.meteo-page{
  padding: 48px 0 80px;
}

/* Titre gros + léger glow comme la home */
.meteo-page h1{
  font-size: clamp(42px, 5vw, 64px);
  line-height: 1.05;
  letter-spacing: -1px;
  margin: 10px 0 26px;
  text-shadow: 0 10px 40px rgba(0,0,0,.55);
}

/* Grille 2 cartes + infos à droite */
.weather-grid{
  display: grid !important;
  grid-template-columns: 1fr 1fr 420px !important;
  gap: 22px !important;
  align-items: start !important;
}

@media (max-width: 1100px){
  .weather-grid{ grid-template-columns: 1fr !important; }
}

/* Cartes “verre” comme sur l’accueil */
.weather-card{
  border-radius: 18px !important;
  padding: 22px 24px !important;
}

.glass{
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.10) !important;
  box-shadow: 0 18px 55px rgba(0,0,0,0.45) !important;
  backdrop-filter: blur(14px) !important;
  -webkit-backdrop-filter: blur(14px) !important;
  position: relative !important;
  overflow: hidden !important;
}

/* petit glow “mint” */
.glass::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(600px 120px at 20% 0%, rgba(126,231,216,0.18), transparent 55%);
  pointer-events:none;
}

.weather-card:hover{
  transform: translateY(-3px);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.weather-card:hover.glass{
  border-color: rgba(126,231,216,0.30) !important;
  box-shadow: 0 26px 70px rgba(0,0,0,0.55) !important;
}

/* Titres cartes */
.weather-card h2{
  font-size: 20px !important;
  margin: 0 0 12px !important;
  font-weight: 800 !important;
}

/* METAR/TAF monospace propre */
.weather-card pre{
  margin: 0 !important;
  white-space: pre-wrap !important;
  word-break: break-word !important;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace !important;
  font-size: 14px !important;
  line-height: 1.45 !important;
  opacity: .95 !important;
}

/* Infos utiles : lignes comme la home */
.infos .info-row{
  display:flex !important;
  justify-content:space-between !important;
  align-items:baseline !important;
  gap: 14px !important;
  padding: 12px 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.10) !important;
}
.infos .info-row:last-of-type{ border-bottom: none !important; }

.infos span{ opacity: .85 !important; }
.infos strong{
  font-size: 16px !important;
  font-weight: 800 !important;
  letter-spacing: .2px !important;
}

/* Petites lignes en bas (début/fin/màj) */
.infos .info-sub{
  margin-top: 10px !important;
  font-size: 13px !important;
  opacity: .75 !important;
}
/* ===== FIX COULEUR MENU METEO ===== */

/* Liens du menu = gris comme le reste du site */
.topbar nav a,
.topbar .nav a,
.topbar a{
  color: #cfcfcf !important;
  opacity: 0.9;
}

.topbar nav a:hover,
.topbar .nav a:hover,
.topbar a:hover{
  color: #ffffff !important;
  opacity: 1;
}

/* Bouton Contact vert comme sur l’accueil */
.topbar .contact-btn,
.topbar a.contact,
.topbar a[href*="contact"]{
  background: linear-gradient(135deg, #7ee7d8, #9be15d) !important;
  color: #0f1a1a !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  font-weight: 600 !important;
  box-shadow: 0 6px 18px rgba(0,0,0,0.35);
}

.topbar .contact-btn:hover,
.topbar a.contact:hover,
.topbar a[href*="contact"]:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.45);
}
/* ===== FORCE NAV COLORS (meteo + global) ===== */

/* Liens en haut = gris (on écrase le violet) */
header a:link,
header a:visited,
.topbar a:link,
.topbar a:visited,
nav a:link,
nav a:visited{
  color: rgba(255,255,255,0.78) !important;
  text-decoration: none !important;
}

header a:hover,
.topbar a:hover,
nav a:hover{
  color: rgba(255,255,255,0.95) !important;
}

/* Bouton Contact = vert */
header a[href*="contact"],
header a[href*="#contact"],
.topbar a[href*="contact"],
.topbar a[href*="#contact"],
nav a[href*="contact"],
nav a[href*="#contact"]{
  background: linear-gradient(135deg, #8eead5, #b8f28a) !important;
  color: #0c1414 !important;
  padding: 10px 18px !important;
  border-radius: 999px !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 30px rgba(0,0,0,0.35) !important;
}

/* Au cas où un style met "purple" via :active/:focus */
header a:active,
header a:focus,
nav a:active,
nav a:focus{
  color: rgba(255,255,255,0.95) !important;
  outline: none !important;
}
/* ===== ACCENTS VERTS ===== */

.accent-green {
  color: var(--accent);
}

/* Titres des cartes météo */
.weather-card h2 {
  position: relative;
  padding-left: 10px;
}

.weather-card h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 4px;
  bottom: 4px;
  width: 4px;
  border-radius: 2px;
  background: var(--accent);
}
/* ===== ACCENTS VERTS VISUELS ===== */

/* Couleur verte officielle */
:root { --accent: #7dff9a; }

/* TITRE PRINCIPAL */
main.meteo-page h1 {
  background: linear-gradient(90deg, #7dff9a, #b4ffcc) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
}

/* TITRES DES CARTES */
main.meteo-page .weather-card h2 {
  color: #7dff9a !important;
  position: relative;
  padding-left: 14px;
}

main.meteo-page .weather-card h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 2px;
  background: #7dff9a !important;
}

/* ONGLET METEO ACTIF */
header nav a.active {
  color: #7dff9a !important;
  border-bottom: 2px solid #7dff9a !important;
}

/* BOUTON CONTACT */
header nav .btn {
  background: rgba(125,255,154,0.18) !important;
  border: 1px solid rgba(125,255,154,0.45) !important;
  color: #7dff9a !important;
}
/* ===== FOND IMAGE SPÉCIFIQUE PAGE METEO ===== */

body.meteo-page-bg {
  background:
    linear-gradient(rgba(10,15,20,0.72), rgba(10,15,20,0.82)),
    url("/images/meteo-bg.jpg") center/cover no-repeat fixed !important;
}
/* ===== FOND IMAGE FORCÉ (NE PEUT PAS ÊTRE ÉCRASÉ) ===== */
.meteo-bg{
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(10,15,20,0.72), rgba(10,15,20,0.82)),
    url("/images/meteo-bg.jpg") center/cover no-repeat;
}
/* ===== Bouton menu mobile version météo ===== */
@media (max-width: 768px){

  .burger{
    width: 48px;
    height: 40px;
    border-radius: 14px;
    border: 1px solid rgba(255,255,255,.16);
    background: rgba(255,255,255,.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
  }

  /* On cache les 3 barres du burger */
  .burger span{
    display: none;
  }

  /* Icône météo ☀️⛅ */
  .burger::before{
    content: "⛅";
    font-size: 20px;
    line-height: 1;
  }

  /* Petit effet lumineux vert comme ton site */
  .burger::after{
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 16px;
    box-shadow: 0 0 0 2px rgba(125,255,154,.25);
    opacity: .35;
    pointer-events: none;
  }

  /* Quand le menu est ouvert */
  .burger[aria-expanded="true"]{
    background: rgba(125,255,154,.18);
    border-color: rgba(125,255,154,.35);
  }

}
/* ===== ALIGNEMENT MENU PRINCIPAL ===== */
.main-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
}

.main-nav a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  padding: 6px 10px;
  white-space: nowrap;
}

.main-nav a.active {
  color: #7CFFB2;
  border-bottom: 2px solid #7CFFB2;
}
/* ===== MOBILE ONLY : HEADER ALIGNÉ (ne touche pas desktop) ===== */
@media (max-width: 768px) {

  /* Le conteneur du header (mets ici la classe/ID réel si différent) */
  header, .header, .site-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 12px;
  }

  /* Bloc logo + texte : sur une seule ligne, bien aligné */
  .branding, .logo, .brand, .header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    width: 100%;
  }

  .branding img, .logo img, .header-logo img {
    height: 40px;
    width: auto;
  }

  /* Si tu as un texte à côté du logo */
  .branding-text, .logo-text, .brand-text {
    font-size: 13px;
    line-height: 1.15;
    text-align: left;
  }

  /* Menu : tous les onglets alignés et centrés */
  .main-nav, nav, .menu, .navbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 14px;
    width: 100%;
  }

  .main-nav a, nav a, .menu a, .navbar a {
    white-space: nowrap;
    padding: 6px 8px;
    font-size: 15px;
  }

  /* Boutons (Météo / Contact) : sur la même ligne, centrés */
  .header-actions, .nav-actions, .actions, .menu-actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    width: 100%;
  }
}
/* ========= MOBILE ONLY : FORCE HEADER + MENU SUR 1 LIGNE ========= */
@media (max-width: 768px) {

  /* 1) Le header : on le met en flex et on évite les empilements bizarres */
  header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    padding: 10px 12px !important;
  }

  /* 2) Logo + texte : compact à gauche */
  header img {
    height: 38px !important;
    width: auto !important;
    flex: 0 0 auto !important;
  }

  /* Si ton texte est dans un h1/h2/p à côté du logo, on le compacte */
  header h1, header h2, header p, header span, header small {
    font-size: 12px !important;
    line-height: 1.1 !important;
    margin: 0 !important;
  }

  /* 3) Le menu : en flex sur UNE ligne (scroll horizontal si trop long) */
  header nav {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    overflow-x: auto !important;          /* si ça dépasse -> scroll */
    -webkit-overflow-scrolling: touch !important;
    white-space: nowrap !important;
    flex: 1 1 auto !important;
    justify-content: center !important;
  }

  /* 4) Liens du menu */
  header nav a {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    padding: 6px 8px !important;
    font-size: 15px !important;
  }

  /* 5) Si tu as Météo/Contact qui sont aussi des liens dans le header :
        on évite qu'ils prennent 2 lignes */
  header a {
    white-space: nowrap !important;
  }

  /* 6) Option : on masque le texte du logo en mobile si vraiment ça manque de place
        (décommente si nécessaire) */
  /*
  header .branding-text,
  header .logo-text,
  header .brand-text {
    display: none !important;
  }
  */
}
/* ===== MOBILE HEADER FIX ULTRA CIBLÉ ===== */
@media (max-width: 768px) {

  /* Conteneur tout en haut (bande logo + menu) */
  body > div:first-child,
  body > header,
  .top-bar,
  .navbar,
  .header-container {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    padding: 8px 10px !important;
  }

  /* Ligne logo + texte */
  img[alt*="logo"], 
  img[src*="logo"] {
    height: 40px !important;
    width: auto !important;
    margin-right: 8px !important;
  }

  /* Texte à côté du logo */
  .site-title, .brand-text, .logo-text {
    font-size: 13px !important;
    line-height: 1.1 !important;
    text-align: left !important;
  }

  /* MENU PRINCIPAL (Accueil, Formations, etc.) */
  a[href*="formations"],
  a[href*="temoignages"],
  a[href*="galerie"],
  a[href*="apropos"],
  a[href="/"],
  a[href*="meteo"],
  a[href*="contact"] {
    display: inline-block !important;
    padding: 6px 8px !important;
    white-space: nowrap !important;
  }

  /* Conteneur des liens */
  nav, .menu, .nav-links, .navigation {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
  }

  /* Boutons Météo / Contact */
  a[href*="meteo"], 
  a[href*="contact"] {
    margin-top: 4px !important;
  }
}
/* ===== FIX OVERLAY BLOQUÉ iPHONE ===== */

/* Le fond noir */
.overlay, .modal, .popup, .backdrop {
  z-index: 9998 !important;
}

/* La croix de fermeture */
.close, .modal-close, .popup-close, .overlay-close {
  position: fixed !important;
  top: 15px !important;
  right: 15px !important;
  z-index: 9999 !important;
  pointer-events: auto !important;
}

/* Évite que iOS bloque la hauteur */
.overlay, .modal, .popup {
  height: 100dvh !important;
}/* ===== KILL SWITCH : SUPPRIME TOUS LES OVERLAYS / MODALES BLOQUANTES ===== */

/* On force le scroll au cas où un script met overflow:hidden */
html, body {
  overflow: auto !important;
  height: auto !important;
}

/* Cibles fréquentes d'overlays/modales/backdrops */
.overlay, .modal, .popup, .backdrop, .lightbox, .drawer, .sheet,
[class*="overlay"], [id*="overlay"],
[class*="modal"],   [id*="modal"],
[class*="popup"],   [id*="popup"],
[class*="backdrop"],[id*="backdrop"],
[class*="lightbox"],[id*="lightbox"] {
  display: none !important;
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

/* Si un calque “fixed” pleine page existe, on le désactive (cas iOS typique) */
body > * {
  /* rien ici, juste pour ne pas casser le site */
}
