/* ==========================================================================
   FONTS
   ========================================================================== */

@font-face {
  font-family: 'AM Dehors';
  src: url('assets/fonts/AMDehors-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'AM Dehors';
  src: url('assets/fonts/AMDehors-Medium.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'AM Dehors';
  src: url('assets/fonts/AMDehors-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'AM Dehors';
  src: url('assets/fonts/AMDehors-Italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'AM Dehors';
  src: url('assets/fonts/AMDehors-BoldItalic.woff2') format('woff2');
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

/* ==========================================================================
   CUSTOM PROPERTIES
   ========================================================================== */

:root {
  --color-bg: #FAFAF7;
  --color-bg-alt: #F0EDE6;
  --color-text: #0F0F0F;
  --color-text-secondary: #5A5A5A;
  --color-accent: #1B2CC1;
  --color-accent-hover: #1524A0;
  --color-accent-light: #E8EAFC;
  --color-white: #FFFFFF;
  --color-border: #E0DDD6;

  --font-main: 'AM Dehors', system-ui, -apple-system, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, serif;

  --max-width: 1200px;
  --header-height: 72px;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 6rem;
  --space-3xl: 8rem;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-main);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

ul, ol {
  list-style: none;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  background: var(--color-accent);
  color: var(--color-white);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  z-index: 1000;
  font-weight: 500;
}

.skip-link:focus {
  top: 1rem;
}

/* Focus styles */
:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

/* ==========================================================================
   UTILITY
   ========================================================================== */

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

.section {
  padding: var(--space-2xl) 0;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: var(--space-sm);
}

.section-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--color-text-secondary);
  line-height: 1.5;
  max-width: 640px;
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ==========================================================================
   HEADER
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  z-index: 100;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.header.scrolled {
  background-color: rgba(250, 250, 247, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--color-border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-logo-img {
  border-radius: 8px;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.header-nav a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
  transition: color 0.2s ease;
}

.header-nav a:not(.btn):hover {
  color: var(--color-text);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-full);
  transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: scale(0.97);
}

.btn-primary {
  background-color: var(--color-accent);
  color: #FFFFFF;
  padding: 0.7rem 1.5rem;
}

.btn-primary:hover {
  background-color: var(--color-accent-hover);
  box-shadow: 0 4px 16px rgba(27, 44, 193, 0.25);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-accent);
  padding: 0.7rem 1.5rem;
  border: 1.5px solid var(--color-accent);
}

.btn-secondary:hover {
  background-color: var(--color-accent-light);
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-text);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  padding-top: calc(var(--header-height) + var(--space-xl));
  padding-bottom: var(--space-2xl);
  overflow: hidden;
}

.hero .container {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.hero-content {
  flex: 1;
  min-width: 0;
}

.hero-title {
  font-size: clamp(2.25rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-md);
}

.hero-title .accent {
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--color-text-secondary);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: var(--space-lg);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
}

.hero-note {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
}

/* Hero mockups */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  min-height: 480px;
}

.mockup-group {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.mockup {
  width: 180px;
  height: 380px;
  background: var(--color-white);
  border-radius: 28px;
  border: 3px solid #1a1a1a;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.mockup::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 22px;
  background: #1a1a1a;
  border-radius: 0 0 14px 14px;
  z-index: 2;
}

.mockup-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

/* Mockup 1 — Story texte */
.mockup-story-text .mockup-screen {
  background: linear-gradient(160deg, #1E3A5F 0%, #0F1F33 100%);
  padding: 40px 16px 20px;
  justify-content: flex-end;
}

.mockup-story-text .story-image-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(135deg, #2a4a6f 0%, #1a3050 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-story-text .story-image-placeholder svg {
  width: 32px;
  height: 32px;
  opacity: 0.3;
  color: white;
}

.mockup-story-text .story-quote {
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.65rem;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}

.mockup-story-text .story-progress {
  display: flex;
  gap: 3px;
  margin-top: 12px;
}

.mockup-story-text .story-progress span {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 1px;
}

.mockup-story-text .story-progress span.active {
  background: rgba(255, 255, 255, 0.9);
}

/* Mockup 2 — Story video */
.mockup-story-video .mockup-screen {
  background: linear-gradient(160deg, #2C5530 0%, #1a331c 100%);
  justify-content: center;
  align-items: center;
}

.mockup-story-video .play-button {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.mockup-story-video .play-button svg {
  width: 22px;
  height: 22px;
  color: white;
  margin-left: 3px;
}

.mockup-story-video .video-label {
  position: absolute;
  bottom: 20px;
  left: 16px;
  right: 16px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.6rem;
  font-weight: 500;
}

.mockup-story-video .video-label .location {
  font-size: 0.5rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 2px;
}

.mockup-story-video .story-progress {
  position: absolute;
  top: 30px;
  left: 12px;
  right: 12px;
  display: flex;
  gap: 3px;
}

.mockup-story-video .story-progress span {
  flex: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 1px;
}

.mockup-story-video .story-progress span.active {
  background: rgba(255, 255, 255, 0.9);
}

/* Mockup 3 — Story quiz */
.mockup-story-quiz .mockup-screen {
  background: linear-gradient(160deg, #8B4513 0%, #5C2D0E 100%);
  padding: 40px 14px 20px;
  justify-content: center;
  gap: 14px;
}

.mockup-story-quiz .quiz-question {
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.4;
}

.mockup-story-quiz .quiz-option {
  background: rgba(255, 255, 255, 0.15);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  border-radius: 10px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.55rem;
  font-weight: 500;
}

.mockup-story-quiz .quiz-option.selected {
  background: rgba(255, 255, 255, 0.25);
  border-color: white;
}

.mockup-story-quiz .quiz-option.selected::before {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background: white;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
}

/* Mockup positions in fan layout */
.mockup-group .mockup:nth-child(1) {
  transform: rotate(-8deg) translateY(10px);
  z-index: 1;
}

.mockup-group .mockup:nth-child(2) {
  transform: translateY(-10px);
  z-index: 3;
  margin: 0 -20px;
}

.mockup-group .mockup:nth-child(3) {
  transform: rotate(8deg) translateY(10px);
  z-index: 1;
}

/* ==========================================================================
   APP BANNER
   ========================================================================== */

.app-banner {
  padding-bottom: var(--space-2xl);
}

.app-banner-inner {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.app-banner-logo {
  border-radius: 22px;
  box-shadow: 0 8px 24px rgba(27, 44, 193, 0.15);
  margin-bottom: var(--space-sm);
}

.app-banner-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}

.app-banner-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

.app-banner-stores {
  display: flex;
  gap: 12px;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0.7rem 1.5rem;
  background: var(--color-text);
  color: #FFFFFF;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.9rem;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.store-btn:hover {
  background: #2a2a2a;
}

.store-btn:active {
  transform: scale(0.97);
}

/* ==========================================================================
   HOW IT WORKS
   ========================================================================== */

.how-it-works {
  background-color: var(--color-bg);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
  margin-top: var(--space-xl);
}

.step {
  text-align: center;
}

.step-icon {
  width: 56px;
  height: 56px;
  background: var(--color-accent-light);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-sm);
  color: var(--color-accent);
}

.step-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
  max-width: 280px;
  margin: 0 auto;
}

/* ==========================================================================
   PREVIEW (APERÇU PARCOURS)
   ========================================================================== */

.preview {
  background-color: var(--color-bg-alt);
}

.preview-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.preview-header .section-subtitle {
  margin: var(--space-sm) auto 0;
}

.preview-content {
  display: flex;
  align-items: center;
  gap: var(--space-xl);
}

.preview-mockups {
  flex-shrink: 0;
}

.mockup-row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.mockup-sm {
  width: 130px;
  height: 270px;
  border-radius: 20px;
  border-width: 2.5px;
}

.mockup-sm::before {
  width: 56px;
  height: 16px;
  border-radius: 0 0 10px 10px;
}

.mockup-sm .play-button {
  width: 36px;
  height: 36px;
}

.mockup-sm .play-button svg {
  width: 16px;
  height: 16px;
}

.preview-quote {
  flex: 1;
  min-width: 0;
}

.preview-blockquote {
  position: relative;
  padding-left: var(--space-md);
  border-left: 3px solid var(--color-accent);
}

.preview-blockquote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.7;
  color: var(--color-text);
}

.preview-attribution {
  margin-top: var(--space-sm);
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  padding-left: var(--space-md);
}

/* ==========================================================================
   WHY FORO
   ========================================================================== */

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.why-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.why-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.why-card-icon {
  width: 44px;
  height: 44px;
  background: var(--color-accent-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin-bottom: var(--space-sm);
}

.why-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.why-card-desc {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.5;
}

/* ==========================================================================
   GUIDES CAROUSEL
   ========================================================================== */

.guides {
  background: var(--color-bg-alt);
  overflow: hidden;
}

.guides-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-md);
  margin-bottom: var(--space-lg);
}

.guides-header .section-subtitle {
  margin-top: var(--space-xs);
}

.guides-arrows {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.guides-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border);
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.guides-arrow:hover {
  border-color: var(--color-accent);
  background: var(--color-accent-light);
  color: var(--color-accent);
}

.guides-track-wrapper {
  overflow: hidden;
  padding: 0 0 var(--space-sm);
}

.guides-track {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 4px max(1.25rem, calc((100vw - var(--max-width)) / 2 + 1.25rem));
}

.guides-track::-webkit-scrollbar {
  display: none;
}

.guide-card {
  flex-shrink: 0;
  width: 280px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  overflow: hidden;
  scroll-snap-align: start;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.guide-card:hover {
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  transform: translateY(-3px);
}

.guide-card-img {
  height: 160px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.guide-card-img-icon {
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.2);
}

.guide-card-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  backdrop-filter: blur(6px);
}

.guide-card-badge-new {
  background: var(--color-accent);
  color: #FFFFFF;
}

.guide-card-body {
  padding: 14px 16px 16px;
}

.guide-card-city {
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  font-weight: 500;
  margin-bottom: 2px;
}

.guide-card-title {
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 4px;
}

.guide-card-author {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  margin-bottom: 10px;
}

.guide-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.guide-card-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8rem;
  color: var(--color-text-secondary);
  font-weight: 500;
}

.guide-card-rating svg {
  flex-shrink: 0;
}

.guide-card-price {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-text);
}

.guide-card-price-free {
  color: var(--color-accent);
}

/* ==========================================================================
   AUTHORS
   ========================================================================== */

.authors {
  background: var(--color-accent);
  color: #FFFFFF;
}

.authors-inner {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
}

.authors-content {
  flex: 1;
  min-width: 0;
}

.authors-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.7;
  margin-bottom: var(--space-sm);
}

