/* Accueil, confidentialité et page d'erreur de G3F Photos. */

.site-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 22px 20px;
}

.site-head nav a {
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 650;
  text-decoration: none;
}

.site-head nav a:hover {
  color: var(--brand);
}

.hero {
  position: relative;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 44px 20px 30px;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -40px 0 auto;
  z-index: -1;
  height: 420px;
  background:
    radial-gradient(40% 60% at 30% 30%, rgba(31, 182, 232, 0.16), transparent 70%),
    radial-gradient(40% 60% at 70% 30%, rgba(109, 92, 246, 0.14), transparent 70%);
}

.hero-logo {
  width: 112px;
  height: 112px;
  margin: 0 auto 22px;
  border-radius: 28px;
  box-shadow: 0 24px 48px -20px rgba(11, 19, 49, 0.55);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  margin: 0 auto;
  font-size: clamp(2rem, 3.4vw + 1rem, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  text-wrap: balance;
}

.hero .lead {
  max-width: 620px;
  margin: 18px auto 0;
  color: var(--ink-soft);
  font-size: 1.12rem;
  text-wrap: pretty;
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 1080px;
  margin: 26px auto 0;
  padding: 0 20px;
  list-style: none;
  counter-reset: step;
}

.steps li {
  position: relative;
  padding: 26px 22px 22px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  box-shadow: var(--shadow);
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 11px;
  background: var(--grad);
  color: #fff;
  font-weight: 800;
}

.steps strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.04rem;
}

.steps p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.promise {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: 100%;
  max-width: 1080px;
  margin: 18px auto 0;
  padding: 0 20px;
}

.promise .card {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.promise .card svg {
  flex: none;
  width: 40px;
  height: 40px;
  padding: 9px;
  border-radius: 12px;
  background: var(--brand-soft);
  color: var(--brand);
}

.promise strong {
  display: block;
  margin-bottom: 4px;
}

.promise p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.93rem;
}

/* ---------- Texte long (confidentialité) ---------- */
.doc {
  width: 100%;
  max-width: 820px;
  margin: 0 auto;
  padding: 10px 20px 20px;
}

.doc > header {
  margin: 18px 0 22px;
  text-align: center;
}

.doc h1 {
  font-size: clamp(1.8rem, 2vw + 1.2rem, 2.4rem);
  font-weight: 800;
}

.doc > header p {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.doc article {
  padding: 36px 40px;
}

.doc h2 {
  margin: 30px 0 10px;
  font-size: 1.15rem;
  font-weight: 750;
}

.doc h2:first-child {
  margin-top: 0;
}

.doc p,
.doc ul {
  margin: 0;
  color: var(--ink-soft);
}

.doc p + p,
.doc p + ul,
.doc ul + p {
  margin-top: 10px;
}

.doc li + li {
  margin-top: 5px;
}

.doc li::marker {
  color: var(--brand);
}

.center-page {
  display: grid;
  place-items: center;
  min-height: 70vh;
  padding: 20px;
  text-align: center;
}

.center-page .card {
  max-width: 460px;
  padding: 34px 30px;
}

.center-page h1 {
  margin: 14px 0 8px;
  font-size: 1.6rem;
  font-weight: 800;
}

.center-page p {
  margin: 0 0 18px;
  color: var(--ink-soft);
}

.center-page img {
  width: 72px;
  height: 72px;
  margin: 0 auto;
  border-radius: 18px;
}

@media (max-width: 760px) {
  .steps,
  .promise {
    grid-template-columns: minmax(0, 1fr);
  }

  .doc article {
    padding: 24px 20px;
  }

  .hero {
    padding-top: 22px;
  }
}
