/* ═══════════════════════════════════════════════════════
   SEO Pages — CSS autonome
   Ne dépend pas de style.css
═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,400&family=Instrument+Serif:ital@0;1&display=swap');

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ── Variables ── */
:root {
  --accent:      #C85A3A;
  --accent-dim:  rgba(200, 90, 58, .12);
  --text:        #1a1a1a;
  --muted:       #6b7280;
  --bg:          #ffffff;
  --bg-alt:      #f9f8f6;
  --border:      #e8e4de;
  --radius:      12px;
  --ff-d:        'Instrument Serif', Georgia, serif;
  --ff-b:        'DM Sans', system-ui, sans-serif;
  --ease:        cubic-bezier(.4, 0, .2, 1);
}

/* ── Base ── */
body {
  font-family: var(--ff-b);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

/* ════════════════════════════════
   NAVIGATION
════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .25s;
}
.site-header.scrolled {
  box-shadow: 0 2px 16px rgba(0,0,0,.08);
}
.nav-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
  text-decoration: none;
}
.nav-logo svg { display: block; }
.nav-logo-name {
  font-family: var(--ff-d);
  font-size: 1rem;
  color: var(--text);
  letter-spacing: -.02em;
  white-space: nowrap;
}
.nav-links {
  display: none;
  align-items: center;
  gap: 1.75rem;
  flex: 1;
  justify-content: center;
}
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a {
  font-size: .85rem;
  font-weight: 500;
  color: var(--muted);
  transition: color .2s;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--text); }
.nav-cta { flex-shrink: 0; }

/* ════════════════════════════════
   BOUTONS
════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .7rem 1.4rem;
  border-radius: 9999px;
  font-family: var(--ff-b);
  font-size: .88rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform .2s var(--ease), box-shadow .2s;
  white-space: nowrap;
  line-height: 1;
}
.btn:hover  { transform: scale(1.03); }
.btn:active { transform: scale(.97);  }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 12px rgba(200,90,58,.25);
}
.btn-primary:hover { box-shadow: 0 4px 20px rgba(200,90,58,.35); }
.btn-outline {
  background: transparent;
  color: var(--text);
  box-shadow: inset 0 0 0 1.5px var(--border);
}
.btn-outline:hover { box-shadow: inset 0 0 0 1.5px var(--text); }
.btn-ghost {
  background: transparent;
  color: var(--muted);
}
.btn-ghost:hover { color: var(--text); }
.btn-lg { padding: .875rem 1.75rem; font-size: .95rem; }
.btn-sm { padding: .45rem 1rem;   font-size: .8rem;  }

/* ════════════════════════════════
   BREADCRUMB
════════════════════════════════ */
.seo-breadcrumb {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: .6rem 0;
  font-size: .78rem;
  color: var(--muted);
}
.seo-breadcrumb .seo-container {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.seo-breadcrumb a { color: var(--muted); transition: color .2s; }
.seo-breadcrumb a:hover { color: var(--accent); }
.seo-bc-sep { margin: 0 .45rem; opacity: .45; }

/* ════════════════════════════════
   CONTAINER & SECTIONS
════════════════════════════════ */
.seo-container {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.seo-section { padding: 5rem 0; }
.seo-section--alt { background: var(--bg-alt); }

.seo-section-head { margin-bottom: 2.5rem; }

.seo-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: .75rem;
}
.seo-eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  flex-shrink: 0;
}
.seo-section-head h2 {
  font-family: var(--ff-d);
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: 400;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -.025em;
  margin: 0;
}

/* ════════════════════════════════
   HERO
════════════════════════════════ */
.seo-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.seo-hero--img {
  background-size: cover;
  background-position: center;
}
.seo-hero--color {
  background: linear-gradient(140deg, var(--accent) 0%, #8b2c14 100%);
}
.seo-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.48);
}
.seo-hero--color .seo-hero-overlay { background: rgba(0,0,0,.22); }
.seo-hero-inner {
  position: relative;
  z-index: 1;
  padding: 3.5rem 1.5rem;
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.125rem;
}
.seo-hero-h1 {
  font-family: var(--ff-d);
  font-size: clamp(1.8rem, 4.5vw, 3rem);
  font-weight: 400;
  color: #fff;
  line-height: 1.15;
  letter-spacing: -.03em;
  margin: 0;
}
.seo-hero-text {
  font-size: 1rem;
  color: rgba(255,255,255,.82);
  line-height: 1.7;
  max-width: 560px;
  margin: 0;
}
.seo-hero-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: .375rem;
}

/* ════════════════════════════════
   SECTION POURQUOI
════════════════════════════════ */
.seo-prose {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  max-width: 760px;
}
.seo-prose p {
  font-size: .98rem;
  color: var(--muted);
  line-height: 1.85;
  margin: 0;
}

/* ════════════════════════════════
   SECTION SOLUTION
════════════════════════════════ */
.seo-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: .875rem;
}
.seo-features li {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  font-size: .93rem;
  color: var(--text);
  line-height: 1.55;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.125rem;
  transition: border-color .2s, transform .25s var(--ease);
}
.seo-features li:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.seo-feat-check {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--accent-dim);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ════════════════════════════════
   ARGUMENT LOCAL
