/* Sanremo 2027 Magazine Network Stylesheet */
:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface2: #f6f6f6;
  --ink: #111111;
  --muted: #5f6368;
  --accent: #ffd500;
  --accent2: #111111;
  --line: #e5e5e5;
  --font-display: "Fraunces", Georgia, serif;
  --font-serif: "Source Serif 4", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: var(--bg);
  color: var(--ink);
}

body {
  font-family: var(--font-serif);
  font-size: clamp(1.1875rem, 0.5vw + 1.05rem, 1.25rem);
  line-height: 1.65;
  color: var(--ink);
  background-color: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 74px;
  }
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--accent);
  color: var(--bg);
  padding: 10px 16px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 9999;
  border-radius: 4px;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 15px;
}

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

@media (min-width: 768px) {
  .container {
    padding-left: 40px;
    padding-right: 40px;
  }
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.site-wordmark {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.site-wordmark:hover {
  color: var(--accent);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-link {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

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

.btn-cta-header {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  padding: 0.55rem 1.1rem;
  background: var(--accent);
  color: var(--bg);
  border-radius: 4px;
  text-decoration: none;
  transition: opacity 0.15s ease;
  white-space: nowrap;
}

.btn-cta-header:hover {
  opacity: 0.9;
}

@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
    gap: 0.75rem;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
  .site-nav {
    gap: 1rem;
    width: 100%;
    order: 3;
  }
}

/* Typography & Components */
.kicker {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.15s ease;
  cursor: pointer;
  border: 1px solid transparent;
}

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

.btn-primary:hover {
  opacity: 0.92;
}

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

.btn-accent:hover {
  opacity: 0.92;
}

.btn-outline {
  border-color: var(--line);
  background: var(--surface);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
}

/* Home Hero */
.home-hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  background-color: var(--surface);
  overflow: hidden;
}

.home-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.home-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: linear-gradient(to top, var(--bg) 0%, rgba(10, 8, 14, 0.78) 55%, rgba(10, 8, 14, 0.25) 100%);
}

.home-hero-content {
  position: relative;
  z-index: 3;
  padding-top: 5rem;
  padding-bottom: 4rem;
  max-width: 900px;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.75rem, 5vw + 1rem, 4.75rem);
  line-height: 1.1;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.25rem;
  text-wrap: balance;
  text-shadow: 0 1px 28px rgba(0, 0, 0, 0.35);
}

.hero-title a {
  color: inherit;
  text-decoration: none;
}

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

.hero-dek {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--ink);
  opacity: 0.94;
  margin-bottom: 1.5rem;
  max-width: 68ch;
}

.meta-row {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Essential Bar */
.essential-bar {
  background: var(--surface);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 1.75rem 0;
}

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

.essential-item-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.essential-item-val {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--ink);
}

@media (max-width: 640px) {
  .essential-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

/* Articles Section */
.articles-section {
  padding: 4.5rem 0;
}

.section-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 2rem;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  border-color: var(--accent);
}

.card-featured {
  grid-column: span 3;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
}

.card-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--surface2);
}

.card-featured .card-img-wrap {
  aspect-ratio: auto;
  min-height: 100%;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.card:hover .card-img {
  transform: scale(1.02);
}

.card-content {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card-featured .card-content {
  padding: 2.5rem;
  justify-content: center;
}

.card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  line-height: 1.25;
  margin-bottom: 0.75rem;
}

.card-featured .card-title {
  font-size: 2rem;
}

.card-title a {
  color: var(--ink);
  text-decoration: none;
}

.card-title a:hover {
  color: var(--accent);
}

.card-dek {
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: 1.25rem;
  flex: 1;
}

.card-meta {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  margin-top: auto;
}

@media (max-width: 960px) {
  .articles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-featured {
    grid-column: span 2;
    grid-template-columns: 1fr;
  }
  .card-featured .card-img-wrap {
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
  .card-featured {
    grid-column: span 1;
  }
}

/* Facts Section */
.facts-section {
  padding: 4.5rem 0;
  border-top: 1px solid var(--line);
  background: var(--surface);
}

.facts-table {
  width: 100%;
  max-width: 860px;
  border-collapse: collapse;
  margin-top: 1.5rem;
}

.facts-table tr {
  border-bottom: 1px solid var(--line);
}

.facts-table th {
  text-align: left;
  padding: 1.1rem 1rem 1.1rem 0;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  width: 30%;
  vertical-align: top;
}

.facts-table td {
  padding: 1.1rem 0;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--ink);
}

/* Full Width CTA */
.full-cta-section {
  padding: 5rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--surface2);
  text-align: center;
}

