/* ==========================================================================
   conforma-rgpd.fr — styles
   Mobile-first. Breakpoints : 768px (tablette), 1024px (desktop).
   ========================================================================== */

:root {
  --bg: #FAF7F1;
  --bg-alt: #F1EBDF;
  --card-bg: #FFFFFF;
  --ink: #191B1E;
  --ink-soft: #53585C;
  --ink-faint: #85898B;
  --line: #E3DCCB;
  --line-strong: #D2C8AE;

  --navy: #0F1D33;
  --navy-soft: #1C2E4C;
  --on-navy: #F2ECDD;
  --on-navy-soft: #B9C0CC;
  --on-navy-faint: #7C8698;

  --gold: #9C7A3C;
  --gold-light: #C9A667;

  --container-width: 1120px;
  --font-serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --font-sans: 'Public Sans', -apple-system, 'Segoe UI', sans-serif;

  --shadow-card: 0 1px 2px rgba(15, 29, 51, 0.06), 0 10px 28px -12px rgba(15, 29, 51, 0.16);
  --shadow-float: 0 8px 16px rgba(15, 29, 51, 0.28), 0 24px 48px -12px rgba(15, 29, 51, 0.35);
}

/* ---- Reset ---- */
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}
h1, h2, h3 { font-family: var(--font-serif); font-weight: 500; margin: 0; }
p { margin: 0; }
a { color: var(--ink); text-decoration: none; }
ul, ol, dl { margin: 0; padding: 0; list-style: none; }
dd { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }
input::placeholder { color: var(--ink-faint); }
img { max-width: 100%; display: block; }

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

.section { padding: 64px 0; background: var(--bg); }
.section-alt { background: var(--bg-alt); }

.section-head { display: flex; flex-direction: column; gap: 10px; max-width: 640px; margin-bottom: 32px; }
.section-head h2 { font-size: 27px; color: var(--ink); letter-spacing: -0.01em; }
.section-head p { font-size: 15px; line-height: 1.6; color: var(--ink-soft); }

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 26px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 2px;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-primary { background: var(--navy); color: var(--on-navy); }
.btn-primary:hover { background: var(--navy-soft); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--on-navy); }
.btn-block { width: 100%; height: 52px; font-size: 15px; border: none; }

/* ---- Logo ---- */
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 13px;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-serif);
  font-size: 18px;
  letter-spacing: 0.01em;
  color: var(--ink);
}
.logo-accent { color: var(--ink); }
.logo-tld { color: var(--gold); font-size: 15px; }
.logo--small .logo-mark { width: 24px; height: 24px; font-size: 11px; }
.logo--small .logo-text { font-size: 15px; }
.logo--small .logo-tld { font-size: 13px; }

.site-footer .logo-text,
.site-footer .logo-accent { color: var(--on-navy); }

/* ---- Top bar + header ---- */
.top-bar { height: 4px; width: 100%; background: var(--navy); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.site-nav {
  position: fixed;
  top: 64px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 24px 20px;
  transform: translateX(100%);
  transition: transform 0.25s ease;
  overflow-y: auto;
}
.site-nav.is-open { transform: translateX(0); }
.site-nav a {
  width: 100%;
  padding: 14px 4px;
  font-size: 16px;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}
.site-nav a.nav-cta {
  width: auto;
  margin-top: 16px;
  border-bottom: none;
}

/* ---- Texture (hairline pattern, no gradients) ---- */
.hero-texture {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='64' height='64'%3E%3Cpath d='M0 63.5H64M63.5 0V64' stroke='%23F2ECDD' stroke-opacity='0.07'/%3E%3C/svg%3E");
}

/* ---- Hero ---- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 60px 0 52px;
  background: var(--navy);
}
.hero-content { position: relative; display: flex; flex-direction: column; gap: 22px; }
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  color: var(--gold-light);
  text-transform: uppercase;
}
.hero h1 { font-size: 31px; line-height: 1.3; letter-spacing: -0.01em; color: var(--on-navy); }
.hero .lead { font-size: 16px; line-height: 1.6; color: var(--on-navy-soft); }

.hero-cta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hero-cta .btn { width: 100%; }
.hero-cta-note { font-size: 12px; color: var(--on-navy-faint); }

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
  margin-top: 12px;
  padding-top: 20px;
  border-top: 1px solid rgba(242, 236, 221, 0.14);
  font-size: 13px;
  color: var(--on-navy-soft);
}
.hero-trust .divider { display: none; }

/* ---- Problème ---- */
.problem-grid { display: flex; flex-direction: column; gap: 32px; }
.problem-text { display: flex; flex-direction: column; gap: 16px; }
.problem-text h2 { font-size: 25px; color: var(--ink); letter-spacing: -0.01em; }
.problem-text p { font-size: 15px; line-height: 1.7; color: var(--ink-soft); }

.fact-panel {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  box-shadow: var(--shadow-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.fact-panel-title {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-faint);
  text-transform: uppercase;
}
.fact-list { display: flex; flex-direction: column; gap: 14px; }
.fact-row {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}
.fact-row dt {
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.fact-row dd { font-size: 14px; line-height: 1.55; color: var(--ink); }

/* ---- Offre ---- */
.offer-grid { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.offer-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--line);
  border-top: 3px solid var(--navy);
  box-shadow: var(--shadow-card);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.offer-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.offer-card h3 { font-size: 20px; color: var(--ink); letter-spacing: -0.01em; }
.offer-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.offer-price .price { font-size: 32px; font-family: var(--font-serif); color: var(--ink); letter-spacing: -0.01em; }
.offer-price .price-note { font-size: 12px; color: var(--ink-faint); }
.offer-items { display: flex; flex-direction: column; gap: 10px; }
.offer-items li {
  position: relative;
  padding-left: 16px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--ink-soft);
}
.offer-items li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--gold);
}

