/* ============================================================
   FFCQ — ffcq-v2.css
   Additif à charger APRÈS css/style.css :
   <link rel="stylesheet" href="css/style.css">
   <link rel="stylesheet" href="css/ffcq-v2.css">
   Ne remplace rien : surcharge les polices, les contrastes,
   le focus clavier, et fournit les composants de la refonte
   quiz / classement / archives.
   ============================================================ */

:root {
  --navy:        #0c1a3a;
  --navy-hover:  #122a5c;
  --or:          #f5b400;
  /* Versions lisibles des couleurs de thème sur fond blanc (texte) */
  --or-texte:    #7a5c00;
  --vert-texte:  #1d6b41;
  --rouge:       #e0483e;
  --rouge-texte: #8c2f27;
  --papier:      #faf9f6;
  --trait:       #ece9e2;

  --police-titre: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --police-texte: "Atkinson Hyperlegible", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body { font-family: var(--police-texte); }

h1, h2, h3, h4,
.hero-title, .section-title, .about-title, .cta-title,
.event-title, .learn-card-title, .stat-number,
.theme-titre, .quiz-question, .resultats-titre, .score-number {
  font-family: var(--police-titre);
  letter-spacing: -0.015em;
}

/* --- Focus clavier visible partout --- */
a:focus-visible,
button:focus-visible,
input:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--or);
  outline-offset: 2px;
  border-radius: 6px;
}

/* --- Bandeau de page --- */
.ffcq-bandeau {
  background: var(--navy);
  border-radius: 18px;
  padding: 30px 34px;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.ffcq-bandeau-texte { flex: 1; min-width: 280px; }

.ffcq-eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--or);
  margin-bottom: 12px;
}

.ffcq-eyebrow::before {
  content: '';
  width: 34px;
  height: 2px;
  background: var(--or);
}

.ffcq-bandeau h1 {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  margin: 0 0 10px;
}

.ffcq-bandeau p {
  font-size: 14.5px;
  line-height: 1.6;
  color: rgba(255,255,255,0.74);
  max-width: 460px;
  margin: 0;
  text-wrap: pretty;
}

