/* Feuille de style des pages ajoutées (devis, réalisations). Reprend le CSS de nolan-media-landing.html. */
  *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

  :root {
    --noir: #0A0A0B;
    --blanc: #FAFAF9;
    --orange: #E8621A;
    --orange-light: #FF7A35;
    --bleu: #0F1E3D;
    --gris: #6B7280;
    --gris-clair: #F3F2F0;
    --border: rgba(10,10,11,0.08);
    --shadow-sm: 0 2px 8px rgba(10,10,11,0.06);
    --shadow-md: 0 8px 32px rgba(10,10,11,0.1);
    --shadow-lg: 0 24px 64px rgba(10,10,11,0.14);
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'DM Sans', sans-serif;
    background: var(--blanc);
    color: var(--noir);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
  }

  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 18px 48px;
    display: flex; align-items: center; justify-content: space-between;
    background: rgba(250,250,249,0.92);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s ease;
  }
  .nav-logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800; font-size: 1.2rem;
    color: var(--noir); text-decoration: none;
    letter-spacing: -0.02em;
  }
  .nav-logo span { color: var(--orange); }
  .nav-cta {
    background: var(--noir); color: var(--blanc);
    padding: 10px 22px; border-radius: 100px;
    text-decoration: none; font-size: 0.88rem; font-weight: 500;
    transition: all 0.25s ease; letter-spacing: 0.01em;
  }
  .nav-cta:hover { background: var(--orange); transform: translateY(-1px); }

  .btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--noir); color: var(--blanc);
    padding: 15px 30px; border-radius: 100px;
    text-decoration: none; font-weight: 500; font-size: 0.95rem;
    transition: all 0.3s ease; box-shadow: 0 4px 20px rgba(10,10,11,0.2);
  }
  .btn-primary:hover {
    background: var(--orange); transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(232,98,26,0.35);
  }
  .btn-primary svg { transition: transform 0.2s; }
  .btn-primary:hover svg { transform: translateX(3px); }
  .btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    background: transparent; color: var(--noir);
    padding: 15px 30px; border-radius: 100px;
    text-decoration: none; font-weight: 500; font-size: 0.95rem;
    border: 1.5px solid var(--border);
    transition: all 0.3s ease;
  }
  .btn-secondary:hover { border-color: var(--noir); transform: translateY(-2px); }

  footer {
    background: #060607; color: rgba(255,255,255,0.5);
    padding: 52px 48px 36px;
  }
  .footer-inner {
    max-width: 1140px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: flex-start;
    flex-wrap: wrap; gap: 40px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
  }
  .footer-brand { max-width: 260px; }
  .footer-logo {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 800; font-size: 1.3rem;
    color: var(--blanc); margin-bottom: 12px; display: block;
  }
  .footer-logo span { color: var(--orange); }
  .footer-brand p { font-size: 0.85rem; line-height: 1.6; }
  .footer-links h4 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 0.8rem; font-weight: 600; color: var(--blanc);
    letter-spacing: 0.08em; text-transform: uppercase;
    margin-bottom: 16px;
  }
  .footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
  .footer-links a { color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
  .footer-links a:hover { color: var(--orange); }
  .footer-social { display: flex; gap: 12px; margin-top: 8px; }
  .social-btn {
    width: 40px; height: 40px; border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; color: rgba(255,255,255,0.5);
    font-size: 1rem; transition: all 0.25s ease;
  }
  .social-btn:hover { border-color: var(--orange); color: var(--orange); transform: translateY(-2px); }
  .footer-bottom {
    max-width: 1140px; margin: 28px auto 0;
    display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
    font-size: 0.78rem;
  }
  .footer-bottom a { color: rgba(255,255,255,0.3); text-decoration: none; transition: color 0.2s; }
  .footer-bottom a:hover { color: rgba(255,255,255,0.6); }
  .footer-legal-links { display: flex; gap: 20px; flex-wrap: wrap; }

  .modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 999;
    background: rgba(6,6,7,0.85); backdrop-filter: blur(8px);
    overflow-y: auto; padding: 40px 24px;
  }
  .modal-overlay.open { display: flex; align-items: flex-start; justify-content: center; }
  .modal-box {
    background: var(--blanc); border-radius: 24px;
    padding: 52px; max-width: 780px; width: 100%;
    margin: auto; position: relative;
    box-shadow: 0 40px 100px rgba(0,0,0,0.4);
  }
  .modal-close {
    position: absolute; top: 20px; right: 20px;
    width: 36px; height: 36px; border-radius: 50%;
    border: 1px solid var(--border); background: var(--gris-clair);
    cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem; color: var(--gris); transition: all 0.2s;
    line-height: 1;
  }
  .modal-close:hover { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
  .modal-box h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.7rem; font-weight: 800; color: var(--noir);
    letter-spacing: -0.025em; margin-bottom: 32px;
    padding-bottom: 20px; border-bottom: 2px solid var(--gris-clair);
  }
  .modal-box h3 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: 1.05rem; font-weight: 700; color: var(--noir);
    margin: 28px 0 10px;
  }
  .modal-box p, .modal-box li {
    font-size: 0.93rem; color: #444; line-height: 1.75;
    margin-bottom: 10px;
  }
  .modal-box ul { padding-left: 20px; margin-bottom: 10px; }
  .modal-box ul li { margin-bottom: 6px; }
  .modal-box .info-block {
    background: var(--gris-clair); border-radius: 12px;
    padding: 20px 24px; margin: 16px 0;
    font-size: 0.9rem; color: #555; line-height: 1.7;
  }
  .modal-box .warn-block {
    background: rgba(232,98,26,0.07); border-left: 3px solid var(--orange);
    border-radius: 0 12px 12px 0; padding: 16px 20px; margin: 16px 0;
    font-size: 0.88rem; color: #555; line-height: 1.65;
  }

  #cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 998;
    background: #111113; border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 40px;
    display: flex; align-items: center; justify-content: space-between; gap: 24px;
    flex-wrap: wrap;
  }
  #cookie-banner p {
    font-size: 0.85rem; color: rgba(255,255,255,0.6);
    line-height: 1.6; flex: 1; min-width: 240px;
  }
  #cookie-banner a { color: var(--orange-light); text-decoration: underline; }
  .cookie-actions { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
  .cookie-btn {
    padding: 10px 22px; border-radius: 100px;
    font-size: 0.85rem; font-weight: 500; cursor: pointer;
    border: none; transition: all 0.2s;
  }
  .cookie-btn-accept { background: var(--orange); color: white; }
  .cookie-btn-accept:hover { background: var(--orange-light); }
  .cookie-btn-refuse {
    background: transparent; color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.15);
  }
  .cookie-btn-refuse:hover { border-color: rgba(255,255,255,0.4); color: white; }


