/* ============================================
   AEROCLUB POLYGONE 67 â€” CSS CUSTOM 2026 v1
   ============================================ */

   
/* --- VARIABLES DE DESIGN --- */
:root {
  --p67-bleu: #38a9e3;
  --p67-bleu-fonce: #1a5f8a;
  --p67-or: #e9b144;
  --p67-or-hover: #d49c2e;
  --p67-gris-clair: #f5f6f8;
  --p67-gris-bordure: #e2e6ea;
  --p67-texte: #2d3748;
  --p67-texte-clair: #64748b;
  --p67-blanc: #ffffff;
  --p67-ombre: 0 4px 20px rgba(0, 0, 0, 0.08);
  --p67-ombre-hover: 0 8px 30px rgba(0, 0, 0, 0.12);
  --p67-radius: 12px;
  --p67-transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);

  /* Variables formulaire de commande (harmonisÃ©es avec la palette p67) */
  --sky:       #38a9e3;
  --sky-light: #5bbef0;
  --navy:      #1a5f8a;
  --blue:      #2d3748;
  --grey:      #64748b;
  --gold:      #e9b144;
  --border:    #e2e6ea;
  --white:     #ffffff;
  --off-white: #f5f6f8;
  --horizon:   rgba(56, 169, 227, 0.15);
  --error:     #dc4848;
  --success:   #2e9e5a;
}

body p {
  margin-top: 0px !important;
  margin-bottom: 10px !important;
}

/* --- STICKY FOOTER --- */
#g-page-surround {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#g-container-main.g-wrapper {
  flex: 1 0 auto;
}

#g-footer {
  flex-shrink: 0;
}

/* --- CONTENEUR GLOBAL --- */
.g-container {
  max-width: 1000px;
}
#g-header .g-container {
  width: 100%;
  max-width: 100%;
}


#g-navigation .g-container {
  max-width: 100%;
  width: 100%;
}

.g-content {
  padding: 0px;
}


#g-container-main .g-content {
  animation: p67-fadeInUp 0.5s ease-out;
  margin-bottom: 10px !important;
  max-width: 90%;
}



.g-content h2 {
  color: var(--p67-or);
  font-weight: 700 !important;
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.g-content h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--p67-or);
  border-radius: 2px;
}

.g-content h3 {
  color: var(--p67-texte);
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: -0.01em;
}

.g-content h4 {
  color: var(--p67-texte-clair);
  font-weight: 200;
  font-size: 0.8rem;
  letter-spacing: -0.01em;
}

.g-content p {
  color: var(--p67-texte-clair);
  line-height: 1.7;
}

.g-content ul {
  color: var(--p67-texte-clair);
  line-height: 1.7;
  padding:5px;
}


.g-content a:hover {
  text-decoration: underline;
}

/* --- BANDEAU DE NAVIGATION (logo) --- */
.p67-background {
  background-image: url('/user/images/g5_helium/banner3.jpg') !important;
  height: 150px;
  background-size: cover;
  background-position: center;
  position: relative;
}



/* --- HEADER / MENU --- */
#g-header {
  padding: 0px;
  background-color: var(--p67-bleu) !important;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
  position: sticky;
  top: 0;
  z-index: 100;
}

#g-header a {
  color: var(--p67-blanc);
}

.p67-menu div {
  padding: 0px;
  margin: 0px;
}

.g-menu-item {
  padding: 5px;
  margin-left: 6px;
  margin-right: 6px;
}

/* Style des liens du menu */
#g-header .g-main-nav .g-toplevel > li > .g-menu-item-container {
  position: relative;
  transition: var(--p67-transition);
  border-radius: 6px;
  padding: 4px 10px !important;
}

#g-header .g-main-nav .g-toplevel > li > .g-menu-item-container:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Item actif */
.active > .g-menu-item-container {
  color: var(--p67-blanc) !important;
}

.g-menu-item.g-menu-item-type-link.active {
  background-color: var(--p67-or) !important;
  border-radius: 6px;
}

