/* =================================================================
   TOP8 Déménagement — Feuille de style unique
   Mobile-first · variables CSS · zéro dépendance · police système
   ================================================================= */

:root {
  /* Palette de marque TOP8 — turquoise (noms --blue-* conservés pour limiter les changements) */
  --blue-900:#08463f;   /* teal profond : footer, bandeau sombre, début dégradé héros */
  --blue-800:#0a6f62;   /* teal moyen */
  --blue:#0a8073;       /* turquoise profond lisible : liens, boutons secondaires */
  --blue-050:#e3f6f3;   /* teinte claire : fonds d'icônes, focus */
  --accent:#f57c1f;
  --accent-600:#dd6710;
  --ink:#16202e;
  --muted:#586577;
  --line:#e4e9f0;
  --bg:#ffffff;
  --bg-soft:#f4f7fb;
  --green:#149e63;
  --radius:14px;
  --radius-sm:9px;
  --maxw:1180px;
  --header-h:66px;
  --shadow:0 6px 24px rgba(16,32,54,.08);
  --shadow-lg:0 18px 50px rgba(16,32,54,.16);
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
}

/* ---------- Reset / base ---------- */
*,*::before,*::after{box-sizing:border-box;margin:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{font-family:var(--font);color:var(--ink);background:var(--bg);line-height:1.65;font-size:17px;-webkit-font-smoothing:antialiased;overflow-x:clip}
img{max-width:100%;height:auto;display:block}
a{color:var(--blue);text-decoration:none}
a:hover{text-decoration:underline}
h1,h2,h3,h4{line-height:1.2;color:var(--ink);font-weight:800;letter-spacing:-.01em}
h1{font-size:clamp(1.9rem,5vw,3rem)}
h2{font-size:clamp(1.5rem,3.5vw,2.2rem)}
h3{font-size:1.25rem}
p{margin:0 0 1rem}
ul{margin:0;padding:0;list-style:none}
:focus-visible{outline:3px solid var(--accent);outline-offset:2px;border-radius:4px}

.container{width:100%;max-width:var(--maxw);margin-inline:auto;padding-inline:20px}
.ico{width:1.15em;height:1.15em;vertical-align:-.18em;flex:none}
.skip-link{position:absolute;left:-9999px;top:0;background:var(--ink);color:#fff;padding:.7rem 1rem;z-index:200}
.skip-link:focus{left:8px;top:8px}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-weight:700;font-size:1rem;
  padding:.8rem 1.4rem;border-radius:999px;border:2px solid transparent;cursor:pointer;text-decoration:none;
  transition:transform .12s ease,background .15s ease,box-shadow .15s ease;line-height:1}
.btn:hover{text-decoration:none;transform:translateY(-1px)}
.btn-primary{background:var(--accent);color:#fff;box-shadow:0 8px 20px rgba(245,124,31,.35)}
.btn-primary:hover{background:var(--accent-600);color:#fff}
.btn-secondary{background:var(--blue);color:#fff}
.btn-secondary:hover{background:var(--blue-800);color:#fff}
.btn-ghost{background:transparent;border-color:var(--line);color:var(--ink)}
.btn-ghost:hover{border-color:var(--blue);color:var(--blue)}
.btn-lg{padding:1rem 1.8rem;font-size:1.08rem}
.btn-block{display:flex;width:100%}
.btn-white{background:#fff;color:var(--blue-800)}

/* ---------- Header / nav ---------- */
.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.97);
  border-bottom:1px solid var(--line)}
.site-header.is-scrolled{box-shadow:var(--shadow)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:var(--header-h)}
.brand{display:flex;align-items:center}
.brand-logo{height:38px;width:auto}
.nav-toggle{display:flex;flex-direction:column;justify-content:center;gap:5px;width:44px;height:44px;background:none;border:0;cursor:pointer;padding:8px}
.nav-toggle span{display:block;height:3px;border-radius:3px;background:var(--ink);transition:.25s}
body.nav-open .nav-toggle span:nth-child(1){transform:translateY(8px) rotate(45deg)}
body.nav-open .nav-toggle span:nth-child(2){opacity:0}
body.nav-open .nav-toggle span:nth-child(3){transform:translateY(-8px) rotate(-45deg)}

.primary-nav{position:fixed;inset:var(--header-h) 0 0 0;background:#fff;display:none;flex-direction:column;
  padding:1.2rem 20px 2rem;overflow-y:auto;gap:.4rem}
body.nav-open .primary-nav{display:flex}
body.nav-open{overflow:hidden}
.nav-list{display:flex;flex-direction:column;gap:.2rem}
.nav-list>li>a{display:block;padding:.7rem .2rem;font-weight:700;color:var(--ink);border-bottom:1px solid var(--line)}
.submenu{padding:.3rem 0 .6rem 1rem}
.submenu a{display:block;padding:.5rem .2rem;color:var(--muted);font-weight:600}
.nav-list a[aria-current="page"]{color:var(--blue)}
.nav-cta{display:flex;flex-direction:column;gap:.7rem;margin-top:1.2rem}

@media(min-width:960px){
  .nav-toggle{display:none}
  .primary-nav{position:static;transform:none;display:flex;flex-direction:row;align-items:center;justify-content:flex-end;
    padding:0;overflow:visible;background:none;gap:1.6rem;flex:1}
  .nav-list{flex-direction:row;align-items:center;gap:.3rem}
  .nav-list>li{position:relative}
  .nav-list>li>a{border-bottom:0;padding:.6rem .8rem;border-radius:8px}
  .nav-list>li>a:hover{background:var(--blue-050);text-decoration:none}
  .has-children>a::after{content:"";display:inline-block;width:.45em;height:.45em;margin-left:.4em;
    border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:translateY(-2px) rotate(45deg)}
  .submenu{position:absolute;top:calc(100% + 6px);left:0;min-width:250px;background:#fff;border:1px solid var(--line);
    border-radius:var(--radius-sm);box-shadow:var(--shadow-lg);padding:.5rem;opacity:0;visibility:hidden;
    transform:translateY(6px);transition:.18s}
  .has-children:hover .submenu,.has-children:focus-within .submenu{opacity:1;visibility:visible;transform:none}
  .submenu a{padding:.55rem .8rem;border-radius:7px;color:var(--ink)}
  .submenu a:hover{background:var(--bg-soft);text-decoration:none}
  .nav-cta{flex-direction:row;margin-top:0}
  .nav-cta .btn{padding:.6rem 1.1rem}
}

/* ---------- Sections ---------- */
.section{padding:clamp(3rem,7vw,5.5rem) 0}
.section-soft{background:var(--bg-soft)}
.section-dark{background:var(--blue-900);color:#fff}
.section-dark h2,.section-dark h3{color:#fff}
.section-head{max-width:720px;margin:0 auto 2.5rem;text-align:center}
.section-head p{color:var(--muted);font-size:1.1rem}
.section-dark .section-head p{color:#c7d6e8}
.eyebrow{display:inline-block;font-weight:800;letter-spacing:.08em;text-transform:uppercase;font-size:.78rem;
  color:var(--accent);margin-bottom:.7rem}

/* ---------- Hero ---------- */
.hero{background:linear-gradient(155deg,var(--blue-900),var(--blue-800) 52%,#12b6a0);color:#fff;position:relative;overflow:hidden}
.hero::after{content:"";position:absolute;right:-120px;top:-120px;width:420px;height:420px;border-radius:50%;
  background:radial-gradient(circle,rgba(255,255,255,.16),transparent 70%)}
.hero-inner{display:grid;gap:2.5rem;padding:clamp(2.5rem,6vw,4.5rem) 0;position:relative;z-index:1}
.hero h1{color:#fff}
.hero p.lead{font-size:1.2rem;color:#dbe7f5;max-width:560px}
.hero-cta{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:1.6rem}
.hero-trust{display:flex;flex-wrap:wrap;gap:1.4rem;margin-top:2rem;color:#cfe0f2;font-weight:600;font-size:.95rem}
.hero-trust span{display:flex;align-items:center;gap:.45rem}
.hero-trust .stars{color:#ffc24a}
@media(min-width:900px){.hero-inner{grid-template-columns:1.1fr .9fr;align-items:center}}

/* Quick form card inside hero */
.quote-card{background:#fff;color:var(--ink);border-radius:18px;box-shadow:var(--shadow-lg);padding:1.6rem}
.quote-card h2{font-size:1.3rem}
.quote-card .small{font-size:.9rem;color:var(--muted)}

/* ---------- Cards / services ---------- */
.cards{display:grid;gap:1.3rem;grid-template-columns:1fr}
@media(min-width:640px){.cards{grid-template-columns:repeat(2,1fr)}}
@media(min-width:980px){.cards.cols-3{grid-template-columns:repeat(3,1fr)}}
.card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem;box-shadow:var(--shadow);
  transition:transform .15s,box-shadow .15s;display:flex;flex-direction:column}
.card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg)}
.card h3{margin-bottom:.5rem}
.card p{color:var(--muted);margin-bottom:1rem}
.card .card-link{margin-top:auto;font-weight:700}
.icon-badge{width:52px;height:52px;border-radius:13px;display:flex;align-items:center;justify-content:center;
  background:var(--blue-050);color:var(--blue);margin-bottom:1rem}
.icon-badge svg{width:26px;height:26px}

/* ---------- Steps ---------- */
.steps{display:grid;gap:1.3rem;counter-reset:step;grid-template-columns:1fr}
@media(min-width:760px){.steps{grid-template-columns:repeat(3,1fr)}}
.step{position:relative;padding:1.5rem;background:#fff;border:1px solid var(--line);border-radius:var(--radius)}
.step::before{counter-increment:step;content:counter(step);display:flex;align-items:center;justify-content:center;
  width:40px;height:40px;border-radius:50%;background:var(--accent);color:#fff;font-weight:800;margin-bottom:.8rem}

/* ---------- Stats ---------- */
.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;text-align:center}
@media(min-width:760px){.stats{grid-template-columns:repeat(4,1fr)}}
.stat .num{font-size:clamp(2rem,5vw,2.8rem);font-weight:800;color:var(--accent)}
.stat .lbl{color:#cfe0f2;font-weight:600}

/* ---------- Checklist ---------- */
.checklist{display:grid;gap:.7rem}
.checklist li{position:relative;padding-left:2rem;color:var(--ink)}
.checklist li::before{content:"";position:absolute;left:0;top:.35em;width:1.25rem;height:1.25rem;border-radius:50%;
  background:var(--green);
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/76% no-repeat;
  mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='white' d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center/76% no-repeat}

/* ---------- Testimonials ---------- */
.testimonials{display:grid;gap:1.3rem;grid-template-columns:1fr}
@media(min-width:760px){.testimonials{grid-template-columns:repeat(3,1fr)}}
.testimonial{background:#fff;border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem;box-shadow:var(--shadow)}
.testimonial .stars{color:#f5a623;margin-bottom:.6rem}
.testimonial blockquote{margin:0 0 1rem;font-style:italic;color:var(--ink)}
.testimonial cite{font-style:normal;font-weight:700;color:var(--muted)}

/* ---------- Two-column feature ---------- */
.split{display:grid;gap:2rem;align-items:center}
@media(min-width:880px){.split{grid-template-columns:1fr 1fr}.split.reverse>*:first-child{order:2}}
.media-box{background:linear-gradient(160deg,var(--blue-050),#fff);border:1px solid var(--line);border-radius:var(--radius);
  min-height:300px;display:flex;align-items:center;justify-content:center;color:var(--blue);overflow:hidden}
.media-box img{width:100%;height:100%;object-fit:cover}
.media-box .icon-badge{width:120px;height:120px;border-radius:30px;background:#fff;box-shadow:var(--shadow);margin:0}
.media-box .icon-badge svg{width:56px;height:56px}

/* ---------- Zones grid ---------- */
.zones-grid{display:grid;gap:.8rem;grid-template-columns:repeat(2,minmax(0,1fr))}
@media(min-width:760px){.zones-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
.zone-link{display:flex;align-items:center;gap:.6rem;padding:1rem 1.2rem;background:#fff;border:1px solid var(--line);
  border-radius:var(--radius-sm);font-weight:700;color:var(--ink)}
.zone-link:hover{border-color:var(--blue);color:var(--blue);text-decoration:none}

/* ---------- FAQ ---------- */
.faq{max-width:820px;margin-inline:auto;display:grid;gap:.7rem}
.faq-item{background:#fff;border:1px solid var(--line);border-radius:var(--radius-sm);overflow:hidden}
.faq-item summary{cursor:pointer;font-weight:700;padding:1.1rem 1.3rem;list-style:none;display:flex;justify-content:space-between;gap:1rem}
.faq-item summary::-webkit-details-marker{display:none}
.faq-item summary::after{content:"+";font-size:1.5rem;color:var(--accent);line-height:1}
.faq-item[open] summary::after{content:"–"}
.faq-answer{padding:0 1.3rem 1.2rem;color:var(--muted)}

/* ---------- CTA band ---------- */
.cta-band{background:linear-gradient(120deg,var(--accent),var(--accent-600));color:#fff;text-align:center}
.cta-band h2{color:#fff}
.cta-band p{color:#fff6ee;max-width:600px;margin-inline:auto}

/* ---------- Breadcrumb ---------- */
.breadcrumb{font-size:.9rem;color:var(--muted);padding:1rem 0 0}
.breadcrumb ol{display:flex;flex-wrap:wrap;gap:.4rem}
.breadcrumb li:not(:last-child)::after{content:"›";margin-left:.4rem;color:var(--line)}

/* ---------- Prose (articles) ---------- */
.prose{max-width:760px;margin-inline:auto}
.prose h2{margin:2.2rem 0 .8rem}
.prose h3{margin:1.6rem 0 .6rem}
.prose ul{list-style:disc;padding-left:1.3rem;margin-bottom:1rem}
.prose ol{list-style:decimal;padding-left:1.3rem;margin-bottom:1rem}
.prose li{margin-bottom:.4rem}
.prose blockquote{border-left:4px solid var(--accent);padding:.6rem 1.2rem;background:var(--bg-soft);
  border-radius:0 var(--radius-sm) var(--radius-sm) 0;color:var(--ink);margin:1.4rem 0}
.prose .table-wrap{overflow-x:auto;margin:1.4rem 0}
.prose table{width:100%;border-collapse:collapse;font-size:.97rem;min-width:480px}
.prose th,.prose td{padding:.7rem .9rem;border:1px solid var(--line);text-align:left}
.prose thead th{background:var(--blue-050);color:var(--blue-800)}
.prose tbody tr:nth-child(even){background:var(--bg-soft)}
.article-meta{color:var(--muted);font-size:.92rem;margin-bottom:1.5rem}
.article-cta{background:var(--bg-soft);border:1px solid var(--line);border-radius:var(--radius);padding:1.6rem;margin:2rem 0;text-align:center}

/* ---------- Forms ---------- */
.form{display:grid;gap:1.1rem}
.form-row{display:grid;gap:1.1rem}
@media(min-width:620px){.form-row.two{grid-template-columns:1fr 1fr}}
.field{display:flex;flex-direction:column;gap:.4rem}
.field label{font-weight:700;font-size:.95rem}
.field .req{color:var(--accent)}
.field input,.field select,.field textarea{font:inherit;padding:.8rem 1rem;border:1.5px solid var(--line);
  border-radius:var(--radius-sm);background:#fff;color:var(--ink);width:100%}
.field input:focus,.field select:focus,.field textarea:focus{border-color:var(--blue);outline:none;box-shadow:0 0 0 3px var(--blue-050)}
.field textarea{min-height:130px;resize:vertical}
.field input:user-invalid,.field textarea:user-invalid{border-color:#d33}
.form-hp{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
.form-note{font-size:.85rem;color:var(--muted)}
.form-consent{display:flex;gap:.6rem;align-items:flex-start;font-size:.9rem;color:var(--muted)}
.form-consent input{width:auto;margin-top:.25rem}
.alert{padding:1rem 1.2rem;border-radius:var(--radius-sm);margin-bottom:1.2rem}
.alert-success{background:#e7f7ef;border:1px solid #b6e6cd;color:#0c6b43}
.alert-error{background:#fdeaea;border:1px solid #f4c3c3;color:#a02525}

/* ---------- Misc ---------- */
.lead{font-size:1.15rem;color:var(--muted)}
.text-center{text-align:center}
.mt-2{margin-top:1.2rem}.mt-3{margin-top:2rem}
.badge{display:inline-block;background:var(--blue-050);color:var(--blue);font-weight:700;font-size:.8rem;
  padding:.3rem .7rem;border-radius:999px}
.grid-2{display:grid;gap:2rem}
@media(min-width:880px){.grid-2{grid-template-columns:1fr 1fr}}

/* ---------- Footer ---------- */
.site-footer{background:var(--blue-900);color:#c7d6e8;margin-top:0}
.footer-grid{display:grid;gap:2rem;padding:3.5rem 0 2.5rem;grid-template-columns:1fr}
@media(min-width:640px){.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(min-width:980px){.footer-grid{grid-template-columns:1.6fr 1fr 1fr 1.2fr}}
.footer-logo{margin-bottom:1rem;background:#fff;padding:9px 13px;border-radius:12px;display:inline-block}
.footer-col h2{font-size:1rem;color:#fff;margin-bottom:1rem;text-transform:uppercase;letter-spacing:.05em}
.footer-col a{color:#c7d6e8}
.footer-col a:hover{color:#fff}
.footer-col li{margin-bottom:.55rem}
.footer-about p{color:#9fb6cf}
.footer-rating .stars{color:#ffc24a}
.footer-rating strong{color:#fff}
address{font-style:normal;line-height:1.9}
.footer-col .btn{margin-top:1rem}
.footer-bottom{border-top:1px solid rgba(255,255,255,.12);padding:1.2rem 0}
.footer-bottom-inner{display:flex;flex-wrap:wrap;gap:1rem;justify-content:space-between;align-items:center;font-size:.9rem}
.legal-links{display:flex;flex-wrap:wrap;gap:1.2rem}

@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
