/* ZP Transport - Design system (bleu nuit / blanc / accent orange) */

:root {
  --navy: #0e2747;
  --navy-deep: #081a30;
  --navy-soft: #16385f;
  --steel: #51698a;
  --accent: #f2711c;
  --accent-dark: #d55f0f;
  --ink: #0b1c30;
  --muted: #5b6b80;
  --bg: #ffffff;
  --bg-soft: #f3f7fc;
  --bg-band: #eef4fb;
  --border: #dbe6f1;
  --ok: #1f9d63;
  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 10px 30px -12px rgba(8, 26, 48, 0.28);
  --shadow-sm: 0 4px 14px -8px rgba(8, 26, 48, 0.3);
  --maxw: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}

img { max-width: 100%; height: auto; display: block; }

/* Taille par défaut des icônes SVG inline (les composants avec .ico, .big-ico, etc. la surchargent) */
svg { width: 1.15em; height: 1.15em; flex: 0 0 auto; vertical-align: middle; }

a { color: var(--navy-soft); text-decoration: none; }
a:hover { color: var(--accent); }

/* Liens contextuels dans le texte (maillage interne) */
.prose a, .section-head p a, p.center a { color: var(--navy-soft); text-decoration: underline; text-underline-offset: 2px; text-decoration-thickness: 1px; font-weight: 600; }
.prose a:hover, .section-head p a:hover, p.center a:hover { color: var(--accent); }
.band-navy a, .band-navy .prose a, .band-navy p a { color: #ffd8bd; }
.band-navy a:hover { color: #fff; }

h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; font-weight: 800; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(1.9rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.22rem; }
p { margin: 0 0 1rem; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .85rem 1.5rem; border-radius: 999px;
  font-weight: 700; font-size: 1rem; cursor: pointer;
  border: 2px solid transparent; transition: transform .12s ease, background .2s ease, box-shadow .2s ease;
  text-align: center;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 22px -10px rgba(242, 113, 28, .8); }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-soft); color: #fff; }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .95);
  backdrop-filter: saturate(180%) blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: 74px; }
.brand { display: flex; align-items: center; gap: .65rem; font-weight: 800; color: var(--navy); font-size: 1.28rem; letter-spacing: -0.02em; }
.brand:hover { color: var(--navy); }
.brand .mark {
  width: 40px; height: 40px; border-radius: 11px; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-soft) 100%);
  display: grid; place-items: center; color: #fff;
}
.brand .mark svg { width: 24px; height: 24px; }
.brand small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: .02em; }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav a { color: var(--ink); font-weight: 600; font-size: .95rem; padding: .5rem .7rem; border-radius: 8px; }
.nav a:hover { background: var(--bg-soft); color: var(--navy); }
.nav .has-drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 240px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  box-shadow: var(--shadow); padding: .5rem; display: none; flex-direction: column;
}
.nav .has-drop:hover .drop, .nav .has-drop:focus-within .drop { display: flex; }
.drop a { font-size: .92rem; padding: .5rem .7rem; }
.header-cta { display: flex; align-items: center; gap: .6rem; }
.header-tel { font-weight: 800; color: var(--navy); white-space: nowrap; display: inline-flex; align-items: center; gap: .4rem; }
.header-tel:hover { color: var(--accent); }