/* Soulignement animÃ© au survol */
#g-header .g-main-nav .g-toplevel > li:not(.active) > .g-menu-item-container > .g-menu-item-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--p67-or);
  transition: var(--p67-transition);
  transform: translateX(-50%);
}

#g-header .g-main-nav .g-toplevel > li:not(.active):hover > .g-menu-item-container > .g-menu-item-content::after {
  width: 70%;
}

/* --- ZONE DE CONTENU PRINCIPAL --- */
#g-container-main {
  background: var(--p67-gris-clair);
  padding-top: 0.2rem;
  padding-bottom: 2rem;
}

#g-mainbar {
  padding: 1rem 0;
  background: var(--p67-gris-clair);
}

.g-grid {
  text-align: justify;
}

/* --- CARDS --- */
.g-card {
  border: none !important;
  border-radius: var(--p67-radius) !important;
  background: var(--p67-blanc);
  box-shadow: var(--p67-ombre);
  padding: 20px !important;
  margin: 8px !important;
  overflow: hidden;
  transition: var(--p67-transition);
}

.g-card:hover {
  box-shadow: var(--p67-ombre-hover);
  transform: translateY(-3px);
}

/* Images dans les cartes */
.g-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 0;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.g-card:hover img {
  transform: scale(1.04);
}

.g-small {
  width: 185px;
  display: inline-block;
  height: 200px;
  text-align: center;
  background-color: #38a9e336;
}


/* --- BOUTONS --- */
.button {
  min-width: 10rem;
  width: 80%;
  margin-left: 10%;
  text-align: center;
  border-radius: 8px !important;
  padding: 0.9rem 2rem !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: var(--p67-transition) !important;
  box-shadow: 0 2px 8px rgba(77, 178, 179, 0.25);
  position: relative;
  overflow: hidden;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(77, 178, 179, 0.35) !important;
}

.button:active {
  transform: translateY(0);
}


/* Bouton style 3 (utilisÃ© dans les cartes) */
.button.button-3 {
  background: var(--p67-bleu) !important;
  color: var(--p67-blanc) !important;
  border: none !important;
}

.button.button-3:hover {
  background: var(--p67-bleu-fonce) !important;
}

.button.button-4 {
  background: var(--p67-or) !important;
  color: var(--p67-blanc) !important;
  border: none !important;
}

.button.button-4:hover {
  background: var(--p67-or-hover) !important;
}


.button.button-45 {
  max-width: 500px !important;
  background: var(--p67-bleu) !important;
  color: var(--p67-blanc) !important;
  border: none !important;
}

.button.button-45:hover {
  background: var(--p67-bleu-fonce) !important;
}

.clear-w { width: unset! important; height: unset!important; display: inline-block !important; padding-right: 15px; }

/* --- FOOTER --- */
#g-footer {
  background: linear-gradient(135deg, var(--p67-bleu) 0%,  var(--p67-bleu-fonce) 100%) !important;
  padding: 0 !important;
  border-top: 3px solid var(--p67-or);
}

#g-footer .g-branding {
  font-size: 0.9rem;
  line-height: 1.8;
  opacity: 0.9;
}

#g-footer .g-content { margin: 0; }

#g-footer .g-container {
  max-width: unset;
}

#g-footer .g-horizontalmenu a {
  transition: var(--p67-transition);
  padding: 4px 12px;
  border-radius: 4px;
}

#g-footer .g-horizontalmenu a:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--p67-or) !important;
  box-shadow: none !important;
}

/* IcÃ´nes sociales */
#g-footer .g-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  margin: 0 4px;
  transition: var(--p67-transition);
  font-size: 1.1rem;
}

#g-footer .g-social a:hover {
  background: var(--p67-or);
  color: var(--p67-blanc) !important;
  transform: translateY(-2px);
}

/* Masquer les icÃ´nes sociales vides (href vide) */
#g-footer .g-social a[href=""] {
  display: none;
}

/* --- MOBILE MENU --- */
#g-mobilemenu-container {
  margin-top: 10px;
}

