/*
Theme Name:  Lama Festival
Theme URI:   https://festilama.org
Author:      Mezzanotte 34
Description: Thème sur-mesure pour le Festival du Film de Lama — 32e édition 2026
Version:     1.0.0
Requires at least: 6.0
Requires PHP: 8.0
License:     GPLv2 or later
Text Domain: lama-festival
Tags: custom-background, custom-header, custom-menu, featured-images, responsive-layout
*/

/* ───────────────────────────────────────────
   TYPOGRAPHIES
   Mattone  → titres, sections, cartes, boutons
   Karrik   → corps de texte, méta, footer, nav
─────────────────────────────────────────── */
@font-face {
  font-family: 'Mattone';
  src: url('fonts/Mattone-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mattone';
  src: url('fonts/Mattone-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Mattone';
  src: url('fonts/Mattone-Black.otf') format('opentype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Karrik';
  src: url('fonts/Karrik-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Karrik';
  src: url('fonts/Karrik-Italic.ttf') format('truetype');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

/* ───────────────────────────────────────────
   VARIABLES
─────────────────────────────────────────── */
:root {
  --color-beige: #F9D5B1;
  --color-orange: #E35210;
  --color-dark: #111111;
  --color-dark-blue: #262B5C;
  --color-white: #F5F5F5;
  --color-light-blue: #BBE3F4;
  --color-footer: #111111;

  --font-titre: 'Mattone', serif;
  --font-texte: 'Karrik', sans-serif;
  --font-main: 'Mattone', serif;
  /* alias pour compat */

  --radius: 12px;
  --radius-sm: 6px;
  --transition: 0.2s ease;
}


/* ───────────────────────────────────────────
   HIÉRARCHIE TYPOGRAPHIQUE
─────────────────────────────────────────── */
h1,
h2,
h3,
.site-nav a,
.carte h4,
.jury-carte strong,
.rencontre-carte__date,
.jour-titre,
.section-label,
.bandeau-appel,
.btn,
.jour-tab,
.site-header__edition,
.article-carte__date,
.carte__heure,
.tarif-item__prix,
.action-carte__date,
.squadra-item strong,
.participation-bloc h2,
.page-simple__inner h1,
.page-simple__content h2,
.page-simple__content h3 {
  font-family: var(--font-titre);
}

/* Corps de texte, méta → Karrik */
.carte__meta,
.carte__lieu,
.jury-carte span,
.rencontre-carte__role,
.hebergement-item,
.transport-col,
.article-carte p,
.action-carte p,
.site-footer__brand address,
.site-footer__col ul li a,
.site-footer__bottom,
p,
small,
address,
li {
  font-family: var(--font-texte);
}

/* ───────────────────────────────────────────
   RESET & BASE
─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-texte);
  background-color: var(--color-beige);
  color: var(--color-dark);
  font-size: 16px;
  line-height: 1.5;
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* ───────────────────────────────────────────
   LAYOUT
─────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ───────────────────────────────────────────
   HEADER
   Fond beige, nav colonne gauche,
   logo centré, édition droite
─────────────────────────────────────────── */
.site-header {
  background: var(--color-beige);
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.site-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0.02em;
  color: var(--color-dark);
}

.site-nav a.active,
.site-nav a:hover {
  color: var(--color-orange);
}

.site-header__logo img {
  height: 60px;
  width: auto;
}

.site-header__edition {
  font-size: 14px;
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.site-header__edition .dates {
  color: var(--color-orange);
}

/* ───────────────────────────────────────────
   BANDEAU APPEL
─────────────────────────────────────────── */
.bandeau-appel {
  background: var(--color-orange);
  color: var(--color-white);
  text-align: center;
  padding: 10px 24px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ───────────────────────────────────────────
   SECTION MONTAGNE + DÉGRADÉ COUCHER DE SOLEIL
   Bloc intermédiaire entre le contenu beige
   et le footer noir. Reproduit exactement
   la maquette : beige → orange → rouge →
   violet → nuit avec silhouette montagne.
─────────────────────────────────────────── */
.section-montagne {
  position: relative;
  /* Dégradé fidèle à la maquette :
     beige en haut → saumon → orange vif → orange foncé →
     rouge bordeaux → violet nuit → bleu nuit foncé */
  background: linear-gradient(to bottom,
      var(--color-beige) 0%,
      #F0C09A 8%,
      #E8783A 22%,
      var(--color-orange) 35%,
      #D44A10 48%,
      #8B2A52 62%,
      #3D1A5C 74%,
      #1A1A2E 88%,
      #111111 100%);
  overflow: hidden;
  padding-bottom: 0;
}

.section-montagne__bg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  display: block;
  /* La montagne SVG est noire (#1A1A2E) et couvre le bas du dégradé */
}

.section-montagne .container {
  position: relative;
  z-index: 1;
  padding-top: 40px;
  padding-bottom: 220px;
}

/* Les cartes et textes restent lisibles sur le dégradé */
.section-montagne .section-label {
  color: var(--color-white);
}

.section-montagne .carte {
  background: rgba(255, 255, 255, 0.95);
}

/* ───────────────────────────────────────────
   BUTTONS
─────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
  text-transform: lowercase;
  cursor: pointer;
  transition: opacity var(--transition);
  border: none;
  font-family: var(--font-titre);
}

.btn:hover {
  opacity: 0.85;
}

.btn--primary {
  background: var(--color-orange);
  color: var(--color-white);
}

.btn--outline {
  background: transparent;
  border: 2px solid var(--color-dark);
  color: var(--color-dark);
}

.btn--small {
  padding: 6px 14px;
  font-size: 12px;
}

.btn--white {
  background: var(--color-white);
  color: var(--color-dark);
}

/* ───────────────────────────────────────────
   BADGES
─────────────────────────────────────────── */
.badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: lowercase;
}

.badge--competition {
  background: var(--color-orange);
  color: var(--color-white);
}

.badge--complet {
  background: var(--color-dark);
  color: var(--color-white);
}

.badge--president {
  background: var(--color-orange);
  color: var(--color-white);
}

/* ───────────────────────────────────────────
   SECTION LABELS
─────────────────────────────────────────── */
.section-label {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 40px 0 16px;
  color: var(--color-dark);
}

/* ───────────────────────────────────────────
   CARTES FILMS / ATELIERS
─────────────────────────────────────────── */
.cartes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}

.carte {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.carte--film.carte--competition {
  background: var(--color-orange);
  color: var(--color-white);
}

.carte--film.carte--competition .btn {
  background: var(--color-white);
  color: var(--color-dark);
}

.carte--film.carte--dark {
  background: var(--color-dark);
  color: var(--color-white);
}

.carte h4 {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.2;
}

.carte__meta {
  font-size: 12px;
  opacity: 0.6;
}

.carte__lieu {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.carte__heure {
  font-size: 22px;
  font-weight: 800;
}

/* ───────────────────────────────────────────
   ONGLETS JOURS
─────────────────────────────────────────── */
.jours-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 24px 0;
}

.jour-tab {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: transparent;
  border: 2px solid var(--color-dark);
  font-family: var(--font-main);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
}

.jour-tab--active,
.jour-tab:hover {
  background: var(--color-dark);
  color: var(--color-white);
}

/* Grand titre du jour — ex "25 JUILLET" en fond dark */
.jour-titre {
  font-size: clamp(28px, 5vw, 52px);
  font-weight: 800;
  text-transform: uppercase;
  margin: 24px 0 32px;
  background: var(--color-dark);
  color: var(--color-white);
  display: inline-block;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
}

.jour-contenu {
  display: none;
}

.jour-contenu--visible {
  display: block;
}

/* ───────────────────────────────────────────
   JURYS
─────────────────────────────────────────── */
.jury-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.jury-carte {
  background: var(--color-orange);
  color: var(--color-white);
  border-radius: var(--radius);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
  min-height: 200px;
}

.jury-carte--president {
  position: relative;
}

.jury-carte--light {
  background: var(--color-light-blue);
  color: var(--color-dark);
}

.jury-carte img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.jury-carte strong {
  font-size: 18px;
  font-weight: 800;
}

.jury-carte span {
  font-size: 12px;
  opacity: 0.85;
  text-transform: uppercase;
}

/* ───────────────────────────────────────────
   RENCONTRES
─────────────────────────────────────────── */
.rencontres-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 16px;
}

.rencontre-carte {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.rencontre-carte__date {
  font-size: 28px;
  font-weight: 800;
}

.rencontre-carte__heure {
  font-size: 13px;
  color: var(--color-orange);
  font-weight: 700;
}

.rencontre-carte img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin: 8px 0;
}

.rencontre-carte__role {
  font-size: 11px;
  text-transform: uppercase;
  opacity: 0.6;
}

/* ───────────────────────────────────────────
   HOME GALLERY
─────────────────────────────────────────── */
.gallery-affiches {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.gallery-affiches img {
  height: 240px;
  width: auto;
  border-radius: var(--radius);
  flex-shrink: 0;
}

/* ───────────────────────────────────────────
   FORMULAIRES
─────────────────────────────────────────── */
.participation-bloc {
  margin-bottom: 60px;
}

.participation-bloc h2 {
  font-size: 20px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 16px;
  color: var(--color-orange);
}

.form-ferme,
.form-bientot {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 32px;
  font-size: 15px;
}

.form-ferme p {
  opacity: 0.7;
}

.form-bientot strong {
  color: var(--color-orange);
}

/* ───────────────────────────────────────────
   PRESSE
─────────────────────────────────────────── */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 16px;
}

.article-carte {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.article-carte__date {
  font-size: 12px;
  font-weight: 700;
  color: var(--color-orange);
}

.article-carte h3 {
  font-size: 16px;
  font-weight: 800;
}

.article-carte p {
  font-size: 13px;
  opacity: 0.7;
  line-height: 1.6;
}

.article-carte__lien {
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  color: var(--color-orange);
}

.revues-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.revue-carte {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.revue-carte h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 16px;
}

.revue-carte img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}

.revue-carte__footer {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  opacity: 0.7;
}

/* ───────────────────────────────────────────
   ACCRÉDITATION
─────────────────────────────────────────── */
.accred-bloc {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: center;
  margin-top: 40px;
}

.accred-bloc__card {
  background: var(--color-light-blue);
  border-radius: var(--radius);
  padding: 32px;
}

.accred-bloc__card h3 {
  font-size: 28px;
  font-weight: 800;
  margin-bottom: 12px;
}

/* ───────────────────────────────────────────
   INFOS PRATIQUES — TRANSPORTS & HÉBERGEMENTS
─────────────────────────────────────────── */
.transports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 48px;
}

.transport-col h3 {
  font-weight: 800;
  margin-bottom: 12px;
  text-transform: uppercase;
  font-size: 14px;
}

.hebergements-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.hebergement-ville h4 {
  font-weight: 800;
  color: var(--color-orange);
  margin-bottom: 8px;
}

.hebergement-item {
  font-size: 13px;
  margin-bottom: 4px;
}

/* ───────────────────────────────────────────
   INFOS PRATIQUES — SUR PLACE LAYOUT
─────────────────────────────────────────── */
.surplace-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 48px;
  align-items: start;
}

.surplace-lieux {
  min-width: 0;
}

.surplace-sticky {
  position: sticky;
  top: 100px;
  align-self: start;
}

.surplace-sticky__inner {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.lieu-fiche {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

.lieu-fiche__img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.lieu-fiche__body {
  padding: 20px;
}

.lieu-fiche__body h3 {
  font-size: 18px;
  font-weight: 800;
  margin-bottom: 10px;
}

.tarifs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.tarif-item {
  background: var(--color-beige);
  border-radius: var(--radius-sm);
  padding: 16px 12px;
  text-align: center;
}

.tarif-item__prix {
  font-size: 28px;
  font-weight: 900;
  color: var(--color-orange);
  line-height: 1;
}

/* ───────────────────────────────────────────
   ACTIONS
─────────────────────────────────────────── */
.actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.action-carte {
  background: var(--color-white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.action-carte__img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.action-carte__content {
  padding: 16px;
}

.action-carte__date {
  font-size: 12px;
  color: var(--color-orange);
  font-weight: 700;
}

.action-carte h3 {
  font-size: 15px;
  font-weight: 800;
  margin: 4px 0;
}

.action-carte p {
  font-size: 13px;
  opacity: 0.7;
  line-height: 1.5;
}

.action-carte__lien {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-orange);
  margin-top: 8px;
  display: block;
}

.action-carte--cta {
  background: var(--color-orange);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 18px;
  font-weight: 800;
  padding: 20px;
  min-height: 200px;
}

/* ───────────────────────────────────────────
   EQUIPE (A SQUADRA)
─────────────────────────────────────────── */
.squadra-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 48px;
}

.squadra-item {
  font-size: 14px;
  padding: 4px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.squadra-item strong {
  color: var(--color-orange);
}

/* ───────────────────────────────────────────
   FOOTER — NOIR #111111 SANS DÉGRADÉ
   La transition visuelle est assurée par
   .section-montagne qui se termine en #1A1A2E
   juste au-dessus du footer.
─────────────────────────────────────────── */
.site-footer {
  background: var(--color-footer);
  color: var(--color-white);
  padding: 80px 0 32px;
  position: relative;
  z-index: 2;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: auto 1fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.site-footer__brand .logo {
  height: 60px;
  margin-bottom: 16px;
}

.site-footer__brand address {
  font-style: normal;
  font-size: 13px;
  opacity: 0.55;
  line-height: 1.9;
}

.site-footer__col h4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
  opacity: 0.4;
}

.site-footer__col ul {
  list-style: none;
}

.site-footer__col ul li {
  margin-bottom: 8px;
}

.site-footer__col ul li a {
  font-size: 13px;
  opacity: 0.6;
  color: var(--color-white);
  text-decoration: none;
  transition: opacity var(--transition), color var(--transition);
}

.site-footer__col ul li a:hover {
  opacity: 1;
  color: var(--color-orange);
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  opacity: 0.4;
  flex-wrap: wrap;
  gap: 8px;
}

.site-footer__bottom a {
  color: inherit;
  text-decoration: none;
}

.site-footer__bottom a:hover {
  opacity: 1;
  color: var(--color-orange);
}

/* ───────────────────────────────────────────
   PAGE PROGRAMME CACHÉ / TERMINÉ
─────────────────────────────────────────── */
.programme-bientot {
  text-align: center;
  padding: 80px 24px;
}

.programme-bientot h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 16px;
}

.programme-bientot p {
  font-size: 18px;
  opacity: 0.7;
}

/* ───────────────────────────────────────────
   404
─────────────────────────────────────────── */
.page-404 {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}

.page-404 h1 {
  font-size: 80px;
  font-weight: 800;
}

.page-404 p {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 32px;
}

/* ───────────────────────────────────────────
   POPUP INSCRIPTION ATELIER
─────────────────────────────────────────── */
#popup-inscription {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

#popup-inscription.is-open {
  display: block;
}

.popup-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.75);
  backdrop-filter: blur(4px);
}

.popup-box {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--color-beige);
  border-radius: var(--radius);
  padding: 40px 36px 36px;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  opacity: .4;
}

.popup-close:hover {
  opacity: 1;
}

.popup-box h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 4px;
  font-family: var(--font-titre);
}

