/* Clean Modern Portfolio Design */

:root {
  --primary-color: #ff8830;
  --primary-dark: #e67622;
  --text-dark: #1a1a1a;
  --text-medium: #4a4a4a;
  --text-light: #7a7a7a;
  --background: #ffffff;
  --surface: #fafafa;
  --border: #e5e5e5;
  --shadow: rgba(0, 0, 0, 0.05);
  --shadow-hover: rgba(0, 0, 0, 0.1);
  --max-width: 1100px;
  --font-display: 'Poppins', system-ui, -apple-system, sans-serif;
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background);
  font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  color: var(--text-medium);
  margin-bottom: 1rem;
}

/* Header and Navigation */
header {
  background: var(--background);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

nav {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 70px;
  position: relative;
}

/* Mobile menu toggle (hidden on desktop) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 24px;
  height: 2px;
  margin: 0 auto;
  border-radius: 4px;
  background: var(--text-dark);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (prefers-reduced-motion: reduce) {
  .nav-toggle-bar { transition: none; }
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-dark);
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: var(--text-medium);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  display: inline-block;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--primary-color);
}

.nav-external {
  background: var(--primary-color);
  color: white !important;
  transition: all 0.2s ease;
}

.nav-external:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  color: white !important;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
}

.lang-link {
  color: var(--text-medium);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

.lang-link:hover {
  color: var(--primary-color);
  background: var(--surface);
}

.lang-current {
  color: var(--primary-color);
  font-weight: 600;
  padding: 0.25rem 0.5rem;
}

.lang-separator {
  color: var(--text-light);
  font-weight: 300;
}

/* Main content */
main {
  min-height: calc(100vh - 140px);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero section */
.hero {
  padding: 3rem 0;
  text-align: center;
  background: linear-gradient(135deg, var(--surface) 0%, var(--background) 100%);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.hero h2 {
  font-size: 1.5rem;
  color: var(--text-medium);
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto 3rem;
  color: var(--text-medium);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero — full-bleed photo treatment */
.hero--photo {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 84vh;
  display: flex;
  align-items: flex-end;
}

.hero-photo-inner {
  text-align: center;
  padding-top: 4rem;
  padding-bottom: 0;
}

.hero-photo-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  display: block;
}

.hero-photo-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-photo-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(0deg, rgba(20, 20, 20, 0.65) 0%, rgba(20, 20, 20, 0.12) 52%, rgba(20, 20, 20, 0) 100%);
}

.hero--photo .hero-logo {
  width: 80px;
  height: auto;
  margin-bottom: 1.25rem;
}

.hero--photo h1 {
  color: #fff;
  font-size: clamp(2.75rem, 2rem + 4vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  text-wrap: balance;
}

.hero--photo h2 {
  color: #fff;
  font-weight: 600;
  font-size: clamp(1.1rem, 0.9rem + 1vw, 1.5rem);
  margin-bottom: 0.75rem;
}

.hero--photo p {
  color: rgba(255, 255, 255, 0.93);
  max-width: 56ch;
  margin: 0 auto 1.75rem;
  line-height: 1.6;
  text-wrap: pretty;
}

.hero--photo .hero-buttons {
  justify-content: center;
}

.btn-on-photo {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(6px);
}

.btn-on-photo:hover {
  background: rgba(255, 255, 255, 0.24);
  border-color: #fff;
  transform: translateY(-1px);
}

/* Hero photo — understated scroll cue (replaces button row) */
.hero-scroll-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.0625rem;
  padding-bottom: 0.25rem;
  border-bottom: 2px solid rgba(255, 255, 255, 0.45);
  transition: border-color 0.2s ease;
}

.hero-scroll-link:hover {
  border-bottom-color: #fff;
}

.hero-scroll-link .cue {
  transition: transform 0.2s ease;
}

.hero-scroll-link:hover .cue {
  transform: translateY(3px);
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-link .cue { transition: none; }
  .hero-scroll-link:hover .cue { transform: none; }
}

.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-1px);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Disciplines header — solar accent mark + display title */
.section-title--leap .section-mark {
  display: block;
  width: 48px;
  height: 5px;
  margin: 0 auto 1.1rem;
  border-radius: 999px;
  background: var(--primary-color);
}

.section-title--leap h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 1.5rem + 2vw, 2.75rem);
  letter-spacing: -0.02em;
}