#g-mobilemenu-container a {
  padding-top: 5px !important;
  padding-bottom: 0px !important;
}

/* Bouton hamburger */
.g-offcanvas-toggle {
  color: var(--p67-blanc) !important;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 8px 32px !important;
  transition: var(--p67-transition);
}

.g-offcanvas-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* --- ANIMATIONS D'ENTRÃ‰E --- */
@keyframes p67-fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#g-mainbar .g-content {
  animation: p67-fadeInUp 0.5s ease-out;
}

/* --- SCROLLBAR PERSONNALISÃ‰E --- */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--p67-gris-clair);
}

::-webkit-scrollbar-thumb {
  background: var(--p67-bleu);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--p67-bleu-fonce);
}

/* --- SÃ‰LECTION TEXTE --- */
::selection {
  background: var(--p67-or);
  color: var(--p67-blanc);
}

/* --- FOCUS ACCESSIBLE --- */
a:focus-visible,
.button:focus-visible {
  outline: 2px solid var(--p67-or);
  outline-offset: 3px;
  border-radius: 4px;
}


/* â”€â”€ Header de page (Vue app) â”€â”€ */
#app .page-header {
  background: linear-gradient(135deg, var(--p67-bleu) 0%, var(--p67-bleu-fonce) 100%);
  color: var(--p67-blanc);
  text-align: center;
  padding: 2rem 1.5rem 2.5rem;
  margin: -1rem -1rem 0;
  border-radius: var(--p67-radius) var(--p67-radius) 0 0;
  position: relative;
  overflow: hidden;
}

#app .page-header::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -10%;
  width: 260px;
  height: 260px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 50%;
  pointer-events: none;
}

#app .page-header .header-icon {
  font-size: 2.2rem;
  display: block;
  margin-bottom: 0.5rem;
}

#app .page-header h1 {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0 0 0.3rem;
  color: var(--p67-blanc);
  letter-spacing: -0.01em;
}

#app .page-header p {
  font-size: 0.85rem;
  opacity: 0.8;
  margin: 0;
  color: var(--p67-blanc);
}

#app label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--p67-texte);
}

#app label .req {
  color: var(--p67-bleu);
  margin-left: 2px;
}

#app input,
#app textarea {
  font-size: 0.95rem;
  color: var(--p67-texte);
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.7rem 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  width: 100%;
  outline: none;
}

#app input:focus,
#app textarea:focus {
  border-color: var(--p67-bleu);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(56, 169, 227, 0.12);
}

#app input.error {
  border-color: var(--error);
}

#app textarea {
  resize: vertical;
  min-height: 90px;
}

#app select {
    font-family: 'Barlow', sans-serif;
    font-size: 0.95rem;
    color: var(--p67-texte);
    background: var(--off-white);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 0.7rem 2.2rem 0.7rem 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%;
    outline: none;
    appearance: none;
    cursor: pointer;
  }
#app select:focus {
    border-color: var(--p67-bleu);
    background-color: var(--white);
    box-shadow: 0 0 0 3px rgba(56, 169, 227, 0.12);
}
#app select.error { border-color: var(--error); }

/* Captcha : mise en page de l'image + champ code */
.captcha-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.captcha-row img {
    height: 56px;
    border-radius: 8px;
    border: 1.5px solid var(--border);
    cursor: pointer;
    display: block;
}
.captcha-refresh-btn {
    font-size: 0.8rem;
    color: var(--p67-bleu);
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    font-family: 'Barlow', sans-serif;
    white-space: nowrap;
}
.captcha-refresh-btn:hover { opacity: 0.7; }
.captcha-code-wrap { flex: 1; min-width: 100px; }
.captcha-code-wrap input {
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-align: center;
}

.ref-badge {
    display: inline-block;
    background: rgba(255,255,255,0.15);
    border-radius: 20px;
    font-size: 1rem;
    color: var(--black);
    font-weight: 600;
    letter-spacing: 0.03em;
    position: relative;
}

