/* ==========================================================================
   Cinque Terre Trails — design premium
   ========================================================================== */

:root {
  --sea: #0a4d68;
  --sea-mid: #0d5f7f;
  --sea-deep: #063545;
  --sea-soft: #e6f1f5;
  --sea-mist: #f0f7fa;
  --terra: #c4785a;
  --terra-deep: #a85f42;
  --terra-soft: #f3e6df;
  --olive: #7a8f6a;
  --olive-soft: #eef2ea;
  --bg: #faf8f5;
  --bg-warm: #f3efe8;
  --white: #ffffff;
  --ink: #1c2a32;
  --ink-2: #3d4f5a;
  --muted: #6b7c86;
  --line: #e5e0d8;
  --line-soft: #efebe4;
  --font: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
  --max: 1080px;
  --header: 72px;
  --r: 12px;
  --r-lg: 20px;
  --shadow: 0 10px 40px rgba(6, 53, 69, 0.08);
  --shadow-sm: 0 2px 10px rgba(6, 53, 69, 0.05);
  --ease: 0.2s ease;
}

/* --------------------------------------------------------------------------
   Reset + icônes SVG (tailles STRICTES)
   -------------------------------------------------------------------------- */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--sea);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--sea-deep);
}

code {
  font-family: ui-monospace, "Cascadia Code", Menlo, monospace;
  font-size: 0.86em;
  background: var(--bg-warm);
  border: 1px solid var(--line);
  padding: 0.1em 0.35em;
  border-radius: 5px;
}

/* Empêche les SVG de s’afficher à 300×150 par défaut */
svg {
  display: block;
  flex-shrink: 0;
  overflow: visible;
}

/* Classe utilitaire pour TOUTES les icônes UI */
.icon {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px;
  min-height: 18px;
  max-width: 18px;
  max-height: 18px;
}

.icon-sm {
  width: 16px !important;
  height: 16px !important;
  min-width: 16px;
  min-height: 16px;
  max-width: 16px;
  max-height: 16px;
}

.icon-md {
  width: 22px !important;
  height: 22px !important;
  min-width: 22px;
  min-height: 22px;
  max-width: 22px;
  max-height: 22px;
}

.icon-lg {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px;
  min-height: 28px;
  max-width: 28px;
  max-height: 28px;
}

/* --------------------------------------------------------------------------
   Layout
   -------------------------------------------------------------------------- */

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

.site-main {
  flex: 1;
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header);
  background: rgba(250, 248, 245, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 4px 20px rgba(6, 53, 69, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header);
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
  color: var(--ink);
}

.logo:hover {
  color: var(--ink);
}

.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(145deg, var(--sea) 0%, var(--sea-deep) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(10, 77, 104, 0.28);
  color: #fff;
}

.logo-mark .icon {
  width: 18px !important;
  height: 18px !important;
  color: #fff;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.15;
}

.logo-text strong {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--sea-deep);
}

.logo-text span {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.15rem;
}

.nav a {
  text-decoration: none;
  color: var(--ink-2);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  transition: background var(--ease), color var(--ease);
}

.nav a:hover {
  color: var(--sea);
  background: var(--sea-soft);
}

.nav a[aria-current="page"] {
  color: var(--sea);
  background: var(--sea-soft);
  font-weight: 600;
}

.nav a.nav-cta {
  margin-left: 0.4rem;
  background: var(--sea);
  color: #fff;
  font-weight: 600;
  padding: 0.5rem 1.1rem;
  box-shadow: 0 3px 12px rgba(10, 77, 104, 0.22);
}

.nav a.nav-cta:hover,
.nav a.nav-cta[aria-current="page"] {
  background: var(--sea-deep);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  color: var(--ink);
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

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

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  padding: 3.5rem 0 4rem;
  background:
    radial-gradient(ellipse 80% 60% at 100% -10%, rgba(10, 77, 104, 0.12), transparent 55%),
    radial-gradient(ellipse 50% 40% at 0% 100%, rgba(196, 120, 90, 0.1), transparent 50%),
    linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--sea);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.35rem 0.85rem 0.35rem 0.4rem;
  border-radius: 999px;
  margin-bottom: 1.35rem;
  box-shadow: var(--shadow-sm);
}

.hero-badge-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--olive-soft);
  color: var(--olive);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-badge-dot .icon {
  width: 11px !important;
  height: 11px !important;
  min-width: 11px;
  min-height: 11px;
  max-width: 11px;
  max-height: 11px;
}

.hero h1 {
  font-family: var(--display);
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.025em;
  color: var(--sea-deep);
  margin-bottom: 1.1rem;
  max-width: 14ch;
}