.burger { display: none; background: none; border: 0; cursor: pointer; padding: .4rem; }
.burger span { display: block; width: 26px; height: 2.5px; background: var(--navy); margin: 5px 0; border-radius: 2px; transition: .2s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: #fff; overflow: hidden;
  background:
    radial-gradient(1200px 500px at 85% -10%, rgba(242, 113, 28, .28), transparent 60%),
    linear-gradient(150deg, var(--navy-deep) 0%, var(--navy) 55%, var(--navy-soft) 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; opacity: .5; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60' viewBox='0 0 60 60'%3E%3Cpath d='M0 59h60M0 30h60M0 1h60' stroke='%23ffffff' stroke-opacity='0.04' stroke-width='1'/%3E%3C/svg%3E");
}
.hero-inner { position: relative; z-index: 1; padding: clamp(2.4rem, 4.5vw, 3.6rem) 0 clamp(2.2rem, 4vw, 3rem); max-width: 780px; }
.hero.compact .hero-inner { padding: clamp(1.6rem, 3vw, 2.4rem) 0 clamp(1.5rem, 2.6vw, 2rem); max-width: 840px; }
.hero.compact h1 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); }
.hero.compact .lead { font-size: clamp(1rem, 1.8vw, 1.15rem); margin-bottom: 1.3rem; }
.hero h1 { color: #fff; margin-bottom: .6rem; }
.hero .lead { font-size: clamp(1.05rem, 2.2vw, 1.32rem); color: #d6e2f2; margin-bottom: 1.8rem; }
.hero .eyebrow { display: inline-flex; align-items: center; gap: .5rem; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .18); color: #fff; padding: .4rem .9rem; border-radius: 999px; font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; margin-bottom: 1.2rem; }
.hero .eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 1.3rem; margin-top: 2.2rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: .5rem; color: #cfe0f2; font-size: .95rem; font-weight: 600; }
.hero-badges svg { width: 20px; height: 20px; color: var(--accent); flex: 0 0 auto; }

/* ---------- Sections ---------- */
section { padding: clamp(2.8rem, 6vw, 4.6rem) 0; }
.band { background: var(--bg-soft); }
.band-navy { background: var(--navy); color: #fff; }
.band-navy h2, .band-navy h3 { color: #fff; }
.section-head { max-width: 720px; margin-bottom: 2.2rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head .kicker { color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: .08em; font-size: .82rem; margin-bottom: .5rem; }
.section-head p { color: var(--muted); font-size: 1.08rem; }
.band-navy .section-head p { color: #c3d3e6; }

/* ---------- Grid & cards ---------- */
.grid { display: grid; gap: 1.2rem; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow-sm); height: 100%;
}
.card h3 { margin-bottom: .5rem; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .ico { width: 46px; height: 46px; border-radius: 12px; background: var(--bg-band); color: var(--navy); display: grid; place-items: center; margin-bottom: 1rem; }
.card .ico svg { width: 24px; height: 24px; }
a.card { display: block; transition: transform .14s ease, box-shadow .2s ease, border-color .2s ease; }
a.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: #bcd2ea; }
a.card .more { margin-top: 1rem; color: var(--accent); font-weight: 700; font-size: .92rem; display: inline-flex; gap: .3rem; align-items: center; white-space: nowrap; }

.card-accent { border-top: 3px solid var(--accent); }

/* service list check */
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .7rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist li svg { width: 22px; height: 22px; color: var(--ok); flex: 0 0 auto; margin-top: 2px; }
.band-navy .checklist li svg { color: var(--accent); }

/* stat row */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; text-align: center; }
.stats .stat { padding: 1rem; }
.stats .num { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; color: #fff; letter-spacing: -.02em; }
.stats .lbl { color: #bcd0e6; font-size: .95rem; font-weight: 600; }

/* ---------- Split / feature ---------- */
.split { display: grid; grid-template-columns: 1.05fr .95fr; gap: 2.6rem; align-items: center; }
.prose h2 { margin-bottom: .8rem; }
.prose p { color: var(--muted); }
.media-card {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-soft) 100%);
  color: #fff; padding: 2rem; min-height: 300px; display: flex; flex-direction: column; justify-content: space-between;
}
.media-card .big-ico { width: 70px; height: 70px; border-radius: 18px; background: rgba(255, 255, 255, .1); display: grid; place-items: center; }
.media-card .big-ico svg { width: 38px; height: 38px; color: var(--accent); }
.media-card ul { list-style: none; padding: 0; margin: 1.2rem 0 0; display: grid; gap: .6rem; }
.media-card li { display: flex; gap: .6rem; align-items: center; color: #dbe6f4; }
.media-card li svg { width: 20px; height: 20px; color: var(--accent); }

.photo-placeholder {
  border-radius: var(--radius); border: 2px dashed var(--border); background: var(--bg-soft);
  min-height: 280px; display: grid; place-items: center; color: var(--muted); text-align: center; padding: 1.5rem;
}
.photo-placeholder svg { width: 46px; height: 46px; color: #9fb4cc; margin-bottom: .6rem; }

/* ---------- Breadcrumb ---------- */
.breadcrumb { padding: 1rem 0 0; }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: .4rem; padding: 0; margin: 0; font-size: .88rem; color: var(--muted); }
.breadcrumb li::after { content: "›"; margin-left: .4rem; color: #a9bad0; }
.breadcrumb li:last-child::after { content: ""; }
.breadcrumb a { color: var(--steel); }

/* ---------- Zones (villes grid) ---------- */
.villes-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .7rem; }
.ville-link {
  display: flex; align-items: center; justify-content: space-between; gap: .5rem;
  padding: .85rem 1rem; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-weight: 600; color: var(--ink); transition: .15s;
}
.ville-link:hover { border-color: var(--accent); color: var(--navy); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.ville-link .km { font-size: .78rem; color: var(--muted); font-weight: 600; }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: .8rem; max-width: 820px; }
.faq details { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0 1.2rem; }
.faq summary { cursor: pointer; font-weight: 700; color: var(--navy); padding: 1.1rem 0; 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.5rem; color: var(--accent); font-weight: 400; transition: .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details[open] summary { border-bottom: 1px solid var(--border); }
.faq .answer { padding: 1rem 0 1.2rem; color: var(--muted); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy-deep), var(--navy-soft)); color: #fff; border-radius: var(--radius); padding: clamp(2rem, 5vw, 3.4rem); text-align: center; position: relative; overflow: hidden; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cdddef; max-width: 620px; margin: 0 auto 1.6rem; font-size: 1.1rem; }
.cta-band .hero-actions { justify-content: center; }

/* ---------- Contact / form ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 2.4rem; align-items: start; }
.contact-info { display: grid; gap: 1rem; }
.contact-item { display: flex; gap: .9rem; align-items: flex-start; background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; }
.contact-item .ico { width: 42px; height: 42px; border-radius: 11px; background: var(--bg-band); color: var(--navy); display: grid; place-items: center; flex: 0 0 auto; }
.contact-item .ico svg { width: 22px; height: 22px; }
.contact-item strong { display: block; color: var(--navy); }
.contact-item span { color: var(--muted); font-size: .95rem; }
.contact-item a { color: var(--muted); }
.form { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 1.8rem; box-shadow: var(--shadow-sm); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: .35rem; color: var(--navy); }
.field input, .field select, .field textarea {
  width: 100%; padding: .8rem .9rem; border: 1px solid var(--border); border-radius: var(--radius-sm);
  font-family: inherit; font-size: 1rem; color: var(--ink); background: #fff;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(242, 113, 28, .15); }
.field textarea { resize: vertical; min-height: 120px; }
.form .note { font-size: .82rem; color: var(--muted); margin-top: .3rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: #b9cade; padding: 3.2rem 0 1.5rem; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 1rem; }
.site-footer a { color: #b9cade; display: block; padding: .2rem 0; }
.site-footer a:hover { color: var(--accent); }
.footer-brand .brand { color: #fff; margin-bottom: .8rem; }
.footer-brand .brand small { color: #8ba4c2; }
.footer-brand p { color: #93a9c4; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.4rem; padding-top: 1.4rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; color: #7f97b5; font-size: .85rem; }
.footer-bottom a { display: inline; }

.placeholder-tag { background: rgba(242, 113, 28, .16); color: #ffd0a8; padding: 0 .35em; border-radius: 4px; font-weight: 700; }

/* ---------- Utilities ---------- */
.mt-0 { margin-top: 0; }
.center { text-align: center; }
.lead { font-size: 1.12rem; color: var(--muted); }
.tag { display: inline-block; background: var(--bg-band); color: var(--navy); font-weight: 700; font-size: .8rem; padding: .3rem .7rem; border-radius: 999px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .split { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav, .header-tel { display: none; }
  .burger { display: block; }
  .site-header.open .nav {
    display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column;
    background: #fff; border-bottom: 1px solid var(--border); padding: 1rem; gap: .2rem; box-shadow: var(--shadow);
  }
  .site-header.open .nav a { width: 100%; padding: .7rem .8rem; }
  .site-header.open .nav .drop { display: flex; position: static; box-shadow: none; border: 0; padding: .2rem 0 .2rem 1rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
}