/* â”€â”€ Stepper â”€â”€ */
.stepper {
  display: flex;
  justify-content: center;
  max-width: 320px;
  margin: -1.25rem auto 0;
  position: relative;
  z-index: 2;
  padding: 0 1.25rem;
}

.step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  position: relative;
}

.step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: var(--border);
  z-index: -1;
  transition: background 0.3s;
}

.step.done:not(:last-child)::after {
  background: var(--p67-bleu);
}

.step-dot {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--grey);
  transition: all 0.3s;
}

.step.step-active .step-dot {
  border-color: var(--p67-bleu);
  color: var(--p67-bleu);
  box-shadow: 0 0 0 4px rgba(56, 169, 227, 0.15);
}

.step.done .step-dot {
  background: var(--p67-bleu);
  border-color: var(--p67-bleu);
  color: white;
}

.step-label {
  font-size: 0.72rem;
  color: var(--grey);
  font-weight: 500;
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.step.step-active .step-label,
.step.done .step-label {
  color: var(--p67-bleu);
}

/* â”€â”€ Card formulaire â”€â”€ */
.card-wrap {
  max-width: 800px;
  margin: 1.5rem auto 3rem;
  padding: 0 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}



.card {
  background: var(--white);
  border-radius: var(--p67-radius);
  box-shadow: var(--p67-ombre);
  overflow: hidden;
  border: 1px solid var(--border);
}
.card.full { grid-column: 1 / -1; }
.card-body { padding: 1.75rem 2rem; }

.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--p67-or);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(233, 177, 68, 0.2);
}

/* Status badge */
.status-bar {
  display: flex;
  justify-content: center;
  margin: -1rem auto 0;
  position: relative;
  z-index: 2;
  padding: 0 1.25rem;
}
.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 24px;
  padding: 5px 20px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--blue);
}