.hero h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--sea);
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 34rem;
  margin-bottom: 1.75rem;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  align-items: flex-start;
  margin-bottom: 1.75rem;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.35rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}

.hero-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--ink-2);
}

.hero-meta .icon {
  color: var(--olive);
}

/* Carte visuelle */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-card {
  width: 100%;
  max-width: 360px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card-map {
  height: 200px;
  position: relative;
  background: linear-gradient(155deg, #063545 0%, #0a4d68 45%, #1a6b5c 100%);
  overflow: hidden;
}

.hero-card-map::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 28% 72%, rgba(196, 120, 90, 0.35), transparent 42%),
    radial-gradient(circle at 78% 28%, rgba(255, 255, 255, 0.1), transparent 36%);
}

/* SVG décoratif carte — autorisé à grandir */
.hero-path {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  min-width: 0 !important;
  min-height: 0 !important;
}

.hero-path path {
  fill: none;
  stroke: rgba(255, 255, 255, 0.5);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 6 8;
}

.hero-path .path-solid {
  stroke: rgba(243, 230, 223, 0.92);
  stroke-width: 3;
  stroke-dasharray: none;
}

.hero-villages {
  position: absolute;
  inset: 0;
}

.hero-village {
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.22);
}

.hero-village::after {
  content: attr(data-name);
  position: absolute;
  left: 13px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.hero-card-body {
  padding: 1.25rem 1.35rem 1.4rem;
}

.hero-card-body h2 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--sea-deep);
  margin-bottom: 0.3rem;
}

.hero-card-body > p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.hero-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  padding-top: 0.95rem;
  border-top: 1px solid var(--line-soft);
}

.hero-card-stats div {
  text-align: center;
}

.hero-card-stats strong {
  display: block;
  font-family: var(--display);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--sea);
  line-height: 1.2;
}

.hero-card-stats span {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.hero-float {
  position: absolute;
  z-index: 2;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.5rem 0.75rem;
  box-shadow: var(--shadow-sm);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-2);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  animation: float 5s ease-in-out infinite;
}

.hero-float .icon {
  color: var(--terra);
}

.hero-float-1 {
  top: 6%;
  right: -4%;
}

.hero-float-2 {
  bottom: 16%;
  left: -6%;
  animation-delay: 1.2s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.2;
  text-decoration: none;
  border: 1.5px solid transparent;
  border-radius: 999px;
  padding: 0.85rem 1.4rem;
  cursor: pointer;
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease),
    border-color var(--ease), color var(--ease);
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: linear-gradient(135deg, var(--terra), var(--terra-deep));
  color: #fff;
  box-shadow: 0 10px 28px rgba(196, 120, 90, 0.35);
}

.btn-primary:hover {
  color: #fff;
}

.btn-secondary {
  background: var(--white);
  color: var(--sea-deep);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  color: var(--sea);
  border-color: rgba(10, 77, 104, 0.25);
  background: var(--sea-mist);
}

.btn-lg {
  font-size: 1rem;
  padding: 1rem 1.65rem;
}

/* Gros bouton téléchargement */
.btn-download {
  position: relative;
  background: linear-gradient(135deg, #c4785a 0%, #a85f42 100%);
  color: #fff !important;
  font-size: 1rem;
  padding: 1rem 1.5rem;
  box-shadow:
    0 3px 0 #8f4e36,
    0 12px 28px rgba(196, 120, 90, 0.38);
  overflow: hidden;
  gap: 0.65rem;
}

.btn-download::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.15), transparent 55%);
  pointer-events: none;
}

.btn-download:hover {
  color: #fff !important;
  box-shadow:
    0 3px 0 #8f4e36,
    0 16px 36px rgba(196, 120, 90, 0.48);
}

.btn-download:active {
  box-shadow:
    0 1px 0 #8f4e36,
    0 6px 16px rgba(196, 120, 90, 0.3);
  transform: translateY(2px);
}

.btn-download .icon {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  min-height: 20px;
  max-width: 20px;
  max-height: 20px;
  position: relative;
  z-index: 1;
}

.btn-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  text-align: left;
  line-height: 1.2;
  position: relative;
  z-index: 1;
}

