/* ============================================================
 * Nantes Craft — styles custom
 * ============================================================
 * Ce fichier contient UNIQUEMENT les styles propres au site
 * Nantes Craft. Il s'applique par-dessus styles.css (Bootstrap
 * + thème Agency) qui ne doit pas être modifié.
 * ============================================================ */


/* ============================================================
   ACCESSIBILITÉ — skip link
   ============================================================ */

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 10000;
  background: #ffc800;
  color: #212529;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.6rem 1.2rem;
  border-radius: 0 0 8px 8px;
  text-decoration: none;
  transition: top 0.1s ease;
}

.skip-link:focus {
  top: 0;
}


/* ============================================================
   TITRES DE SECTION — barre jaune sous le titre
   ============================================================ */

.page-section h2.section-heading,
.page-section .section-heading.h2 {
  margin-bottom: 0;
}

.section-heading::after {
  content: '';
  display: block;
  width: 56px;
  height: 4px;
  background-color: #ffc800;
  border-radius: 2px;
  margin: 0.75rem auto 1.75rem;
}

.section-heading--left::after {
  margin-left: 0;
  margin-right: auto;
}

.coc-content p {
  margin-bottom: 1.4rem;
  line-height: 1.9;
}


/* ============================================================
   BOUTONS — effet hover / focus sur les btn-xl
   ============================================================ */

.btn-xl {
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn-xl:hover,
.btn-xl:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
}

.btn-xl:active {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}


/* ============================================================
   SECTION PRÉSENTATION
   ============================================================ */

.presentation-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: #343a40;
  margin-bottom: 1rem;
}

.presentation-text--highlight {
  font-weight: 600;
  color: #212529;
  border-left: 4px solid #ffc800;
  padding-left: 1rem;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.presentation-photo {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  object-position: top;
  border-radius: 16px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.13);
}

/* Pillar cards */
.pillar-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 2rem 1.5rem;
  border-radius: 16px;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-top: 4px solid #ffc800;
  border-bottom: 4px solid #212529;
  text-align: center;
}

.pillar-card__icon {
  color: #ffc800;
  margin-bottom: 0.75rem;
}

.pillar-card__icon .fa-circle {
  color: #212529;
}

.pillar-card__title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.pillar-card__text {
  font-size: 0.95rem;
  color: #495057;
  line-height: 1.7;
  margin: 0;
  text-align: left;
}


/* ============================================================
   BILLETTERIE — ticket cards
   ============================================================ */

.ticket-intro {
  font-size: 1.1rem;
  color: #495057;
  margin-bottom: 2.5rem;
}

.ticket-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 2rem 1.5rem 2.5rem;
  border-radius: 16px;
  background-color: #fff;
  border: 1px solid #dee2e6;
  text-align: center;
}

.ticket-card__day {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #212529;
  margin-bottom: 0.5rem;
}

.ticket-card__type {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #212529;
  background-color: #ffc800;
  border-radius: 999px;
  padding: 0.25rem 0.9rem;
  margin-bottom: 2rem;
}

.ticket-card__spots {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
}

.ticket-card__number {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 4.5rem;
  line-height: 1;
  color: #212529;
}

.ticket-card__label {
  font-family: "Montserrat", sans-serif;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #6c757d;
}

.ticket-support-note {
  text-align: center;
  font-size: 0.9rem;
  color: #6c757d;
  margin: 0 auto;
  max-width: 480px;
}


/* ============================================================
   CARDS DES JOURNÉES (masthead)
   ============================================================ */

.day-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  padding: 2rem 1.75rem 1.75rem;
  border-radius: 16px;
  background-color: #fff;
  border: 2px solid #dee2e6;
  border-top: 5px solid #ffc800;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.07);
  text-align: center;
}

.day-card__icon {
  color: #ffc800;
  margin-bottom: 0.75rem;
}

.day-card__icon .fa-circle {
  color: #212529;
}

.day-card__date {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #212529;
  margin-bottom: 0.6rem;
}

.day-card__type {
  display: inline-block;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #212529;
  background-color: #ffc800;
  border-radius: 999px;
  padding: 0.3rem 1rem;
  margin-bottom: 1rem;
}

.day-card__desc {
  font-size: 0.95rem;
  color: #495057;
  text-align: left;
  margin: 0 0 0.75rem;
  line-height: 1.6;
}

.day-card__coming-soon {
  font-family: "Montserrat", sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6c757d;
  margin: 0;
}

.day-card__link {
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #212529;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.day-card__link:hover {
  color: #ffc800;
}

@media (max-width: 767px) {
  .day-card {
    border-radius: 12px;
  }
}


/* ============================================================
   PROGRAMME — table & speaker list
   ============================================================ */

/* Wrapper scrollable sur mobile */
.prog-table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 12px;
  border: 1px solid #dee2e6;
}

.prog-scroll-hint {
  font-size: 0.8rem;
  color: #6c757d;
  text-align: center;
  margin-bottom: 0.5rem;
}

/* Table */
.prog-table {
  width: 100%;
  min-width: 600px;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: 12px;
  overflow: hidden;
  border: none;
  margin: 0;
}

.prog-table thead tr th {
  background-color: #212529;
  color: #fff;
  font-family: "Montserrat", sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.9rem 1rem;
  border: none;
}

.prog-time-header {
  width: 110px;
  min-width: 90px;
}

.prog-time {
  width: 110px;
  min-width: 90px;
  background-color: #f8f9fa;
  vertical-align: middle;
  padding: 0.75rem;
  border: 1px solid #dee2e6;
}

.prog-time__start {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  color: #212529;
}

.prog-time__end {
  display: block;
  font-size: 0.75rem;
  color: #6c757d;
}

