/* Styles communs aux pages d'inscription Awards.
   Copié par generer.js dans public/assets/awards.css de chaque site.
   Chargé après site.css : ce qui est écrit ici s'applique à toutes les pages Awards. */

.awards-page .cta-note { margin: .7rem 0 0; font-size: .9rem; opacity: .85; }
.awards-page .hero.cover .jump { margin-top: 1rem; }

/* Section médaille : la Gold en grand, les autres niveaux en petit */
.awards-medal .medal-row { display: grid; grid-template-columns: minmax(180px, 300px) 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.awards-medal .medal-main { margin: 0; }
.awards-medal .medal-main img { width: 100%; height: auto; filter: drop-shadow(0 10px 24px rgba(0,0,0,.18)); }
.awards-medal .medal-others { margin-top: 1.6rem; padding-top: 1.1rem; border-top: 1px solid rgba(0,0,0,.1); }
.awards-medal .medal-others > p { margin: 0 0 .7rem; font-size: .85rem; opacity: .7; }
.awards-medal .medal-others > div { display: flex; gap: 1.2rem; }
.awards-medal .medal-others figure { margin: 0; text-align: center; }
.awards-medal .medal-others img { width: 72px; height: 72px; opacity: .9; }
.awards-medal .medal-others figcaption { font-size: .75rem; text-transform: capitalize; opacity: .7; margin-top: .25rem; }
@media (max-width: 640px) {
  .awards-medal .medal-row { grid-template-columns: 1fr; text-align: center; }
  .awards-medal .medal-main { max-width: 220px; margin: 0 auto; }
  .awards-medal .medal-others > div { justify-content: center; }
}


/* Titre du concours : le nom ne se coupe pas, l'année peut passer à la ligne */
.awards-page h1 .h1-name { white-space: nowrap; }
.awards-page h1 .h1-year { white-space: nowrap; }
@media (max-width: 640px) {
  .awards-page h1 .h1-name.h1-long { white-space: normal; }
  .awards-page h1 .h1-name.h1-long > span { display: block; }
  .awards-page h1 .h1-name.h1-long + .h1-year { display: block; }
}
@media (max-width: 380px) {
  .awards-page h1 .h1-name { white-space: normal; }
  .awards-page h1 .h1-name > span { display: block; }
  .awards-page h1 .h1-year { display: block; }
}
/* Section prix : le montant mis en avant */
.awards-price h2 { margin-bottom: .6rem; }

/* FAQ dépliable */
.awards-faq details { border-top: 1px solid rgba(0,0,0,.12); padding: 1rem 0; }
.awards-faq details:last-of-type { border-bottom: 1px solid rgba(0,0,0,.12); }
.awards-faq summary { cursor: pointer; font-weight: 600; list-style: none; position: relative; padding-right: 2rem; }
.awards-faq summary::-webkit-details-marker { display: none; }
.awards-faq summary::after { content: '+'; position: absolute; right: .2rem; top: 0; font-size: 1.3em; line-height: 1; opacity: .6; }
.awards-faq details[open] summary::after { content: '–'; }
.awards-faq details p { margin: .7rem 0 0; }

/* ============ Composants communs (faits clés, président du jury, grille tarifaire) ============ */
.awards-page .hero-seal { display: none; margin: 0; }
.awards-facts { border-block: 1px solid var(--line); background: #fff; }
.awards-facts .facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; }
.awards-facts .facts > div { padding: 1.4rem 1.2rem; border-left: 1px solid var(--line); }
.awards-facts .facts > div:first-child { border-left: 0; padding-left: 0; }
.awards-facts dt { font: 600 1.35rem/1.15 var(--serif); color: var(--indigo); margin-bottom: .35rem; }
.awards-facts dd { margin: 0; font-size: .82rem; line-height: 1.45; color: var(--muted); }
.jury-chair { display: grid; gap: .15rem; margin-top: 1.8rem; padding-top: 1.1rem; border-top: 1px solid var(--line); }
.jury-chair strong { font: 600 1.5rem/1.1 var(--serif); color: var(--indigo); }
.jury-chair span { font-size: .85rem; color: var(--muted); }
.fee-table { width: 100%; border-collapse: collapse; margin: 1.4rem 0 1.2rem; font-variant-numeric: tabular-nums; }
.fee-table th, .fee-table td { padding: 1rem 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: baseline; }
.fee-table tr:first-child th, .fee-table tr:first-child td { border-top: 1px solid var(--ink); }
.fee-table th { font-weight: 600; }
.fee-table td { text-align: right; font: 600 1.35rem/1 var(--serif); color: var(--indigo); white-space: nowrap; }
.fee-table .fee-paid td { font-size: 1.7rem; }
.fee-note { font-size: .85rem; color: var(--muted); max-width: 60ch; }
@media (max-width: 700px) {
  .awards-facts .facts { grid-template-columns: 1fr; }
  .awards-facts .facts > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); }
  .awards-facts .facts > div:first-child { border-top: 0; }
}

