/* ==========================================================================
   SOS Recordings — feuille de style unique
   Palette reprise du logo : chrome sombre, bleu électrique, orange chaud.
   ========================================================================== */

:root {
  --bg:            #070a10;
  --bg-alt:        #0c1119;
  --panel:         #121926;
  --panel-2:       #182233;
  --line:          #26324a;
  --text:          #e8edf6;
  --muted:         #9aa8bf;
  --blue:          #2e9bff;
  --blue-deep:     #1467d8;
  --orange:        #ff8a1f;
  --orange-deep:   #e46a00;
  --ok:            #45d6a0;
  --btn:           #1d6fd0;
  --btn-hover:     #1a5fb4;
  --btn-line:      #3b4a66;

  --grad-brand: linear-gradient(100deg, var(--blue) 0%, #7f8fe8 48%, var(--orange) 100%);
  --radius:      16px;
  --radius-sm:   10px;
  --shadow:      0 18px 45px rgba(0, 0, 0, .45);
  --wrap:        1180px;

  --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: 92px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; font-weight: 800; letter-spacing: -.02em; }
p { margin: 0 0 1.1em; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: 0; top: 0; z-index: 200;
  background: var(--orange); color: #10141c; padding: .7rem 1.2rem; font-weight: 700;
  transform: translateY(-200%);
}
.skip-link:focus { transform: translateY(0); }

.wrap { width: min(100% - 2.5rem, var(--wrap)); margin-inline: auto; }
.wrap-narrow { width: min(100% - 2.5rem, 820px); }

.center { text-align: center; }
.grad {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 700;
  color: var(--orange); margin: 0 0 .9rem;
}

.h-section { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.section-intro { color: var(--muted); max-width: 62ch; margin-inline: auto; }
.note { color: var(--muted); font-size: .92rem; }

/* ── Boutons ─────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.6rem; border-radius: 999px; border: 1px solid transparent;
  font-weight: 700; font-size: 1rem; cursor: pointer; text-decoration: none;
  transition: background .18s ease, border-color .18s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--btn); color: #fff; }
.btn-primary:hover { background: var(--btn-hover); }
.btn-ghost { background: transparent; border-color: var(--btn-line); color: var(--text); }
.btn-ghost:hover { background: rgba(255,255,255,.06); border-color: var(--btn); }
.btn-sm { padding: .55rem 1.1rem; font-size: .93rem; }
.btn-block { display: flex; width: 100%; }

/* ── En-tête ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(7, 10, 16, .86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.brand-logo { width: 168px; height: auto; }

.nav ul { display: flex; align-items: center; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.nav a { color: var(--text); font-size: .96rem; font-weight: 600; }
.nav a:not(.btn):hover { color: var(--blue); text-decoration: none; }
.nav a.btn { color: #fff; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line); border-radius: 10px;
  width: 46px; height: 42px; cursor: pointer; padding: 0;
}
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  display: block; width: 22px; height: 2px; background: var(--text); margin-inline: auto;
  position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle-bars::before, .nav-toggle-bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after  { top:  7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { transform: translateY(-7px) rotate(-45deg); }

/* ── Hero ────────────────────────────────────────────────────────────────── */
.hero { position: relative; isolation: isolate; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(7,10,16,.74) 0%, rgba(7,10,16,.6) 45%, rgba(7,10,16,.96) 100%),
    radial-gradient(circle at 78% 22%, rgba(255,138,31,.22), transparent 55%),
    radial-gradient(circle at 12% 70%, rgba(46,155,255,.22), transparent 55%);
}
.hero-inner { padding: clamp(4rem, 11vw, 8.5rem) 0 clamp(3.5rem, 8vw, 6rem); max-width: 760px; }
.hero h1 { font-size: clamp(2.3rem, 6.2vw, 4.1rem); margin-bottom: .5em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: #cfd9ea; max-width: 56ch; }

.price-flag {
  display: inline-flex; align-items: center; gap: 1.1rem; margin: 2rem 0;
  padding: .9rem 1.5rem .9rem 1.2rem;
  background: rgba(18, 25, 38, .78); border: 1px solid var(--line);
  border-left: 4px solid var(--orange); border-radius: var(--radius-sm);
}
.price-flag-amount { font-size: 2.1rem; font-weight: 800; color: #fff; line-height: 1; white-space: nowrap; }
.price-flag-amount span { font-size: 1rem; font-weight: 600; color: var(--muted); }
.price-flag-label { font-size: .92rem; color: var(--muted); line-height: 1.45; }

.hero-cta { display: flex; flex-wrap: wrap; gap: .9rem; margin: 0; }

/* ── Bandeau points forts ────────────────────────────────────────────────── */
.strip { background: var(--bg-alt); border-block: 1px solid var(--line); padding: 2.8rem 0; }
.strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.8rem; }
.strip-item h2 { font-size: 1.05rem; margin: .5rem 0 .35rem; }
.strip-item p { color: var(--muted); font-size: .93rem; margin: 0; }
.strip-icon { display: block; color: var(--orange); }
.strip-icon svg { width: 34px; height: 34px; }

/* ── Sections ────────────────────────────────────────────────────────────── */
.section { padding: clamp(3.5rem, 8vw, 6.5rem) 0; }
.section-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }

.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split-reverse .split-media { order: -1; }
.split-media img { border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow); }

