/* SamaDepoz : page d'accueil. Couleurs reprises de l'application. */
:root {
  --primary: #0b6e4f;
  --primary-dark: #08513a;
  --primary-soft: #e6f2ed;
  --amber: #f2a900;
  --ink: #1d2420;
  --muted: #56615b;
  --surface: #f7f8f6;
  --card: #ffffff;
  --line: #e3e6e1;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(11, 110, 79, 0.08);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--card);
  line-height: 1.55;
  font-size: 17px;
}

img { max-width: 100%; }

a { color: var(--primary); }

.wrap { max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }

h1, h2, h3 { line-height: 1.2; margin: 0 0 12px; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: 28px; }
h3 { font-size: 1.15rem; }
p { margin: 0 0 12px; }

/* Barre du haut */
.topbar {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.topbar-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.2rem; color: var(--ink); text-decoration: none; }
.brand img { border-radius: 8px; }
.nav { display: flex; gap: 22px; margin-left: auto; }
.nav a { color: var(--muted); text-decoration: none; font-size: 0.95rem; }
.nav a:hover { color: var(--primary); }

/* Boutons (48 px de haut minimum, comme dans l'app) */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 24px; border-radius: 12px;
  background: var(--primary); color: #fff; font-weight: 600;
  text-decoration: none; border: 2px solid var(--primary);
  transition: background 0.15s, color 0.15s;
}
.btn:hover { background: var(--primary-dark); border-color: var(--primary-dark); }
.btn-small { min-height: 40px; padding: 0 16px; font-size: 0.95rem; }
.btn-outline { background: transparent; color: var(--primary); }
.btn-outline:hover { background: var(--primary-soft); color: var(--primary); }
.btn-light { background: #fff; color: var(--primary); border-color: #fff; }
.btn-light:hover { background: var(--primary-soft); border-color: var(--primary-soft); color: var(--primary); }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.12); border-color: #fff; }

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin: 24px 0 12px; }

/* Accroche */
.hero { background: linear-gradient(180deg, var(--primary-soft) 0%, var(--card) 100%); padding: 72px 0 64px; }
.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.eyebrow { color: var(--primary); font-weight: 600; font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.04em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 560px; }
.note { color: var(--muted); font-size: 0.92rem; }

.hero-card { display: flex; flex-direction: column; align-items: center; }
.mock {
  width: 100%; max-width: 420px; background: var(--card); border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden;
}
.mock-head {
  height: 150px; display: flex; justify-content: space-between; align-items: flex-start; padding: 12px;
  background: #2f8a6a url("assets/annonce-exemple.jpg") center / cover no-repeat;
}
.chip { background: #fff; border-radius: 8px; padding: 4px 12px; font-size: 0.9rem; color: var(--primary); }
.dot { width: 36px; height: 36px; border-radius: 50%; background: #fff; }
.mock-title { font-weight: 700; margin: 16px 16px 6px; }
.mock-line { margin: 0 16px 4px; color: var(--muted); font-size: 0.95rem; }
.mock-foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 12px 16px 16px; flex-wrap: wrap; }
.mock-foot strong { color: var(--primary); }
.mock-badge { font-size: 0.8rem; background: var(--surface); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; color: var(--muted); }
.mock-caption { color: var(--muted); font-size: 0.82rem; margin-top: 10px; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--surface); }
.grid { display: grid; gap: 20px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.tile, .steps-card, .price-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
}
.tile svg { width: 36px; height: 36px; fill: var(--primary); margin-bottom: 12px; }
.tile p, .steps-card li, .price-card p { color: var(--muted); }

.steps { margin: 0; padding-left: 0; list-style: none; counter-reset: step; }
.steps li { counter-increment: step; position: relative; padding-left: 48px; margin-bottom: 18px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 32px; height: 32px; border-radius: 50%; background: var(--primary); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.95rem;
}
.steps strong { color: var(--ink); }

.price-who { font-weight: 600; color: var(--primary); text-transform: uppercase; font-size: 0.9rem; letter-spacing: 0.04em; }
.price { font-size: 2.6rem; font-weight: 800; color: var(--ink) !important; margin-bottom: 8px; }
.example { margin-top: 24px; padding: 16px 20px; background: var(--primary-soft); border-radius: 12px; color: var(--ink); }

/* FAQ */
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; font-size: 1.05rem; list-style: none; position: relative; padding-right: 32px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; position: absolute; right: 4px; top: -2px; font-size: 1.5rem; color: var(--primary); }
details[open] summary::after { content: "−"; }
details p { margin: 12px 0 0; color: var(--muted); }

/* Appel final */
.cta-band { background: var(--primary); color: #fff; padding: 56px 0; }
.cta-band-inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: 8px; }
.cta-band p { color: rgba(255, 255, 255, 0.85); margin: 0; }
.cta-band .cta-row { margin: 0; }

.footer { padding: 28px 0; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9rem; }
.footer-inner { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer p { margin: 0; }

/* Tablette */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .nav { display: none; }
  .topbar-inner { justify-content: space-between; }
}

/* Téléphone */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .hero { padding: 40px 0; }
  .section { padding: 48px 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .cta-row .btn { width: 100%; }
  .brand span { font-size: 1.05rem; }
}