.authors .section-title {
  color: #FFFFFF;
  max-width: 520px;
}

.authors-text {
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: 0.9;
  margin-top: var(--space-sm);
  max-width: 520px;
}

.authors-highlight {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
  padding: var(--space-md);
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.authors-highlight-number {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
  flex-shrink: 0;
}

.authors-highlight-detail {
  font-size: 0.9rem;
  line-height: 1.5;
  opacity: 0.9;
}

.authors-highlight-detail strong {
  opacity: 1;
}

.authors-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
}

.authors .btn-primary {
  background: #FFFFFF;
  color: var(--color-accent);
}

.authors .btn-primary:hover {
  background: #F0F0F0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.authors .btn-secondary {
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
}

.authors .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.authors-visual {
  flex-shrink: 0;
}

.authors-card-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.authors-stat-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 500;
  color: #FFFFFF;
  backdrop-filter: blur(6px);
}

.authors-stat-card svg {
  opacity: 0.8;
  flex-shrink: 0;
}

/* ==========================================================================
   PARTNERS
   ========================================================================== */

.partners {
  background: var(--color-bg);
}

.partners-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.partners-text {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-top: var(--space-sm);
}

.partners-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  margin-top: var(--space-xl);
  padding: var(--space-md) var(--space-lg);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}