.popup-atelier-nom {
  font-size: 13px;
  font-weight: 700;
  color: var(--color-orange);
  text-transform: uppercase;
  letter-spacing: .05em;
  margin-bottom: 24px;
}

.popup-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

.popup-form input,
.popup-form textarea {
  padding: 10px 14px;
  border: 2px solid rgba(0, 0, 0, .12);
  border-radius: var(--radius-sm);
  font-family: var(--font-main);
  font-size: 14px;
  background: #fff;
  transition: border-color var(--transition);
  width: 100%;
}

.popup-form input:focus,
.popup-form textarea:focus {
  outline: none;
  border-color: var(--color-orange);
}

.popup-form textarea {
  resize: vertical;
  min-height: 80px;
}

.popup-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.req {
  color: var(--color-orange);
}

.opt {
  font-weight: 400;
  opacity: .5;
  font-size: 11px;
}

.popup-feedback {
  font-size: 13px;
  font-weight: 600;
  min-height: 20px;
  margin-bottom: 12px;
  border-radius: var(--radius-sm);
  padding: 0;
}

.popup-feedback--error {
  color: #c62828;
  background: #ffebee;
  padding: 10px 14px;
}

.popup-submit {
  width: 100%;
  padding: 14px;
  font-size: 14px;
}

.btn--inscrit {
  background: #2e7d32 !important;
  cursor: default;
}