/* Skills grid */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.skill-card {
  background: var(--background);
  padding: 2.5rem 2rem;
  border-radius: 12px;
  border: 1px solid var(--border);
  transition: all 0.2s ease;
  text-align: center;
}

.skill-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 20px var(--shadow-hover);
  transform: translateY(-2px);
}

.skill-icon {
  font-size: 4rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.skill-card h3 {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.skill-highlight {
  color: var(--primary-color);
}

.skill-card p {
  color: var(--text-medium);
  line-height: 1.7;
  text-align: left;
  margin: 0;
}

.skill-card ul {
  list-style: none;
}

.skill-card li {
  padding: 0.5rem 0;
  color: var(--text-medium);
  border-bottom: 1px solid var(--border);
}

.skill-card li:last-child {
  border-bottom: none;
}

/* Contact section */
.contact {
  background: var(--surface);
}

.contact-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 3rem;
}

.contact-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.5rem;
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 500;
  transition: all 0.2s ease;
}

.contact-link:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-1px);
}

.contact-icon {
  font-size: 1.25rem;
}

/* Resume specific styles */
.resume-container {
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.resume-section {
  margin-bottom: 4rem;
}

.resume-section h2 {
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--primary-color);
}

/* Experience items */
.experience-item,
.education-item {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: all 0.2s ease;
}

.experience-item:hover,
.education-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 20px var(--shadow-hover);
}

.experience-header,
.education-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.experience-header h3,
.education-header h3 {
  color: var(--text-dark);
  margin: 0;
}

.date-badge {
  background: var(--primary-color);
  color: white;
  padding: 0.375rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  white-space: nowrap;
}

.company {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 1rem;
}

.achievements {
  list-style: none;
}

.achievements li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-medium);
}

.achievements li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* Skills categories */
.skills-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.skill-group {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
}

.skill-group h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.skill-tag {
  background: var(--surface);
  color: var(--text-dark);
  padding: 0.375rem 0.875rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  border: 1px solid var(--border);
}

/* Contact info grid */
.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.contact-item {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
}

.contact-item strong {
  color: var(--text-dark);
  display: block;
  margin-bottom: 0.5rem;
}

.contact-item a {
  color: var(--primary-color);
  text-decoration: none;
}

.contact-item a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background: var(--text-dark);
  color: white;
  text-align: center;
  padding: 2rem 0;
}

footer p {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 0.4rem;
}

footer p:last-child {
  margin-bottom: 0;
}