.full-cta-inner {
  max-width: 720px;
  margin: 0 auto;
}

.full-cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3vw + 1rem, 2.75rem);
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
}

.full-cta-dek {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 2rem;
}

/* Article Page */
.article-page {
  padding: 3rem 0 5rem;
}

.article-container {
  max-width: 840px;
  margin: 0 auto;
}

.breadcrumb {
  margin-bottom: 2rem;
  font-family: var(--font-sans);
  font-size: 0.85rem;
}

.breadcrumb ol {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  list-style: none;
  flex-wrap: wrap;
}

.breadcrumb a {
  color: var(--muted);
  text-decoration: none;
}

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

.breadcrumb [aria-current="page"] {
  color: var(--ink);
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 320px;
}

.article-header {
  margin-bottom: 2.5rem;
}

.article-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 4vw + 1rem, 4rem);
  line-height: 1.15;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.25rem;
  text-wrap: balance;
}

.article-dek {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  line-height: 1.5;
  color: var(--ink);
  opacity: 0.95;
  margin-bottom: 1.5rem;
}

.article-byline {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  color: var(--muted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
}

.article-hero-figure {
  margin: 2.5rem 0 3.5rem;
}

.article-hero-img {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
}

.article-hero-caption {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.75rem;
  text-align: center;
  font-style: italic;
}

.article-body {
  max-width: 68ch;
  margin: 0 auto;
}

.article-body > p {
  margin-bottom: 1.65rem;
}

.article-body > p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 3.5rem;
  line-height: 0.85;
  float: left;
  margin: 0.1em 0.15em 0 0;
  font-weight: 700;
  color: var(--accent);
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding-top: 1.75rem;
  margin-top: 2.75rem;
  margin-bottom: 1rem;
  text-wrap: balance;
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--ink);
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-body blockquote {
  border-left: 4px solid var(--accent);
  background: var(--surface2);
  padding: 1.25rem 1.75rem;
  margin: 2rem 0;
  border-radius: 4px;
  font-style: italic;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ink);
}

.article-body hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: 2.5rem 0;
}

.article-body ul, .article-body ol {
  margin: 1.5rem 0 1.5rem 1.75rem;
}

.article-body li {
  margin-bottom: 0.65rem;
}

.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1.5px;
}

.article-body a:hover {
  color: var(--accent2);
}

.table-wrapper {
  overflow-x: auto;
  margin: 2.5rem 0;
  border: 1px solid var(--line);
  border-radius: 4px;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-sans);
  font-size: 0.95rem;
}

th {
  background: var(--surface2);
  color: var(--accent);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.8rem;
  padding: 0.85rem 1rem;
  text-align: left;
  border-bottom: 2px solid var(--accent);
}

td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
}

tbody tr:nth-child(even) {
  background: var(--surface);
}

tbody tr:nth-child(odd) {
  background: transparent;
}

/* In-Article CTA */
.article-cta {
  border: 1px solid var(--accent);
  background: var(--surface2);
  border-radius: 4px;
  padding: 1.75rem;
  margin: 2.75rem 0;
}

.article-cta-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.article-cta-desc {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--muted);
  margin-bottom: 1.25rem;
}

/* Read More Section */
.read-more-section {
  padding: 4.5rem 0 2rem;
  border-top: 1px solid var(--line);
  margin-top: 4.5rem;
}

/* Footer */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 4rem 0 3rem;
  margin-top: auto;
}

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

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.footer-tagline {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.footer-about {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  margin-bottom: 1.25rem;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s ease;
}

.footer-nav a:hover {
  color: var(--ink);
}

.footer-meta-text {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--muted);
  text-align: center;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Mobile Fixed CTA Bar */
.mobile-cta-bar {
  display: none;
}

@media (max-width: 768px) {
  .mobile-cta-bar {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    padding: 0.75rem 1rem;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid var(--line);
  }

  .mobile-cta-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--accent);
    color: var(--bg);
    font-family: var(--font-sans);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    text-decoration: none;
  }
}

