/* ==========================================================================
   LMC CONSEIL - Cabinet d'expertise comptable - Feuille de style principale
   ========================================================================== */

:root {
  --navy: #0b2545;
  --navy-dark: #071a33;
  --navy-light: #13396b;
  --gold: #c8a24a;
  --gold-dark: #a8862f;
  --gold-light: #f3e7c4;
  --ink: #1f2937;
  --muted: #5b6573;
  --line: #e3e8ef;
  --bg: #ffffff;
  --bg-soft: #f5f7fa;
  --bg-tint: #eef3f9;
  --white: #ffffff;
  --success: #1d7a4a;
  --error: #b42318;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 10px 30px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 24px 60px rgba(11, 37, 69, 0.14);
  --container: 1180px;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --font-head: "Playfair Display", Georgia, "Times New Roman", serif;
}

/* ---------- Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: var(--navy-light); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--gold-dark); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy); line-height: 1.2; margin: 0 0 .6em; font-weight: 600; }
h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.container { width: min(100% - 2.5rem, var(--container)); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 0; background: var(--gold); color: var(--navy); padding: .6rem 1rem; z-index: 1000; }
.skip-link:focus { left: 1rem; top: 1rem; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55rem;
  padding: .85rem 1.6rem; border-radius: 999px; font-weight: 600; font-size: .98rem;
  border: 2px solid transparent; cursor: pointer; transition: all .22s ease; line-height: 1.2;
  font-family: var(--font-body);
}
.btn-primary { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); color: var(--white); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(200,162,74,.35); }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-light:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--navy); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.55); }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: var(--white); border-color: var(--white); }
.btn svg { width: 18px; height: 18px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.94); backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 6px 24px rgba(11,37,69,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; position: relative; }
.brand { display: inline-flex; align-items: center; gap: .75rem; color: var(--navy); }
.brand img { height: 46px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-family: var(--font-head); font-weight: 700; font-size: 1.25rem; letter-spacing: .04em; }
.brand-tag { font-size: .68rem; text-transform: uppercase; letter-spacing: .16em; color: var(--gold-dark); font-weight: 600; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: .25rem; }
.main-nav a { display: block; padding: .55rem .9rem; border-radius: 999px; color: var(--navy); font-weight: 500; font-size: .95rem; }
.main-nav a:hover, .main-nav a[aria-current="page"] { background: var(--bg-tint); color: var(--navy); }
.main-nav .nav-cta { margin-left: .5rem; }
.main-nav .nav-cta a { background: var(--navy); color: var(--white); padding: .6rem 1.2rem; }
.main-nav .nav-cta a:hover { background: var(--gold); color: var(--navy); }
.nav-toggle {
  display: none; background: none; border: 2px solid var(--navy); border-radius: 10px;
  width: 46px; height: 42px; cursor: pointer; padding: 0; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: var(--navy); border-radius: 2px;
  position: absolute; left: 50%; transform: translateX(-50%); transition: all .25s ease;
}
.nav-toggle span { top: 50%; margin-top: -1px; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { top: 0; transform: translateX(-50%) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { top: 0; transform: translateX(-50%) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 55%, var(--navy-light) 100%);
  color: var(--white);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: url("../images/pattern-grid.svg") center/560px repeat; opacity: .35; pointer-events: none;
}
.hero-inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: center; padding: 5rem 0 4.5rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .8rem; letter-spacing: .18em; text-transform: uppercase; font-weight: 600; color: var(--gold); margin-bottom: 1.2rem; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: var(--gold); }
.hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero .lead { font-size: 1.15rem; color: rgba(255,255,255,.85); max-width: 560px; margin-bottom: 2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-bottom: 2.5rem; }
.hero-figure { position: relative; }
.hero-figure img { width: 100%; filter: drop-shadow(0 30px 40px rgba(0,0,0,.35)); }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.5rem 2rem; padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,.18); }
.stat strong { display: block; font-family: var(--font-head); font-size: 1.6rem; color: var(--gold); line-height: 1.1; white-space: nowrap; }
.stat span { font-size: .82rem; color: rgba(255,255,255,.75); display: block; max-width: 170px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-light));
  color: var(--white); padding: 3.8rem 0 3.2rem; position: relative; overflow: hidden;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: url("../images/pattern-grid.svg") center/560px repeat; opacity: .3; }
.page-hero .container { position: relative; }
.page-hero h1 { color: var(--white); margin-bottom: .6rem; }
.page-hero p { color: rgba(255,255,255,.82); max-width: 680px; font-size: 1.08rem; margin: 0; }
.breadcrumb { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0 0 1.2rem; font-size: .85rem; color: rgba(255,255,255,.7); }
.breadcrumb a { color: var(--gold); }
.breadcrumb li + li::before { content: "\203A"; margin-right: .4rem; }

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section-soft { background: var(--bg-soft); }
.section-tint { background: var(--bg-tint); }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .eyebrow { justify-content: center; }
.section-head .eyebrow { color: var(--gold-dark); }
.section-head .eyebrow::before { background: var(--gold-dark); }
.section-head p { color: var(--muted); font-size: 1.05rem; }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--line); }
.trust-inner { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; padding: 1.4rem 0; }
.trust-item { display: flex; align-items: center; gap: .8rem; font-size: .92rem; color: var(--navy); font-weight: 500; }
.trust-item img { width: 36px; height: 36px; flex-shrink: 0; }

/* ---------- Cards ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6rem; }
.card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 2rem 1.8rem; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.card-icon { width: 64px; height: 64px; border-radius: 16px; background: var(--bg-tint); display: grid; place-items: center; margin-bottom: 1.3rem; }
.card-icon img { width: 40px; height: 40px; }
.card h3 { margin-bottom: .6rem; }
.card p { color: var(--muted); margin-bottom: 1rem; }
.card .link-more { font-weight: 600; display: inline-flex; align-items: center; gap: .4rem; color: var(--navy); }
.card .link-more::after { content: "\2192"; transition: transform .2s ease; }
.card:hover .link-more::after { transform: translateX(4px); }

/* ---------- About split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-figure { position: relative; }
.split-figure img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.split-figure .badge {
  position: absolute; right: -14px; bottom: -14px; background: var(--gold); color: var(--navy);
  padding: 1rem 1.3rem; border-radius: var(--radius-sm); font-family: var(--font-head); font-weight: 700; line-height: 1.1;
  box-shadow: var(--shadow);
}
.split-figure .badge small { display: block; font-family: var(--font-body); font-weight: 500; font-size: .8rem; margin-top: .2rem; }
.checklist { list-style: none; padding: 0; margin: 1.5rem 0 2rem; display: grid; gap: .8rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; }
.checklist li::before {
  content: "\2713"; flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; background: var(--gold-light); color: var(--gold-dark);
  display: grid; place-items: center; font-weight: 700; font-size: .85rem; margin-top: .1rem;
}

/* ---------- Steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
.step { position: relative; background: var(--white); border-radius: var(--radius); padding: 2rem 1.6rem 1.8rem; border: 1px solid var(--line); }
.step::before {
  counter-increment: step; content: "0" counter(step);
  font-family: var(--font-head); font-size: 2.6rem; color: var(--gold); line-height: 1; display: block; margin-bottom: .8rem; opacity: .9;
}
.step h3 { font-size: 1.15rem; }
.step p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Sectors ---------- */
.sectors { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1rem; }
.sector { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.3rem .8rem; text-align: center; font-size: .9rem; font-weight: 500; color: var(--navy); transition: all .2s ease; }
.sector img { width: 42px; height: 42px; margin: 0 auto .7rem; }
.sector:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-3px); }