.status-dot.st-new       { background: #94a3b8; }
.status-dot.st-contact   { background: #38bdf8; }
.status-dot.st-assign    { background: var(--gold); }
.status-dot.st-assigned  { background: #fb923c; }
.status-dot.st-planned   { background: #818cf8; }
.status-dot.st-done      { background: var(--success); }
.status-dot.st-cancel    { background: var(--error); }
.status-dot.st-sent      { background: #2dd4bf; }
.status-dot.st-wait      { background: #fbbf24; }
.status-dot.st-error     { background: var(--error); }

/* â”€â”€ Champs de formulaire â”€â”€ */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  margin-bottom: 1.5rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.field.full {
  grid-column: 1 / -1;
}


.error-msg {
  font-size: 0.75rem;
  color: var(--error);
}

/* â”€â”€ SÃ©lecteur passagers â”€â”€ */
.pax-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  background: var(--off-white);
}

.pax-btn {
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  font-size: 1.3rem;
  color: var(--p67-bleu);
  cursor: pointer;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pax-btn:hover:not(:disabled) {
  background: rgba(56, 169, 227, 0.1);
}

.pax-btn:disabled {
  color: var(--border);
  cursor: not-allowed;
}

.pax-value {
  flex: 1;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--p67-texte);
}

/* â”€â”€ Boutons toggle (Bon cadeau) â”€â”€ */
.toggle-group {
  display: flex;
  gap: 0.6rem;
}

.toggle-btn {
  flex: 1;
  padding: 0.65rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  background: var(--off-white);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--grey);
  cursor: pointer;
  transition: all 0.18s;
  text-align: center;
}

.toggle-btn.active {
  border-color: var(--p67-bleu);
  background: rgba(56, 169, 227, 0.08);
  color: var(--p67-bleu);
  font-weight: 600;
}

/* â”€â”€ RÃ©capitulatif â”€â”€ */
.recap {
  background: var(--off-white);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.recap-row {
  display: flex;
  justify-content: space-between;
  padding: 0.3rem 0;
  color: var(--p67-texte-clair);
}

.recap-row.total {
  border-top: 1.5px solid var(--border);
  margin-top: 0.5rem;
  padding-top: 0.75rem;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--p67-texte);
}

/* â”€â”€ Stripe Element â”€â”€ */
.stripe-wrap {
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 0.9rem;
  background: var(--off-white);
  margin-bottom: 1.5rem;
  min-height: 44px;
}

/* â”€â”€ Divider â”€â”€ */
.divider {
  height: 1px;
  background: var(--border);
  margin: 1.75rem 0;
}

/* â”€â”€ Boutons du formulaire â”€â”€ */
.btn-row {
  display: flex;
  gap: 0.75rem;
}

.btn-back {
  padding: 1rem 1.25rem;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  background: transparent;
  font-size: 0.95rem;
  color: var(--grey);
  cursor: pointer;
  transition: all 0.2s;
  white-space: break-spaces;
}

.btn-back:hover {
  border-color: var(--p67-bleu);
  color: var(--p67-bleu);
}

.btn-submit {
  flex: 1;
  padding: 1rem;
  background: linear-gradient(135deg, var(--p67-bleu) 0%, var(--p67-bleu-fonce) 100%);
  color: var(--white);
  border: none;
  border-radius: 10px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s, box-shadow 0.2s;
  box-shadow: 0 4px 16px rgba(56, 169, 227, 0.3);
}

.btn-submit:hover:not(:disabled) {
  opacity: 0.92;
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(56, 169, 227, 0.4);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}

/* â”€â”€ Comments â”€â”€ */
.comments-list {
    margin-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.comment-bubble {
    background: var(--off-white);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.88rem;
    line-height: 1.55;
    color: var(--blue);
}
.comment-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.3rem;
}
.comment-author {
    font-weight: 600;
    font-size: 0.78rem;
    color: var(--navy);
}
.comment-date {
    font-size: 0.72rem;
    color: var(--grey);
}
.comment-text {
    color: var(--blue);
}

.no-comments {
    text-align: center;
    padding: 1.5rem 0;
    color: var(--grey);
    font-size: 0.85rem;
    font-style: italic;
}

/* â”€â”€ Alert â”€â”€ */
.alert {
    padding: 0.85rem 1rem;
    border-radius: 10px;
    font-size: 0.88rem;
    margin-bottom: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}
.alert.error {
    background: rgba(220,72,72,0.06);
    border: 1px solid rgba(220,72,72,0.2);
    color: #b94040;
}
.alert.success {
    background: rgba(46,158,90,0.06);
    border: 1px solid rgba(46,158,90,0.2);
    color: var(--success);
}


/* â”€â”€ Spinner â”€â”€ */
.spinner {
  width: 18px;
  height: 18px;
  border: 2.5px solid rgba(255, 255, 255, 0.4);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.spinner-sm {
    width: 14px; height: 14px;
    border: 2px solid rgba(255,255,255,0.4);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 0.7s linear infinite;
    display: inline-block;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* â”€â”€ Alert (formulaire) â”€â”€ */
#app .alert {
  padding: 0.9rem 1.1rem;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
}

#app .alert.error {
  background: rgba(220, 72, 72, 0.06);
  border: 1px solid rgba(220, 72, 72, 0.2);
  color: #b94040;
}

/* â”€â”€ Ã‰cran succÃ¨s â”€â”€ */
.success-screen {
  text-align: center;
  padding: 2.5rem 1.5rem;
}

.success-screen .icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.success-screen h2 {
  font-size: 1.6rem;
  color: var(--success) !important;
  margin-bottom: 0.75rem;
}

.success-screen h2::after {
  display: none;
}

.success-screen p {
  color: var(--grey);
  line-height: 1.8;
}

/* â”€â”€ Note de formulaire â”€â”€ */
.form-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--grey);
  margin-top: 1rem;
  line-height: 1.5;
}

/* â”€â”€ Loading skeleton â”€â”€ */
.skeleton {
    background: linear-gradient(90deg, var(--off-white) 25%, #e8ecf0 50%, var(--off-white) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 6px;
    height: 1rem;
    width: 60%;
}
@keyframes shimmer { to { background-position: -200% 0; } }

/* â”€â”€ Info header avec QR â”€â”€ */
.card-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.info-header-left h1 {
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 1.4rem;
    line-height: 1.4rem;
    font-weight: 700;
    color: var(--blue);
}
.qr-block {
    display: none;
}
.qr-img {
    border-radius: 8px;
    padding: 4px;
    background: var(--white);
    width: 90px !important;
    height: 90px !important;
    border: 1px solid #ccc !important;
    padding: 3px !important;
}
.qr-label {
    font-size: 0.65rem;
    color: var(--grey);
    text-align: center;
    max-width: 120px;
    line-height: 1.3;
    font-size: 6.5pt !important;
    color: #888 !important;
}


.info-grid {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(0,0,0,0.04);
}

.info-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--grey);
  flex-shrink: 0;
}

.info-value {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--blue);
  text-align: right;
  word-break: break-word;
}