.btn-label small {
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.88;
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section {
  padding: 4rem 0;
}

.section-alt {
  background: var(--white);
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.section-header {
  margin-bottom: 2.25rem;
  max-width: 34rem;
}

.section-header.centered {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--terra);
  margin-bottom: 0.55rem;
}

.section-header h2 {
  font-family: var(--display);
  font-size: clamp(1.55rem, 2.8vw, 1.95rem);
  font-weight: 600;
  color: var(--sea-deep);
  margin-bottom: 0.55rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.section-header p {
  color: var(--muted);
  font-size: 1.02rem;
}

/* --------------------------------------------------------------------------
   Cards
   -------------------------------------------------------------------------- */

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--ease), transform var(--ease), border-color var(--ease);
}

.section-alt .card {
  background: var(--bg);
  border-color: var(--line-soft);
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-2px);
  border-color: rgba(10, 77, 104, 0.14);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  background: var(--sea-soft);
  color: var(--sea);
}

.card-icon .icon {
  width: 20px !important;
  height: 20px !important;
  min-width: 20px;
  min-height: 20px;
  max-width: 20px;
  max-height: 20px;
}

.card-icon.terra {
  background: var(--terra-soft);
  color: var(--terra-deep);
}

.card-icon.olive {
  background: var(--olive-soft);
  color: var(--olive);
}

.card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  letter-spacing: -0.015em;
}

.card p {
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.6;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}

.step {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow-sm);
}

.step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--sea);
  color: #fff;
  font-family: var(--display);
  font-weight: 600;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.95rem;
  box-shadow: 0 3px 10px rgba(10, 77, 104, 0.25);
}

.step h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.step p {
  font-size: 0.92rem;
  color: var(--muted);
}

/* --------------------------------------------------------------------------
   Trails
   -------------------------------------------------------------------------- */

.trail-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.trail-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 1.25rem 1.35rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--ease), border-color var(--ease);
}

.trail-item:hover {
  box-shadow: var(--shadow);
  border-color: rgba(10, 77, 104, 0.14);
}

.trail-code {
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.03em;
  color: #fff;
  background: var(--sea);
  padding: 0.35rem 0.55rem;
  border-radius: 7px;
  white-space: nowrap;
  text-align: center;
  min-width: 3rem;
  height: fit-content;
}

.trail-item h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.trail-item p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 0.55rem;
  line-height: 1.55;
}

.trail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--bg-warm);
  color: var(--muted);
  border: 1px solid var(--line);
}

.tag-easy {
  background: var(--olive-soft);
  color: #5a6e4c;
  border-color: #d4e0cc;
}

.tag-medium {
  background: var(--terra-soft);
  color: var(--terra-deep);
  border-color: #e8d0c4;
}

.tag-hard {
  background: #fce8e8;
  color: #a94442;
  border-color: #f0cfcf;
}

/* --------------------------------------------------------------------------
   Download box
   -------------------------------------------------------------------------- */

.download-box {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: var(--shadow);
  max-width: 480px;
  margin: 0 auto 2.25rem;
  position: relative;
  overflow: hidden;
}

.download-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sea), var(--olive), var(--terra));
}

.file-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1.15rem;
  border-radius: 16px;
  background: linear-gradient(145deg, var(--sea-soft), var(--olive-soft));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sea);
  border: 1px solid rgba(10, 77, 104, 0.06);
}

.file-icon .icon {
  width: 28px !important;
  height: 28px !important;
  min-width: 28px;
  min-height: 28px;
  max-width: 28px;
  max-height: 28px;
}

.download-box h1 {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--sea-deep);
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.download-box > p {
  color: var(--muted);
  font-size: 0.95rem;
}

.file-name {
  font-family: ui-monospace, "Cascadia Code", monospace;
  font-size: 0.82rem;
  color: var(--ink-2);
  background: var(--bg-warm);
  display: inline-block;
  padding: 0.35rem 0.75rem;
  border-radius: 7px;
  margin: 0.9rem 0 1.4rem;
  border: 1px solid var(--line);
  word-break: break-all;
}

.download-info {
  margin-top: 1.5rem;
  font-size: 0.9rem;
}

.download-info ul {
  list-style: none;
  text-align: left;
  max-width: 260px;
  margin: 0.75rem auto 0;
}

.download-info li {
  padding: 0.35rem 0 0.35rem 1.45rem;
  position: relative;
  color: var(--ink-2);
  font-weight: 500;
}

.download-info li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--olive);
  box-shadow: 0 0 0 3px var(--olive-soft);
}

/* --------------------------------------------------------------------------
   Support / « Offrez-moi un café »
   (sous chaque téléchargement — jamais dans le menu)
   -------------------------------------------------------------------------- */

/* Groupe bouton download + lien café */
.download-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.75rem;
}

.download-actions.centered,
.download-box .download-actions,
.cta-band .download-actions {
  align-items: center;
}