/* ===== Ajouts propres aux nouvelles pages ===== */
:root { --orange-texte: #B8480C; } /* orange foncé pour le petit texte sur fond clair (contraste AA) */
html { scroll-padding-top: 90px; }
.skip-link { position: absolute; left: -9999px; top: 0; z-index: 1000; background: var(--orange); color: var(--noir); padding: 12px 16px; font-weight: 600; }
.skip-link:focus { left: 16px; top: 16px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.nav-logo span, .footer-logo span { color: var(--orange); }
.nav-cta { background: var(--noir); }
.btn-orange {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px;
  background: var(--orange); color: var(--noir); padding: 14px 32px; border-radius: 100px;
  text-decoration: none; font-weight: 600; font-size: 1rem; border: 0; cursor: pointer;
  font-family: inherit; transition: all .25s ease;
}
.btn-orange:hover { background: var(--orange-light); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(232,98,26,.35); }
main { padding-top: 76px; }
.wrap { max-width: 720px; margin: 0 auto; padding: 56px 24px 72px; }
.wrap-wide { max-width: 1140px; margin: 0 auto; padding: 56px 24px 72px; }
.page-title { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; letter-spacing: -0.03em; line-height: 1.1; font-size: clamp(1.9rem, 4.5vw, 2.9rem); color: var(--noir); }
.page-sub { margin-top: 14px; color: var(--gris); line-height: 1.65; }
.h2 { font-family: 'Plus Jakarta Sans', sans-serif; font-weight: 800; letter-spacing: -0.02em; line-height: 1.2; font-size: clamp(1.35rem, 3vw, 1.8rem); color: var(--noir); }
.muted { color: var(--gris); }
.center { text-align: center; }

/* Questionnaire */
.progress-meta { display: flex; justify-content: space-between; font-size: .85rem; color: var(--gris); }
.progress { margin-top: 8px; height: 8px; border-radius: 100px; background: rgba(10,10,11,.1); overflow: hidden; }
.progress > div { height: 100%; border-radius: 100px; background: var(--orange); transition: width .3s ease; }
.q-title { margin-top: 36px; outline: none; }
.q-list { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.q-option {
  width: 100%; min-height: 58px; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  text-align: left; font: 500 1.05rem 'DM Sans', sans-serif; color: var(--noir);
  background: #fff; border: 1.5px solid var(--border); border-radius: 16px; padding: 14px 20px; cursor: pointer;
  transition: border-color .2s, background .2s, color .2s;
}
.q-option:hover { border-color: var(--orange-texte); }
.q-option[aria-pressed="true"] { background: var(--noir); color: var(--blanc); border-color: var(--noir); }
.q-option svg { flex-shrink: 0; opacity: .55; }
.link-btn { margin-top: 22px; min-height: 44px; background: none; border: 0; font: inherit; color: var(--gris); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.link-btn:hover { color: var(--orange-texte); }
.step-head { display: flex; align-items: center; gap: 12px; }
.step-num { width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: var(--noir); display: inline-flex; align-items: center; justify-content: center; font: 800 1rem 'Plus Jakarta Sans', sans-serif; flex-shrink: 0; }
.video-box { margin-top: 16px; aspect-ratio: 16/9; width: 100%; border-radius: 16px; background: var(--noir); overflow: hidden; }
.video-box video, .video-box iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-box.placeholder { background: #fff; border: 2px dashed rgba(10,10,11,.25); display: flex; align-items: center; justify-content: center; text-align: center; padding: 24px; color: var(--gris); }
.video-points { list-style: none; margin-top: 18px; display: grid; gap: 8px; grid-template-columns: 1fr 1fr; font-size: .95rem; }
.video-points li { display: flex; gap: 8px; }
.video-points li::before { content: '✓'; color: var(--orange-texte); font-weight: 700; }
.cal-frame { margin-top: 16px; width: 100%; height: 880px; border: 1px solid var(--border); border-radius: 16px; background: #fff; }
.small { font-size: .85rem; }
.small a, .legal-note a { color: var(--gris); text-underline-offset: 4px; }
.small a:hover { color: var(--orange-texte); }
.mini-footer { padding: 28px 24px 36px; text-align: center; font-size: .85rem; color: var(--gris); }
.mini-footer a, .mini-footer button { color: var(--gris); background: none; border: 0; font: inherit; cursor: pointer; text-decoration: none; margin: 0 10px; min-height: 36px; }
.mini-footer a:hover, .mini-footer button:hover { color: var(--orange-texte); }

/* Galerie et histoires */
.gallery { margin-top: 40px; display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); list-style: none; }
.g-card { display: block; text-decoration: none; color: inherit; background: #fff; border: 1px solid var(--border); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; height: 100%; }
.g-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.g-card img { width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover; display: block; }
.g-card .g-body { padding: 20px 22px 24px; }
.g-meta { font-size: .85rem; font-weight: 500; color: var(--orange-texte); }
.g-card h2, .g-card h3 { font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1.15rem; font-weight: 700; letter-spacing: -0.02em; line-height: 1.3; margin: 6px 0 8px; }
.g-card p { font-size: .93rem; color: var(--gris); line-height: 1.6; }
.g-more { display: inline-block; margin-top: 12px; font-weight: 600; font-size: .92rem; color: var(--noir); }
.g-empty { margin-top: 40px; background: #fff; border: 2px dashed rgba(10,10,11,.2); border-radius: 20px; padding: 48px 28px; text-align: center; }
.story-hero img { width: 100%; height: auto; max-height: 560px; object-fit: cover; border-radius: 20px; display: block; margin-top: 28px; }
.story-hero figcaption { margin-top: 8px; font-size: .85rem; color: var(--gris); }
.story-summary { margin-top: 24px; background: #fff; border-left: 4px solid var(--orange); border-radius: 0 14px 14px 0; padding: 18px 22px; line-height: 1.7; }
.story h2 { margin-top: 40px; }
.story p { margin-top: 14px; line-height: 1.8; color: #333; }
.story ul { margin: 14px 0 0 22px; line-height: 1.8; color: #333; }
.story blockquote { margin-top: 28px; padding: 22px 26px; background: var(--bleu); color: var(--blanc); border-radius: 16px; font-size: 1.1rem; line-height: 1.6; }
.story blockquote cite { display: block; margin-top: 10px; font-size: .9rem; opacity: .75; font-style: normal; }
.facts { margin-top: 28px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.facts div { background: #fff; border: 1px solid var(--border); border-radius: 14px; padding: 14px 16px; }
.facts dt { font-size: .8rem; color: var(--gris); }
.facts dd { font-weight: 600; margin-top: 2px; }
.cta-card { margin-top: 48px; background: var(--noir); color: var(--blanc); border-radius: 20px; padding: 36px 28px; text-align: center; }
.cta-card .h2 { color: var(--blanc); }
.cta-card p { margin: 10px 0 22px; color: rgba(255,255,255,.7); }
.breadcrumb { font-size: .85rem; color: var(--gris); margin-bottom: 20px; }
.breadcrumb a { color: var(--gris); }
.breadcrumb a:hover { color: var(--orange-texte); }

@media (max-width: 900px) {
  nav { padding: 14px 24px; }
  footer { padding: 44px 24px 32px; }
  .footer-inner { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; }
  .modal-box { padding: 36px 24px; }
  #cookie-banner { padding: 16px 24px; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .facts { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .gallery { grid-template-columns: 1fr; }
  .video-points { grid-template-columns: 1fr; }
  .cal-frame { height: 960px; }
  .btn-orange { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { * { transition-duration: .01ms !important; animation: none !important; } html { scroll-behavior: auto; } }

[hidden] { display: none !important; }

.story-hero.portrait img { width: auto; max-width: 100%; max-height: 640px; aspect-ratio: 3/4; margin-left: auto; margin-right: auto; }
.story-hero.portrait figcaption { text-align: center; }

/* Étape « réalisations » du parcours /devis */
.mini-list { list-style: none; margin-top: 24px; display: grid; gap: 12px; }
.mini-card { display: flex; align-items: center; gap: 16px; background: #fff; border: 1.5px solid var(--border); border-radius: 16px; padding: 10px; text-decoration: none; color: var(--noir); transition: border-color .2s; }
.mini-card:hover { border-color: var(--orange-texte); }
.mini-card img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; flex-shrink: 0; background: var(--gris-clair); }
.mini-card strong { display: block; margin-top: 2px; font-family: 'Plus Jakarta Sans', sans-serif; font-size: 1rem; line-height: 1.3; }
