/* ========================================================================
   Clairgest Marketing — style.css
   Brand verrouillé 2026-04-27 · Les Logiciels Cygsoft Inc. (NEQ 1182033127)
   ======================================================================== */

:root {
  --noir:        #1A1A1A;
  --blanc-casse: #FAFAF8;
  --terracotta:  #C97B5C;
  --terracotta-hover: #B26849;
  --sage:        #95B89C;
  --gris-doux:   #6B7280;
  --gris-bord:   #E5E1DA;
  --max-w:       1200px;
}

/* ---- Reset léger ---- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--blanc-casse);
  color: var(--noir);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--noir); text-decoration: none; }
a:hover { color: var(--terracotta); }

/* ---- Typographie ---- */
h1, h2, h3, h4, h5 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 600;
  color: var(--noir);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 500; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 500; }
h3 { font-size: clamp(1.4rem, 2.4vw, 1.8rem); }
h4 { font-size: 1.15rem; font-family: 'Inter', sans-serif; font-weight: 600; letter-spacing: -0.005em; }
p { margin: 0 0 1em; color: var(--gris-doux); }
p.lead { font-size: 1.25rem; color: var(--gris-doux); max-width: 56ch; }

.tagline-brand {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta);
}

/* ---- Container ---- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Header sticky ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 250, 248, 0.85);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--gris-bord);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}
.logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  font-weight: 500;
  color: var(--noir);
  letter-spacing: -0.005em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo:hover { color: var(--terracotta); }
.logo-mark { width: 28px; height: 28px; color: var(--terracotta); flex-shrink: 0; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 0.95rem;
}
.nav-links a { color: var(--noir); }
.nav-links a:hover { color: var(--terracotta); }
.nav-mobile-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  color: var(--noir);
}

/* ---- Language switcher ---- */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-right: 4px;
  font-size: 0.875rem;
  font-weight: 600;
}
.lang-switch a {
  color: var(--gris-doux);
  text-decoration: none;
  padding: 4px 6px;
  border-radius: 4px;
  transition: color 160ms ease, background 160ms ease;
}
.lang-switch a.lang-active { color: var(--terracotta); }
.lang-switch a:hover { color: var(--noir); background: rgba(0,0,0,0.04); }
.lang-switch span { color: var(--gris-bord); }

/* ---- Boutons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 8px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 160ms ease, color 160ms ease, transform 120ms ease, border-color 160ms ease;
  text-decoration: none;
  line-height: 1;
}
.btn-primary {
  background: var(--terracotta);
  color: #fff;
}
.btn-primary:hover {
  background: var(--terracotta-hover);
  color: #fff;
  transform: translateY(-1px);
}
.btn-secondary {
  background: transparent;
  color: var(--noir);
  border-color: var(--noir);
}
.btn-secondary:hover {
  background: var(--noir);
  color: #fff;
  border-color: var(--noir);
}
.btn-ghost {
  background: transparent;
  color: var(--noir);
  border-color: var(--gris-bord);
}
.btn-ghost:hover {
  background: var(--noir);
  color: #fff;
  border-color: var(--noir);
}

/* ---- Sections ---- */
section { padding: 88px 0; }
section.hero { padding: 56px 0 88px; }
.section-eyebrow {
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: 12px;
}
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-header p { max-width: 56ch; margin: 0 auto; }

/* ---- Hero ---- */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero h1 { margin-bottom: 24px; }
.hero .lead { margin-bottom: 24px; }
.hero .tagline-brand { display: block; margin-bottom: 36px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---- Mockup hero (placeholder app screenshot) ---- */
.mockup {
  border-radius: 14px;
  background: #fff;
  box-shadow:
    0 1px 0 rgba(0,0,0,0.04),
    0 24px 60px -20px rgba(26,26,26,0.18),
    0 8px 24px -10px rgba(201,123,92,0.18);
  overflow: hidden;
  border: 1px solid var(--gris-bord);
}
.mockup-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: #f3efea;
  border-bottom: 1px solid var(--gris-bord);
}
.mockup-bar span {
  width: 11px; height: 11px; border-radius: 50%;
  background: #d8d2c6;
}
.mockup-bar span:nth-child(2) { background: #cfc8b9; }
.mockup-bar span:nth-child(3) { background: #c2b9a4; }
.mockup-content {
  padding: 24px;
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  min-height: 320px;
}
.mockup-side {
  display: flex; flex-direction: column; gap: 10px;
}
.mockup-side div {
  height: 12px; background: #efece5; border-radius: 4px;
}
.mockup-side div.active {
  background: var(--terracotta); opacity: 0.85;
}
.mockup-main {
  display: flex; flex-direction: column; gap: 12px;
}
.mockup-row {
  display: flex; gap: 8px; align-items: center;
  padding: 12px;
  border: 1px solid var(--gris-bord);
  border-radius: 8px;
  background: #fdfbf7;
}
.mockup-row .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--sage);
  flex-shrink: 0;
}
.mockup-row .dot.amber { background: var(--terracotta); }
.mockup-row .label {
  flex: 1; height: 10px; background: #efece5; border-radius: 3px;
}
.mockup-row .time {
  width: 50px; height: 10px; background: #e8e3d8; border-radius: 3px;
}

