/* Site vitrine Photo Manager : mêmes couleurs et polices que l'app. */
@font-face { font-family: 'Barlow'; src: url('/fonts/Barlow_400Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/fonts/Barlow_500Medium.ttf') format('truetype'); font-weight: 500; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/fonts/BarlowCondensed_600SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }

:root {
  --black: #000;
  --panel: #1E2226;
  --control: #2C3137;
  --line: #34393F;
  --text: #EDEAE4;
  --muted: #A9ADB2;
  --accent: #F2A33A;
  --on-accent: #1A1206;
  --wrap: 1080px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--black); color: var(--text);
  font: 400 17px/1.6 'Barlow', system-ui, -apple-system, sans-serif;
}
a { color: var(--accent); text-underline-offset: 3px; }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }

/* En-tête */
.top { position: sticky; top: 0; z-index: 10; background: rgba(0,0,0,0.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid #1a1d20; }
.top .wrap { display: flex; align-items: center; gap: 16px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font: 600 22px/1 'Barlow Condensed', sans-serif; letter-spacing: 0.2px; white-space: nowrap; }
.brand img { width: 32px; height: 32px; border-radius: 8px; }
.top nav { margin-left: auto; display: flex; gap: 18px; }
.top nav a { color: var(--muted); text-decoration: none; font-weight: 500; font-size: 15px; }
.top nav a:hover, .top nav a[aria-current] { color: var(--text); }

/* Accueil */
.hero { position: relative; padding: 72px 20px 40px; text-align: center; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: -200px 0 auto; height: 620px; background: radial-gradient(ellipse 60% 70% at 50% 30%, rgba(242,163,58,0.28), transparent 70%); pointer-events: none; }
.hero > * { position: relative; }
.hero .icon { width: 96px; height: 96px; border-radius: 22px; margin: 0 auto 24px; box-shadow: 0 10px 40px rgba(242,163,58,0.25); }
h1, h2, h3 { font-family: 'Barlow Condensed', sans-serif; font-weight: 600; line-height: 1.05; margin: 0; }
.hero h1 { font-size: clamp(44px, 8vw, 76px); letter-spacing: -0.5px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { color: var(--muted); font-size: clamp(18px, 2.4vw, 21px); max-width: 640px; margin: 18px auto 0; }
.cta { display: inline-flex; align-items: center; gap: 10px; margin-top: 30px; padding: 0 24px; height: 54px; border-radius: 14px; background: var(--accent); color: var(--on-accent); font-weight: 500; font-size: 17px; text-decoration: none; }
.cta.soon { background: var(--control); color: var(--text); cursor: default; }
.note { color: var(--muted); font-size: 14px; margin-top: 10px; }

.shots { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 48px auto 0; max-width: 900px; }
.shots figure { margin: 0; }
.shots img { width: 100%; border-radius: 26px; border: 1px solid var(--line); box-shadow: 0 20px 60px rgba(0,0,0,0.6); }
.shots figcaption { color: var(--muted); font-size: 14px; text-align: center; margin-top: 12px; }

section { padding: 64px 0; }
section h2 { font-size: clamp(32px, 5vw, 44px); text-align: center; }
section .sub { color: var(--muted); text-align: center; max-width: 620px; margin: 10px auto 0; }

.features { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 36px; }
.card { background: var(--panel); border-radius: 18px; padding: 22px 22px 20px; }
.card h3 { font-size: 26px; color: var(--accent); }
.card p { margin: 8px 0 0; color: var(--text); }

.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 36px; }
.steps li { list-style: none; counter-increment: step; background: var(--panel); border-radius: 18px; padding: 22px; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--on-accent); font: 600 20px/1 'Barlow Condensed', sans-serif; margin-bottom: 12px; }
.steps { padding: 0; }

.brands { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 28px; }
.brands span { padding: 8px 16px; border-radius: 20px; background: var(--control); font-weight: 500; font-size: 15px; }

/* Pages de texte (confidentialité, support, mentions) */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 20px 72px; }
.doc h1 { font-size: clamp(40px, 7vw, 56px); }
.doc .updated { color: var(--muted); margin: 10px 0 0; }
.doc h2 { font-size: 30px; margin: 44px 0 0; text-align: left; }
.doc h3 { font-size: 22px; margin: 26px 0 0; }
.doc p, .doc li { color: var(--text); }
.doc ul { padding-left: 22px; }
.doc li { margin: 6px 0; }
.doc .muted { color: var(--muted); }
.box { background: var(--panel); border-radius: 16px; padding: 18px 20px; margin-top: 22px; }
.box p { margin: 0; }
.box p + p { margin-top: 8px; }
.todo { background: rgba(242,163,58,0.16); color: var(--accent); border-radius: 6px; padding: 0 6px; font-weight: 500; }
table { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 12px 10px; border-bottom: 1px solid var(--line); }
th { color: var(--muted); font-weight: 500; }
details { background: var(--panel); border-radius: 16px; padding: 16px 20px; margin-top: 10px; }
details summary { cursor: pointer; font-weight: 500; font-size: 18px; list-style: none; }
details summary::-webkit-details-marker { display: none; }
details summary::after { content: '+'; float: right; color: var(--accent); font-size: 22px; line-height: 1; }
details[open] summary::after { content: '−'; }
details p { margin: 12px 0 0; }

/* Pied de page */
footer { border-top: 1px solid #1a1d20; padding: 30px 0 44px; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--text); }
footer .copy { margin-left: auto; }

@media (max-width: 760px) {
  .top nav { gap: 12px; }
  .top nav a { font-size: 14px; }
  .hero { padding-top: 48px; }
  .top nav a.hide-sm { display: none; }
  .shots { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .shots img { border-radius: 14px; }
  .features, .steps { grid-template-columns: 1fr; }
  footer .copy { margin-left: 0; width: 100%; }
}
