/* === Style commun pages /pro/ === */
:root {
  --bg: #faf8f4;
  --ink: #1a1a1a;
  --muted: #6b6b6b;
  --line: #e4dfd6;
  --accent: #8b3a1f;
  --accent-dark: #6d2d17;
  --card: #ffffff;
  --ok: #2f7a3a;
  --warn: #b8860b;
  --danger: #a83232;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; letter-spacing: -0.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); }
h3 { font-size: 1.15rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
p { margin: 0 0 1em; color: #333; }
.muted { color: var(--muted); font-size: .9rem; }

header.site {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  position: sticky; top: 0; z-index: 1000;
}
header.site .logo {
  font-family: 'Fraunces', serif;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
  display: flex; align-items: center; gap: .65rem;
  background: none; border: none; padding: 0; cursor: pointer;
  position: relative;
}
header.site .logo:hover .logo-mark { transform: scale(1.08); }
.logo-mark { width: 28px; height: 28px; color: var(--accent); transition: transform .15s ease; flex-shrink: 0; }
.logo-chevron { width: 12px; height: 12px; color: var(--muted); margin-left: -6px; }
header.site nav a {
  margin-left: 1.5rem;
  color: var(--ink);
  font-size: .95rem;
}
header.site nav a:hover { color: var(--accent); }

/* Menu déroulant maison (partagé /pro/) */
.brand-menu {
  position: absolute; top: calc(100% + 14px); left: 0; min-width: 280px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 12px 32px rgba(0,0,0,.12); padding: .5rem;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .15s, transform .15s, visibility .15s; z-index: 1001;
}
.brand-menu[data-open="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
.brand-menu-section { padding: .5rem .75rem .25rem; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); font-weight: 600; font-family: 'Inter', sans-serif; }
.brand-menu-item { display: flex; align-items: center; gap: .75rem; padding: .65rem .75rem; border-radius: 8px; color: var(--ink); text-decoration: none; font-size: .88rem; font-family: 'Inter', sans-serif; font-weight: 500; margin-left: 0 !important; }
.brand-menu-item:hover { background: #f5f5f7; color: var(--accent); text-decoration: none; }
.brand-menu-item svg { width: 18px; height: 18px; color: var(--muted); flex-shrink: 0; }
.brand-menu-item:hover svg { color: var(--accent); }
.brand-menu-item small { display: block; font-size: .72rem; color: var(--muted); font-weight: 400; margin-top: 2px; }
.brand-menu-item-body { display: flex; flex-direction: column; }
.brand-menu-divider { height: 1px; background: var(--line); margin: .35rem .25rem; }

.logo > svg, .logo > span { pointer-events: none; }
@media (max-width: 640px) {
  .brand-menu { position: fixed; left: 12px; right: 12px; top: 72px; min-width: 0; width: auto; max-height: calc(100vh - 90px); overflow-y: auto; }
  .brand-menu[data-open="true"] { opacity: 1; visibility: visible; transform: translateY(0); }
  .brand-menu-item { padding: .85rem; font-size: .95rem; }
  .brand-menu-item small { font-size: .78rem; }
}

main.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}
.hero { text-align: center; margin-bottom: 3rem; }
.hero .tagline { color: var(--muted); font-size: 1.1rem; max-width: 640px; margin: 0 auto; }
.badge {
  display: inline-block;
  background: #fff2ea;
  color: var(--accent);
  border: 1px solid #f0d5c0;
  padding: .25rem .75rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  margin-bottom: 1rem;
  letter-spacing: .02em;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
}
.card.highlight { border: 2px solid var(--accent); position: relative; }
.card.highlight::before {
  content: 'Le plus choisi';
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #fff;
  padding: .2rem .75rem;
  border-radius: 999px;
  font-size: .75rem;
  font-weight: 600;
}
.card h3 { margin-top: 0; }
.card .price {
  font-family: 'Fraunces', serif;
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--ink);
  margin: .5rem 0 .25rem;
}
.card .price .strike { text-decoration: line-through; color: var(--muted); font-size: 1.15rem; font-weight: 400; margin-right: .5rem; }
.card .price small { font-size: .85rem; color: var(--muted); font-weight: 400; }
.card ul { padding-left: 1.2rem; margin: 1rem 0; color: #333; }
.card ul li { margin: .35rem 0; }
.card .cta { margin-top: auto; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: .75rem 1.5rem;
  border-radius: 8px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: background .15s;
  font-family: inherit;
}
.btn:hover { background: var(--accent-dark); text-decoration: none; color: #fff; }
.btn.secondary { background: transparent; color: var(--accent); border: 1.5px solid var(--accent); }
.btn.secondary:hover { background: #fff2ea; color: var(--accent); }
.btn:disabled { opacity: .5; cursor: not-allowed; }
.btn.full { width: 100%; text-align: center; }

.alert { padding: 1rem 1.25rem; border-radius: 8px; margin: 1rem 0; font-size: .95rem; }
.alert.ok { background: #eaf5ec; color: #1e5a2c; border-left: 3px solid var(--ok); }
.alert.warn { background: #fdf5e0; color: #7a5b0b; border-left: 3px solid var(--warn); }
.alert.error { background: #f9e6e6; color: #7a1e1e; border-left: 3px solid var(--danger); }

form.stack { display: flex; flex-direction: column; gap: 1rem; max-width: 480px; margin: 0 auto; }
form.stack label { display: block; font-size: .9rem; font-weight: 500; margin-bottom: .35rem; }
form.stack input, form.stack select {
  width: 100%;
  padding: .7rem .9rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
}
form.stack input:focus, form.stack select:focus { outline: 2px solid var(--accent); outline-offset: -2px; border-color: var(--accent); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 480px) { .form-row { grid-template-columns: 1fr; } }

.tabs { display: flex; gap: .5rem; border-bottom: 1px solid var(--line); margin-bottom: 1.5rem; }
.tabs button {
  background: none;
  border: none;
  padding: .75rem 1.25rem;
  font-size: .95rem;
  font-family: inherit;
  color: var(--muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.tabs button.active { color: var(--accent); border-bottom-color: var(--accent); font-weight: 600; }

.stat-row { display: flex; gap: 2rem; flex-wrap: wrap; margin: 1.5rem 0; }
.stat { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 1.25rem 1.5rem; flex: 1; min-width: 180px; }
.stat .num { font-family: 'Fraunces', serif; font-size: 1.75rem; font-weight: 600; color: var(--accent); }
.stat .lbl { color: var(--muted); font-size: .85rem; }

footer.site {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--muted);
  font-size: .85rem;
  border-top: 1px solid var(--line);
  margin-top: 3rem;
}
footer.site a { color: var(--muted); margin: 0 .5rem; }