/* Light theme: hero photographique sombre, typographie claire */
.home-hero-overlay {
  background: linear-gradient(to right, rgba(10, 8, 14, 0.78) 0%, rgba(10, 8, 14, 0.45) 42%, rgba(10, 8, 14, 0.05) 72%), linear-gradient(to top, rgba(10, 8, 14, 0.94) 0%, rgba(10, 8, 14, 0.74) 55%, rgba(10, 8, 14, 0.22) 100%);
}
.home-hero .hero-kicker { color: #f0c98a; }
.home-hero .hero-title,
.home-hero .hero-title a { color: #ffffff; }
.home-hero .hero-title a:hover { color: #f0c98a; }
.home-hero .hero-dek { color: rgba(255, 255, 255, 0.92); opacity: 1; }
.home-hero .meta-row { color: rgba(255, 255, 255, 0.78); }
.home-hero .btn-primary { background: #ffffff; color: #141210; }
.home-hero .btn-outline { background: transparent; border-color: rgba(255, 255, 255, 0.55); color: #ffffff; }
.home-hero .btn-outline:hover { border-color: #ffffff; }


/* =====================================================================
   VIVA TICKET — brand layer (chrome noir, accent jaune, Roboto/Montserrat)
   ===================================================================== */
@font-face {
  font-family: "Roboto Viva";
  src: url("/assets/fonts/roboto-400.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Roboto Viva";
  src: url("/assets/fonts/roboto-500.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Roboto Viva";
  src: url("/assets/fonts/roboto-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Montserrat Viva";
  src: url("/assets/fonts/montserrat-700.woff2") format("woff2");
  font-weight: 700; font-style: normal; font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #ffffff;
  --surface2: #f6f6f6;
  --ink: #111111;
  --muted: #5f6368;
  --accent: #ffd500;
  --accent2: #111111;
  --line: #e5e5e5;
  --font-display: "Montserrat Viva", "Montserrat", Arial, sans-serif;
  --font-serif: "Roboto Viva", "Roboto", Arial, sans-serif;
  --font-sans: "Roboto Viva", "Roboto", Arial, sans-serif;
}

html { background: #ffffff; }

body {
  font-family: var(--font-serif);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: #ffffff;
  -webkit-font-smoothing: antialiased;
}

:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.skip-link { background: var(--accent); color: #000; border-radius: 6px; }

/* ---------- Header ---------- */
.site-header {
  background: #000000;
  border-bottom: 0;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.06);
}
.header-inner {
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
  gap: 2rem;
}
.viva-logo { display: inline-flex; align-items: center; text-decoration: none; }
.viva-logo img { height: 21px; width: auto; display: block; }
.site-nav { display: flex; align-items: center; gap: 1.55rem; }
.site-header .nav-link {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: rgba(255, 255, 255, 0.82);
  text-decoration: none;
  white-space: nowrap;
  padding: 0.35rem 0;
  border-bottom: 2px solid transparent;
}
.site-header .nav-link:hover { color: var(--accent); border-bottom-color: var(--accent); }
.btn-cta-header {
  background: var(--accent);
  color: #000000;
  border-radius: 999px;
  padding: 0.62rem 1.3rem;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.btn-cta-header:hover { opacity: 1; background: #ffe23d; }

@media (max-width: 900px) {
  .header-inner { flex-wrap: wrap; row-gap: 0.65rem; gap: 0.75rem; }
  .viva-logo img { height: 18px; }
  .btn-cta-header { margin-left: auto; padding: 0.5rem 0.95rem; font-size: 0.75rem; }
  .site-nav {
    order: 3;
    width: 100%;
    gap: 1.15rem;
    overflow-x: auto;
    padding-bottom: 0.1rem;
    scrollbar-width: none;
  }
  .site-nav::-webkit-scrollbar { display: none; }
  .site-header .nav-link { font-size: 0.78rem; }
}

/* ---------- Kicker / buttons ---------- */
.kicker {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #000000;
  background: var(--accent);
  padding: 0.28rem 0.55rem;
  border-radius: 4px;
  margin-bottom: 0.85rem;
  width: fit-content;
  align-self: flex-start;
  max-width: 100%;
}
.home-hero .kicker, .article-header .kicker { color: #000000; background: var(--accent); }

.btn {
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  padding: 0.85rem 1.7rem;
}
.btn-primary { background: #000000; color: #ffffff; }
.btn-accent { background: var(--accent); color: #000000; }
.btn-outline { background: transparent; border-color: #111111; color: #111111; }
.btn-outline:hover { background: #111111; color: #ffffff; border-color: #111111; }

/* ---------- Home hero ---------- */
.home-hero { min-height: 560px; background: #000; }
.home-hero-content { max-width: 1180px; }
.home-hero-overlay,
.home-hero .home-hero-overlay {
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.88) 0%, rgba(0, 0, 0, 0.62) 46%, rgba(0, 0, 0, 0.12) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.35) 60%, rgba(0, 0, 0, 0.15) 100%);
}
.hero-title, .home-hero .hero-title, .home-hero .hero-title a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4.8vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #ffffff;
}
.home-hero .hero-title a:hover { color: var(--accent); }
.home-hero .hero-dek, .hero-dek {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
}
.home-hero .btn-primary { background: transparent; color: #ffffff; border: 1px solid rgba(255, 255, 255, 0.75); }
.home-hero .btn-primary:hover { background: #ffffff; color: #000000; opacity: 1; }
.home-hero .btn-accent { background: var(--accent); color: #000000; }
.home-hero .btn-accent:hover { background: #ffe23d; opacity: 1; }
.home-hero .btn-outline { border-color: rgba(255, 255, 255, 0.7); color: #ffffff; }
.home-hero .btn-outline:hover { background: #ffffff; color: #000000; border-color: #ffffff; }
.home-hero .meta-row { color: rgba(255, 255, 255, 0.75); font-family: var(--font-sans); }

/* ---------- Bandeau essentiel ---------- */
.essential-bar { background: #000000; border-top: 0; border-bottom: 0; }
.essential-grid { gap: 0; }
.essential-item { border-right: 1px solid rgba(255, 255, 255, 0.14); padding: 1.1rem 1.25rem; }
.essential-item:last-child { border-right: 0; }
.essential-item-label {
  font-family: var(--font-sans);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: var(--accent);
  text-transform: uppercase;
}
.essential-item-val {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 500;
  color: #ffffff;
}
@media (max-width: 768px) {
  .essential-item { border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
  .essential-item:last-child { border-bottom: 0; }
}

/* ---------- Sections / cartes ---------- */
.articles-section { padding-top: 3.5rem; padding-bottom: 3rem; }
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: -0.015em;
  color: #111111;
  padding-bottom: 0.65rem;
  position: relative;
}
.section-title::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 46px; height: 3px;
  background: var(--accent);
}
.articles-grid { gap: 1.5rem; }
.card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: none;
  overflow: hidden;
  transition: border-color 0.15s ease, transform 0.15s ease;
}
.card:hover { border-color: #111111; transform: translateY(-2px); box-shadow: none; }
.card-img-wrap { border-radius: 0; overflow: hidden; background: #f2f2f2; }
.card-img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.card:hover .card-img { transform: none; }
.card-content { padding: 1.25rem 1.3rem 1.4rem; }
.card-title, .card-featured .card-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
}
.card-title a { color: #111111; }
.card-title a:hover { color: #111111; text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 3px; }
.card-dek { font-family: var(--font-sans); font-size: 0.9rem; color: var(--muted); line-height: 1.55; }
.card-meta { font-family: var(--font-sans); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.1em; color: #6b6b6b; }
.card-featured { border-color: #111111; }

/* ---------- Bande CTA ---------- */
.full-cta-section { background: var(--accent); color: #000000; padding: 3.25rem 0; }
.full-cta-inner { max-width: 760px; }
.full-cta-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.15rem);
  letter-spacing: -0.02em;
  color: #000000;
}
.full-cta-dek { font-family: var(--font-sans); font-size: 1rem; color: rgba(0, 0, 0, 0.78); }
.full-cta-section .btn { background: #000000; color: #ffffff; border-color: #000000; }
.full-cta-section .btn:hover { background: #1d1d1d; }

/* ---------- Tableau repères ---------- */
.facts-section { background: #f6f6f6; }
.facts-table { background: #ffffff; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.facts-table th {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #000000;
  background: var(--accent);
}
.facts-table td { font-family: var(--font-sans); font-size: 0.9rem; color: #111111; border-color: var(--line); }

/* ---------- Article ---------- */
.article-page { padding-top: 2rem; }
.breadcrumb ol { flex-wrap: wrap; }
.breadcrumb { font-family: var(--font-sans); font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.1em; color: #8a8a8a; }
.breadcrumb a { color: #111111; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; text-decoration-color: var(--accent); text-decoration-thickness: 2px; }
.article-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #111111;
}
.article-dek { font-family: var(--font-sans); font-size: 1.15rem; line-height: 1.55; color: #444444; }
.article-byline { font-family: var(--font-sans); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: #6b6b6b; }
.article-hero-caption { font-family: var(--font-sans); font-size: 0.78rem; color: #777777; }
.article-body { font-family: var(--font-sans); font-size: 1.0625rem; line-height: 1.75; color: #1a1a1a; }
.article-body p { margin-bottom: 1.25rem; }
.article-body h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: #111111;
  margin: 2.4rem 0 1rem;
  padding-left: 0.85rem;
  border-left: 4px solid var(--accent);
}
.article-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: #111111;
  margin: 1.8rem 0 0.7rem;
}
.article-body a {
  color: #111111;
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-decoration-thickness: 3px;
  text-underline-offset: 2px;
}
.article-body a:hover { background: var(--accent); text-decoration-color: #111111; }
.article-body ul, .article-body ol { margin: 0 0 1.35rem 1.2rem; }
.article-body li { margin-bottom: 0.45rem; }
.article-body li::marker { color: #111111; font-weight: 700; }
.article-body blockquote {
  margin: 1.8rem 0;
  padding: 1.1rem 1.35rem;
  background: #fffbe0;
  border-left: 4px solid var(--accent);
  font-size: 1.02rem;
  color: #1a1a1a;
}
.article-body table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.article-body th { background: #111111; color: #ffffff; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; }
.article-body th, .article-body td { padding: 0.65rem 0.8rem; border: 1px solid var(--line); text-align: left; }
.article-body tbody tr:nth-child(even) { background: #fafafa; }
.table-wrapper { border-radius: 8px; overflow: hidden; }

.article-cta { margin: 3rem 0 1rem; }
.article-cta-box { background: #000000; color: #ffffff; border-radius: 12px; padding: 2rem 2rem 1.9rem; }
.article-cta-title { font-family: var(--font-display); font-weight: 700; font-size: 1.3rem; color: #ffffff; letter-spacing: -0.01em; }
.article-cta-desc { font-family: var(--font-sans); font-size: 0.95rem; color: rgba(255, 255, 255, 0.78); }
.article-cta .btn-accent { background: var(--accent); color: #000000; }

.read-more-section { border-top: 1px solid var(--line); padding-top: 2.5rem; }

/* ---------- Footer ---------- */
.site-footer { background: #000000; border-top: 0; color: #ffffff; padding: 3.5rem 0 2.5rem; }
.footer-logo { height: 22px; width: auto; display: block; margin-bottom: 1.1rem; }
.footer-brand { font-family: var(--font-display); font-weight: 700; color: #ffffff; }
.footer-tagline { font-family: var(--font-sans); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent); }
.footer-about { font-family: var(--font-sans); font-size: 0.9rem; color: rgba(255, 255, 255, 0.66); }
.footer-heading { font-family: var(--font-sans); font-size: 0.68rem; letter-spacing: 0.16em; color: var(--accent); }
.footer-nav a { font-family: var(--font-sans); font-size: 0.88rem; color: rgba(255, 255, 255, 0.72); }
.footer-nav a:hover { color: var(--accent); }
.footer-meta-text { font-family: var(--font-sans); font-size: 0.85rem; color: rgba(255, 255, 255, 0.66); }
.footer-links-secondary .nav-link { color: rgba(255, 255, 255, 0.6); font-size: 0.8rem; }
.footer-links-secondary .nav-link:hover { color: var(--accent); }
.footer-bottom p { max-width: 78ch; margin: 0 auto; text-wrap: balance; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.14); color: rgba(255, 255, 255, 0.5); font-family: var(--font-sans); font-size: 0.75rem; }

/* ---------- Barre mobile ---------- */
@media (max-width: 768px) {
  .mobile-cta-bar { background: #000000; border-top: 0; }
  .mobile-cta-btn { background: var(--accent); color: #000000; border-radius: 999px; font-weight: 700; }
}

/* ---------- Divers ---------- */
.page-title, .chi-siamo h1, .contatti h1 { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.02em; }