/* ============ Style « Référence » : grille éditoriale, titres en marge, filets ============ */
.theme-reference .hero { background: #fff; color: var(--ink); border-bottom: 3px double var(--ink); }
.theme-reference .hero h1 { color: var(--ink); font-size: clamp(2.7rem, 5.6vw, 5rem); letter-spacing: -.03em; }
.theme-reference .hero .eyebrow { color: var(--accent); }
.theme-reference .hero .lead { color: var(--muted); }
.theme-reference .hero .notice { background: none; border-left: 0; border-top: 1px solid var(--ink); padding: .8rem 0 0; font-size: .9rem; }
.theme-reference .hero .hero-image img { border-radius: 0; aspect-ratio: 4/5; }
.theme-reference .hero .split { grid-template-columns: 1.25fr .9fr; }
.theme-reference .button { border-radius: 0; background: var(--ink); color: #fff; }
.theme-reference .button:hover { background: var(--indigo); color: #fff; }
.theme-reference .awards-facts { border-top: 0; border-bottom: 1px solid var(--ink); }
.theme-reference .awards-facts dt { font-size: 1.25rem; color: var(--ink); }
.theme-reference .section:not(.awards-medal) .narrow { width: 100%; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); column-gap: clamp(1.5rem, 5vw, 4.5rem); }
.theme-reference .section:not(.awards-medal) .narrow > * { grid-column: 2; }
.theme-reference .section:not(.awards-medal) .narrow > .eyebrow { grid-column: 1; grid-row: 1; margin: .45rem 0 0; padding-top: .7rem; border-top: 1px solid var(--ink); }
.theme-reference .section:not(.awards-medal) .narrow > h2 { grid-column: 1; grid-row: 2 / span 10; align-self: start; font-size: clamp(1.8rem, 2.8vw, 2.5rem); }
.theme-reference .section:not(.awards-medal) .narrow > :nth-child(3) { grid-row: 1 / span 2; }
.theme-reference .section:not(.awards-medal) .narrow > h2 ~ h2 { grid-column: 2; grid-row: auto; font-size: 1.7rem; }
.theme-reference .tint { background: #fff; border-top: 1px solid var(--line); }
.theme-reference .fee-table td { color: var(--ink); }
.theme-reference .awards-medal { background: var(--ivory); border-block: 1px solid var(--line); }
@media (max-width: 760px) {
  .theme-reference .section:not(.awards-medal) .narrow { display: block; }
  .theme-reference .hero .split { grid-template-columns: 1fr; }
}


/* Touches de couleur (fond foncé de la couleur du journal) : section médaille et ligne Gold du tarif */
.theme-reference { --awards-deep: #24264d; --awards-light-gold: #ecd09b; }
.theme-reference .awards-medal { background: var(--awards-deep); color: #fff; border: 0; }
.theme-reference .awards-medal h2 { color: #fff; }
.theme-reference .awards-medal .eyebrow { color: var(--awards-light-gold); }
.theme-reference .awards-medal .lead, .theme-reference .awards-medal .medal-others > p, .theme-reference .awards-medal figcaption { color: #e4e1ea; opacity: 1; }
.theme-reference .awards-medal .medal-others { border-color: #ffffff2e; }
.theme-reference .awards-medal .medal-main img { filter: drop-shadow(0 0 50px rgba(236,208,155,.28)) drop-shadow(0 18px 34px rgba(0,0,0,.45)); }
.theme-reference .fee-table .fee-paid th, .theme-reference .fee-table .fee-paid td { background: var(--awards-deep); color: #fff; }
.theme-reference .fee-table .fee-paid th { padding-left: 1rem; }
.theme-reference .fee-table .fee-paid td { padding-right: 1rem; color: var(--awards-light-gold); }

@media (max-width: 640px) {
  .theme-reference .hero .hero-image img { aspect-ratio: 3/2; }
  .fee-table tr { display: grid; grid-template-columns: 1fr; border-bottom: 1px solid var(--line); }
  .fee-table tr:first-child { border-top: 1px solid var(--ink); }
  .fee-table th, .fee-table td { display: block; border: 0 !important; text-align: left; padding: .2rem 0; }
  .fee-table th { padding-top: .9rem; }
  .fee-table td { padding-bottom: .9rem; }
  .theme-reference .fee-table .fee-paid th, .theme-reference .fee-table .fee-paid td { padding-inline: 1rem; }
}

/* ============ Finitions du style « Référence » ============ */
/* Chiffres alignés (évite « €o » et les chiffres bas de casse de la Cormorant) */
.theme-reference h1, .theme-reference h2, .theme-reference dt, .theme-reference .fee-table, .theme-reference .jury-chair { font-variant-numeric: lining-nums tabular-nums; }
/* Photo du haut moins haute, cadrage paysage */
.theme-reference .hero .hero-image img { aspect-ratio: 4/3; }
/* Rythme vertical plus serré entre les sections */
.theme-reference .section { padding-block: clamp(2.4rem, 4.5vw, 4rem); }
.theme-reference .section + .section:not(.awards-medal):not(.tint) { padding-top: clamp(1rem, 2vw, 1.5rem); }
/* Texte courant homogène dans toutes les sections */
.theme-reference .section:not(.awards-medal) .lead { font-size: 1.05rem; color: var(--ink); max-width: none; }
.theme-reference .section:not(.awards-medal) p { max-width: 68ch; }
/* La lueur de la médaille ne déborde plus sur la section suivante */
.theme-reference .awards-medal { overflow: hidden; }
/* Sans photo : la médaille Gold à droite du titre */
.theme-reference .hero-sans-photo .hero-seal { display: block; justify-self: center; width: min(300px, 70%); }
.theme-reference .hero-sans-photo .hero-seal img { filter: drop-shadow(0 18px 34px rgba(0,0,0,.22)); }
@media (max-width: 640px) { .theme-reference .hero-sans-photo .hero-seal { width: 180px; order: -1; justify-self: start; } }

/* ============ Menu des sections ============ */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.awards-page section[id] { scroll-margin-top: 1rem; }
.awards-page .nav-links { display: flex; align-items: center; gap: clamp(1rem, 2.4vw, 2rem); }
.awards-menu { display: flex; gap: clamp(.9rem, 2vw, 1.6rem); list-style: none; margin: 0; padding: 0; }
.awards-menu a { color: var(--ink); text-decoration: none; font-size: .86rem; font-weight: 600; padding-block: .4rem; border-bottom: 1px solid transparent; white-space: nowrap; }
.awards-menu a:hover, .awards-menu a:focus-visible { border-bottom-color: currentColor; color: var(--ink); }
@media (max-width: 1000px) {
  .awards-page .head-row { flex-wrap: wrap; row-gap: 0; }
  .awards-page .nav-links { display: contents; }
  .awards-page .nav-links .button { order: 2; }
  .awards-menu { order: 3; flex: 1 0 100%; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line); padding: .55rem 0; gap: 1.3rem; }
  .awards-menu::-webkit-scrollbar { display: none; }
}
/* Tableau des dates : mêmes filets que le tarif, valeurs en texte courant */
.dates-table td { font: 500 1rem/1.4 var(--sans); color: var(--ink); white-space: normal; }
.dates-table tr:first-child td { font: 600 1.35rem/1 var(--serif); color: var(--indigo); }

@media (max-width: 1000px) { .awards-page .head-row { padding-top: .6rem; } }
@media (max-width: 480px) { .awards-menu { gap: .95rem; } .awards-menu a { font-size: .8rem; } }

/* En-tête : bouton discret (contour) et en-tête qui suit le défilement sur ordinateur */
.theme-reference .button.button-head { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.theme-reference .button.button-head:hover { background: var(--ink); color: #fff; }
@media (min-width: 641px) {
  .awards-page .site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--ivory) 94%, transparent); backdrop-filter: saturate(1.4) blur(8px); }
  .awards-page section[id] { scroll-margin-top: 5.5rem; }
}
@media (min-width: 641px) and (max-width: 1000px) { .awards-page section[id] { scroll-margin-top: 8rem; } }

/* Chiffres alignés aussi dans les cellules (le raccourci « font » réinitialise ce réglage) */
.theme-reference .fee-table td, .theme-reference .fee-table th, .theme-reference .awards-facts dt { font-variant-numeric: lining-nums tabular-nums; }

/* En-tête fixe aussi sur mobile, en version compacte */
@media (max-width: 640px) {
  .awards-page .site-head { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--ivory) 96%, transparent); backdrop-filter: saturate(1.4) blur(8px); }
  .awards-page .head-row { min-height: 0; padding-top: .45rem; }
  .awards-page .brand img { width: 96px; }
  .awards-page .button.button-head { min-height: 36px; padding: .4rem .8rem; font-size: .8rem; }
  .awards-menu { padding: .4rem 0 .45rem; }
  .awards-page section[id] { scroll-margin-top: 6.5rem; }
}
@media (max-width: 360px) {
  .awards-page .brand img { width: 78px; }
  .awards-page .button.button-head { padding: .35rem .6rem; font-size: .74rem; }
  .awards-page .head-row { column-gap: .5rem; }
}

/* ============ Haut de page sombre, aux couleurs du journal, médaille Gold en grand ============ */
.theme-reference .hero { background: radial-gradient(110% 120% at 80% 45%, color-mix(in srgb, var(--awards-deep) 78%, #fff 6%) 0%, var(--awards-deep) 55%, color-mix(in srgb, var(--awards-deep) 82%, #000) 100%); color: #fff; border-bottom: 0; }
.theme-reference .hero h1 { color: #fff; }
.theme-reference .hero .eyebrow { color: var(--awards-light-gold); }
.theme-reference .hero .lead { color: #e6e3ee; }
.theme-reference .hero .notice { color: #fff; border-top-color: #ffffff4d; }
.theme-reference .hero .cta-note { color: #cfcbdc; }
.theme-reference .hero a:not(.button) { color: var(--awards-light-gold); }
.theme-reference .hero .button { background: var(--awards-light-gold); color: #241a08; }
.theme-reference .hero .button:hover { background: #f5dfb4; color: #241a08; }
.theme-reference .hero-sans-photo .hero-seal { width: min(400px, 82%); }
.theme-reference .hero-sans-photo .hero-seal img { filter: drop-shadow(0 0 70px rgba(236,208,155,.32)) drop-shadow(0 22px 44px rgba(0,0,0,.5)); }
.theme-reference .awards-facts { border-top: 0; }
@media (max-width: 640px) { .theme-reference .hero-sans-photo .hero-seal { width: 190px; } }

/* ============ Bandeau final (fond foncé du journal, médaille, bouton vers le formulaire) ============ */
.awards-final { background: radial-gradient(110% 140% at 20% 50%, color-mix(in srgb, var(--awards-deep) 78%, #fff 6%) 0%, var(--awards-deep) 55%, color-mix(in srgb, var(--awards-deep) 82%, #000) 100%); color: #fff; padding-block: clamp(2.8rem, 6vw, 4.8rem); }
.awards-final .final-row { display: grid; grid-template-columns: minmax(140px, 220px) 1fr; gap: clamp(1.5rem, 4vw, 3.5rem); align-items: center; }
.awards-final.sans-medaille .final-row { grid-template-columns: 1fr; }
.awards-final .final-medal { margin: 0; }
.awards-final .final-medal img { width: 100%; height: auto; filter: drop-shadow(0 0 50px rgba(236,208,155,.3)) drop-shadow(0 18px 34px rgba(0,0,0,.45)); }
.awards-final h2 { color: #fff; margin-bottom: .4rem; font-variant-numeric: lining-nums; }
.awards-final .eyebrow { color: var(--awards-light-gold, #ecd09b); }
.awards-final .lead { color: #e6e3ee; margin-bottom: 0; }
.awards-final .button { background: var(--awards-light-gold, #ecd09b); color: #241a08; }
.awards-final .button:hover { background: #f5dfb4; color: #241a08; }
.awards-final .cta-note { color: #cfcbdc; }
@media (max-width: 640px) {
  .awards-final .final-row { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .awards-final .final-medal { width: 150px; }
  .awards-final .jump { justify-content: center; }
}

.awards-page .nowrap { white-space: nowrap; }

/* Remise fidélité sous le tarif */
.fee-loyalty { margin-top: 1.2rem; padding: .9rem 1rem; border-left: 3px solid var(--awards-deep, var(--gold)); background: #fff; font-size: .92rem; }
.fee-loyalty strong { font-weight: 700; }

/* ============ Effet or métallique (comme les médailles) ============ */
.theme-reference { --or-metal: linear-gradient(135deg, #9c6f1e 0%, #d6a645 18%, #f7e3a1 38%, #d9ac4d 55%, #fbefc0 72%, #b8862b 100%); }
/* Boutons sur fond foncé : haut de page et bandeau final */
.theme-reference .hero .button, .awards-final .button {
  position: relative; overflow: hidden; isolation: isolate;
  background: var(--or-metal); background-size: 200% 200%; background-position: 0% 50%;
  color: #2a1c05; border: 1px solid #f3dc9a; text-shadow: 0 1px 0 rgba(255,255,255,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 0 rgba(120,80,10,.35), 0 6px 18px -6px rgba(0,0,0,.55);
  transition: background-position .6s ease, transform .2s ease;
}
.theme-reference .hero .button::after, .awards-final .button::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 48%, transparent 66%);
  transform: translateX(-120%); transition: transform .8s ease;
}
.theme-reference .hero .button:hover, .awards-final .button:hover { background: var(--or-metal); background-size: 200% 200%; background-position: 100% 50%; color: #2a1c05; transform: translateY(-1px); }
.theme-reference .hero .button:hover::after, .awards-final .button:hover::after { transform: translateX(120%); }
/* Textes dorés sur fond foncé : effet or métallique */
.theme-reference .hero .eyebrow, .theme-reference .awards-medal .eyebrow, .awards-final .eyebrow,
.theme-reference .fee-table .fee-paid .fee-amount {
  background: var(--or-metal); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent;
}
@media (prefers-reduced-motion: reduce) {
  .theme-reference .hero .button, .awards-final .button, .theme-reference .hero .button::after, .awards-final .button::after { transition: none; }
}

/* Le bouton contour du menu ne prend pas l'effet or des autres boutons Awards */
.theme-reference .button.button-head { box-shadow: none; text-shadow: none; transform: none; }
.theme-reference .button.button-head::after { display: none; }

/* Bouton d'envoi du formulaire (servi par le Worker) : même or métallique que les autres boutons Awards */
.theme-reference .awf .awf-submit {
  position: relative; overflow: hidden; isolation: isolate; border-radius: 0;
  background: var(--or-metal); background-size: 200% 200%; background-position: 0% 50%;
  color: #2a1c05; border: 1px solid #e9cf86; text-shadow: 0 1px 0 rgba(255,255,255,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.55), inset 0 -1px 0 rgba(120,80,10,.35), 0 6px 18px -8px rgba(0,0,0,.45);
  transition: background-position .6s ease, transform .2s ease;
}
.theme-reference .awf .awf-submit::after {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.55) 48%, transparent 66%);
  transform: translateX(-120%); transition: transform .8s ease;
}
.theme-reference .awf .awf-submit:hover:not(:disabled) { background-position: 100% 50%; transform: translateY(-1px); }
.theme-reference .awf .awf-submit:hover:not(:disabled)::after { transform: translateX(120%); }
@media (prefers-reduced-motion: reduce) { .theme-reference .awf .awf-submit, .theme-reference .awf .awf-submit::after { transition: none; } }

/* ============ Médaille 3D (section The Award, fiche medaille3d) ============ */
.medal-3d { perspective: 1100px; cursor: default; }
.medal-3d .m3d { position: relative; aspect-ratio: 1; transform-style: preserve-3d; }
.medal-3d .m3d-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border-radius: 50%; }
.medal-3d .m3d-front { transform: translateZ(6px); }
.medal-3d .m3d-back { transform: rotateY(180deg) translateZ(6px); }
.medal-3d .m3d-face img { display: block; width: 100%; height: 100%; }
.theme-reference .awards-medal .medal-3d .m3d-face img { filter: none; }
.theme-reference .awards-medal .medal-3d { filter: drop-shadow(0 0 50px rgba(236,208,155,.28)) drop-shadow(0 18px 34px rgba(0,0,0,.45)); }
.medal-3d .m3d-edge { position: absolute; inset: 1.2%; transform-style: preserve-3d; }
.medal-3d .m3d-edge i { position: absolute; inset: 0; border-radius: 50%; transform: translateZ(var(--z));
  background: linear-gradient(90deg, #6e4f17, #c99a3d 30%, #f6dc8f 50%, #c99a3d 70%, #6e4f17); }
.medal-3d .m3d-shine, .medal-3d .m3d-shade { position: absolute; inset: 0; border-radius: 50%; pointer-events: none; opacity: 0; }
.medal-3d .m3d-shine { mix-blend-mode: screen;
  background: linear-gradient(105deg, transparent 44%, rgba(255,244,205,.45) 48.5%, rgba(255,255,255,.75) 50%, rgba(255,244,205,.45) 51.5%, transparent 56%) 150% 0 / 300% 100% no-repeat; }
.medal-3d .m3d-shade { background: #000; }
.medal-3d.m3d-go .m3d { animation: m3d-spin 2.2s cubic-bezier(.45,.05,.25,1) both; }
.medal-3d.m3d-go .m3d-front .m3d-shade { animation: m3d-shade-front 2.2s cubic-bezier(.45,.05,.25,1) both; }
.medal-3d.m3d-go .m3d-back .m3d-shade { animation: m3d-shade-back 2.2s cubic-bezier(.45,.05,.25,1) both; }
.medal-3d.m3d-go .m3d-shine { animation: m3d-shine 2.2s ease-out both; }
@keyframes m3d-spin { from { transform: rotateY(0); } to { transform: rotateY(360deg); } }
@keyframes m3d-shade-front { 0%, 100% { opacity: 0; } 25%, 75% { opacity: .55; } }
@keyframes m3d-shade-back { 0%, 50%, 100% { opacity: 0; } 25%, 75% { opacity: .55; } }
@keyframes m3d-shine { 0%, 70% { opacity: 0; background-position: 150% 0; } 78% { opacity: 1; } 100% { opacity: 0; background-position: -50% 0; } }
@media (prefers-reduced-motion: reduce) { .medal-3d .m3d, .medal-3d .m3d-shade, .medal-3d .m3d-shine { animation: none !important; } }

/* ============ Alexandre Petit Rating : encadré optionnel noir et or ============ */
.ap-option { display: grid; grid-template-columns: 128px 1fr; gap: 1.6rem; align-items: center; margin: 2rem 0 .5rem; padding: 1.6rem 1.8rem;
  background: radial-gradient(120% 140% at 0% 0%, #2a2a2a 0%, #0d0d0d 55%, #000 100%); color: #e9e2cf;
  border: 1px solid #b8913f; box-shadow: inset 0 0 0 4px #000, inset 0 0 0 5px rgba(212,175,95,.45); border-radius: 2px; }
.ap-option img { width: 128px; height: 128px; filter: drop-shadow(0 8px 18px rgba(0,0,0,.6)); }
.ap-option .ap-badge { display: inline-block; margin: 0 0 .55rem; padding: .22rem .7rem; border: 1px solid #d4af5f; border-radius: 999px;
  font-size: .72rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: #f3d998; }
.ap-option h3 { margin: 0 0 .5rem; font: 600 1.5rem/1.15 var(--serif); color: #f0d48a;
  background: linear-gradient(100deg, #b8862d, #f7e1a1 45%, #c99a3d 70%, #f3d27a); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.ap-option p { margin: 0 0 .45rem; font-size: .95rem; line-height: 1.55; color: #e4dccb; max-width: none !important; }
.ap-option p:last-child { margin-bottom: 0; color: #bdb4a2; font-size: .88rem; }
.ap-option strong { color: #f3d998; }
@media (max-width: 560px) {
  .ap-option { grid-template-columns: 1fr; text-align: center; padding: 1.5rem 1.2rem; gap: 1rem; }
  .ap-option img { width: 110px; height: 110px; margin: 0 auto; }
}

/* ============ Tarifs : ligne principale + encadré fidélité ============ */
.fee-table th .fee-sub { display: block; margin-top: .3rem; font-size: .85rem; font-weight: 400; color: var(--muted); }
.fee-table .fee-main td { font-size: 1.7rem; vertical-align: middle; }
.fee-table .fee-unit { font-size: .55em; font-weight: 500; color: var(--muted); }
.theme-reference .fee-loyalty { margin-top: 1.6rem; padding: 1.3rem 1.5rem; border: 0; background: var(--awards-deep); color: #ecebf2; font-size: .98rem; line-height: 1.6; max-width: none; }
.theme-reference .fee-loyalty strong { color: #fff; }
.theme-reference .fee-loyalty .fee-gold { font-weight: 700; background: var(--or-metal); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
@media (max-width: 560px) { .fee-table .fee-main td { font-size: 1.45rem; } }
.theme-reference .section:not(.awards-medal) p.fee-loyalty { max-width: none; }
.fee-loyalty .fee-gold { white-space: nowrap; }

/* Bouton du bandeau final : reflet d'or qui passe toutes les 4,5 s */
.awards-final .button::after { animation: final-reflet 4.5s ease-in-out 1.5s infinite; }
.awards-final .button:hover::after { animation: none; }
@keyframes final-reflet { 0%, 62% { transform: translateX(-120%); } 82%, 100% { transform: translateX(120%); } }
@media (prefers-reduced-motion: reduce) { .awards-final .button::after { animation: none; } }

/* AP Rating : version allégée (fond transparent, filet fin couleur du site, seul le badge reste noir et or) */
.ap-option { background: transparent; color: var(--ink); border: 1px solid var(--awards-deep, var(--indigo)); box-shadow: none; padding: 1.4rem 1.6rem; }
.ap-option img { filter: drop-shadow(0 4px 10px rgba(0,0,0,.18)); }
.ap-option .ap-badge { background: #111; border-color: #b8913f; color: #f3d998; }
.ap-option h3 { background: none; -webkit-text-fill-color: currentColor; color: var(--awards-deep, var(--indigo)); }
.ap-option p { color: var(--ink); }
.ap-option p:last-child { color: var(--muted); }
.ap-option strong { color: var(--ink); }

/* Section The Award : CTA fin doré vers le formulaire */
.awards-medal .medal-cta { margin: 1.4rem 0 0; }
.awards-medal .button-fin { display: inline-block; padding: .62rem 1.35rem; border: 1px solid #d4af5f; border-radius: 4px; color: #f3d998; font-weight: 600; font-size: .95rem; letter-spacing: .02em; text-decoration: none; transition: background .2s, color .2s; }
.awards-medal .button-fin:hover, .awards-medal .button-fin:focus-visible { background: var(--or-metal, #d4af5f); background-size: 200% 200%; color: #2a1c05; border-color: transparent; }
.awards-medal .button-fin:focus-visible { outline: 2px solid #f3d998; outline-offset: 3px; }

/* Page d'inscription : en-tête journal (journal.js) puis barre de la page (sections + bouton), collée en haut */
.awards-page .page-bar { position: sticky; top: 0; z-index: 20; background: color-mix(in srgb, var(--ivory) 95%, transparent); backdrop-filter: saturate(1.4) blur(8px); border-bottom: 1px solid var(--line); }
.awards-page .page-bar .head-row { min-height: 56px; }
.awards-page .page-bar .nav-links { flex: 1; justify-content: space-between; }
@media (max-width: 1000px) { .awards-page .page-bar .head-row { min-height: 0; } }

/* En-tête blanc : la barre de la page d'inscription se colle sous la ligne principale (64 px) sur ordinateur */
@media (min-width: 1101px) { .awards-page .page-bar { top: 64px; } }