.offer-footer { display: flex; flex-direction: column; gap: 16px; }
.offer-footer p { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }
.offer-footer .btn { width: 100%; }

/* ---- Pourquoi nous ---- */
.strengths-grid { display: flex; flex-direction: column; gap: 24px; }
.strength {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 16px;
  border-top: 1px solid var(--gold);
}
.strength h3 { font-family: var(--font-sans); font-size: 16px; font-weight: 600; color: var(--ink); }
.strength p { font-size: 14px; line-height: 1.6; color: var(--ink-soft); }

/* ---- Comment ça se passe ---- */
.steps-title { font-size: 25px; color: var(--ink); margin-bottom: 32px; max-width: 640px; letter-spacing: -0.01em; }
.steps-grid { display: flex; flex-direction: column; gap: 24px; }
.step { display: flex; gap: 16px; align-items: flex-start; }
.step-number {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 14px;
}
.step h3 { font-family: var(--font-sans); font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 6px; }
.step p { font-size: 13.5px; line-height: 1.6; color: var(--ink-soft); }

/* ---- Contact ---- */
.contact-section {
  position: relative;
  overflow: hidden;
  background: var(--navy);
  padding: 60px 0 0;
}
.contact-grid { position: relative; display: flex; flex-direction: column; gap: 40px; }
.contact-text { display: flex; flex-direction: column; gap: 16px; }
.contact-text h2 { font-size: 25px; color: var(--on-navy); letter-spacing: -0.01em; }
.contact-text p { font-size: 15px; line-height: 1.7; color: var(--on-navy-soft); }
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid rgba(242, 236, 221, 0.14);
  font-size: 14px;
}
.contact-details a { color: var(--gold-light); }
.contact-details .muted { color: var(--on-navy-soft); }

.contact-card {
  background: var(--card-bg);
  box-shadow: var(--shadow-float);
  padding: 12px;
  overflow: hidden;
}
.contact-card .calendly-inline-widget { display: block; }

.footer-inner {
  position: relative;
  padding: 40px 20px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 12px;
  color: var(--on-navy-faint);
}
.site-footer { background: var(--navy); margin-top: 64px; }
.footer-brand { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.footer-copy { color: var(--on-navy-faint); }
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--on-navy-faint); }
.footer-links a:hover { color: var(--gold-light); }

/* ==========================================================================
   Tablette — 768px et plus
   ========================================================================== */
@media (min-width: 768px) {
  .container { padding: 0 40px; }

  .nav-toggle { display: none; }
  .site-nav {
    position: static;
    flex-direction: row;
    align-items: center;
    gap: 28px;
    padding: 0;
    transform: none;
    overflow: visible;
  }
  .site-nav a {
    width: auto;
    padding: 0;
    font-size: 14px;
    border-bottom: none;
  }
  .site-nav a:not(.nav-cta):hover { color: var(--navy); }
  .site-nav a.nav-cta { margin-top: 0; }
  .header-inner { height: 76px; }

  .hero { padding: 92px 0 80px; }
  .hero-content { max-width: 660px; gap: 26px; }
  .hero h1 { font-size: 40px; }
  .hero .lead { font-size: 17px; }
  .hero-cta { flex-direction: row; align-items: center; }
  .hero-cta .btn { width: auto; }
  .hero-trust .divider {
    display: inline-block;
    width: 1px;
    height: 14px;
    background: rgba(242, 236, 221, 0.2);
  }

  .section { padding: 88px 0; }
  .section-head h2 { font-size: 31px; }

  .problem-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }
  .fact-panel { padding: 32px; }

  .offer-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
  .offer-card { padding: 36px; }
  .offer-footer { flex-direction: row; align-items: center; justify-content: space-between; gap: 32px; }
  .offer-footer p { max-width: 480px; }
  .offer-footer .btn { width: auto; }

  .strengths-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }

  .steps-grid { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 24px; }

  .contact-section { padding-top: 92px; }
  .contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; }
  .contact-card { padding: 16px; }

  .footer-inner { flex-direction: row; align-items: center; justify-content: space-between; padding: 28px 40px; }
}

/* ==========================================================================
   Desktop — 1024px et plus
   ========================================================================== */
@media (min-width: 1024px) {
  .container { padding: 0 64px; }

  .header-inner { height: 84px; }

  .hero { padding: 132px 0 112px; }
  .hero-content { max-width: 720px; }
  .hero h1 { font-size: 48px; line-height: 1.26; }

  .section { padding: 104px 0; }

  .steps-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
  .step { flex-direction: column; gap: 16px; }
  .step-number { position: relative; }
  .step-number::after {
    content: "";
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 1px;
    background: var(--line-strong);
  }
  .steps-grid .step:last-child .step-number::after { display: none; }

  .contact-section { padding-top: 112px; }
}