.popup-success {
  text-align: center;
  padding: 32px 0;
}

.popup-success-icon {
  font-size: 56px;
  color: var(--color-orange);
  line-height: 1;
  margin-bottom: 16px;
}

.popup-success-msg {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.6;
}

/* ───────────────────────────────────────────
   PAGE SIMPLE (mentions légales, crédits...)
─────────────────────────────────────────── */
.page-simple {
  padding-top: 60px;
  padding-bottom: 100px;
}

.page-simple__inner {
  max-width: 720px;
  margin: 0 auto;
}

.page-simple__inner h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 48px;
  padding-bottom: 20px;
  border-bottom: 3px solid var(--color-orange);
}

.page-simple__content h2 {
  font-size: 20px;
  font-weight: 800;
  margin-top: 40px;
  margin-bottom: 12px;
}

.page-simple__content h3 {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--color-orange);
}

.page-simple__content p {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.8;
  margin-bottom: 16px;
}

.page-simple__content ul {
  margin: 0 0 16px 20px;
}

.page-simple__content ul li {
  font-size: 14px;
  line-height: 1.8;
  opacity: 0.8;
  margin-bottom: 6px;
}

.page-simple__content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 24px;
}

.page-simple__content th {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
}

.page-simple__content td {
  padding: 10px 14px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  vertical-align: top;
  line-height: 1.6;
}

.page-simple__content tr:nth-child(even) td {
  background: rgba(0, 0, 0, 0.02);
}

.page-simple__content hr {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin: 48px 0;
}

.page-simple__content a {
  color: var(--color-orange);
  text-decoration: underline;
}

/* ───────────────────────────────────────────
   RESPONSIVE
─────────────────────────────────────────── */
@media (max-width: 900px) {
  .cartes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .hebergements-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .accred-bloc {
    grid-template-columns: 1fr;
  }

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

  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

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

  .surplace-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .surplace-sticky {
    position: static;
    order: -1;
  }
}

@media (max-width: 600px) {
  .site-header__inner {
    flex-wrap: wrap;
  }

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

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

  .jury-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .rencontres-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .popup-box {
    padding: 32px 20px 24px;
  }

  .popup-row {
    grid-template-columns: 1fr;
  }
}