/* ---------- Testimonials ---------- */
.testimonials { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6rem; }
.testimonial { background: var(--white); border-radius: var(--radius); padding: 2rem; border: 1px solid var(--line); position: relative; }
.testimonial::before { content: "\201C"; font-family: var(--font-head); font-size: 4.5rem; color: var(--gold); position: absolute; top: .3rem; left: 1.3rem; line-height: 1; opacity: .5; }
.testimonial p { color: var(--ink); font-style: italic; margin: 1.6rem 0 1.2rem; }
.testimonial cite { font-style: normal; font-weight: 600; color: var(--navy); font-size: .92rem; display: block; }
.testimonial cite span { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
.stars { color: var(--gold); letter-spacing: .1em; font-size: .9rem; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: var(--white); position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: url("../images/pattern-grid.svg") center/560px repeat; opacity: .25; }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 3.5rem 0; }
.cta-band h2 { color: var(--white); margin-bottom: .4rem; }
.cta-band p { color: rgba(255,255,255,.8); margin: 0; max-width: 560px; }
.cta-actions { display: flex; gap: .9rem; flex-wrap: wrap; flex-shrink: 0; }

/* ---------- Services page ---------- */
.service-block { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; padding: 3.5rem 0; border-bottom: 1px solid var(--line); scroll-margin-top: 100px; }
.service-block:last-child { border-bottom: 0; }
.service-block.reverse .service-figure { order: 2; }
.service-figure img { border-radius: var(--radius); box-shadow: var(--shadow); }
.service-text h2 { margin-bottom: .8rem; }
.service-text p { color: var(--muted); }
.service-text .checklist { margin: 1.2rem 0 1.6rem; }
.service-nav { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: -1.6rem; margin-bottom: .5rem; position: relative; z-index: 2; }
.service-nav a { background: var(--white); border: 1px solid var(--line); padding: .55rem 1.1rem; border-radius: 999px; font-size: .88rem; font-weight: 500; color: var(--navy); box-shadow: var(--shadow); }
.service-nav a:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.pricing-note { background: var(--gold-light); border-left: 4px solid var(--gold); padding: 1.3rem 1.5rem; border-radius: var(--radius-sm); color: var(--navy); }
.pricing-note strong { display: block; margin-bottom: .3rem; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; max-width: 820px; margin: 0 auto; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 0; overflow: hidden; }
.faq summary { cursor: pointer; padding: 1.1rem 1.4rem; font-weight: 600; color: var(--navy); list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--gold-dark); flex-shrink: 0; transition: transform .2s ease; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 1.4rem 1.2rem; margin: 0; color: var(--muted); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: start; }
.contact-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.2rem; box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.form-field { display: flex; flex-direction: column; gap: .4rem; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: .9rem; color: var(--navy); }
.form-field label .req { color: var(--error); }
.form-field input, .form-field select, .form-field textarea {
  font: inherit; padding: .8rem .95rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: var(--bg-soft); color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--navy-light); background: var(--white); box-shadow: 0 0 0 4px rgba(19,57,107,.12); }
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field.is-invalid input, .form-field.is-invalid select, .form-field.is-invalid textarea { border-color: var(--error); }
.form-error { font-size: .8rem; color: var(--error); min-height: 1em; }
.form-consent { display: flex; gap: .7rem; align-items: flex-start; font-size: .86rem; color: var(--muted); }
.form-consent input { margin-top: .25rem; width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--navy); }
.form-status { margin-top: 1rem; padding: .9rem 1.1rem; border-radius: var(--radius-sm); font-size: .92rem; display: none; }
.form-status.success { display: block; background: #e6f4ec; color: var(--success); border: 1px solid #b7e0c7; }
.form-status.error { display: block; background: #fdecea; color: var(--error); border: 1px solid #f5c2bd; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; width: 0; }
.info-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.2rem; }
.info-list li { display: flex; gap: 1rem; align-items: flex-start; }
.info-list .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-tint); display: grid; place-items: center; flex-shrink: 0; }
.info-list .ico img { width: 24px; height: 24px; }
.info-list strong { display: block; color: var(--navy); font-size: .95rem; }
.info-list span, .info-list a { color: var(--muted); font-size: .95rem; }
.info-list a:hover { color: var(--gold-dark); }
.hours { width: 100%; border-collapse: collapse; margin-top: .6rem; font-size: .95rem; }
.hours th, .hours td { text-align: left; padding: .6rem 0; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 600; color: var(--navy); width: 40%; }
.hours td { color: var(--muted); }
.hours tr.closed td { color: var(--error); }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); background: var(--bg-soft); }
.map-wrap iframe { width: 100%; height: 420px; border: 0; display: block; }
.map-caption { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; padding: 1rem 1.4rem; background: var(--white); border-top: 1px solid var(--line); font-size: .92rem; }
.access { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; margin-top: 1.5rem; }
.access div { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.2rem 1.3rem; font-size: .92rem; }
.access strong { display: block; color: var(--navy); margin-bottom: .3rem; }