.tag {
    display: inline-block;
    padding: 0.15rem 0.65rem;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
}
.tag.oui { background: rgba(46,158,90,0.1); color: var(--success); }
.tag.non { background: rgba(100,116,139,0.1); color: var(--grey); }

/* â”€â”€ Comment section â”€â”€ */
.comment-input-wrap {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
}
.comment-input-wrap textarea {
    font-family: 'Barlow', sans-serif;
    font-size: 0.9rem;
    color: var(--blue);
    background: var(--off-white);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    padding: 0.65rem 0.9rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    width: 100%; outline: none;
    resize: vertical;
    min-height: 70px;
}
.comment-input-wrap textarea:focus {
    border-color: var(--sky);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(56,169,227,0.12);
}

.btn-comment {
    flex-shrink: 0;
    padding: 0.65rem 1.2rem;
    background: linear-gradient(135deg, var(--sky) 0%, var(--navy) 100%);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: 'Barlow Condensed', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.15s;
    box-shadow: 0 3px 12px rgba(56,169,227,0.25);
    white-space: nowrap;
    align-self: flex-end;
}
.btn-comment:hover:not(:disabled) {
    opacity: 0.9;
    transform: translateY(-1px);
}
.btn-comment:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* â”€â”€ Bouton imprimer â”€â”€ */
.print-btn-wrap {
    grid-column: 1 / -1;
    text-align: right;
}
.btn-print {
    padding: 0.55rem 1.3rem;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: 8px;
    font-family: 'Barlow', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--grey);
    cursor: pointer;
    transition: all 0.2s;
}
.btn-print:hover {
    border-color: var(--sky);
    color: var(--sky);
}

/* â”€â”€ En-tÃªte impression (masquÃ© Ã  l'Ã©cran) â”€â”€ */
.print-header { display: none; }



/* â”€â”€ Responsive â”€â”€ */


/* --- RESPONSIVE --- */
@media only all and (max-width: 47.99rem) {

  .g-content h2 {
    font-size: 1.4rem;
  }

  .g-block.size-45 {
    margin: 8px 0 !important;
    width: 100% !important;
  }

  .g-block.size-45 > div {
    padding: 20px !important;
  }

  .g-small {
    width: 145px;
  }

  #g-container-main {
    padding-top: 1rem;
    padding-bottom: 1rem;
  }

  #g-footer {
    text-align: center;
  }

  #g-footer .g-social {
    margin-top: 1rem;
  }
}

@media only all and (min-width: 48rem) and (max-width: 59.99rem) {
  .g-menu-item {
    margin-left: 3px;
    margin-right: 3px;
    padding: 4px;
  }
}


@media (max-width: 520px) {
  h1 {
    font-size: 2rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: 1;
  }

  .card-body {
    padding: 0.9rem 0.5rem;
  }

  .card-wrap {
    padding: 0;
  } 

  .g-content {
    padding: 0px;
    max-width: 100%;
  }

  #app .page-header {
    padding: 1.5rem 1rem 2rem;
    margin: -0.5rem -0.5rem 0;
  }

  #app .page-header h1 {
    font-size: 1.35rem;
  }
}


