/* MARRS — bleu Klein, créations et projets. Chargé après style.css. */
:root {
  --brand-blue: #002fa7;
  --brand-blue-hover: #00258a;
  --brand-blue-surface: #103fb0;
  --brand-paper: #f6f7f5;
  /* Alias des composants existants vers la nouvelle palette. */
  --navy-950: var(--brand-blue);
  --navy-900: var(--brand-blue);
  --navy-800: var(--brand-blue-surface);
  --navy-700: #1d49ba;
  --navy-600: #2e5cc7;
  --gold-100: #ffffff;
  --gold-300: #eef1ff;
  --gold-500: #ffffff;
  --gold-600: #d8e1ff;
  --gold-800: #d8e1ff;
  --rust-500: #ffffff;
  --text-primary: #ffffff;
  --font-display: "Roboto", "Segoe UI", sans-serif;
  --gold-gradient: #ffffff;
  --rust-gradient: #ffffff;
  --radius-sm: 4px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-pill: 4px;
  --border-soft: rgba(224, 231, 242, .17);
  --border-strong: rgba(224, 231, 242, .32);
  --text-secondary: #e5ebff;
  --text-muted: #d1dcff;
  --shadow-soft: none;
  --shadow-gold: none;
}
body::before, .cta-band::before { content: none; }
.hero-planet, .page-transition { display: none; }
h1, h2, h3, h4 { font-weight: 700; letter-spacing: -.025em; }
h1 { line-height: 1.07; }
h2 { font-size: clamp(1.8rem, 3vw, 2.65rem); line-height: 1.15; }
h3, h4 { line-height: 1.25; letter-spacing: -.015em; }
.eyebrow { color: var(--text-secondary); font-size: .875rem; letter-spacing: .075em; }
.hero h1 .accent { background: none; color: inherit; -webkit-text-fill-color: currentColor; }
[data-reveal], [data-reveal].reveal-ready, [data-reveal].is-visible { opacity: 1; transform: none; transition: none; }