/* Lien élégant sous un bouton de téléchargement */
.support-nudge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1rem 0.55rem 0.7rem;
  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.3;
  color: var(--terra-deep);
  text-decoration: none;
  background: var(--terra-soft);
  border: 1px solid rgba(196, 120, 90, 0.28);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(168, 95, 66, 0.08);
  transition: background var(--ease), border-color var(--ease), color var(--ease),
    box-shadow var(--ease), transform var(--ease);
}

.support-nudge:hover {
  color: var(--sea-deep);
  background: #f8ebe3;
  border-color: rgba(168, 95, 66, 0.4);
  box-shadow: 0 4px 14px rgba(168, 95, 66, 0.14);
  text-decoration: none;
  transform: translateY(-1px);
}

.support-nudge-emoji {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid rgba(196, 120, 90, 0.2);
  font-size: 0.95rem;
  line-height: 1;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.support-nudge-text {
  letter-spacing: -0.01em;
}

.support-nudge-text em {
  font-style: normal;
  font-weight: 700;
  color: var(--terra-deep);
}

.support-nudge:hover .support-nudge-text em {
  color: var(--sea-deep);
}

/* Variante claire sur bandeau CTA sombre */
.cta-band .support-nudge {
  color: var(--sea-deep);
  background: rgba(255, 255, 255, 0.95);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.cta-band .support-nudge:hover {
  background: #fff;
  color: var(--sea);
  border-color: #fff;
}

.cta-band .support-nudge-text em {
  color: var(--terra-deep);
}

/* Carte support page download (plus affirmée) */
.support-card {
  max-width: 480px;
  margin: 0 auto 2.5rem;
  padding: 1.5rem 1.6rem;
  display: flex;
  align-items: center;
  gap: 1.15rem;
  background: linear-gradient(145deg, #f8ebe3 0%, var(--white) 60%);
  border: 1px solid rgba(196, 120, 90, 0.32);
  border-radius: var(--r-lg);
  box-shadow: 0 8px 28px rgba(168, 95, 66, 0.1);
}

.support-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  color: var(--terra-deep);
  font-size: 1.35rem;
  line-height: 1;
  border: 1px solid rgba(196, 120, 90, 0.22);
  box-shadow: var(--shadow-sm);
}

.support-card-body {
  flex: 1;
  min-width: 0;
}

.support-card-body p {
  font-size: 0.98rem;
  color: var(--ink-2);
  line-height: 1.45;
  margin: 0 0 0.7rem;
}

.support-card-body p strong {
  font-weight: 700;
  color: var(--ink);
  display: block;
  margin-bottom: 0.15rem;
}

.support-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  letter-spacing: -0.01em;
  background: linear-gradient(135deg, var(--terra) 0%, var(--terra-deep) 100%);
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(168, 95, 66, 0.28);
  transition: transform var(--ease), box-shadow var(--ease), background var(--ease);
}

.support-link:hover {
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(168, 95, 66, 0.38);
  transform: translateY(-1px);
}

.support-link .icon {
  width: 14px !important;
  height: 14px !important;
  min-width: 14px;
  min-height: 14px;
  max-width: 14px;
  max-height: 14px;
  opacity: 0.95;
}

/* Footer : un peu plus lisible */
.footer-support {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-size: 0.84rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.footer-support:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.28);
  text-decoration: none;
}

.footer-support span[aria-hidden="true"] {
  font-size: 0.95em;
}

/* --------------------------------------------------------------------------
   Page header
   -------------------------------------------------------------------------- */

.page-header {
  padding: 2.75rem 0 1.75rem;
  background: linear-gradient(180deg, var(--bg-warm) 0%, var(--bg) 100%);
  border-bottom: 1px solid var(--line-soft);
}

.page-header h1 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.2vw, 2.35rem);
  font-weight: 600;
  color: var(--sea-deep);
  margin-bottom: 0.55rem;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.page-header p {
  color: var(--muted);
  max-width: 36rem;
  font-size: 1.05rem;
}

/* --------------------------------------------------------------------------
   Prose + callouts
   -------------------------------------------------------------------------- */

.prose {
  max-width: 40rem;
}

.prose h2 {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--sea-deep);
  margin: 2rem 0 0.75rem;
  letter-spacing: -0.015em;
}

.prose h3 {
  font-size: 1.02rem;
  font-weight: 600;
  margin: 1.4rem 0 0.4rem;
}

.prose p + p {
  margin-top: 0.9rem;
}

.prose ul,
.prose ol {
  margin: 0.9rem 0 0.9rem 1.2rem;
  color: var(--ink-2);
}