@media (max-width: 640px) {
    .main-wrap {
        grid-template-columns: 1fr;
    }
    .card { grid-column: 1 / -1; }
    .card-body { padding: 1.4rem 1.25rem; }
    .comment-input-wrap {
        flex-direction: column;
    }
    .btn-comment {
        align-self: stretch;
        text-align: center;
    }
    .card-info-header { flex-direction: column; align-items: flex-start !important; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
    PAGES CONTENU Ã‰DITORIAL
    (club, terrain, avions, activitÃ©sâ€¦)
    Cible : #g-mainbar .g-content sans #app
    â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ Habillage card de la zone de contenu â”€â”€ */
#g-mainbar .g-content:not(:has(#app)) {
    background: var(--p67-blanc);
    border-radius: var(--p67-radius);
    box-shadow: var(--p67-ombre);
    border: 1px solid var(--border);
    padding: 2rem 2.5rem !important;
    margin: 0 auto;
}

/* â”€â”€ Premier paragraphe : accroche mise en avant â”€â”€ */
.g-highlight {
    font-size: 1.05rem;
    color: var(--p67-texte);
    font-weight: 400;
    line-height: 1.85;
    border-left: 3px solid var(--p67-bleu);
    padding-left: 1rem;
    margin-bottom: 1.5rem;
}

/* â”€â”€ Paragraphes courants â”€â”€ */
#g-mainbar .g-content:not(:has(#app)) p {
    line-height: 1.78;
    margin-bottom: 1.1rem;
}

/* â”€â”€ Liens dans le texte â”€â”€ */
#g-mainbar .g-content:not(:has(#app)) p a {
    color: var(--p67-bleu);
    font-weight: 500;
    text-decoration: none;
    border-bottom: 1px solid rgba(56, 169, 227, 0.35);
    transition: color var(--p67-transition), border-color var(--p67-transition);
}

#g-mainbar .g-content:not(:has(#app)) p a:hover {
    color: var(--p67-bleu-fonce);
    border-bottom-color: var(--p67-bleu-fonce);
    text-decoration: none;
}

/* â”€â”€ Images dans les paragraphes â”€â”€ */

#g-mainbar .g-content:not(:has(#app)) img {
    max-width: 100%;
    width: 100%;
    height: 320px;
    object-fit: cover;
    object-position: center;
    display: block;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

#g-mainbar .g-content:not(:has(#app)) img:hover {
    transform: scale(1.02);
}

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 640px) {
    #g-mainbar .g-content:not(:has(#app)) {
        padding: 1.25rem 1rem !important;
        border-radius: 8px;
    }

    #g-mainbar .g-content:not(:has(#app)) p:has(> img) {
        margin: 1.5rem -1rem;
    }

    #g-mainbar .g-content:not(:has(#app)) img {
        height: 200px;
    }
}