.checks, .crosses { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.checks li, .crosses li { position: relative; padding-left: 1.9rem; margin-bottom: .55rem; color: #d3dcec; }
.checks li::before {
  content: "✓"; position: absolute; left: 0; top: -1px; color: var(--ok); font-weight: 800;
}
.crosses li::before {
  content: "×"; position: absolute; left: .15rem; top: -2px; color: var(--orange); font-weight: 800; font-size: 1.2rem;
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 1.8rem; }
.mini-title { font-size: .82rem; text-transform: uppercase; letter-spacing: .12em; margin-bottom: .9rem; }
.mini-title.inc { color: var(--ok); }
.mini-title.exc { color: var(--orange); }

/* ── Cartes services ─────────────────────────────────────────────────────── */
.cards {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; margin-top: 2.8rem;
}
.card {
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem; position: relative; overflow: hidden;
  transition: transform .18s ease, border-color .18s ease;
}
.card:hover { transform: translateY(-4px); border-color: #3a4c70; }
.card-featured::before {
  content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-brand);
}
.card h3 { font-size: 1.3rem; margin-bottom: .5rem; }
.card-tag {
  display: inline-block; align-self: flex-start; margin: 0 0 .9rem;
  font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .12em;
  padding: .32rem .8rem; border-radius: 999px;
  background: rgba(255, 138, 31, .14); color: var(--orange); border: 1px solid rgba(255,138,31,.35);
}
.card-tag-alt { background: rgba(46, 155, 255, .12); color: var(--blue); border-color: rgba(46,155,255,.35); }
.card-price { font-size: 2.4rem; font-weight: 800; color: #fff; margin: 0 0 .7rem; line-height: 1; }
.card-price span { font-size: .95rem; font-weight: 600; color: var(--muted); }
.card-price-quote { font-size: 1.7rem; background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.card-desc { color: var(--muted); font-size: .96rem; }
.card-list { list-style: none; padding: 0; margin: 0 0 1.7rem; }
.card-list li { position: relative; padding-left: 1.8rem; margin-bottom: .5rem; font-size: .95rem; color: #d3dcec; }
.card-list li.yes::before { content: "✓"; position: absolute; left: 0; color: var(--ok); font-weight: 800; }
.card-list li.no::before  { content: "×"; position: absolute; left: .15rem; top: -2px; color: var(--orange); font-weight: 800; font-size: 1.15rem; }
.card-list li.no { color: var(--muted); }
.card .btn { margin-top: auto; }

/* ── Galerie + visionneuse ───────────────────────────────────────────────── */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.3rem; margin-top: 2.6rem; }
.shot {
  padding: 0; border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius);
  overflow: hidden; cursor: zoom-in; display: block; width: 100%; text-align: left;
  transition: transform .18s ease, border-color .18s ease;
}
.shot:hover { transform: translateY(-4px); border-color: var(--blue); }
.shot img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.shot-caption { display: block; padding: .8rem 1rem; color: var(--muted); font-size: .9rem; }
.gallery-note { margin-top: 1.7rem; }

.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(4, 6, 11, .94);
  display: grid; place-items: center; padding: 2rem;
}
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; max-width: 1100px; }
.lightbox img { max-height: 82vh; width: auto; border-radius: var(--radius-sm); }
.lightbox figcaption { color: var(--muted); text-align: center; padding-top: .9rem; font-size: .95rem; }
.lightbox-close {
  position: absolute; top: 1.2rem; right: 1.6rem; width: 48px; height: 48px;
  background: rgba(255,255,255,.08); border: 1px solid var(--line); border-radius: 50%;
  color: var(--text); font-size: 1.9rem; line-height: 1; cursor: pointer;
}
.lightbox-close:hover { background: rgba(255,255,255,.16); }

/* ── Bouton « revenir en haut » ──────────────────────────────────────────
   Discret et permanent dès que la page a défilé : rond, sombre, translucide,
   posé au-dessus du contenu sans lui voler l'attention. Masqué tant que le
   visiteur est encore en haut de page.
   ──────────────────────────────────────────────────────────────────────── */
.to-top {
  position: fixed; right: 1.5rem; bottom: 1.5rem; z-index: 90;
  width: 46px; height: 46px; padding: 0; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: rgba(12, 17, 25, .82);
  border: 1px solid var(--line);
  color: var(--muted);
  backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .22s ease, visibility .22s ease, transform .22s ease,
              color .18s ease, border-color .18s ease, background .18s ease;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { color: var(--text); border-color: var(--btn); background: rgba(18, 25, 38, .95); }
.to-top svg { width: 19px; height: 19px; }

@media (max-width: 760px) {
  .to-top { right: 1rem; bottom: 1rem; width: 42px; height: 42px; }
}

/* ── FAQ ─────────────────────────────────────────────────────────────────── */
.faq { margin-top: 2.4rem; }
.faq details {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1.1rem 1.4rem; margin-bottom: .9rem;
}
.faq details[open] { border-color: #3a4c70; }
.faq summary {
  cursor: pointer; font-weight: 700; list-style: none; padding-right: 2rem; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: -.15rem; color: var(--orange);
  font-size: 1.5rem; font-weight: 700; line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: .9rem 0 .2rem; color: var(--muted); }

/* ── Contact ─────────────────────────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: 1.8rem; margin-top: 2.8rem; align-items: start; }
.contact-info, .contact-form {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem 1.8rem;
}
.contact-info h3, .contact-form h3 { font-size: 1.15rem; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.6rem; }
.contact-list li { padding: .8rem 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.ci-label {
  display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .13em;
  color: var(--muted); margin-bottom: .2rem;
}
.contact-cta { display: flex; flex-wrap: wrap; gap: .7rem; margin-bottom: 1.2rem; }

.field { margin-bottom: 1.1rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { display: block; font-size: .88rem; font-weight: 600; margin-bottom: .4rem; color: #c6d1e4; }
.field .opt { color: var(--muted); font-weight: 400; }
.field input, .field select, .field textarea {
  width: 100%; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius-sm);
  color: var(--text); padding: .8rem .95rem; font: inherit; font-size: .97rem;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(46,155,255,.18); }
.field input:user-invalid, .field textarea:user-invalid { border-color: var(--orange); }
.form-note { color: var(--muted); font-size: .86rem; margin: .9rem 0 0; text-align: center; }
.form-note.error { color: var(--orange); }
.form-note.success { color: var(--ok); }

/* Champ piège : sorti du flux sans `display: none`, que certains robots
   détectent, et sans décalage horizontal, qui provoquerait un débordement. */
.hp {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ── Pied de page ────────────────────────────────────────────────────────── */
.site-footer { background: #05070c; border-top: 1px solid var(--line); padding: 3.5rem 0 1.5rem; }
.footer-inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 2.5rem; }
.footer-brand img { width: 190px; margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); font-size: .93rem; }
.footer-nav h2 { font-size: .78rem; text-transform: uppercase; letter-spacing: .13em; color: var(--orange); }
.footer-nav ul { list-style: none; padding: 0; margin: 0; }
.footer-nav li { margin-bottom: .5rem; }
.footer-nav a { color: var(--muted); font-size: .93rem; }
.footer-nav a:hover { color: var(--text); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
  border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.4rem;
  color: var(--muted); font-size: .86rem;
}
.footer-bottom p { margin: 0; }

/* ── Pages secondaires (mentions légales, 404) ───────────────────────────── */
.page { padding: clamp(3rem, 7vw, 5rem) 0; }
.page h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.page h2 { font-size: 1.2rem; margin-top: 2.2rem; color: var(--blue); }
.page p, .page li { color: #cbd5e6; }
.page dl { margin: 0; }
.page dt { font-weight: 700; margin-top: 1rem; }
.page dd { margin: 0 0 .4rem; color: var(--muted); }

/* ── Responsive ──────────────────────────────────────────────────────────── */
@media (max-width: 980px) {
  .strip-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split-reverse .split-media { order: 0; }
  .cards { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--bg-alt); border-bottom: 1px solid var(--line);
    max-height: 0; overflow: hidden; transition: max-height .25s ease;
  }
  .nav.open { max-height: 460px; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: .6rem 1.25rem 1.2rem; }
  .nav li { border-bottom: 1px solid var(--line); }
  .nav li:last-child { border-bottom: 0; padding-top: .9rem; }
  .nav a:not(.btn) { display: block; padding: .85rem .2rem; }
  .site-header { position: relative; }
  html { scroll-padding-top: 1rem; }

  .strip-grid { grid-template-columns: 1fr; gap: 1.4rem; }
  .two-col { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.8rem; }
  .price-flag { flex-direction: column; align-items: flex-start; gap: .5rem; }
  .btn { width: 100%; }
  .to-top { width: 42px; }
  .hero-cta, .contact-cta { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .card:hover, .shot:hover { transform: none; }
  .to-top, .to-top.show { transform: none; }
}