/* ---------- Legal pages ---------- */
.legal { max-width: 860px; margin: 0 auto; }
.legal h2 { font-size: 1.45rem; margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid var(--line); }
.legal h2:first-of-type { margin-top: 0; padding-top: 0; border-top: 0; }
.legal h3 { font-size: 1.1rem; margin-top: 1.6rem; }
.legal p, .legal li { color: var(--ink); }
.legal .meta { color: var(--muted); font-size: .9rem; margin-bottom: 2rem; }
.legal dl { display: grid; grid-template-columns: 220px 1fr; gap: .5rem 1.2rem; margin: 1rem 0; }
.legal dt { font-weight: 600; color: var(--navy); }
.legal dd { margin: 0; }
.legal table { width: 100%; border-collapse: collapse; font-size: .93rem; margin: 1rem 0 1.5rem; }
.legal th, .legal td { text-align: left; padding: .7rem .8rem; border: 1px solid var(--line); vertical-align: top; }
.legal th { background: var(--bg-tint); color: var(--navy); }
.table-scroll { overflow-x: auto; }
.legal .notice { background: var(--bg-tint); border-left: 4px solid var(--navy-light); padding: 1rem 1.3rem; border-radius: var(--radius-sm); font-size: .95rem; }
.legal-toc { background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.4rem 1.6rem; margin-bottom: 2.5rem; }
.legal-toc strong { color: var(--navy); display: block; margin-bottom: .6rem; }
.legal-toc ol { margin: 0; padding-left: 1.2em; columns: 2; column-gap: 2rem; font-size: .93rem; }
.legal-toc li { margin-bottom: .3rem; break-inside: avoid; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,.8); padding: 4rem 0 0; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; }
.footer-brand img { height: 50px; width: auto; margin-bottom: 1rem; }
.footer-brand p { color: rgba(255,255,255,.7); max-width: 320px; }
.site-footer h4 { color: var(--white); font-family: var(--font-body); font-size: .85rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: var(--gold); }
.footer-contact li { display: flex; gap: .6rem; align-items: flex-start; }
.footer-contact img { width: 18px; height: 18px; margin-top: .25rem; opacity: .8; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 1.3rem 0; display: flex; flex-wrap: wrap; gap: .8rem 2rem; justify-content: space-between; align-items: center; font-size: .84rem; color: rgba(255,255,255,.6); }
.footer-bottom ul { display: flex; flex-wrap: wrap; gap: 1.2rem; }
.footer-ordre { display: inline-flex; align-items: center; gap: .8rem; margin-top: 1.2rem; padding: .7rem 1rem; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-sm); font-size: .8rem; line-height: 1.4; color: rgba(255,255,255,.8); }
.footer-ordre img { width: 32px; height: 32px; flex-shrink: 0; }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed; right: 1.2rem; bottom: 1.2rem; width: 46px; height: 46px; border-radius: 50%;
  background: var(--gold); color: var(--navy); border: 0; cursor: pointer; box-shadow: var(--shadow-lg);
  display: grid; place-items: center; opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .25s ease; z-index: 90;
}
.back-top.show { opacity: 1; visibility: visible; transform: none; }
.back-top svg { width: 20px; height: 20px; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1080px) {
  .grid-3, .testimonials { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .sectors { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-inner { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 100%; left: 0; right: 0; background: var(--white);
    border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(11,37,69,.12);
    max-height: 0; overflow: hidden; transition: max-height .3s ease;
  }
  .main-nav.open { max-height: 480px; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: .8rem 1.25rem 1.2rem; gap: .2rem; }
  .main-nav a { padding: .8rem 1rem; border-radius: var(--radius-sm); }
  .main-nav .nav-cta { margin: .5rem 0 0; }
  .main-nav .nav-cta a { text-align: center; }
  .hero-inner { grid-template-columns: 1fr; padding: 3.5rem 0 3rem; gap: 2.5rem; }
  .hero-figure { max-width: 520px; margin: 0 auto; }
  .split, .service-block, .contact-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .service-block.reverse .service-figure { order: 0; }
  .split-figure { max-width: 560px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .legal dl { grid-template-columns: 1fr; gap: .15rem .8rem; }
  .legal dd { margin-bottom: .6rem; }
  .access { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .section { padding: 3.5rem 0; }
  .grid-3, .grid-2, .testimonials, .steps { grid-template-columns: 1fr; }
  .sectors { grid-template-columns: repeat(2, 1fr); }
  .trust-inner { grid-template-columns: 1fr; gap: .8rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-grid { grid-template-columns: 1fr; }
  .brand-tag { display: none; }
  .brand img { height: 40px; }
  .hero-stats { gap: 1.4rem; }
  .stat strong { font-size: 1.6rem; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; justify-content: center; }
  .split-figure .badge { right: 8px; bottom: -14px; padding: .8rem 1rem; }
  .map-wrap iframe { height: 320px; }
  .hours { font-size: .86rem; }
  .hours th { width: 34%; padding-right: .5rem; }
  .hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
  .legal-toc ol { columns: 1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .card { padding: 1.6rem 1.4rem; }
}