.prose li + li {
  margin-top: 0.4rem;
}

.prose strong {
  color: var(--ink);
  font-weight: 600;
}

.callout {
  background: var(--terra-soft);
  border-left: 3px solid var(--terra);
  border-radius: 0 var(--r) var(--r) 0;
  padding: 1rem 1.2rem;
  margin: 1.5rem 0;
  font-size: 0.93rem;
  color: var(--ink-2);
  line-height: 1.6;
}

.callout strong {
  color: var(--ink);
}

.callout-info {
  border-left-color: var(--sea);
  background: var(--sea-soft);
}

/* --------------------------------------------------------------------------
   Ads
   -------------------------------------------------------------------------- */

.ad-slot {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90px;
  margin: 2rem auto;
  max-width: 728px;
  background: var(--bg-warm);
  border: 1px dashed var(--line);
  border-radius: var(--r);
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.ad-slot[data-ad-ready="true"] {
  background: transparent;
  border: none;
  min-height: auto;
}

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */

.cta-band {
  position: relative;
  background: linear-gradient(135deg, var(--sea-deep) 0%, var(--sea) 55%, #0d6b5c 100%);
  color: #fff;
  padding: 3.5rem 0;
  text-align: center;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 36px 36px;
}

.cta-band .container {
  position: relative;
  z-index: 1;
}

.cta-band h2 {
  font-family: var(--display);
  font-size: clamp(1.45rem, 2.8vw, 1.9rem);
  font-weight: 600;
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.cta-band p {
  opacity: 0.88;
  max-width: 28rem;
  margin: 0 auto 1.5rem;
  font-size: 1.02rem;
}

.cta-band .btn-download {
  background: #fff;
  color: var(--sea-deep) !important;
  box-shadow:
    0 3px 0 rgba(0, 0, 0, 0.08),
    0 10px 28px rgba(0, 0, 0, 0.16);
}

.cta-band .btn-download:hover {
  color: var(--sea) !important;
  background: var(--bg);
}

.cta-band .btn-download .icon {
  color: var(--sea-deep);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--sea-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.75rem 0 1.5rem;
  margin-top: auto;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  font-size: 1rem;
  color: #fff;
  margin-bottom: 0.65rem;
}

.footer-brand .logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  box-shadow: none;
}

.footer-brand + p {
  opacity: 0.72;
  max-width: 26ch;
  line-height: 1.55;
  font-size: 0.88rem;
}

.footer-col h3 {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
  display: block;
  padding: 0.22rem 0;
  font-weight: 500;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.15rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem 1.35rem;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
}

.footer-bottom-left {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 1rem;
}

.footer-bottom-left > span:not(:last-child)::after {
  content: "·";
  margin-left: 1rem;
  opacity: 0.45;
  pointer-events: none;
}

@media (max-width: 480px) {
  .footer-bottom-left > span:not(:last-child)::after {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   Utils
   -------------------------------------------------------------------------- */

.mt-0 {
  margin-top: 0 !important;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .hero h1 {
    max-width: none;
  }

  .hero-visual {
    order: -1;
    max-width: 340px;
    margin: 0 auto;
  }

  .hero-float-1 {
    right: 0;
  }

  .hero-float-2 {
    left: 0;
  }
}

@media (max-width: 760px) {
  .grid-3,
  .steps {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    display: none;
    position: absolute;
    top: var(--header);
    left: 0;
    right: 0;
    background: rgba(250, 248, 245, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    padding: 0.75rem 1.25rem 1rem;
    box-shadow: var(--shadow);
    gap: 0.15rem;
  }

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

  .nav a {
    padding: 0.75rem 1rem;
    border-radius: 10px;
  }

  .nav a.nav-cta {
    margin-left: 0;
    margin-top: 0.3rem;
    text-align: center;
  }

  .hero {
    padding: 2rem 0 2.75rem;
  }

  .section {
    padding: 3rem 0;
  }

  .trail-item {
    grid-template-columns: 1fr;
  }

  .logo-text span {
    display: none;
  }
}

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

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-download,
  .btn-lg {
    width: 100%;
  }

  .btn-label {
    align-items: center;
    text-align: center;
  }

  .hero-float {
    display: none;
  }

  .hero-meta {
    flex-direction: column;
    gap: 0.45rem;
  }

  .support-card {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 1.25rem 1.15rem;
  }

  .support-link {
    justify-content: center;
  }

  .download-actions {
    width: 100%;
    align-items: stretch;
  }

  .support-nudge {
    justify-content: center;
    text-align: center;
    white-space: normal;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