.partners-email {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-text);
}

.partners-response {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  margin-top: 2px;
}

/* ==========================================================================
   CUSTOM (SUR MESURE)
   ========================================================================== */

.custom {
  background: var(--color-bg);
}

.custom-inner {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.custom-text {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-top: var(--space-sm);
  margin-bottom: var(--space-lg);
}

.custom-examples {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: var(--space-lg);
}

.custom-tag {
  font-size: 0.85rem;
  font-weight: 500;
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  background: var(--color-accent-light);
  color: var(--color-accent);
}

/* ==========================================================================
   ABOUT
   ========================================================================== */

.about {
  background: var(--color-bg-alt);
}

.about-inner {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.about-quote {
  margin-top: var(--space-lg);
}

.about-quote p {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2.2vw, 1.35rem);
  line-height: 1.75;
  color: var(--color-text);
}

.about-signature {
  margin-top: var(--space-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  background: var(--color-text);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-lg) 0;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  font-size: 1.3rem;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo-img {
  border-radius: 6px;
}

.footer-links {
  display: flex;
  gap: var(--space-md);
  font-size: 0.85rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  padding-top: var(--space-md);
  font-size: 0.8rem;
  opacity: 0.5;
}

/* ==========================================================================
   MODAL
   ========================================================================== */

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 15, 15, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: var(--space-sm);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.modal-overlay[hidden] {
  display: none;
}

.modal-overlay.visible {
  opacity: 1;
}

.modal {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--space-xl) var(--space-lg);
  max-width: 440px;
  width: 100%;
  position: relative;
  text-align: center;
  transform: translateY(12px);
  transition: transform 0.25s ease;
}

.modal-overlay.visible .modal {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  color: var(--color-text-secondary);
  padding: 4px;
  transition: color 0.2s ease;
}

.modal-close:hover {
  color: var(--color-text);
}

.modal-icon {
  width: 56px;
  height: 56px;
  background: var(--color-accent-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  margin: 0 auto var(--space-md);
}

.modal-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
}

.modal-text {
  font-size: 0.95rem;
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.modal-text strong {
  color: var(--color-text);
}

.modal-form {
  display: flex;
  gap: 8px;
}

.modal-input {
  flex: 1;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-full);
  font-family: var(--font-main);
  font-size: 0.95rem;
  background: var(--color-bg);
  color: var(--color-text);
  transition: border-color 0.2s ease;
}

.modal-input:focus {
  outline: none;
  border-color: var(--color-accent);
}

.modal-submit {
  flex-shrink: 0;
}

.modal-success {
  font-size: 0.95rem;
  color: var(--color-accent);
  font-weight: 500;
  padding: 0.7rem 0;
}

@media (max-width: 480px) {
  .modal-form {
    flex-direction: column;
  }
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Mobile */
@media (max-width: 767px) {
  .header-nav {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    background: var(--color-bg);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--header-height) + var(--space-md)) var(--space-md) var(--space-md);
    gap: var(--space-xs);
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    transition: transform 0.3s ease;
  }

  .header-nav.open {
    transform: translateX(0);
  }

  .header-nav a {
    font-size: 1.05rem;
    padding: 0.5rem 0;
  }

  .nav-toggle {
    display: flex;
  }

  .header .btn-primary {
    display: none;
  }

  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-visual {
    min-height: 340px;
  }

  .mockup {
    width: 140px;
    height: 296px;
    border-radius: 22px;
  }

  .mockup::before {
    width: 60px;
    height: 18px;
    border-radius: 0 0 10px 10px;
  }

  .section {
    padding: var(--space-xl) 0;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: var(--space-lg);
  }

  .preview-content {
    flex-direction: column;
  }

  .mockup-row {
    justify-content: center;
  }

  .mockup-sm {
    width: 100px;
    height: 210px;
    border-radius: 16px;
  }

  .mockup-sm::before {
    width: 44px;
    height: 13px;
    border-radius: 0 0 8px 8px;
  }

  .mockup-sm .play-button {
    width: 28px;
    height: 28px;
  }

  .mockup-sm .play-button svg {
    width: 12px;
    height: 12px;
  }

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

  .guides-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .guide-card {
    width: 240px;
  }

  .guide-card-img {
    height: 130px;
  }

  .authors-inner {
    flex-direction: column;
  }

  .authors-visual {
    width: 100%;
  }

  .authors-card-stack {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .partners-contact {
    flex-direction: column;
    gap: var(--space-sm);
    text-align: center;
  }

  .footer-top {
    flex-direction: column;
    gap: var(--space-md);
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--space-sm);
  }
}

/* Tablet */
@media (min-width: 768px) and (max-width: 1023px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .mockup {
    width: 160px;
    height: 340px;
  }
}

/* Desktop nav always visible */
@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }

  .header-nav {
    transform: none !important;
    position: static;
    width: auto;
    background: none;
    box-shadow: none;
    padding: 0;
    flex-direction: row;
  }
}