@media (max-width: 767px) {
  #app label { font-size: 1.2rem; }
  #app input, #app textarea { padding: 2px 10px; font-size: 1.2rem; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
    STYLES D'IMPRESSION
    â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media print {
    /* Reset fond et ombres */
    *, *::before, *::after {
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        background: white !important;
        color: #1a1a1a !important;
        font-size: 11pt;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Masquer les Ã©lÃ©ments interactifs */
    .page-header,
    .btn-print,
    .print-btn-wrap,
    .comment-input-wrap,
    .btn-comment,
    .alert,
    .skeleton,
    .spinner-sm,
    .no-comments {
        display: none !important;
    }

    #g-header { display: none !important; }
    #g-footer { display: none !important; }
    #g-container-main { background-color: #ffffff !important; }

    #g-container-main { padding-top:0 }
    #g-container-main { padding-top:0 }
    #g-mainbar { padding-top:0 }

    /* Afficher l'en-tÃªte d'impression */
    .print-header {
        display: block !important;
        grid-column: 1 / -1;
        margin-bottom: 0.4rem;
    }
    .no-print { display: none; }
    .print-header-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        padding: 0 0 0.5rem;
    }
    .print-brand-name {
        font-family: 'Barlow Condensed', sans-serif;
        font-size: 16pt;
        font-weight: 700;
        color: #1a5f8a;
        letter-spacing: 0.02em;
    }
    .print-brand-sub {
        font-size: 9pt;
        color: #64748b;
        margin-top: 2px;
    }
    .print-title-block {
        text-align: right;
    }
    .print-doc-title {
        font-family: 'Barlow Condensed', sans-serif;
        font-size: 16pt;
        font-weight: 700;
        color: #e9b144;
        letter-spacing: 0.06em;
        text-transform: uppercase;
    }
    .print-ref {
        font-size: 24px;
        color: #64748b;
        margin-top: 2px;
        font-weight: 600;
    }
    .print-separator {
        height: 3px;
        background: linear-gradient(90deg, #38a9e3, #1a5f8a);
        border-radius: 2px;
        margin-top: 0.3rem;
    }

    /* Layout principal */
    .main-wrap {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0.8cm !important;
        gap: 0.8rem !important;
        grid-template-columns: 1fr 1fr !important;
    }

    /* Cartes */
    .card {
        border: 1px solid #d0d0d0 !important;
        border-radius: 6px !important;
        page-break-inside: avoid;
    }
    .card.full {
        grid-column: 1 / -1 !important;
    }
    .card-body {
        padding: 1rem 1.2rem !important;
    }

    /* Carte info header : masquer le h1 Ã©cran, garder QR */
    .card-info-header {
        display: flex !important;
        justify-content: flex-end !important;
        padding: 0.8rem 1.2rem !important;
    }
    .info-header-left {
        display: none !important;
    }

    /* Status badge */
    .status-bar {
        margin: 0 !important;
        padding: 0.4rem 1.2rem 0.8rem !important;
        justify-content: flex-start !important;
    }
    .status-badge {
        border: 1px solid #ccc !important;
        border-radius: 12px !important;
        padding: 0.25rem 0.8rem !important;
        font-size: 9pt !important;
    }
    .status-dot {
        width: 8px !important;
        height: 8px !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .qr-block {
        display: block;
        text-align: center;
    }

    /* Section labels */
    .section-label {
        font-size: 8pt !important;
        color: #b8942e !important;
        border-bottom: 1.5px solid #e9b14440 !important;
        margin-bottom: 0.6rem !important;
        padding-bottom: 0.25rem !important;
    }

    /* Info rows */
    .info-row {
        padding: 0.2rem 0 !important;
        border-bottom: 1px solid #f0f0f0 !important;
    }
    .info-label {
        font-size: 8.5pt !important;
        color: #666 !important;
    }
    .info-value {
        font-size: 9.5pt !important;
        color: #1a1a1a !important;
    }
    .info-value.highlight {
        color: var(--navy);
        font-weight: 700;
        font-size: 1.05rem;
    }

    /* Tags */
    .tag {
        border: 1px solid currentColor !important;
        background: transparent !important;
        font-size: 8pt !important;
        padding: 1px 6px !important;
        border-radius: 4px !important;
    }
    .tag.oui { background: rgba(46,158,90,0.1); color: var(--success); }
    .tag.non { background: rgba(100,116,139,0.1); color: var(--grey); }

    /* Commentaires (lecture seulement) */
    .comment-bubble {
        background: #fafafa !important;
        border: 1px solid #e0e0e0 !important;
        border-radius: 4px !important;
        padding: 0.4rem 0.6rem !important;
        font-size: 9pt !important;
        page-break-inside: avoid;
    }
    .comment-meta {
        margin-bottom: 0.15rem !important;
    }
    .comment-author {
        font-size: 8pt !important;
    }
    .comment-date {
        font-size: 7pt !important;
    }
    .comments-list {
        gap: 0.35rem !important;
    }

    /* Ref badge Ã©cran dans la carte info */
    .ref-badge {
        display: none !important;
    }

    /* Pied de page impression */
    @page {
        size: A4 portrait;
        margin: 1.2cm 1cm;
    }
}