.footer-copy {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Responsive design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero h2 {
    font-size: 1.25rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .skills-grid {
    grid-template-columns: 1fr;
  }
  
  .contact-grid {
    justify-content: center;
  }
  
  .experience-header,
  .education-header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .container,
  .resume-container {
    padding: 0 1rem;
  }
  
  nav {
    padding: 0 1rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 1rem 1rem;
    background: var(--background);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 20px var(--shadow-hover);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 0.75rem 1rem;
  }

  .nav-external {
    margin-top: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 4rem 0;
  }

  .section {
    padding: 3rem 0;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
}

/* Photos Page Styles */

/* Featured Album Section */
.featured-album-section {
  background: var(--background);
}

.featured-album {
  background: var(--surface);
  border: 2px solid var(--primary-color);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px var(--shadow-hover);
}

.album-header {
  margin-bottom: 1.5rem;
}

.album-header h3 {
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.album-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.album-date,
.album-location {
  background: var(--primary-color);
  color: white;
  padding: 0.375rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.featured-album-coming-soon {
  background: var(--background);
  border: 2px dashed var(--border);
  border-radius: 12px;
  padding: 4rem 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.featured-album-coming-soon p {
  font-size: 1.25rem;
  color: var(--text-medium);
  margin: 0;
}

.album-link-disabled {
  text-align: center;
  padding: 1rem;
  background: var(--border);
  border-radius: 8px;
  color: var(--text-light);
  font-weight: 600;
}

/* Albums Grid */
.albums-section {
  background: var(--surface);
  padding-top: 2rem;
}

/* Grid is the first element here — drop its top margin so albums sit closer to the title */
.albums-section .albums-grid {
  margin-top: 0;
}

.albums-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2.5rem;
  margin-top: 3rem;
}

.album-card {
  background: var(--background);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.album-card:hover {
  border-color: var(--primary-color);
  box-shadow: 0 8px 30px var(--shadow-hover);
  transform: translateY(-4px);
}

.album-card .album-header h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.album-photos {
  margin: 1.5rem 0;
}

.photo-link {
  display: block;
  overflow: hidden;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.photo-link:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 15px var(--shadow-hover);
}

.photo-main {
  margin-bottom: 1rem;
}

.photo-main img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.photo-thumbnails {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.photo-thumbnails .photo-link {
  aspect-ratio: 1;
}

.photo-thumbnails img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 6px;
}

.album-link {
  display: inline-block;
  background: var(--primary-color);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s ease;
  margin-top: 1rem;
}

.album-link:hover {
  background: var(--primary-dark);
  transform: translateX(4px);
}

/* Support Section */
.support-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: white;
}

.support-card {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.support-card h2 {
  color: white;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.support-card p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 2rem;
}

.support-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

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

.support-section .btn-primary:hover {
  background: var(--surface);
  transform: translateY(-2px);
}

.support-section .btn-secondary {
  background: transparent;
  color: white;
  border-color: white;
}

.support-section .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.support-note {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
  font-style: italic;
  margin: 0;
}

/* Support banner — split layout (pitch left, actions right) */
.support-section--split {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.06), rgba(0, 0, 0, 0.06)),
    linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
}

.support-card--split {
  max-width: none;
  text-align: left;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.support-pitch h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 1.5rem + 2vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 0.85rem;
}

.support-pitch p {
  margin: 0;
  max-width: 48ch;
}

.support-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.support-actions .support-buttons {
  margin: 0;
}

.support-actions .support-note {
  margin: 0;
}

@media (max-width: 768px) {
  .support-card--split {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .support-actions {
    align-items: center;
  }
}

/* Responsive Photos Page */
@media (max-width: 768px) {
  .albums-grid {
    grid-template-columns: 1fr;
  }

  .featured-album {
    padding: 1.5rem;
  }

  .album-card {
    padding: 1.5rem;
  }

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

  .support-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .album-header h3 {
    font-size: 1.25rem;
  }

  .featured-album-coming-soon {
    padding: 2rem 1rem;
  }
}
/* ============================================================
   PawShoot — additions (home, disciplines, nav logo, footer)
   ============================================================ */

/* Nav logo : badge + wordmark */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.logo img {
  height: 32px;
  width: auto;
  vertical-align: middle;
}

/* Hero variants */
.hero-logo {
  display: block;
  width: 120px;
  height: auto;
  margin: 0 auto 1.5rem;
}

.hero-compact {
  padding: 4rem 0 2rem;
}

/* Discipline hero — page title with solar accent mark (matches section-title--leap) */
.hero-compact .section-mark {
  display: block;
  width: 48px;
  height: 5px;
  margin: 0 auto 1.1rem;
  border-radius: 999px;
  background: var(--primary-color);
}

.hero-compact h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.25rem, 1.8rem + 2.5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* Discipline — SEO intro under the hero title */
.discipline-intro {
  max-width: 60ch;
  margin: 1.25rem auto 0;
  color: var(--text-medium);
}

/* Discipline — "invite me" CTA */
.discipline-invite {
  padding: 3rem 0;
  background: var(--surface);
  text-align: center;
}

.discipline-invite p {
  max-width: 60ch;
  margin: 0 auto;
  font-size: 1.1rem;
  color: var(--text-medium);
}

.discipline-invite strong {
  color: var(--text-dark);
}

/* Soutenir — bio / credibility block inside the right column, beside the photo */
.soutenir-bio {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--border);
}

/* Author byline — monogram + name + role, anchors the note to a real person */
.soutenir-byline {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.soutenir-byline-avatar {
  flex: none;
  width: 52px;
  height: 52px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}

.soutenir-byline-id {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  line-height: 1.3;
}

.soutenir-byline-id strong {
  font-family: var(--font-display);
  color: var(--text-dark);
  font-size: 1.1rem;
  font-weight: 700;
}

.soutenir-byline-id span {
  color: var(--text-medium);
  font-size: 0.9rem;
}

.soutenir-bio-text {
  margin: 0;
}

.soutenir-bio-text p {
  font-size: 1.05rem;
  color: var(--text-medium);
}

.soutenir-bio-text strong {
  color: var(--text-dark);
}

/* Soutenir — full-height split (photo left, content right) */
.soutenir {
  display: grid;
  grid-template-columns: 40% 60%;
  min-height: calc(100vh - 70px);
}

.soutenir-media {
  position: relative;
  overflow: hidden;
}

.soutenir-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.soutenir-content {
  display: flex;
  align-items: flex-start;
  padding: clamp(2.5rem, 5vw, 5rem);
}

.soutenir-inner {
  max-width: 32rem;
}

.soutenir .section-mark {
  display: block;
  width: 48px;
  height: 5px;
  margin: 0 0 1.4rem;
  border-radius: 999px;
  background: var(--primary-color);
}

.soutenir h1 {
  font-family: var(--font-display);
  font-size: clamp(2.25rem, 1.8rem + 2.5vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.soutenir h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.75rem, 1.4rem + 1.8vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.soutenir-lead {
  font-size: 1.1rem;
  color: var(--text-medium);
  margin-bottom: 1.75rem;
}

.soutenir-lead strong {
  color: var(--primary-color);
}

.soutenir-points {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.soutenir-points li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--text-medium);
  line-height: 1.5;
}

.soutenir-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--primary-color);
}

.soutenir-points strong {
  color: var(--text-dark);
}

.soutenir-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.soutenir-note {
  font-size: 0.95rem;
  color: var(--text-light);
  font-style: italic;
  margin: 0;
}

@media (max-width: 768px) {
  .soutenir {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .soutenir-media {
    height: 38vh;
    min-height: 220px;
  }
  .soutenir-content {
    padding: 2.5rem 1.5rem 3.5rem;
  }
}

/* Home — discipline cards */
.discipline-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 3rem;
}

/* Discipline posters — photo-forward gallery tiles */
.poster {
  position: relative;
  display: block;
  aspect-ratio: 3 / 4;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  isolation: isolate;
  box-shadow: 0 4px 20px var(--shadow);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.poster:hover {
  box-shadow: 0 8px 30px var(--shadow-hover);
  transform: translateY(-4px);
}

.poster img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  transition: transform 0.4s ease;
}

.poster:hover img {
  transform: scale(1.05);
}

.poster::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(20, 20, 20, 0.72) 0%, rgba(20, 20, 20, 0) 62%);
}

.poster-count {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1;
  background: rgba(255, 255, 255, 0.92);
  color: var(--primary-dark);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 20px;
}

.poster-cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.25rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 0.5rem;
}

