/* ============================================================
   DAN TRANSPORTS — Site vitrine premium
   Thème CLAIR : blanc / orange / noir
   ============================================================ */

:root {
  --white:   #ffffff;
  --paper:   #f6f5f2;
  --paper-2: #efede8;
  --ink:     #101013;
  --ink-2:   #3f4147;
  --ink-3:   #74767d;
  --line:    rgba(16,16,19,.12);
  --line-2:  rgba(16,16,19,.20);

  --orange:  #ea7a17;
  --orange-2:#ff9233;
  --orange-d:#c9640c;

  --radius:  16px;
  --radius-sm: 10px;
  --maxw:    1200px;
  --ease:    cubic-bezier(.22, 1, .36, 1);

  --head: "Space Grotesk", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--body); background: var(--white); color: var(--ink);
  line-height: 1.65; font-weight: 400; -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 26px; }

/* ===== Typo utilitaires ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: var(--head); font-size: .74rem; font-weight: 600;
  letter-spacing: .18em; text-transform: uppercase; color: var(--orange-d); margin-bottom: 18px;
}
.eyebrow i { width: 22px; height: 2px; background: var(--orange); display: inline-block; }
.eyebrow--light { color: var(--orange-2); }
.eyebrow--light i { background: var(--orange-2); }
.h2 { font-family: var(--head); font-weight: 600; font-size: clamp(1.8rem, 3.6vw, 2.7rem); line-height: 1.12; letter-spacing: -.015em; }
.h2--light { color: var(--white); }

/* ===== Barre utilitaire ===== */
.topbar { background: var(--ink); color: rgba(255,255,255,.72); font-size: .8rem; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; height: 38px; }
.topbar__contact { display: flex; gap: 22px; }
.topbar__contact a { transition: color .25s; }
.topbar__contact a:hover { color: var(--orange-2); }

