/* Babylone Courtage — feuille de style unique du site statique.
 * Mêmes noms de variables que le site ADPO, aux couleurs de Babylone (noir et blanc). */
:root {
  --blue-900: #111;
  --blue-700: #000;
  --blue-500: #555;
  --blue-50: #f2f2f2;
  --ice: #f7f7f7;
  --orange: #00d1b2;
  --orange-dark: #00a88f;
  --ink: #1d1d1f;
  --muted: #666;
  --line: #e2e2e2;
  --white: #fff;
  --radius: 14px;
  --shadow: 0 6px 24px rgba(0, 0, 0, .08);
  --max: 1160px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: var(--font); font-size: 17px; line-height: 1.65; color: var(--ink); background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue-700); text-underline-offset: 3px; }
a:hover { color: var(--orange-dark); }
h1, h2, h3 { line-height: 1.2; color: var(--blue-900); font-family: var(--serif); font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: 0 0 .6rem; }
h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin: 2.2rem 0 1rem; }
h3 { font-size: 1.2rem; margin: 1.6rem 0 .6rem; }
strong { color: var(--blue-900); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 100; background: #fff; padding: 8px 12px; }

/* ---------- Boutons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 18px;
  font-weight: 700; text-decoration: none; line-height: 1.2;
  transition: transform .15s, background .15s, color .15s;
}
.btn-primary { background: #000; color: #fff; }
.btn-primary:hover { background: #333; color: #fff; transform: translateY(-1px); }
.btn-light { background: #fff; color: #000; }
.btn-light:hover { background: var(--orange); color: #000; }
.btn-outline { border: 2px solid #fff; color: #fff; }
.btn-outline:hover { background: #fff; color: #000; }

/* ---------- En-tête ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: #000; }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: #fff; }
.brand:hover { color: #fff; }
.brand img { width: 56px; height: 48px; object-fit: contain; background: #fff; border-radius: 8px; padding: 3px; }
.brand-name { font-family: var(--serif); font-weight: 700; font-size: 1.15rem; line-height: 1.1; }
.brand-name small { display: block; font-family: var(--font); font-weight: 500; font-size: .78rem; color: #bbb; }
.nav { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; color: #eee; font-weight: 600; font-size: .95rem; padding: .5em .75em; border-radius: 8px; }
.nav a:hover, .nav a[aria-current="page"] { color: #fff; background: rgba(255, 255, 255, .12); }
.nav .btn { margin-left: 8px; background: #fff; color: #000; padding: .65em 1.2em; }
.nav .btn:hover { background: var(--orange); color: #000; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; color: #fff; }
.nav-toggle svg { width: 28px; height: 28px; }
@media (max-width: 960px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #000; padding: 8px 20px 20px; border-top: 1px solid #333;
  }
  .nav.open { display: flex; }
  .nav a { padding: .85em .5em; border-bottom: 1px solid #222; border-radius: 0; }
  .nav .btn { margin: 14px 0 0; justify-content: center; border-radius: 18px; border: 0; }
}

/* ---------- Héros (accueil) ---------- */
.hero {
  background: linear-gradient(rgba(0, 0, 0, .62), rgba(0, 0, 0, .62)), #2b2b2b url("/wp-content/uploads/2020/02/Liseré-Maison.png") center bottom / cover no-repeat;
  color: #fff; padding: 88px 0 96px; text-align: center;
}
.hero h1 { color: #fff; font-size: clamp(1.9rem, 4.6vw, 3rem); max-width: 18em; margin: 0 auto .7rem; }
.hero .lead { font-size: 1.15rem; color: #ddd; margin: 0 auto 30px; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero .btn { font-size: 1.1rem; }
@media (max-width: 640px) { .hero { padding: 56px 0 64px; } }

/* ---------- Page intérieure ---------- */
.page-head { background: #111; color: #ccc; padding: 40px 0 34px; }
.page-head h1 { color: #fff; }
.page-head .lead { color: #ccc; font-size: 1.12rem; margin: 0; max-width: 46em; }
.crumbs { font-size: .88rem; color: #999; margin-bottom: 10px; }
.crumbs a { color: #bbb; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-alt { background: var(--ice); }
.section-title { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.section-title h2 { margin-top: 0; }
.section-title p { color: var(--muted); margin: 0; }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

.logos { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.logos li { display: grid; place-items: center; height: 92px; padding: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; }
.logos img { max-height: 64px; width: auto; object-fit: contain; }

.testimonials { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.testimonial { margin: 0; display: flex; flex-direction: column; gap: 6px; }
.testimonial img { width: 72px; height: 70px; border-radius: 50%; object-fit: cover; }
.testimonial h3 { margin: 0; }
.stars { color: #f5b301; letter-spacing: 2px; font-size: 1.1rem; }
.testimonial blockquote { margin: 0; color: var(--ink); }
.testimonial figcaption { color: var(--muted); font-weight: 600; font-size: .95rem; margin-top: auto; padding-top: 8px; }

.split { display: grid; grid-template-columns: 1fr 300px; gap: 48px; align-items: center; }
.split > img { max-width: 300px; margin: 0 auto; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split > img { max-width: 200px; order: -1; } }

.contact-grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-bottom: 28px; }
.contact-grid .card { text-align: center; }
.contact-grid h3 { font-size: 1rem; color: var(--muted); font-family: var(--font); text-transform: uppercase; letter-spacing: .06em; margin-bottom: .5rem; }
.contact-grid a { font-weight: 700; overflow-wrap: anywhere; }
.contact-grid .big { font-size: 1.5rem; text-decoration: none; }

/* ---------- Contenu éditorial ---------- */
.layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 48px; padding: 48px 0 64px; }
.layout.single { grid-template-columns: minmax(0, 780px); justify-content: center; }
@media (max-width: 960px) { .layout { grid-template-columns: 1fr; gap: 32px; } }
.prose > :first-child { margin-top: 0; }
.prose p, .prose li { max-width: 46em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: .4em 0; }
.prose li::marker { color: var(--orange-dark); font-weight: 700; }
.callout { border-left: 4px solid var(--orange); background: #effcf9; padding: 16px 20px; border-radius: 0 var(--radius) var(--radius) 0; margin: 1.4em 0; }
.callout p { margin: 0; }

.aside { display: flex; flex-direction: column; gap: 20px; }
.aside .card { padding: 22px; font-size: .95rem; }
.aside .card h2 { font-size: 1.12rem; margin: 0 0 .7rem; }
.aside .cta-card { background: #000; color: #ddd; border: 0; }
.aside .cta-card h2, .aside .cta-card strong { color: #fff; }
.aside .links { list-style: none; padding: 0; margin: 0; }
.aside .links li { border-top: 1px solid var(--line); margin: 0; }
.aside .links li:first-child { border-top: 0; }
.aside .links a { display: block; padding: .6em 0; text-decoration: none; font-weight: 600; }
.aside .links a[aria-current="page"] { color: var(--orange-dark); }
.aside .links small { display: block; font-weight: 400; color: var(--muted); }

/* ---------- Bandeau d'appel et pied de page ---------- */
.cta-band { background: #000; color: #ccc; padding: 44px 0; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; margin: 0 0 .3rem; }
.cta-band p { margin: 0; }
.site-footer { background: #111; color: #aaa; font-size: .92rem; padding: 48px 0 24px; }
.site-footer a { color: #eee; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; }
.footer-grid h3 { color: #fff; font-size: 1rem; margin: 0 0 .8rem; }
.footer-grid ul { list-style: none; padding: 0; margin: 0; }
.footer-grid li { margin: .35em 0; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 32px; padding-top: 18px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: .85rem; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; } }