.poster-cap h3 {
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  margin: 0;
  line-height: 1.1;
}

.poster-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  white-space: nowrap;
}

.poster-cta span {
  transition: transform 0.2s ease;
}

.poster:hover .poster-cta span {
  transform: translateX(3px);
}

/* Support / démarche page */
.support-text {
  max-width: 760px;
}

.support-text h2 {
  margin: 2rem 0 1rem;
}

/* Démarche — lead + stacked reassurance points */
/* Titre repris du style « disciplines » (section-title--leap), neutralise la marge héritée de support-text h2 */
.support-text .section-title--leap h2 {
  margin: 0;
}

.demarche-lead {
  max-width: 60ch;
  font-size: 1.2rem;
  line-height: 1.55;
  color: var(--text-dark);
  margin: 0 0 2.5rem;
}

.demarche-lead strong {
  color: var(--primary-dark);
}

.demarche-points {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.demarche-point {
  padding: clamp(1.5rem, 3vw, 2rem) 0;
}

.demarche-point + .demarche-point {
  border-top: 1px solid var(--border);
}

.demarche-point h3 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--primary-color);
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  margin: 0 0 0.5rem;
}

.demarche-point p {
  color: var(--text-medium);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
}

/* Footer links */
footer a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
}

footer a:hover {
  color: var(--primary-color);
}

@media (max-width: 900px) {
  .discipline-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .discipline-grid {
    grid-template-columns: 1fr;
  }
}

/* Keyboard focus — visible orange ring on interactive elements */
.btn:focus-visible,
.nav-links a:focus-visible,
.logo:focus-visible,
.poster:focus-visible,
footer a:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
}

/* Reduced motion — keep state changes instant, no lift or photo zoom */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .btn:hover,
  .nav-external:hover,
  .poster:hover {
    transform: none;
  }

  .poster:hover img {
    transform: none;
  }
}
