/* ==========================================================================
   location-montemeuble-paris.fr - feuille de style unique et partagée
   Aucune dépendance externe. Police système. Mobile-first.
   Palette : bleu confiance (#1b4b91) + accent orange CTA (#f26a1b).
   ========================================================================== */

/* --- Design tokens -------------------------------------------------------- */
:root {
  --blue:        #1b4b91;   /* bleu principal / confiance */
  --blue-dark:   #143766;   /* survols, header */
  --blue-soft:   #eaf1fb;   /* fonds de sections légères */
  --orange:      #f26a1b;   /* accent CTA */
  --orange-dark: #d4570d;   /* survol CTA */
  --ink:         #1c2530;   /* texte principal */
  --muted:       #5a6472;   /* texte secondaire */
  --line:        #e2e7ee;   /* bordures fines */
  --white:       #ffffff;
  --bg:          #ffffff;
  --radius:      10px;
  --shadow:      0 2px 10px rgba(20, 40, 80, .06);
  --shadow-lg:   0 8px 30px rgba(20, 40, 80, .10);
  --maxw:        1080px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial,
          "Apple Color Emoji", "Segoe UI Emoji", sans-serif;
}

/* --- Reset léger ---------------------------------------------------------- */
*, *::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(--bg);
}
img, svg { max-width: 100%; height: auto; vertical-align: middle; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { line-height: 1.25; color: var(--ink); }
h1 { font-size: 2rem; margin: 0 0 .4em; letter-spacing: -.01em; }
h2 { font-size: 1.5rem; margin: 2em 0 .6em; }
h3 { font-size: 1.15rem; margin: 1.4em 0 .4em; }
p  { margin: 0 0 1em; }

/* --- Utilitaires de mise en page ----------------------------------------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.section   { padding: 2.2rem 0; }
.narrow    { max-width: 760px; }

/* --- En-tête sticky ------------------------------------------------------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 62px; gap: 12px;
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 700;
         font-size: 1.05rem; color: var(--blue); }
.brand:hover { text-decoration: none; }
.brand svg { flex: 0 0 auto; }
.brand b { color: var(--orange); font-weight: 700; }

/* --- Boutons -------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 13px 20px; border-radius: var(--radius);
  border: 1px solid transparent; cursor: pointer; text-align: center;
  transition: background-color .15s ease, transform .05s ease;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(1px); }
.btn-cta   { background: var(--orange); color: #fff; }
.btn-cta:hover { background: var(--orange-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-ghost:hover { background: var(--blue-soft); }
.btn-sm { padding: 9px 15px; font-size: .95rem; }
.btn-lg { padding: 16px 28px; font-size: 1.08rem; }

/* --- Hero ----------------------------------------------------------------- */
.hero {
  background: linear-gradient(180deg, var(--blue-soft) 0%, #fff 100%);
  padding: 3rem 0 2.4rem;
  border-bottom: 1px solid var(--line);
}
.hero h1 { font-size: 2.35rem; max-width: 20ch; }
.hero .lead { font-size: 1.2rem; color: var(--muted); max-width: 55ch; margin-bottom: 1.4em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { font-size: .92rem; color: var(--muted); }

/* --- Hero deux colonnes : le formulaire remonte au-dessus de la ligne de flottaison --- */
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: 30px; align-items: start; }
.hero-copy { align-self: center; }
/* Le bloc devis, une fois dans le hero, devient une carte blanche compacte */
.hero-form .devis { margin: 0; background: #fff; box-shadow: var(--shadow-lg); border-color: #d9e2f0; }
.hero-form .devis h2 { font-size: 1.35rem; }
.hero-form .devis > p { font-size: .95rem; margin-bottom: .7em; }
@media (max-width: 900px) {
  /* On repasse en une colonne : accroche courte puis formulaire, qui reste haut */
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-copy { align-self: auto; }
  .hero .lead { margin-bottom: 1em; }
}

/* --- Bandeau de réassurance ---------------------------------------------- */
.trust {
  background: var(--blue-dark); color: #eef3fb;
}
.trust .container {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  padding-top: 1.2rem; padding-bottom: 1.2rem;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: .96rem; font-weight: 500; }
.trust-item svg { flex: 0 0 auto; color: var(--orange); }

/* --- Contenu : listes à puces avec check SVG ----------------------------- */
.check-list { list-style: none; padding: 0; margin: 0 0 1.2em; }
.check-list li {
  position: relative; padding-left: 30px; margin-bottom: .55em;
}
.check-list li::before {
  content: ""; position: absolute; left: 0; top: .28em;
  width: 18px; height: 18px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b4b91' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: contain; background-repeat: no-repeat;
}

/* --- Cartes (prestations, arguments) ------------------------------------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 16px; }
.card {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 18px 18px 16px; background: #fff; box-shadow: var(--shadow);
}
.card svg { color: var(--blue); margin-bottom: 6px; }
.card h3 { margin-top: 0; }
.card p { margin-bottom: 0; color: var(--muted); font-size: .97rem; }

/* --- Tableaux (tarifs) ---------------------------------------------------- */
.table-wrap { overflow-x: auto; margin: 1em 0 1.4em; }
table { border-collapse: collapse; width: 100%; min-width: 460px; font-size: .97rem; }
th, td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); }
thead th { background: var(--blue-soft); color: var(--blue-dark); font-weight: 700; }
tbody tr:nth-child(even) { background: #fafbfd; }
caption { caption-side: bottom; font-size: .85rem; color: var(--muted); padding-top: 8px; text-align: left; }

/* --- Bloc formulaire leadrs (devis) -------------------------------------- */
.devis {
  background: var(--blue-soft);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px 20px;
  margin: 2rem 0;
}
.devis h2 { margin-top: 0; }
.devis > p { color: var(--muted); max-width: 60ch; }
.iframe-wrap {
  background: #fff; border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; margin: 14px 0 10px;
}
/* Hauteur mini desktop : évite tout scroll interne coupé du formulaire */
.iframe-wrap iframe { display: block; width: 100%; min-height: 760px; border: 0; }
.iframe-fallback { font-size: .92rem; color: var(--muted); margin: 0; }

/* --- FAQ ------------------------------------------------------------------ */
.faq details {
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 4px 16px; margin-bottom: 10px; background: #fff;
}
.faq summary {
  cursor: pointer; font-weight: 600; padding: 12px 0; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--orange); font-size: 1.4rem; line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq details p { margin: 12px 0; color: var(--muted); }

/* --- Fil d'ariane --------------------------------------------------------- */
.breadcrumb { font-size: .88rem; color: var(--muted); padding: 14px 0 0; }
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--blue); }