.ffcq-stats { display: flex; gap: 26px; flex-wrap: wrap; }
.ffcq-stat-val { font-size: 26px; font-weight: 800; color: #fff; line-height: 1.05; }
.ffcq-stat-val.or { color: var(--or); }
.ffcq-stat-lib {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

/* --- Cartes de thème --- */
.ffcq-themes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }

.ffcq-theme {
  display: block;
  background: #fff;
  border-radius: 16px;
  padding: 22px 24px;
  border: 2px solid var(--border);
  box-shadow: 0 4px 18px rgba(12,26,58,0.06);
  cursor: pointer;
  text-align: left;
  width: 100%;
  font: inherit;
  transition: transform 0.18s, box-shadow 0.18s;
}

.ffcq-theme:hover:not(.joue) { transform: translateY(-3px); box-shadow: 0 12px 28px rgba(12,26,58,0.13); }

.ffcq-theme.joue {
  background: #efece5;
  border-color: #e2ded5;
  box-shadow: none;
  opacity: 0.72;
  cursor: not-allowed;
}

.ffcq-theme-haut { display: flex; align-items: center; gap: 16px; }

.ffcq-disque {
  width: 54px; height: 54px;
  border-radius: 16px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
}

.ffcq-theme-titre { font-family: var(--police-titre); font-size: 19px; font-weight: 800; color: var(--navy); }
.ffcq-theme-meta { font-size: 13px; color: var(--text-gray); }

.ffcq-etat {
  margin-left: auto;
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 20px;
  color: var(--navy);
}

.ffcq-theme.joue .ffcq-etat { background: #e2ded5; color: var(--text-gray); }

.ffcq-jauge-fond {
  height: 4px;
  border-radius: 4px;
  margin-top: 18px;
  background: #eceae4;
  overflow: hidden;
}

.ffcq-jauge { display: block; height: 100%; border-radius: 4px; transition: width 0.5s; }

/* --- Carte question --- */
.ffcq-carte {
  position: relative;
  background: #fff;
  border-radius: 18px;
  padding: 32px 34px 28px;
  box-shadow: 0 6px 28px rgba(12,26,58,0.08);
  overflow: hidden;
}

.ffcq-liseret {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), #38b6ff);
  transition: background 0.3s;
}

.ffcq-liseret.ok { background: var(--green); }
.ffcq-liseret.ko { background: var(--rouge); }

.ffcq-question-haut {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 26px;
}

.ffcq-segments { display: flex; gap: 5px; }

.ffcq-segment {
  flex: 1;
  height: 6px;
  border-radius: 6px;
  background: #e8e5de;
  transition: all 0.35s;
}

.ffcq-segment.actif  { background: #c9d6ee; }
.ffcq-segment.ok     { background: var(--green); transform: scaleY(1.6); }
.ffcq-segment.ko     { background: var(--rouge); transform: scaleY(1.6); }

.ffcq-chip {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-light);
  padding: 4px 11px;
  border-radius: 20px;
}

.ffcq-chip-theme {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  font-weight: 700;
  padding: 8px 15px;
  border-radius: 20px;
  color: var(--or-texte);
}

.ffcq-serie {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 12.5px;
  font-weight: 800;
  color: var(--or-texte);
  background: #ffeab8;
  border: 1px solid var(--or);
  padding: 7px 14px;
  border-radius: 20px;
  animation: ffcqPop 0.35s ease-out both;
}

.ffcq-serie-vide { font-size: 12.5px; font-weight: 600; color: #9ca3af; }

/* --- Chrono en anneau --- */
.ffcq-chrono { position: relative; width: 68px; height: 68px; flex-shrink: 0; }
.ffcq-chrono svg { transform: rotate(-90deg); }
.ffcq-chrono-piste { fill: none; stroke: #eceae4; stroke-width: 6; }
.ffcq-chrono-arc {
  fill: none;
  stroke: var(--blue);
  stroke-width: 6;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.95s linear, stroke 0.3s;
}
.ffcq-chrono-val {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--police-titre);
  font-size: 20px;
  font-weight: 800;
  color: var(--navy);
}
.ffcq-chrono.urgence { animation: ffcqPulse 1s ease-in-out infinite; }
.ffcq-chrono.urgence .ffcq-chrono-arc { stroke: var(--rouge); }
.ffcq-chrono.urgence .ffcq-chrono-val { color: var(--rouge); }
.ffcq-chrono.pause .ffcq-chrono-arc { stroke: #9ca3af; }

.ffcq-btn-pause {
  font-size: 11.5px;
  font-weight: 700;
  color: var(--text-gray);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 11px;
  cursor: pointer;
}

.ffcq-btn-pause:hover { background: var(--bg-light); color: var(--navy); }

.ffcq-enonce {
  font-family: var(--police-titre);
  font-size: 26px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin: 0 0 28px;
  text-wrap: pretty;
}

/* --- Zone de réponse --- */
.ffcq-reponse { display: flex; gap: 12px; flex-wrap: wrap; }
.ffcq-reponse.secousse { animation: ffcqShake 0.4s ease-out both; }

.ffcq-input {
  flex: 1;
  min-width: 240px;
  padding: 16px 18px;
  font-family: inherit;
  font-size: 16px;
  border-radius: 12px;
  border: 2px solid #e0ddd5;
  background: var(--papier);
  color: var(--navy);
  outline: none;
  transition: border-color 0.25s, background 0.25s;
}

.ffcq-input.ok { border-color: var(--green); background: #eafaf0; animation: ffcqGlow 0.7s ease-out both; }
.ffcq-input.ko { border-color: var(--rouge); background: #fdeceb; }

.ffcq-btn {
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 16px 30px;
  border-radius: 12px;
  border: none;
  background: var(--blue);
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s;
}

.ffcq-btn:hover { background: var(--blue-dark); }
.ffcq-btn:disabled { background: #c9c5bc; cursor: not-allowed; }

.ffcq-btn-navy { background: var(--navy); width: 100%; margin-top: 16px; animation: ffcqSlide 0.25s ease-out both; }
.ffcq-btn-navy:hover { background: var(--navy-hover); }

/* --- Retour de réponse --- */
.ffcq-retour {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
  padding: 15px 18px;
  border-radius: 12px;
  font-size: 14.5px;
  font-weight: 600;
  animation: ffcqSlide 0.28s ease-out both;
}

.ffcq-retour.ok { background: #e3f7ea; color: var(--vert-texte); border: 1px solid #b4e3c6; }
.ffcq-retour.ko { background: #fdeceb; color: var(--rouge-texte); border: 1px solid #f3c8c4; }

.ffcq-pastille {
  width: 30px; height: 30px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 16px;
  font-weight: 800;
  animation: ffcqPop 0.4s ease-out both;
}

.ffcq-pastille.ok { background: var(--green); }
.ffcq-pastille.ko { background: var(--rouge); }

.ffcq-anecdote {
  display: flex;
  gap: 12px;
  margin-top: 12px;
  padding: 15px 18px;
  border-radius: 12px;
  background: var(--papier);
  border: 1px solid var(--trait);
  border-left: 4px solid var(--blue);
  font-size: 14px;
  line-height: 1.65;
  color: #414b5a;
  animation: ffcqSlide 0.3s ease-out 0.08s both;
  text-wrap: pretty;
}

.ffcq-anecdote-titre {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 5px;
}

.ffcq-plus {
  position: absolute;
  right: 38px;
  top: 96px;
  font-family: var(--police-titre);
  font-size: 26px;
  font-weight: 800;
  color: var(--green);
  pointer-events: none;
  animation: ffcqRise 1.1s ease-out both;
}

.ffcq-confetti { position: absolute; right: 52px; top: 112px; pointer-events: none; }
.ffcq-confetti span {
  position: absolute;
  width: 7px; height: 7px;
  animation: ffcqConfetti 0.85s ease-out both;
}

/* --- Résultats --- */
.ffcq-anneau { position: relative; width: 140px; height: 140px; flex-shrink: 0; }
.ffcq-anneau svg { transform: rotate(-90deg); }
.ffcq-anneau-piste { fill: none; stroke: rgba(255,255,255,0.14); stroke-width: 11; }
.ffcq-anneau-arc {
  fill: none;
  stroke: var(--or);
  stroke-width: 11;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.15s linear;
}
.ffcq-anneau-val {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ffcq-anneau-score { font-family: var(--police-titre); font-size: 40px; font-weight: 800; color: #fff; line-height: 1; }
.ffcq-anneau-total { font-size: 13px; color: rgba(255,255,255,0.66); }

.ffcq-recap { display: flex; flex-direction: column; gap: 10px; margin: 24px 0; }

.ffcq-recap-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 18px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 10px rgba(12,26,58,0.05);
  animation: ffcqSlide 0.3s ease-out both;
}

.ffcq-recap-item.ok { border-left: 4px solid var(--green); }
.ffcq-recap-item.ko { border-left: 4px solid var(--rouge); }

.ffcq-recap-icone {
  width: 26px; height: 26px;
  border-radius: 50%;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
}

.ffcq-recap-item.ok .ffcq-recap-icone { background: #e3f7ea; color: var(--vert-texte); }
.ffcq-recap-item.ko .ffcq-recap-icone { background: #fdeceb; color: var(--rouge-texte); }

.ffcq-recap-q { font-size: 14.5px; font-weight: 700; color: var(--navy); margin-bottom: 4px; text-wrap: pretty; }
.ffcq-recap-d { font-size: 13px; color: var(--text-gray); }

.ffcq-recap-pts {
  font-size: 12.5px;
  font-weight: 800;
  white-space: nowrap;
  padding: 6px 11px;
  border-radius: 20px;
}

.ffcq-recap-item.ok .ffcq-recap-pts { background: #e3f7ea; color: var(--vert-texte); }
.ffcq-recap-item.ko .ffcq-recap-pts { background: #fdeceb; color: var(--rouge-texte); }

/* --- Partage du score en texte --- */
.ffcq-partage {
  background: #fff;
  border: 1px solid var(--trait);
  border-radius: 16px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  animation: ffcqSlide 0.3s ease-out both;
}

.ffcq-partage-texte {
  margin: 0;
  padding: 18px 20px;
  border-radius: 12px;
  background: var(--papier);
  border: 1px solid var(--trait);
  font-family: var(--police-texte);
  font-size: 15px;
  line-height: 1.7;
  color: var(--navy);
  white-space: pre-wrap;
  word-break: break-word;
  user-select: all;
}

.ffcq-partage-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.ffcq-partage-actions button { flex: 1; min-width: 180px; justify-content: center; }
.ffcq-btn-vert.copie { background: var(--navy); }

/* --- Boîtes secondaires --- */
.ffcq-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }

.ffcq-btn-contour {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 10px;
  background: #fff;
  color: var(--blue);
  border: 2px solid var(--blue);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.ffcq-btn-contour:hover { background: var(--blue); color: #fff; }

.ffcq-btn-vert {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 10px;
  background: var(--green);
  color: #fff;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}

.ffcq-btn-vert:hover { background: var(--green-hover); }

/* --- Animations --- */
@keyframes ffcqPop { 0% { transform: scale(0.6); opacity: 0; } 60% { transform: scale(1.12); opacity: 1; } 100% { transform: scale(1); opacity: 1; } }
@keyframes ffcqShake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-7px); } 40% { transform: translateX(6px); } 60% { transform: translateX(-4px); } 80% { transform: translateX(3px); } }
@keyframes ffcqRise { 0% { transform: translateY(6px); opacity: 0; } 25% { transform: translateY(-6px); opacity: 1; } 100% { transform: translateY(-42px); opacity: 0; } }
@keyframes ffcqSlide { from { transform: translateY(10px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes ffcqConfetti { 0% { transform: translate(0,0) scale(1); opacity: 1; } 100% { transform: translate(var(--dx), var(--dy)) scale(0.4); opacity: 0; } }
@keyframes ffcqPulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.07); } }
@keyframes ffcqGlow { 0% { box-shadow: 0 0 0 0 rgba(39,174,96,0.45); } 100% { box-shadow: 0 0 0 18px rgba(39,174,96,0); } }
@keyframes ffcqMonte { from { transform: scaleY(0.2); opacity: 0; } to { transform: scaleY(1); opacity: 1; } }
@keyframes ffcqBrille { 0%,100% { box-shadow: 0 0 0 0 rgba(245,180,0,0.35); } 50% { box-shadow: 0 0 0 12px rgba(245,180,0,0); } }

/* --- Respect du réglage système « moins d'animations » --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .ffcq-confetti { display: none; }
}

@media (max-width: 600px) {
  .ffcq-themes { grid-template-columns: 1fr; }
  .ffcq-carte { padding: 24px 20px; }
  .ffcq-enonce { font-size: 21px; }
  .ffcq-bandeau { padding: 24px; }
  .ffcq-bandeau h1 { font-size: 25px; }
  .ffcq-plus { right: 20px; top: 80px; }
}


/* ============================================================
   SECTIONS DE L'ACCUEIL (sous le hero)
   Surcharges de css/style.css pour aligner les sections
   historiques sur la palette de la refonte : bleu nuit, or,
   papier, filets discrets. Chargé après style.css, donc
   aucune modification d'index.html n'est nécessaire.
   ============================================================ */

/* --- Chiffres clés --- */
.stats-bar { background: var(--navy); border-top: none; border-bottom: none; }
.stats-bar .stat-number { color: #fff; }
.stats-bar .stat-number span { color: var(--or); }
.stats-bar .stat-item > div:not(.stat-number),
.stats-bar .stat-label { color: rgba(255,255,255,0.62); }
.stats-inner { border: none; }

/* --- Titres de section --- */
.section-title { color: var(--navy); letter-spacing: -0.02em; }
.section-link {
  color: var(--navy); font-weight: 700; text-decoration: none;
  border-bottom: 1px solid var(--or); padding-bottom: 2px;
}
.section-link:hover { color: var(--navy-hover); border-bottom-color: var(--navy); }
.learn-subtitle, .about-text, .event-desc, .learn-card-desc { color: #4a5260; }
.about-label, .cta-eyebrow {
  color: var(--or-texte); font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; font-size: 12px;
}
.about-title { color: var(--navy); letter-spacing: -0.02em; }

/* --- Actualités & tournois --- */
.events-bg { background: var(--papier); }
.event-card {
  background: #fff; border: 1px solid var(--trait);
  border-radius: 14px; box-shadow: none;
}
.event-card:hover { border-color: #d8d3c7; transform: none; }
.event-card.white { background: #fff; }
.event-card.dark { background: var(--navy); border-color: var(--navy); }
.event-card.dark .event-title,
.event-card.dark .event-desc,
.event-card.dark .event-date { color: #fff; }
.event-card.dark .event-desc { color: rgba(255,255,255,0.72); }
.event-title { color: var(--navy); }
.event-date, .event-loc { color: #7d8590; font-size: 13px; }
.event-card.dark .event-loc { color: rgba(255,255,255,0.6); }

.event-tag {
  font-size: 11px; font-weight: 700; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 3px 10px; border-radius: 20px;
}
.event-tag.majeur   { background: var(--navy); color: #fff; }
.event-tag.regional { background: #eaf5ee; color: var(--vert-texte); }
.event-tag.annonce  { background: rgba(245,180,0,0.22); color: var(--or); }
.event-card:not(.dark) .event-tag.annonce { background: #fdf3d6; color: var(--or-texte); }

.event-footer { border-top: 1px solid var(--trait); }
.event-card.dark .event-footer { border-top-color: rgba(255,255,255,0.14); }
.event-avatar {
  background: var(--papier); color: var(--navy);
  border: 2px solid #fff; font-weight: 700;
}
.event-avatar.more { background: var(--navy); color: #fff; }

/* --- Boutons --- */
.btn-card, .btn-about {
  background: var(--navy); color: #fff; border: 1px solid var(--navy);
  font-weight: 700; border-radius: 8px; text-decoration: none;
}
.btn-card:hover, .btn-about:hover { background: var(--navy-hover); border-color: var(--navy-hover); }
.event-card.dark .btn-card { background: var(--or); border-color: var(--or); color: var(--navy); }
.event-card.dark .btn-card:hover { background: #ffc61a; border-color: #ffc61a; }

/* --- À propos --- */
.about-badge {
  background: var(--papier); border: 1px solid var(--trait);
  color: #4a5260; font-weight: 700; border-radius: 8px;
}
.about-image-placeholder {
  background: var(--navy); color: var(--or);
  border-radius: 16px; border: none;
}
.about-badge-float {
  background: #fff; border: 1px solid var(--trait);
  border-radius: 12px; box-shadow: 0 8px 24px rgba(12,26,58,0.1);
}
.about-badge-float .icon { background: #fdf3d6; border-radius: 9px; }

/* --- Progresser --- */
.learn-bg { background: var(--navy); }
.learn-bg .section-title { color: #fff; }
.learn-bg .learn-subtitle { color: rgba(255,255,255,0.68); }
.learn-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.14);
  border-radius: 14px; box-shadow: none;
}
.learn-card:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.24); transform: none; }
.learn-card-title { color: #fff; }
.learn-bg .learn-card-desc { color: rgba(255,255,255,0.7); }
.learn-icon {
  width: 52px; height: 52px; display: flex; align-items: center; justify-content: center;
  font-size: 24px; border-radius: 12px;
  background: rgba(245,180,0,0.18); border: 1px solid rgba(245,180,0,0.32);
}
.learn-card a, .learn-card .learn-link { color: var(--or); font-weight: 700; }

/* --- Clubs & carte --- */
.clubs-list { border-top: 1px solid var(--trait); }
.clubs-list > * { border-bottom: 1px solid var(--trait); }
.clubs-list a { color: var(--navy); font-weight: 700; }

/* --- Instagram --- */
.insta-bg { background: var(--papier); }
.insta-handle { color: #4a5260; }
.insta-handle a { color: var(--navy); font-weight: 700; border-bottom: 1px solid var(--or); }

/* --- CTA final --- */
.cta-section { background: var(--navy); }
.cta-section .cta-eyebrow { color: var(--or); }
.cta-title { color: #fff; letter-spacing: -0.02em; }
.cta-sub { color: rgba(255,255,255,0.72); }
.btn-cta-white {
  background: var(--or); color: var(--navy);
  border: 1px solid var(--or); font-weight: 700; border-radius: 8px;
}
.btn-cta-white:hover { background: #ffc61a; border-color: #ffc61a; }

/* Le CTA final et le footer sont tous deux en bleu nuit plein : sans filet,
   ils fusionnent visuellement en un seul bloc. */
.footer { border-top: 1px solid rgba(255,255,255,0.12); }
.btn-cta-outline {
  background: none; color: #fff;
  border: 1px solid rgba(255,255,255,0.4); font-weight: 700; border-radius: 8px;
}
.btn-cta-outline:hover { border-color: #fff; background: rgba(255,255,255,0.1); }


/* ============================================================
   PAGES CONNEXION / INSCRIPTION
   ============================================================ */
.auth-page { min-height: 100vh; background: var(--papier); display: flex; align-items: center; justify-content: center; padding: 96px 20px 48px; }
.auth-carte { background: #fff; border: 1px solid var(--trait); border-radius: 16px; padding: 40px 40px 36px; width: 100%; max-width: 480px; box-shadow: 0 12px 40px rgba(12,26,58,0.07); }
.auth-marque { text-align: center; margin-bottom: 22px; }
.auth-marque img { height: 52px; margin: 0 auto; }
.auth-titre { font-family: var(--police-titre); font-size: 25px; font-weight: 800; letter-spacing: -0.02em; color: var(--navy); text-align: center; margin: 0 0 6px; }
.auth-sous { font-size: 14px; color: #5d6570; text-align: center; margin: 0 0 26px; line-height: 1.6; }

.auth-google {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  font-family: inherit; font-size: 14.5px; font-weight: 700; color: var(--navy);
  background: #fff; border: 1.5px solid #ddd9d0; border-radius: 9px;
  padding: 12px 18px; cursor: pointer; transition: background 0.15s, border-color 0.15s;
}
.auth-google:hover { background: var(--papier); border-color: #c9c5bc; }
.auth-google:disabled { opacity: 0.6; cursor: not-allowed; }
.auth-google svg { flex-shrink: 0; }

.auth-separateur {
  display: flex; align-items: center; gap: 12px; margin: 22px 0;
  color: #9aa1ab; font-size: 11.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em;
}
.auth-separateur::before, .auth-separateur::after { content: ''; flex: 1; height: 1px; background: var(--trait); }

.champ { margin-bottom: 17px; }
.champ label { display: block; font-size: 11px; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: #7d8590; margin-bottom: 6px; }
.champ input {
  width: 100%; box-sizing: border-box; font-family: inherit; font-size: 15px;
  padding: 12px 14px; border: 1px solid #ddd9d0; border-radius: 9px;
  color: var(--navy); background: #fff; transition: border-color 0.15s;
}
.champ input:focus { border-color: var(--navy); outline: 3px solid var(--or); outline-offset: 2px; }
.champ input::placeholder { color: #b0aca2; }
.champ-aide { font-size: 12px; color: #7d8590; margin: 6px 0 0; line-height: 1.5; }
.champ-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.auth-envoi {
  width: 100%; font-family: inherit; font-size: 15px; font-weight: 700;
  padding: 14px; margin-top: 6px; border-radius: 9px;
  background: var(--navy); color: #fff; border: 1px solid var(--navy); cursor: pointer;
  transition: background 0.15s;
}
.auth-envoi:hover { background: var(--navy-hover); }
.auth-envoi:disabled { background: #c9c5bc; border-color: #c9c5bc; cursor: not-allowed; }

.auth-bascule { text-align: center; margin: 22px 0 0; font-size: 14px; color: #5d6570; }
.auth-bascule a { color: var(--navy); font-weight: 700; text-decoration: none; border-bottom: 1px solid var(--or); }
.auth-bascule a:hover { color: var(--navy-hover); border-bottom-color: var(--navy); }
.auth-oubli { text-align: right; margin: -8px 0 16px; font-size: 13px; }
.auth-oubli a { color: #5d6570; text-decoration: none; }
.auth-oubli a:hover { color: var(--navy); }

.auth-msg { padding: 12px 15px; border-radius: 9px; font-size: 13.5px; line-height: 1.55; margin-bottom: 20px; display: none; }
.auth-msg.succes { display: block; background: #eaf5ee; color: var(--vert-texte); }
.auth-msg.erreur { display: block; background: #fdeceb; color: var(--rouge-texte); }

@media (max-width: 520px) {
  .auth-carte { padding: 32px 24px 28px; }
  .champ-duo { grid-template-columns: 1fr; gap: 0; }
}