/* Des actions nettes, sans brillance ni mouvement décoratif. */
.btn { border-radius: 4px; min-height: 48px; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.btn:hover, .card-link:hover, .card-link:focus-visible { transform: none; }
.btn-primary, .btn-primary:hover { background: #ffffff; border-color: #ffffff; color: var(--brand-blue); box-shadow: none; }
.btn-primary:hover { background: #eef1ff; border-color: #eef1ff; }
.btn-ghost { background: transparent; backdrop-filter: none; border-color: var(--border-strong); }
.btn-ghost:hover { background: rgba(255, 255, 255, .07); }
.btn-nav-cta { border-radius: 4px; min-height: 42px; }
.card-link, .sport-text-link, .sport-path-action { text-underline-offset: .25em; }

/* Des champs lisibles sur les fonds bleus, y compris les contrôles natifs. */
.form-field input, .form-field textarea, .form-field select { border-color: #9bb2f1; color: #ffffff; color-scheme: dark; }
.form-field input::placeholder, .form-field textarea::placeholder { color: #d1dcff; opacity: 1; }
.form-field select option { background: var(--brand-blue); color: #ffffff; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus { border-color: #ffffff; }

/* Le logo reste le logo MARRS ; le blanc simplifie sa lecture dans le bandeau. */
.site-header, .site-header.is-scrolled { background: var(--brand-blue); backdrop-filter: none; border-color: rgba(255, 255, 255, .16); padding-block: .85rem; }
.brand { flex-shrink: 0; }
.brand img { width: 168px; height: auto; filter: brightness(0) invert(1); }
.site-footer .brand img { width: 175px; }
.main-nav { gap: 1.5rem; }
.main-nav > ul { gap: 1.3rem; }
.main-nav a:not(.btn) { color: #ffffff; }
.main-nav a:not(.btn)::after { background: #ffffff; }
.site-header .main-nav .btn-nav-cta { background: #f6f7f5; color: var(--brand-blue); border-color: #f6f7f5; padding: .65rem 1rem; }
.site-header .main-nav .btn-nav-cta:hover { background: #eef1ff; border-color: #eef1ff; color: var(--brand-blue); }
.site-header .main-nav .btn-nav-cta::after { content: none; }
.main-nav .sub-menu { background: var(--brand-blue-surface); box-shadow: none; border-color: rgba(255, 255, 255, .2); }
.announce-bar { background: var(--brand-paper); color: var(--brand-blue); border-bottom: 1px solid rgba(0, 47, 167, .15); }
.site-footer { background: var(--brand-blue); }
.footer-col h2 { color: #ffffff; font-size: .875rem; }

/* Un même langage de surfaces sur les pages à fond bleu Klein. */
.card, .product-card, .hero-visual, .nfc-demo-layer { background: var(--brand-blue-surface); box-shadow: none; }
.card:hover, .product-card:hover, .portfolio-card:hover { transform: none; box-shadow: none; }
.service-card .icon, .value-card .icon, .team-card .icon { background: transparent; color: var(--text-primary); border-radius: 0; }
.service-card:hover .icon, .value-card:hover .icon, .photo-gallery figure:hover img { transform: none; }
.service-price b, .offer-price, .product-card-price, .product-price, .trust-stat .num { color: var(--text-primary); font-weight: 700; }
.product-card strong { font-weight: 700; }
.process-step::before { -webkit-text-stroke: 0; color: var(--text-muted); font-weight: 700; }
.cta-band { background: var(--brand-blue-surface); box-shadow: none; }
.landing-with-visuals .landing-visual-photo, .sport-hero-visual,
.home-sport-feature, .landing-split-photo, .case-visual { border-radius: 4px; box-shadow: none; }
.landing-with-visuals .landing-visual-photo, .sport-hero-visual { border: 0; }
.sport-statement { font-weight: 700; max-width: 17ch; letter-spacing: -.035em; white-space: normal; }
.sport-path-combined { background: rgba(255, 255, 255, .035); }
.sport-stage { color: var(--text-secondary); }

/* Les photographies gardent un voile bleu seulement quand du texte les recouvre. */
.portfolio-card.has-photo { background-image: linear-gradient(180deg, rgba(0, 47, 167, 0) 15%, rgba(0, 47, 167, .68) 40%, rgba(0, 47, 167, .98) 62%), var(--photo); }
.page-hero-photo::before { background-image: linear-gradient(180deg, rgba(0, 47, 167, .55) 0%, var(--brand-blue) 92%), var(--hero-photo-url); }
.main-nav .sub-menu a:hover, .main-nav .sub-menu a[aria-current="page"] { background: rgba(255, 255, 255, .12); }

/* Les couleurs de lecture sont limitées aux surfaces claires. */
.theme-paper, .guide-page main {
  --gold-100: var(--brand-blue);
  --gold-300: var(--brand-blue);
  --gold-500: var(--brand-blue);
  --gold-600: var(--brand-blue-hover);
  --gold-800: var(--brand-blue-hover);
  --text-primary: var(--brand-blue);
  --text-secondary: #343840;
  --text-muted: #5b606b;
  --border-soft: rgba(0, 47, 167, .18);
  --border-strong: rgba(0, 47, 167, .4);
  color-scheme: light;
  color: var(--text-primary);
  background: #f6f7f5;
}
:is(.theme-paper, .guide-page main) :is(h1, h2, h3, h4, .product-card strong, .faq-question, .testimonial-author .name) { color: var(--text-primary); }
:is(.theme-paper, .guide-page main) :is(.card, .product-card, .faq-item) { background: #fff; }
:is(.theme-paper, .guide-page main) :is(.card-link, .acquisition-service-links a, .product-card-tech, .quote-mark, .related-links a, .guide-author a) { color: var(--text-primary); }
:is(.theme-paper, .guide-page main) :is(.card-link, .guide-author a) { text-decoration: underline; text-decoration-thickness: 1px; }
:is(.theme-paper, .guide-page main) :is(.card-link:hover, .related-links a:hover, .acquisition-service-links a:hover) { color: var(--brand-blue-hover); }
:is(.theme-paper, .guide-page main) .btn-primary { background: var(--brand-blue); color: #fff; border-color: var(--brand-blue); }
:is(.theme-paper, .guide-page main) .btn-primary:hover { background: var(--brand-blue-hover); border-color: var(--brand-blue-hover); }
:is(.theme-paper, .guide-page main) .btn-ghost { color: var(--brand-blue); border-color: var(--brand-blue); }
:is(.theme-paper, .guide-page main) .btn-ghost:hover { background: #e6e9ec; }
:is(.theme-paper, .guide-page main) :is(.section-head.center, .section-head.center p) { text-align: left; margin-inline: 0; }
:is(.theme-paper, .guide-page main) :is(.photo-gallery figure, .landing-visual-photo, .landing-split-photo) { background: #fff; }
:is(.theme-paper, .guide-page main) :is(.price-table tbody th, .price-table td) { color: var(--text-primary); }
:is(.theme-paper, .guide-page main) .price-table thead th { background: #e9ece9; color: #343840; }
:is(.theme-paper, .guide-page main) .faq-question .plus::before,
:is(.theme-paper, .guide-page main) .faq-question .plus::after { background: var(--brand-blue); }
:is(.theme-paper, .guide-page main) :focus-visible { outline-color: var(--brand-blue); }
.theme-paper .service-card { background: transparent; border-width: 1px 0 0; border-radius: 0; padding-inline: 0; }
.theme-paper .service-card .icon { width: 32px; height: 32px; margin-bottom: 1rem; }
.theme-paper .testimonial-card { border-radius: 4px; }
.theme-paper .acquisition-card { border: 0; background: transparent; }
.theme-paper .acquisition-card-body { padding: 1.6rem 0 0; gap: .9rem; }
.theme-paper .acquisition-card > img { aspect-ratio: 4 / 3; object-fit: contain; background: #e9ece9; border-radius: 3px; }
.theme-paper .acquisition-card-body h3 { font-size: clamp(1.45rem, 2.4vw, 2rem); }
.theme-paper .acquisition-service-links { font-size: .95rem; }
.theme-paper .product-card { border-width: 0 0 1px; border-radius: 0; background: transparent; }
.theme-paper .product-card img { object-fit: contain; background: #e9ece9; }
.theme-paper .product-card-body { padding-inline: 0; }
.theme-paper .product-card-tech { letter-spacing: .05em; font-size: .8125rem; }
.theme-paper .photo-gallery figure { border: 0; border-radius: 3px; background: transparent; }
.theme-paper .photo-gallery figcaption { padding-inline: 0; }

/* Accueil : deux projets de formats différents, sans montage ni recadrage des objets. */
.marrs-home .hero { display: block; min-height: 0; padding-top: clamp(7rem, 10vw, 9.5rem); padding-bottom: 4rem; }
.marrs-home .hero .container { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 4rem); align-items: center; }
.marrs-home .hero h1 { font-size: clamp(2.6rem, 4.1vw, 4.25rem); max-width: 15ch; letter-spacing: -.04em; }
.marrs-home .hero-sub { font-size: 1.12rem; max-width: 42ch; line-height: 1.65; }
.marrs-home .hero-cta { gap: .75rem; }
.marrs-home .hero-cta .btn { padding-inline: 1.15rem; }
.marrs-home .hero-cta-note { max-width: 44ch; font-size: .875rem; margin-bottom: 1.3rem; }
.marrs-home .hero-trust { font-size: .875rem; }
.brand-hero-projects { display: grid; grid-template-columns: 1.05fr .95fr; align-items: start; gap: 1.2rem; width: 100%; max-width: 38rem; }
.brand-hero-project { min-width: 0; margin: 0; }
.brand-hero-project:first-child { margin-top: 4rem; }
.brand-hero-project img { display: block; width: 100%; height: auto; object-fit: contain; border-radius: 2px; }
.brand-hero-project figcaption { padding-top: .8rem; color: #343840; font-size: .875rem; line-height: 1.5; }
.brand-hero-project figcaption strong { display: block; color: var(--brand-blue); font-weight: 700; font-size: 1rem; margin-bottom: .15rem; }
.marrs-home .acquisition-doors { padding-top: 3rem; padding-bottom: clamp(4rem, 6vw, 6rem); }
.marrs-home .acquisition-grid { gap: clamp(2rem, 5vw, 5rem); }
.marrs-home .trust-bar { padding-block: 2.8rem; }
.marrs-home .trust-stat { text-align: left; }
.marrs-home :is(#services, #restaurateurs, #realisations) { padding-block: clamp(3.5rem, 6vw, 6rem); }

/* Guides : une page de lecture claire et une prise de contact bien séparée. */
.guide-page .landing-prose { max-width: 46rem; }
.guide-page .landing-prose h2 { font-size: clamp(1.6rem, 2.5vw, 2.2rem); max-width: 30ch; }
.guide-page .landing-prose p + p { margin-top: 1rem; }
.guide-page .landing-section { padding-block: 2.5rem; }
.guide-page .landing-section-alt { background: #fff; }
.guide-page .lead-answer { border-left-color: var(--brand-blue); }
.guide-page .guide-author { font-size: .9375rem; }
.guide-page .site-footer { margin-top: 0; }
.guide-page .related-links a { border-radius: 3px; }
.guide-page .landing-visual-photo figcaption { font-size: .875rem; }
.guide-page main .cta-band, .theme-paper .cta-band {
  --gold-100: #ffffff;
  --gold-300: #eef1ff;
  --gold-500: #ffffff;
  --gold-600: #d8e1ff;
  --gold-800: #d8e1ff;
  --text-primary: #f6f7f5;
  --text-secondary: #e5ebff;
  --text-muted: #d1dcff;
  --border-soft: rgba(224, 231, 242, .17);
  --border-strong: rgba(224, 231, 242, .32);
  background: var(--brand-blue);
  color: #f6f7f5;
}
.guide-page main .cta-band .btn-primary, .theme-paper .cta-band .btn-primary { background: #ffffff; border-color: #ffffff; color: var(--brand-blue); }
.guide-page main .cta-band :focus-visible, .theme-paper .cta-band :focus-visible { outline-color: #ffffff; }

@media (min-width: 1021px) and (max-width: 1200px) {
  .site-header .container, .main-nav { gap: 1rem; }
  .main-nav > ul { gap: 1rem; }
  .main-nav a:not(.btn) { font-size: .875rem; }
  .brand img { width: 160px; }
}
@media (max-width: 1020px) {
  .main-nav { background: var(--brand-blue); gap: 1.5rem; }
  .main-nav > ul { gap: 1.1rem; }
  .main-nav .sub-menu { background: transparent; }
  .site-header .main-nav .btn-nav-cta { justify-content: center; }
}
@media (max-width: 980px) {
  .marrs-home .hero .container { grid-template-columns: 1fr; gap: 2.5rem; }
  .marrs-home .hero h1 { max-width: 20ch; }
  .brand-hero-projects { max-width: 34rem; }
  .brand-hero-project:first-child { margin-top: 2rem; }
}
@media (max-width: 600px) {
  .brand img, .site-footer .brand img { width: 145px; }
  .site-header, .site-header.is-scrolled { padding-block: .7rem; }
  .marrs-home .hero { padding-top: 6.25rem; padding-bottom: 2.8rem; }
  .marrs-home .hero h1 { font-size: clamp(2.2rem, 8.5vw, 3rem); max-width: 18ch; }
  .marrs-home .hero-sub { font-size: 1.0625rem; margin-bottom: 1.4rem; }
  .marrs-home .hero-cta .btn { width: 100%; }
  .brand-hero-projects { gap: .9rem; }
  .brand-hero-project figcaption { font-size: .875rem; }
  .brand-hero-project figcaption strong { font-size: .9375rem; }
  .marrs-home .acquisition-doors { padding-top: 1rem; }
  .marrs-home .trust-bar .container { justify-content: flex-start; }
  .marrs-home .trust-stat { flex: 1 1 40%; min-width: 0; }
  .theme-paper .acquisition-card > img { aspect-ratio: 4 / 3; }
  .sport-statement { font-size: clamp(2.1rem, 8vw, 2.7rem); max-width: 19ch; }
  .guide-page .landing-section { padding-block: 2rem; }
  .guide-page .landing-prose h2 { font-size: 1.6rem; }
  .guide-page .price-table th, .guide-page .price-table td { min-width: 9.5rem; padding: .8rem; }
}