/* ===== Header ===== */
.site-header {
  position: sticky; top: 0; z-index: 50; background: var(--ink);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: box-shadow .35s var(--ease);
}
.site-header.scrolled { box-shadow: 0 10px 30px -12px rgba(0,0,0,.5); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 100px; }
.brand { display: inline-flex; align-items: center; cursor: pointer; transition: transform .25s var(--ease), opacity .25s; }
.brand:hover { transform: scale(1.03); opacity: .9; }
.brand__img { height: 90px; width: auto; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a { font-family: var(--head); font-size: .84rem; font-weight: 500; letter-spacing: .02em; color: rgba(255,255,255,.82); transition: color .25s; position: relative; }
.nav a:not(.nav__cta):hover { color: var(--white); }
.nav a:not(.nav__cta)::after { content: ""; position: absolute; left: 0; bottom: -7px; height: 2px; width: 0; background: var(--orange); transition: width .3s var(--ease); }
.nav a:not(.nav__cta):hover::after { width: 100%; }
.nav__cta { background: var(--orange); color: #1a1000; padding: 10px 20px; border-radius: 40px; font-weight: 600; transition: background .25s, transform .25s; }
.nav__cta:hover { background: var(--orange-2); transform: translateY(-2px); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: #fff; transition: .3s var(--ease); }

/* ===== Boutons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: var(--head); font-weight: 600; font-size: .92rem; letter-spacing: .01em;
  padding: 14px 28px; border-radius: 44px; cursor: pointer; border: 2px solid transparent;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn--orange { background: var(--orange); color: #1a1000; box-shadow: 0 12px 26px -12px rgba(234,122,23,.7); }
.btn--orange:hover { background: var(--orange-2); transform: translateY(-3px); box-shadow: 0 18px 34px -12px rgba(234,122,23,.8); }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { transform: translateY(-3px); background: #000; }
.btn--full { width: 100%; }

/* ===== Hero ===== */
.hero { padding: clamp(48px, 8vh, 96px) 0 clamp(40px, 6vh, 72px); background:
  radial-gradient(60% 80% at 100% 0%, rgba(234,122,23,.10), transparent 60%), var(--white); }
.hero__grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.hero__title { font-family: var(--head); font-weight: 700; font-size: clamp(2.3rem, 5vw, 3.9rem); line-height: 1.04; letter-spacing: -.02em; margin-bottom: 22px; }
.hero__title .hl { position: relative; color: var(--orange); white-space: nowrap; }
.hero__title .hl::after { content: ""; position: absolute; left: 0; right: 0; bottom: 4px; height: 10px; background: rgba(234,122,23,.18); z-index: -1; }
.hero__lead { font-size: 1.12rem; color: var(--ink-2); max-width: 540px; margin-bottom: 32px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 30px; }
.hero__points { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero__points li { position: relative; padding-left: 24px; font-size: .9rem; color: var(--ink-2); font-weight: 500; }
.hero__points li::before { content: "✓"; position: absolute; left: 0; color: var(--orange); font-weight: 800; }

.hero__media { position: relative; }
.hero__photo {
  aspect-ratio: 4/3; border-radius: 22px; border: 1px solid var(--line);
  background-color: var(--paper); background-repeat: no-repeat; background-position: center; background-size: cover;
  box-shadow: 0 40px 70px -34px rgba(16,16,19,.45); position: relative; overflow: hidden;
}
.hero__photo::before { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(234,122,23,.10), transparent 55%); }
.hero__tag { position: absolute; top: 16px; left: 16px; background: var(--ink); color: #fff; font-family: var(--head); font-size: .72rem; font-weight: 500; letter-spacing: .04em; padding: 7px 14px; border-radius: 40px; }
.hero__chip { position: absolute; right: -8px; bottom: -14px; background: var(--orange); color: #1a1000; border-radius: 16px; padding: 14px 20px; box-shadow: 0 20px 40px -16px rgba(234,122,23,.7); display: flex; flex-direction: column; }
.hero__chip strong { font-family: var(--head); font-size: 1.7rem; font-weight: 700; line-height: 1; }
.hero__chip span { font-size: .78rem; font-weight: 500; }

/* ===== Bandeau noir ===== */
.band { background: var(--ink); color: #fff; }
.band__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 40px 0; }
.band__item { text-align: center; position: relative; }
.band__item + .band__item::before { content: ""; position: absolute; left: -10px; top: 50%; transform: translateY(-50%); width: 1px; height: 46px; background: rgba(255,255,255,.14); }
.band__item b { font-family: var(--head); font-size: 2.6rem; font-weight: 700; line-height: 1; display: inline; }
.band__item i { font-family: var(--head); font-size: 1.4rem; font-style: normal; color: var(--orange); vertical-align: top; }
.band__item span { display: block; margin-top: 8px; font-size: .82rem; color: rgba(255,255,255,.62); letter-spacing: .04em; }

/* ===== Feature (activités) ===== */
.feature { padding: clamp(64px, 9vh, 116px) 0; }
.feature--alt { background: var(--paper); }
.feature__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(36px, 5vw, 72px); align-items: center; }
.feature__grid--rev .feature__media { order: 2; }
.feature__text > p { color: var(--ink-2); font-size: 1.05rem; margin-bottom: 26px; max-width: 520px; }
.feature__text .btn { margin-top: 30px; }

.feature__media { position: relative; }
.feature__photo {
  aspect-ratio: 5/4; border-radius: 20px; border: 1px solid var(--line);
  background-color: var(--white); background-repeat: no-repeat; background-position: center; background-size: cover;
  box-shadow: 0 34px 60px -30px rgba(16,16,19,.4);
}
.feature--alt .feature__photo { background-color: var(--white); }
.feature__label { position: absolute; top: -14px; left: 22px; background: var(--orange); color: #1a1000; font-family: var(--head); font-weight: 600; font-size: .76rem; letter-spacing: .06em; text-transform: uppercase; padding: 8px 16px; border-radius: 40px; }
.feature__label--dark { background: var(--ink); color: #fff; }

.split-list { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 30px; }
.split-list h3 { font-family: var(--head); font-size: 1.05rem; font-weight: 600; margin-bottom: 5px; }
.split-list h3::before { content: ""; display: inline-block; width: 8px; height: 8px; background: var(--orange); border-radius: 50%; margin-right: 9px; vertical-align: middle; }
.split-list p { color: var(--ink-2); font-size: .92rem; }

/* ===== Head de section centré ===== */
.head { max-width: 720px; margin: 0 auto 52px; text-align: center; }
.head .eyebrow { justify-content: center; }
.head__sub { color: var(--ink-2); margin-top: 14px; font-size: 1.02rem; }

/* ===== Galerie flotte ===== */
.fleet { padding: clamp(64px, 9vh, 116px) 0; }
.grid-veh { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.veh { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--white); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease); }
.veh:hover { transform: translateY(-6px); box-shadow: 0 26px 44px -26px rgba(16,16,19,.35); border-color: var(--line-2); }
.veh__photo {
  position: relative; aspect-ratio: 16/11;
  background-color: var(--paper); background-repeat: no-repeat; background-position: center; background-size: cover;
}
.veh__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(234,122,23,.08), transparent 60%); }
.veh__badge { position: absolute; top: 12px; left: 12px; z-index: 1; font-family: var(--head); font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 6px 11px; border-radius: 40px; background: var(--ink); color: #fff; }
.veh__badge--el { background: var(--orange); color: #1a1000; }
.veh__badge--hy { background: #14181f; color: var(--orange-2); border: 1px solid rgba(255,146,51,.4); }
.veh__info { padding: 16px 18px 20px; }
.veh__info h3 { font-family: var(--head); font-size: 1.12rem; font-weight: 600; }
.veh__info p { color: var(--ink-3); font-size: .86rem; margin-top: 3px; }
.fleet__note { text-align: center; color: var(--ink-3); font-size: .88rem; margin-top: 30px; }

/* ===== Numbered (transport) ===== */
.numbered { list-style: none; display: grid; gap: 18px; }
.numbered li { display: flex; gap: 18px; align-items: flex-start; }
.numbered span { font-family: var(--head); font-weight: 700; font-size: 1.05rem; color: var(--orange); border: 2px solid rgba(234,122,23,.35); border-radius: 12px; min-width: 44px; height: 44px; display: grid; place-items: center; flex-shrink: 0; }
.numbered h3 { font-family: var(--head); font-size: 1.08rem; font-weight: 600; margin-bottom: 3px; }
.numbered p { color: var(--ink-2); font-size: .92rem; }

/* ===== Pourquoi nous ===== */
.why { padding: clamp(64px, 9vh, 116px) 0; background: var(--paper); }
.why__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why__card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; transition: transform .4s var(--ease), border-color .4s var(--ease); }
.why__card:hover { transform: translateY(-6px); border-color: var(--orange); }
.why__card b { font-family: var(--head); font-size: 1.6rem; font-weight: 700; color: var(--orange); display: block; margin-bottom: 14px; }
.why__card h3 { font-family: var(--head); font-size: 1.12rem; font-weight: 600; margin-bottom: 8px; }
.why__card p { color: var(--ink-2); font-size: .92rem; }

/* ===== Contact ===== */
.contact { padding: clamp(64px, 9vh, 116px) 0; background: var(--ink); color: #fff; }
.contact__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 5vw, 68px); align-items: start; }
.contact__p { color: rgba(255,255,255,.72); font-size: 1.05rem; margin-top: 14px; }
.contact__p strong { color: #fff; }
.contact__info { list-style: none; margin-top: 30px; display: grid; gap: 15px; }
.contact__info li { display: flex; align-items: center; gap: 14px; color: rgba(255,255,255,.82); }
.contact__info a:hover { color: var(--orange-2); }
.c-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.2); color: var(--orange-2); font-size: 1.05rem; flex-shrink: 0; }

.contact__form { background: var(--white); color: var(--ink); border-radius: var(--radius); padding: 32px; display: grid; gap: 16px; box-shadow: 0 40px 70px -30px rgba(0,0,0,.6); }
.field { display: grid; gap: 7px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { font-family: var(--head); font-size: .8rem; color: var(--ink-2); font-weight: 500; }
.field input, .field select, .field textarea {
  font-family: var(--body); font-size: .95rem; color: var(--ink);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color .25s, box-shadow .25s; width: 100%; resize: vertical;
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field select { appearance: none; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--orange) 50%), linear-gradient(135deg, var(--orange) 50%, transparent 50%);
  background-position: calc(100% - 20px) center, calc(100% - 15px) center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px rgba(234,122,23,.16); }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #d9534f; box-shadow: 0 0 0 3px rgba(217,83,79,.14); }
.form-note { font-size: .88rem; text-align: center; min-height: 1.2em; }
.form-note.ok { color: var(--orange-d); }
.form-note.err { color: #c9302c; }

/* ===== Footer ===== */
.site-footer { background: var(--ink); color: #fff; padding-top: 60px; }
.footer__inner { display: grid; grid-template-columns: 1.4fr 2fr; gap: 50px; padding-bottom: 44px; }
.footer__brand img { height: 92px; width: auto; margin-bottom: 14px; }
.footer__brand p { color: rgba(255,255,255,.6); max-width: 340px; font-size: .92rem; }
.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.footer__nav h4 { font-family: var(--head); font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--orange-2); margin-bottom: 15px; font-weight: 600; }
.footer__nav a { display: block; color: rgba(255,255,255,.66); font-size: .9rem; margin-bottom: 9px; transition: color .25s; }
.footer__nav a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.5); font-size: .82rem; }
.footer__legal { display: inline-flex; gap: 8px; align-items: center; }
.footer__legal a { color: rgba(255,255,255,.7); transition: color .25s; }
.footer__legal a:hover { color: var(--orange-2); }
.footer__nav a.foot-wa { display: inline-flex; align-items: center; gap: 8px; margin-top: 10px; background: #25d366; color: #04140e; font-weight: 600; font-size: .82rem; padding: 8px 15px; border-radius: 40px; transition: transform .25s, background .25s; }
.footer__nav a.foot-wa svg { width: 16px; height: 16px; }
.footer__nav a.foot-wa:hover { background: #20c05a; transform: translateY(-2px); color: #04140e; }
.btn-wa { display: inline-flex; align-items: center; gap: 10px; background: #25d366; color: #04140e; font-family: var(--head); font-weight: 600; font-size: .92rem; padding: 13px 24px; border-radius: 44px; box-shadow: 0 12px 26px -12px rgba(37,211,102,.6); transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s; }
.btn-wa svg { width: 20px; height: 20px; }
.btn-wa:hover { transform: translateY(-3px); background: #20c05a; box-shadow: 0 18px 34px -12px rgba(37,211,102,.75); }
.ns-gallery { padding: clamp(50px,8vh,100px) 0; }
.ns-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ns-shot { aspect-ratio: 3/2; border-radius: var(--radius); background-size: cover; background-position: center; border: 1px solid var(--line); box-shadow: 0 22px 44px -28px rgba(16,16,19,.4); transition: transform .4s var(--ease); }
.ns-shot:hover { transform: translateY(-5px); }
@media (max-width: 640px){ .ns-grid { grid-template-columns: 1fr; } }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===== Page mentions légales ===== */
.legal-page { padding: clamp(46px, 7vh, 84px) 0 90px; }
.legal { max-width: 820px; margin-inline: auto; }
.legal__title { font-family: var(--head); font-weight: 700; font-size: clamp(2rem, 4.5vw, 3rem); line-height: 1.1; margin-bottom: 12px; }
.legal__updated { color: var(--ink-3); font-size: .9rem; margin-bottom: 38px; }
.legal__block { padding: 24px 0; border-top: 1px solid var(--line); }
.legal__block h2 { font-family: var(--head); font-size: 1.35rem; font-weight: 600; color: var(--orange-d); margin-bottom: 12px; }
.legal__block p { color: var(--ink-2); margin-bottom: 12px; }
.legal__block ul { list-style: none; display: grid; gap: 8px; }
.legal__block li { color: var(--ink-2); padding-left: 20px; position: relative; }
.legal__block li::before { content: "—"; position: absolute; left: 0; color: var(--orange); }
.legal__block strong { color: var(--ink); font-weight: 600; }
.legal a { color: var(--orange-d); text-decoration: underline; text-underline-offset: 3px; }
.legal a:hover { color: var(--orange); }
.legal__back { margin-top: 36px; }
.legal__back a { font-family: var(--head); font-weight: 600; text-decoration: none; }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .grid-veh, .why__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__grid, .feature__grid, .contact__grid { grid-template-columns: 1fr; }
  .feature__grid--rev .feature__media { order: -1; }
  .hero__media { max-width: 520px; }
  .band__grid { grid-template-columns: repeat(2, 1fr); gap: 30px 20px; }
  .band__item:nth-child(2)::before { display: none; }
  .footer__inner { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 760px) {
  .topbar__contact { display: none; }
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .nav.open { display: flex; position: fixed; inset: 100px 0 auto 0; flex-direction: column; gap: 2px; background: var(--ink); padding: 16px 26px 26px; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav.open a { padding: 12px 0; font-size: 1rem; border-bottom: 1px solid rgba(255,255,255,.08); color: #fff; }
  .nav.open .nav__cta { border: 0; text-align: center; margin-top: 12px; color: #1a1000; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .grid-veh, .why__grid, .split-list, .field-row { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: 1fr 1fr; }
  .footer__bottom { flex-direction: column; gap: 8px; text-align: center; }
  .contact__form { padding: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