/* --- Bloc CTA intermédiaire ---------------------------------------------- */
.cta-band {
  text-align: center; background: var(--blue-soft);
  border-radius: 14px; padding: 26px 20px; margin: 2rem 0;
}
.cta-band h2 { margin-top: 0; }

/* --- Maillage voisins (pages zones) -------------------------------------- */
.neighbors { display: flex; flex-wrap: wrap; gap: 10px; margin: 1em 0; }
.neighbors a {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 7px 15px; font-size: .93rem; background: #fff;
}
.neighbors a:hover { background: var(--blue-soft); text-decoration: none; }

/* --- Pied de page --------------------------------------------------------- */
.site-footer {
  background: var(--ink); color: #c8d0da; margin-top: 3rem;
  font-size: .95rem;
}
.site-footer .container { padding-top: 2.2rem; padding-bottom: 2.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 .7em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .4em; }
.site-footer a { color: #c8d0da; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid #2c3745; margin-top: 1.6rem; padding-top: 1.2rem;
  font-size: .85rem; color: #8b95a3;
}

/* --- Responsive ----------------------------------------------------------- */
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust .container { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  h1, .hero h1 { font-size: 1.7rem; }
  h2 { font-size: 1.3rem; }
  .hero { padding: 2rem 0 1.6rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
  .trust .container { grid-template-columns: 1fr 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  /* Rab de hauteur mobile : les formulaires multi-champs s'allongent */
  .iframe-wrap iframe { min-height: 880px; }
}

/* --- Accessibilité -------------------------------------------------------- */
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
