/* ============================================================================
 * Rébecca Zana — landing site
 * Design system : crème (#fbf7f4), rose poudré (#b14d6f), serif élégant + sans
 * ============================================================================ */

:root {
  --bg: #fbf7f4;
  --bg-elev: #ffffff;
  --bg-tinted: #f3ebe5;
  --text: #1f1d1c;
  --text-muted: #6c6967;
  --primary: #b14d6f;
  --primary-dark: #934058;
  --primary-soft: #f5e2e9;
  --accent: #c97a8e;
  --border: #e6dcd2;
  --shadow-sm: 0 1px 2px rgba(31, 29, 28, 0.04);
  --shadow-md: 0 8px 24px -8px rgba(177, 77, 111, 0.18);
  --shadow-lg: 0 16px 40px -12px rgba(177, 77, 111, 0.22);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --max-width: 1100px;
  --max-width-narrow: 720px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--text);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.25rem; font-weight: 600; }

p { margin: 0 0 16px; }

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.18s ease;
}
a:hover { color: var(--primary-dark); }

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.container.narrow { max-width: var(--max-width-narrow); }

.eyebrow {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--primary);
  margin: 0 0 12px;
}

.eyebrow.center { text-align: center; }
.center { text-align: center; }

.lead {
  font-size: 1.075rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251, 247, 244, 0.85);
  backdrop-filter: saturate(180%) blur(10px);
  -webkit-backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 600;
}

.logo-link:hover { color: var(--text); }

.logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--bg-tinted);
}

.logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav a {
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav a:hover { color: var(--primary); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--primary);
  color: #fff !important;
  font-weight: 500;
}

.nav-cta:hover { background: var(--primary-dark); color: #fff !important; }

@media (max-width: 720px) {
  .nav { gap: 14px; }
  .nav a:not(.nav-cta) { display: none; }
}

/* ---------- Hero ---------- */

.hero {
  padding: 80px 0 96px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, var(--primary-soft) 0%, transparent 70%);
  z-index: 0;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text { max-width: 560px; }
.hero-cta {
  display: flex;
  gap: 12px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 4 / 5;
  background: linear-gradient(160deg, var(--primary-soft), var(--bg-tinted));
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  gap: 6px;
}

.hero-card::after {
  content: "";
  position: absolute;
  top: 30px;
  left: 30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
}

.hero-card-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(31, 29, 28, 0.15);
}

@media (max-width: 880px) {
  .hero { padding: 56px 0 64px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero-card { max-width: 280px; aspect-ratio: 4 / 3; }
}

/* ---------- Sections ---------- */

.section { padding: 80px 0; }
.section-light { background: var(--bg-elev); }

.section-cta {
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-tinted) 100%);
}

@media (max-width: 720px) {
  .section { padding: 56px 0; }
}

/* ---------- Cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-soft);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--primary-soft);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.card h3 { margin-bottom: 8px; }
.card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin: 0;
}

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 500;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.18s ease;
  border: 1px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--bg-tinted);
  color: var(--text);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.contact-fallback {
  margin-top: 28px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--text);
  color: #d6d3d1;
  padding: 48px 0 32px;
  margin-top: 0;
}

.site-footer h2, .site-footer h3 { color: #fff; }

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
}

.footer-brand {
  font-family: 'Playfair Display', serif;
  font-size: 1.2rem;
  font-weight: 600;
  color: #fff;
  margin: 0 0 4px;
}

.footer-muted {
  color: #a09c98;
  font-size: 0.875rem;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-links a {
  color: #d6d3d1;
  font-size: 0.9rem;
}

.footer-links a:hover { color: var(--primary-soft); }

.footer-copy {
  margin: 0;
  color: #6c6967;
  font-size: 0.8rem;
  border-top: 1px solid #2f2c2a;
  padding-top: 20px;
  width: 100%;
}

/* ---------- Legal pages ---------- */

.legal-page {
  padding: 80px 0 96px;
}

.legal-content {
  max-width: 720px;
  margin: 0 auto;
}

.legal-content .updated {
  color: var(--text-muted);
  font-size: 0.875rem;
  margin: 0 0 32px;
}

.legal-content h2 {
  font-size: 1.5rem;
  margin: 40px 0 12px;
}

.legal-content h3 {
  font-size: 1.1rem;
  margin: 24px 0 8px;
}

.legal-content ul, .legal-content ol {
  padding-left: 22px;
  margin: 0 0 16px;
}

.legal-content li {
  margin: 6px 0;
}

.legal-content code {
  background: var(--bg-tinted);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
}

.legal-content .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 28px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.legal-content .back-link:hover { color: var(--primary); }

@media (max-width: 720px) {
  .legal-page { padding: 48px 0 64px; }
  .legal-content h2 { font-size: 1.3rem; }
}