════════════════════════════════ */
.seo-local-block {
  display: flex;
  gap: 1.75rem;
  align-items: flex-start;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  padding: 2rem 2rem 2rem 1.75rem;
  max-width: 760px;
}
.seo-local-icon {
  color: var(--accent);
  flex-shrink: 0;
  margin-top: .15rem;
}
.seo-local-title {
  font-family: var(--ff-d);
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1.25;
  letter-spacing: -.02em;
  margin-bottom: .75rem;
}
.seo-local-text {
  font-size: .93rem;
  color: var(--muted);
  line-height: 1.85;
  margin: 0;
}

/* ════════════════════════════════
   TARIF
════════════════════════════════ */
.seo-pricing-section { background: var(--bg); }
.seo-pricing-card {
  display: flex;
  gap: 3.5rem;
  align-items: center;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 1.5);
  padding: 2.75rem;
}
.seo-pricing-left  { flex: 1; }
.seo-pricing-right {
  flex: 0 0 240px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .625rem;
}
.seo-pricing-label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: .875rem;
}
.seo-pricing-amount {
  display: flex;
  align-items: baseline;
  gap: .5rem;
  margin-bottom: 1.375rem;
}
.seo-price-from {
  font-size: .85rem;
  color: var(--muted);
}
.seo-price-value {
  font-family: var(--ff-d);
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--text);
  line-height: 1;
  letter-spacing: -.04em;
}
.seo-pricing-perks {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.seo-pricing-perks li {
  font-size: .85rem;
  color: var(--muted);
  padding-left: 1.375rem;
  position: relative;
  line-height: 1.45;
}
.seo-pricing-perks li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}
.seo-pricing-cta-text {
  font-size: .92rem;
  color: var(--text);
  line-height: 1.55;
  margin-bottom: .625rem;
}

/* ════════════════════════════════
   MAILLAGE INTERNE
════════════════════════════════ */
.seo-related-section { background: var(--bg-alt); }
.seo-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: .875rem;
  margin-top: 2rem;
}
.seo-related-card {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  padding: 1rem 1.25rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color .2s, transform .25s var(--ease), box-shadow .25s;
}
.seo-related-card:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0,0,0,.07);
}
.seo-related-prof {
  font-size: .88rem;
  font-weight: 600;
  color: var(--text);
}
.seo-related-city {
  font-size: .78rem;
  color: var(--muted);
}
.seo-related-arrow {
  font-size: .8rem;
  color: var(--accent);
  margin-top: .375rem;
  transition: transform .2s;
}
.seo-related-card:hover .seo-related-arrow { transform: translateX(4px); }
.seo-related-back {
  margin-top: 1.75rem;
  font-size: .85rem;
}
.seo-related-back a {
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.seo-related-back a:hover { color: var(--accent); }

/* ════════════════════════════════
   CTA FINAL
════════════════════════════════ */
.seo-cta-section { background: var(--bg); }
.seo-cta-inner {
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) * 2);
  padding: 3.5rem 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.125rem;
}
.seo-cta-title {
  font-family: var(--ff-d);
  font-size: clamp(1.6rem, 3.5vw, 2.25rem);
  font-weight: 400;
  color: var(--text);
  letter-spacing: -.03em;
  line-height: 1.2;
  margin: 0;
}
.seo-cta-desc {
  font-size: .95rem;
  color: var(--muted);
  line-height: 1.75;
  max-width: 460px;
  margin: 0;
}
.seo-cta-btns {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: .375rem;
}
.seo-cta-email {
  font-size: .8rem;
  color: var(--muted);
  margin: 0;
}
.seo-cta-email a { color: var(--accent); }
.seo-cta-email a:hover { text-decoration: underline; }

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  background: var(--bg);
}
.site-footer .seo-container { }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: .5rem;
}
.footer-brand svg { display: block; }
.footer-brand-name {
  font-family: var(--ff-d);
  font-size: .95rem;
  color: var(--text);
  letter-spacing: -.02em;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}
.footer-nav a {
  font-size: .83rem;
  color: var(--muted);
  text-decoration: none;
  transition: color .2s;
}
.footer-nav a:hover { color: var(--accent); }
.footer-copy {
  font-size: .75rem;
  color: var(--muted);
  margin: 0;
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 768px) {
  .seo-section         { padding: 3.5rem 0; }
  .seo-pricing-card    { flex-direction: column; gap: 2rem; }
  .seo-pricing-right   { flex: 1; width: 100%; }
  .seo-local-block     { flex-direction: column; gap: 1rem; }
  .seo-cta-inner       { padding: 2.5rem 1.5rem; }
  .footer-inner        { flex-direction: column; gap: 1rem; }
  .nav-cta             { display: none; }
}
@media (max-width: 480px) {
  .seo-section         { padding: 2.75rem 0; }
  .seo-hero-inner      { padding: 2.5rem 1rem; }
  .seo-features        { grid-template-columns: 1fr; }
  .seo-related-grid    { grid-template-columns: 1fr 1fr; }
  .seo-pricing-card    { padding: 1.75rem 1.25rem; }
  .seo-cta-inner       { padding: 2rem 1.25rem; }
}