/* Cellules pleine-largeur */
.prog-cell--full {
  padding: 0.75rem 1rem;
  font-style: italic;
  text-align: center;
  border: 1px solid #dee2e6;
  font-size: 0.95rem;
}

.prog-cell--pause  { background-color: #f8f9fa; color: #6c757d; }
.prog-cell--global { background-color: #212529; color: #ffc800; font-weight: 700; font-style: normal; letter-spacing: 0.04em; }
.prog-cell--after  { background-color: #ffc800; color: #212529; font-weight: 700; font-style: normal; }

/* Cellules de track */
.prog-cell--track {
  padding: 0.85rem 1rem;
  vertical-align: top;
  border: 1px solid #dee2e6;
  min-width: 180px;
}

.prog-cell--conference { background-color: #fff; }
.prog-cell--quickie    { background-color: #f8f9fa; }
.prog-cell--atelier    { background-color: #e8f4f8; }

/* Bouton titre */
.prog-talk-btn {
  background: none;
  border: none;
  padding: 0;
  font-family: "Roboto Slab", serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: #212529;
  text-align: left;
  cursor: pointer;
  line-height: 1.45;
  margin-bottom: 0.4rem;
  transition: color 0.15s ease;
  display: block;
  width: 100%;
}

.prog-talk-btn:hover,
.prog-talk-btn:focus-visible {
  color: #cca000;
  text-decoration: underline;
  text-underline-offset: 3px;
  outline: none;
}

.prog-type-badge {
  display: inline-block;
  font-size: 0.7rem;
  margin-bottom: 0.3rem;
}

.prog-speaker {
  font-size: 0.78rem;
  color: #6c757d;
  margin-top: 0.3rem;
}

/* Légende */
.prog-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.prog-legend .badge {
  font-size: 0.85rem;
  padding: 0.4rem 0.9rem;
}

/* Modaux */
.prog-modal__title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.35;
}

.prog-modal__speakers {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-bottom: 0.5rem;
}

.prog-modal__speaker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}

.prog-modal__photo {
  width: 80px;
  height: 80px;
  object-fit: cover;
}

.prog-modal__photo--placeholder {
  width: 80px;
  height: 80px;
  background-color: #dee2e6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: 1.75rem;
}

.prog-modal__name {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
  text-align: center;
}

.prog-modal__abstract p {
  font-size: 1rem;
  line-height: 1.75;
  color: #343a40;
}

/* Speaker cards */
.speaker-card {
  height: 100%;
}

.speaker-card__btn {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  height: 100%;
  padding: 1rem 1.25rem;
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.speaker-card__btn:hover,
.speaker-card__btn:focus-visible {
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.1);
  border-color: #ffc800;
  outline: none;
}

.speaker-card__photos {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-shrink: 0;
}

.speaker-card__photo {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
}

.speaker-card__photo--placeholder {
  width: 60px;
  height: 60px;
  background-color: #dee2e6;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6c757d;
  font-size: 1.25rem;
}

.speaker-card__body {
  flex: 1;
  min-width: 0;
}

.speaker-card__title {
  font-size: 0.9rem;
  font-weight: 600;
  color: #212529;
  margin: 0.3rem 0 0.25rem;
  line-height: 1.4;
}

.speaker-card__names {
  font-size: 0.8rem;
  color: #6c757d;
  margin: 0;
}


/* ============================================================
   SPONSORS
   ============================================================ */

.sponsor-tier__label {
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 0.25rem;
}

.sponsor-tier__label--gold   { color: #b8860b; }
.sponsor-tier__label--silver { color: #6c757d; }
.sponsor-tier__label--bronze { color: #8B4513; }

.sponsor-tier-sep {
  margin: 2rem 0 1rem;
}

.sponsor-card {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.sponsor-card:hover,
.sponsor-card:focus-visible {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  border-color: #dee2e6;
  outline: none;
}

.sponsor-logo {
  display: block;
  margin: 0 auto;
  opacity: 0.82;
  transition: opacity 0.2s ease;
}

.sponsor-card:hover .sponsor-logo,
.sponsor-card:focus-visible .sponsor-logo {
  opacity: 1;
}

.sponsor-card--gold   .sponsor-logo { max-height: 8rem; }
.sponsor-card--silver .sponsor-logo { max-height: 5rem; }
.sponsor-card--bronze .sponsor-logo { max-height: 3rem; }


/* ============================================================
   SECTION VENIR
   ============================================================ */

.venue-address-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: #fff;
  border: 1px solid #dee2e6;
  border-left: 5px solid #ffc800;
  border-radius: 12px;
  padding: 1.25rem 1.75rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.venue-address-card__icon {
  color: #ffc800;
  flex-shrink: 0;
}

.venue-address-card__name {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: #212529;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.venue-address-card__street {
  font-size: 1rem;
  color: #495057;
  margin: 0.15rem 0 0.4rem;
}

.venue-address-card__link {
  font-size: 0.85rem;
  font-weight: 600;
  color: #212529;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.venue-address-card__link:hover {
  color: #cca000;
}

.venue-map {
  width: 100%;
  border-radius: 12px;
  border: 1px solid #dee2e6;
}

.venue-access-title {
  font-family: "Montserrat", sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #212529;
  margin-bottom: 1.25rem;
}

.venue-access-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.venue-access-list li {
  padding: 0.8rem 0;
  font-size: 0.95rem;
  color: #495057;
  border-bottom: 1px solid #f0f0f0;
}

.venue-access-list li:last-child {
  border-bottom: none;
}

.venue-photo {
  width: 100%;
  height: 280px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid #dee2e6;
  display: block;
}

.venue-photo-portrait {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #dee2e6;
  display: block;
}