/* ---- Cards (problèmes) ---- */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: #fff;
  border: 1px solid var(--gris-bord);
  border-radius: 12px;
  padding: 32px 28px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease;
}
.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px -12px rgba(26,26,26,0.10);
  border-color: var(--terracotta);
}
.card-icon {
  width: 44px; height: 44px;
  color: var(--terracotta);
  margin-bottom: 18px;
}
.card h3 { font-family: 'Inter', sans-serif; font-size: 1.2rem; font-weight: 600; margin-bottom: 10px; }
.card p { margin: 0; }

/* ---- Verticals (esthe / coiffure / masso) ---- */
.verticals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.vertical {
  background: #fff;
  border: 1px solid var(--gris-bord);
  border-radius: 12px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
}
.vertical-icon {
  width: 52px; height: 52px;
  color: var(--terracotta);
  margin-bottom: 18px;
}
.vertical h3 { font-family: 'Inter', sans-serif; font-size: 1.05rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 14px; }
.vertical ul { list-style: none; padding: 0; margin: 0; }
.vertical li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--noir);
}
.vertical li::before {
  content: '✓';
  color: var(--sage);
  font-weight: 700;
  flex-shrink: 0;
  width: 18px;
}

/* ---- Features list (2 cols) ---- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 36px;
}
.feature-row {
  display: flex; gap: 16px; align-items: flex-start;
  padding: 16px 0;
  border-top: 1px solid var(--gris-bord);
}
.feature-row:nth-child(1), .feature-row:nth-child(2) { border-top: 0; }
.feature-row .icon {
  width: 26px; height: 26px;
  color: var(--terracotta);
  flex-shrink: 0;
  margin-top: 2px;
}
.feature-row strong {
  display: block;
  font-weight: 600;
  font-size: 1rem;
  color: var(--noir);
  margin-bottom: 4px;
}
.feature-row span { font-size: 0.92rem; color: var(--gris-doux); }

/* ---- Pricing ---- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}
.pricing-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.plan {
  background: #fff;
  border: 1px solid var(--gris-bord);
  border-radius: 14px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
}
.plan.featured {
  border: 2px solid var(--terracotta);
  box-shadow: 0 18px 40px -18px rgba(201,123,92,0.35);
  transform: scale(1.02);
}
.plan-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--terracotta);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.plan h3 {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gris-doux);
  margin-bottom: 6px;
}
.plan-target {
  font-size: 0.85rem;
  color: var(--gris-doux);
  margin: 8px 0 0;
  min-height: 2.4em;
  line-height: 1.4;
}
.plan-price {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem;
  font-weight: 500;
  color: var(--noir);
  line-height: 1;
  margin: 8px 0 4px;
}
.plan-price small {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  color: var(--gris-doux);
  font-weight: 400;
}
.plan ul {
  list-style: none; padding: 0;
  margin: 24px 0 28px;
  flex: 1;
}
.plan li {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 8px 0;
  font-size: 0.95rem;
}
.plan li::before {
  content: '✓';
  color: var(--terracotta);
  font-weight: 700;
  flex-shrink: 0;
  width: 18px;
}
.pricing-note {
  margin-top: 32px;
  text-align: center;
  font-size: 0.85rem;
  color: var(--gris-doux);
}

/* ---- FAQ accordion ---- */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--gris-bord);
}
.faq-item summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 24px 0;
  font-weight: 600;
  font-size: 1.05rem;
  cursor: pointer;
  list-style: none;
  color: var(--noir);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  font-family: 'Inter', sans-serif;
  font-size: 1.6rem;
  color: var(--terracotta);
  transition: transform 200ms ease;
  font-weight: 300;
  line-height: 1;
}
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-body {
  padding: 0 0 24px;
  color: var(--gris-doux);
  font-size: 0.98rem;
  max-width: 64ch;
}

/* ---- Waitlist ---- */
.waitlist {
  background: linear-gradient(180deg, #fff 0%, #f5f0ea 100%);
  border-radius: 18px;
  padding: 64px 48px;
  text-align: center;
  border: 1px solid var(--gris-bord);
}
.waitlist h2 { margin-bottom: 12px; }
.waitlist p.lead { margin: 0 auto 36px; }
.waitlist-form {
  display: flex;
  gap: 12px;
  max-width: 580px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.waitlist-form input,
.waitlist-form select {
  flex: 1 1 180px;
  padding: 14px 16px;
  font: inherit;
  border: 1px solid var(--gris-bord);
  border-radius: 8px;
  background: #fff;
  color: var(--noir);
  outline: none;
  transition: border-color 160ms ease;
}
.waitlist-form input:focus,
.waitlist-form select:focus { border-color: var(--terracotta); }
.waitlist-form button { flex: 0 0 auto; }
.waitlist-note {
  margin-top: 18px;
  font-size: 0.82rem;
  color: var(--gris-doux);
}

/* ---- Footer ---- */
.site-footer {
  background: var(--noir);
  color: #d4d0c8;
  padding: 64px 0 32px;
  margin-top: 80px;
}
.site-footer .logo { color: #fff; }
.site-footer .logo:hover { color: var(--terracotta); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}
.footer-col h5 {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { padding: 6px 0; font-size: 0.92rem; }
.footer-col a { color: #d4d0c8; }
.footer-col a:hover { color: var(--terracotta); }
.footer-tagline {
  margin: 16px 0 0;
  color: #a8a397;
  font-size: 0.92rem;
  max-width: 36ch;
  line-height: 1.6;
}
.footer-bottom {
  border-top: 1px solid #2d2d2d;
  padding-top: 24px;
  font-size: 0.82rem;
  color: #8e897d;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---- Pages legales (privacy, terms) ---- */
.legal-page {
  max-width: 820px;
  margin: 56px auto;
  padding: 0 24px;
}
.legal-page h1 {
  font-size: 2.4rem;
  margin-bottom: 8px;
}
.legal-meta {
  color: var(--gris-doux);
  font-size: 0.95rem;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gris-bord);
}
.legal-page h2 {
  font-size: 1.7rem;
  margin: 40px 0 14px;
}
.legal-page h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  margin: 28px 0 10px;
  color: var(--noir);
}
.legal-page p, .legal-page li { color: var(--noir); }
.legal-page p { margin-bottom: 14px; }
.legal-page ul, .legal-page ol { margin: 0 0 16px; padding-left: 26px; }
.legal-page li { padding: 4px 0; }
.legal-page a { color: var(--terracotta); border-bottom: 1px dotted var(--terracotta); }
.legal-page a:hover { color: var(--terracotta-hover); border-bottom-style: solid; }
.legal-page hr {
  border: 0;
  border-top: 1px solid var(--gris-bord);
  margin: 40px 0;
}
.legal-page table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.95rem;
}
.legal-page table th,
.legal-page table td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--gris-bord);
  vertical-align: top;
}
.legal-page table th {
  background: #f5f0ea;
  font-weight: 600;
  color: var(--noir);
}
.legal-page code {
  font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  font-size: 0.9em;
  background: #f3efea;
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--terracotta-hover);
}
.legal-page em { color: var(--gris-doux); font-style: italic; }
.legal-page strong { color: var(--noir); }

/* ---- 404 ---- */
.error-page {
  min-height: 60vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 24px;
}
.error-page h1 { margin-bottom: 16px; }
.error-page p { margin-bottom: 32px; }

/* ---- Responsive ---- */
/* Narrower cards on 4-col grid → reduce padding */
.pricing-grid-4 .plan { padding: 30px 22px; }
.pricing-grid-4 .plan-price { font-size: 2.6rem; }

@media (max-width: 1100px) {
  .pricing-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid-4 .plan.featured { transform: none; }
  .pricing-grid-4 .plan { padding: 36px 28px; }
  .pricing-grid-4 .plan-price { font-size: 3rem; }
}
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 768px) {
  section { padding: 64px 0; }
  section.hero { padding: 40px 0 64px; }
  .nav-links { display: none; }
  .nav-links.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 12px 0;
    background: var(--blanc-casse);
    border: 1px solid var(--gris-bord);
    border-radius: 10px;
    box-shadow: 0 12px 30px -12px rgba(0,0,0,0.15);
    margin: 8px 0 0;
    min-width: 220px;
  }
  .nav-links.is-open a { padding: 12px 20px; }
  .nav-mobile-toggle { display: inline-flex; }
  .nav-row { position: relative; }
  .cards-3, .verticals, .pricing-grid, .pricing-grid-4 { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-row { border-top: 1px solid var(--gris-bord) !important; }
  .feature-row:first-child { border-top: 0 !important; }
  .plan.featured { transform: none; }
  .plan-target { min-height: auto; }
  .waitlist { padding: 48px 24px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 480px) {
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
}
