/* RM Transport Logistique — navy + cyan brand */
:root {
  --navy: #002347;
  --navy-deep: #00152b;
  --navy-mid: #0a3a6b;
  --cyan: #00aeef;
  --cyan-dark: #0090c7;
  --cyan-soft: #e6f7fd;
  --white: #ffffff;
  --off-white: #f5f8fb;
  --gray: #5a6a7a;
  --gray-light: #e8eef4;
  --text: #1a2a3a;
  --shadow: 0 10px 40px rgba(0, 35, 71, 0.12);
  --radius: 14px;
  --font: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --max: 1140px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button, input, select, textarea { font: inherit; }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); border: 0;
}

/* Skip link */
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 1000;
  background: var(--cyan); color: var(--navy); padding: .75rem 1rem; border-radius: 8px;
  font-weight: 700;
}
.skip-link:focus { top: 1rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(0, 35, 71, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 174, 239, 0.25);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .85rem 0; min-height: 72px;
}
.brand { display: flex; align-items: center; gap: .75rem; }
.brand img { height: 44px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { color: var(--white); font-size: .95rem; letter-spacing: .02em; }
.brand-text span { color: var(--cyan); font-size: .68rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.nav-links {
  display: none; gap: 1.25rem; align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,.88); font-size: .88rem; font-weight: 600;
  transition: color .2s;
}
.nav-links a:hover, .nav-links a:focus-visible { color: var(--cyan); }
.nav-cta {
  display: inline-flex; align-items: center; gap: .45rem;
  background: var(--cyan); color: var(--navy) !important;
  padding: .55rem 1rem; border-radius: 999px; font-weight: 800 !important;
  font-size: .85rem !important;
}
.nav-cta:hover { background: #33c0f3; }
.nav-toggle {
  display: inline-flex; background: transparent; border: 1px solid rgba(255,255,255,.3);
  color: white; border-radius: 8px; padding: .45rem .65rem; cursor: pointer;
}
.nav-toggle[aria-expanded="true"] + .nav-links,
.nav-links.is-open { display: flex; }

@media (min-width: 900px) {
  .nav-toggle { display: none; }
  .nav-links { display: flex; }
}

@media (max-width: 899px) {
  .nav-links.is-open {
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--navy-deep); flex-direction: column; align-items: stretch;
    padding: 1rem 1.25rem 1.25rem; gap: .25rem;
    border-bottom: 2px solid var(--cyan);
  }
  .nav-links.is-open a { padding: .7rem .5rem; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links.is-open .nav-cta { justify-content: center; margin-top: .5rem; border: none; }
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .85rem 1.4rem; border-radius: 999px; font-weight: 800; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; transition: transform .15s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.btn-primary { background: var(--cyan); color: var(--navy); }
.btn-primary:hover { background: #33c0f3; }
.btn-outline {
  background: transparent; color: var(--white); border-color: rgba(255,255,255,.55);
}
.btn-outline:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-mid); }

/* Hero */
.hero {
  position: relative; color: white;
  background: var(--navy-deep);
  min-height: clamp(520px, 88vh, 760px);
  display: grid; align-items: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(0,21,43,.94) 0%, rgba(0,35,71,.78) 48%, rgba(0,35,71,.45) 100%),
    url("assets/images/rm-camion-route.jpg") center/cover no-repeat;
}
.hero-content { position: relative; z-index: 1; padding: 4.5rem 0 5rem; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(0,174,239,.15); border: 1px solid rgba(0,174,239,.45);
  color: var(--cyan); padding: .4rem .9rem; border-radius: 999px;
  font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.hero h1 {
  font-size: clamp(1.85rem, 4.5vw, 3.1rem);
  line-height: 1.15; max-width: 18ch; margin-bottom: 1rem; font-weight: 800;
}
.hero h1 em { font-style: normal; color: var(--cyan); }
.hero-sub {
  font-size: clamp(1rem, 2vw, 1.2rem); max-width: 42ch;
  color: rgba(255,255,255,.88); margin-bottom: 1rem;
}
.hero-tag {
  color: var(--cyan); font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; font-size: .95rem; margin-bottom: 1.75rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; margin-bottom: 2rem; }
.hero-president {
  display: inline-flex; align-items: center; gap: .85rem;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15);
  padding: .85rem 1.1rem; border-radius: var(--radius); backdrop-filter: blur(6px);
}
.president-avatar {
  width: 48px; height: 48px; border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--navy-mid));
  display: grid; place-items: center; font-weight: 800; color: white; font-size: 1.1rem;
  flex-shrink: 0;
}
.hero-president strong { display: block; color: white; font-size: .95rem; }
.hero-president span { color: var(--cyan); font-size: .8rem; font-weight: 600; }

/* Stats */
.stats {
  background: var(--navy);
  color: white;
  padding: 0;
  position: relative; z-index: 2;
  margin-top: -2.5rem;
}
.stats-grid {
  display: grid; grid-template-columns: 1fr;
  background: linear-gradient(135deg, var(--navy-mid), var(--navy));
  border-radius: var(--radius); box-shadow: var(--shadow);
  overflow: hidden; border: 1px solid rgba(0,174,239,.35);
}
@media (min-width: 700px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat {
  padding: 1.6rem 1.25rem; text-align: center;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
@media (min-width: 700px) {
  .stat { border-bottom: none; border-right: 1px solid rgba(255,255,255,.08); }
  .stat:last-child { border-right: none; }
}
.stat-value {
  display: block; font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--cyan);
  line-height: 1.1; margin-bottom: .35rem;
}
.stat-label { font-size: .85rem; color: rgba(255,255,255,.8); font-weight: 600; }

/* Sections common */
section { padding: 4.5rem 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.75rem; }
.section-eyebrow {
  color: var(--cyan-dark); font-weight: 800; letter-spacing: .12em;
  text-transform: uppercase; font-size: .78rem; margin-bottom: .6rem;
}
.section-head h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem); color: var(--navy); font-weight: 800; margin-bottom: .75rem;
}
.section-head h2 em { font-style: normal; color: var(--cyan-dark); }
.section-head p { color: var(--gray); font-size: 1.05rem; }
.section-dark { background: var(--navy-deep); color: white; }
.section-dark .section-eyebrow { color: var(--cyan); }
.section-dark .section-head h2 { color: white; }
.section-dark .section-head h2 em { color: var(--cyan); }
.section-dark .section-head p { color: rgba(255,255,255,.75); }
.section-alt { background: var(--off-white); }

/* Services */
.services-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .services-grid { grid-template-columns: repeat(3, 1fr); } }
.service-card {
  background: white; border: 1px solid var(--gray-light); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: 0 4px 18px rgba(0,35,71,.05);
  transition: transform .2s, border-color .2s, box-shadow .2s;
}
.service-card:hover {
  transform: translateY(-4px); border-color: var(--cyan);
  box-shadow: 0 12px 30px rgba(0,174,239,.15);
}
.service-icon {
  width: 52px; height: 52px; border-radius: 12px;
  background: var(--cyan-soft); color: var(--cyan-dark);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.service-icon svg { width: 26px; height: 26px; }
.service-card h3 { color: var(--navy); font-size: 1.1rem; margin-bottom: .45rem; font-weight: 800; }
.service-card p { color: var(--gray); font-size: .93rem; }

/* Zones */
.zones-wrap {
  display: grid; gap: 2rem; align-items: center;
}
@media (min-width: 900px) { .zones-wrap { grid-template-columns: 1.1fr .9fr; } }
.city-chips { display: flex; flex-wrap: wrap; gap: .65rem; }
.city-chip {
  background: white; border: 1px solid var(--gray-light); color: var(--navy);
  padding: .55rem 1rem; border-radius: 999px; font-weight: 700; font-size: .9rem;
  box-shadow: 0 2px 8px rgba(0,35,71,.04);
}
.city-chip span { color: var(--cyan-dark); margin-right: .35rem; }
.zones-panel {
  background: linear-gradient(160deg, var(--navy), var(--navy-mid));
  color: white; border-radius: var(--radius); padding: 2rem;
  border: 1px solid rgba(0,174,239,.35);
}
.zones-panel h3 { font-size: 1.35rem; margin-bottom: .75rem; }
.zones-panel h3 em { font-style: normal; color: var(--cyan); }
.zones-panel p { color: rgba(255,255,255,.8); margin-bottom: 1.25rem; }
.zones-list li {
  display: flex; gap: .65rem; align-items: flex-start;
  padding: .55rem 0; border-top: 1px solid rgba(255,255,255,.1);
  font-size: .95rem;
}
.zones-list svg { flex-shrink: 0; color: var(--cyan); margin-top: .15rem; }

/* Fleet */
.fleet-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) { .fleet-grid { grid-template-columns: repeat(3, 1fr); } }
.fleet-card {
  border-radius: var(--radius); overflow: hidden; background: white;
  border: 1px solid var(--gray-light); box-shadow: var(--shadow);
}
.fleet-card img { width: 100%; height: 190px; object-fit: cover; }
.fleet-card .body { padding: 1.2rem 1.3rem 1.4rem; }
.fleet-card h3 { color: var(--navy); font-size: 1.05rem; margin-bottom: .35rem; }
.fleet-card p { color: var(--gray); font-size: .9rem; }

/* Promotions */
.promo-grid {
  display: grid; gap: 1.25rem;
  grid-template-columns: 1fr;
}
@media (min-width: 800px) { .promo-grid { grid-template-columns: repeat(3, 1fr); } }
.promo-card {
  border-radius: var(--radius); padding: 1.6rem; color: white;
  background: linear-gradient(145deg, var(--navy-mid), var(--navy-deep));
  border: 1px solid rgba(0,174,239,.3); position: relative; overflow: hidden;
}
.promo-card::after {
  content: ""; position: absolute; right: -30px; top: -30px;
  width: 120px; height: 120px; border-radius: 50%;
  background: rgba(0,174,239,.12);
}
.promo-card .tag {
  display: inline-block; background: var(--cyan); color: var(--navy);
  font-size: .72rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase;
  padding: .3rem .65rem; border-radius: 999px; margin-bottom: 1rem;
}
.promo-card h3 { font-size: 1.2rem; margin-bottom: .5rem; position: relative; }
.promo-card p { color: rgba(255,255,255,.78); font-size: .92rem; margin-bottom: 1.1rem; position: relative; }
.promo-card .btn { position: relative; }

/* Partners */
.partners-grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width: 700px) { .partners-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1000px) { .partners-grid { grid-template-columns: repeat(6, 1fr); } }
.partner-card {
  background: white; border: 1px solid var(--gray-light); border-radius: 12px;
  min-height: 110px; display: grid; place-items: center; padding: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.partner-card:hover { border-color: var(--cyan); box-shadow: 0 8px 24px rgba(0,174,239,.12); }
.partner-card img {
  max-height: 52px; max-width: 100%; width: auto; height: auto;
  object-fit: contain; filter: none;
}

/* About */
.about-grid {
  display: grid; gap: 2rem; align-items: center;
}
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; } }
.about-card {
  background: white; border-radius: var(--radius); padding: 2rem;
  border: 1px solid var(--gray-light); box-shadow: var(--shadow);
}
.about-card .role {
  color: var(--cyan-dark); font-weight: 800; letter-spacing: .08em;
  text-transform: uppercase; font-size: .78rem; margin-bottom: .4rem;
}
.about-card h3 { color: var(--navy); font-size: 1.6rem; margin-bottom: .75rem; }
.about-card p { color: var(--gray); margin-bottom: 1rem; }
.values {
  display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: 1.25rem;
}
.value {
  background: var(--cyan-soft); border-radius: 10px; padding: .85rem;
  text-align: center; color: var(--navy); font-weight: 800; font-size: .82rem;
}
.about-visual {
  border-radius: var(--radius); overflow: hidden; min-height: 320px;
  background: url("assets/images/warehouse.jpg") center/cover no-repeat;
  position: relative;
}
.about-visual .overlay-msg {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem;
  background: rgba(0,35,71,.9); color: white; padding: 1.1rem 1.25rem;
  border-radius: 12px; border-left: 4px solid var(--cyan);
  font-weight: 700; font-size: 1rem;
}
.about-visual .overlay-msg em { font-style: normal; color: var(--cyan); }

/* Contact */
.contact-grid {
  display: grid; gap: 1.5rem;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: .9fr 1.1fr; } }
.contact-info {
  background: linear-gradient(160deg, var(--navy), var(--navy-mid));
  color: white; border-radius: var(--radius); padding: 2rem;
}
.contact-info h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.contact-info > p { color: rgba(255,255,255,.75); margin-bottom: 1.5rem; }
.contact-line {
  display: flex; gap: .85rem; align-items: flex-start;
  padding: .9rem 0; border-top: 1px solid rgba(255,255,255,.12);
}
.contact-line .icon {
  width: 40px; height: 40px; border-radius: 10px; background: var(--cyan);
  color: var(--navy); display: grid; place-items: center; flex-shrink: 0;
}
.contact-line strong { display: block; font-size: .78rem; color: var(--cyan); letter-spacing: .06em; text-transform: uppercase; }
.contact-line a, .contact-line span { color: white; font-weight: 600; }
.contact-line a:hover { color: var(--cyan); }
.contact-form {
  background: white; border: 1px solid var(--gray-light); border-radius: var(--radius);
  padding: 1.75rem; box-shadow: var(--shadow);
}
.contact-form h3 { color: var(--navy); margin-bottom: .35rem; font-size: 1.3rem; }
.contact-form .hint { color: var(--gray); font-size: .9rem; margin-bottom: 1.25rem; }
.form-row { display: grid; gap: 1rem; margin-bottom: 1rem; }
@media (min-width: 600px) { .form-row.two { grid-template-columns: 1fr 1fr; } }
.field label {
  display: block; font-size: .82rem; font-weight: 700; color: var(--navy); margin-bottom: .35rem;
}
.field input, .field select, .field textarea {
  width: 100%; border: 1px solid var(--gray-light); border-radius: 10px;
  padding: .75rem .9rem; background: var(--off-white); color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,174,239,.2); background: white;
}
.field textarea { min-height: 120px; resize: vertical; }
.form-note { font-size: .8rem; color: var(--gray); margin-top: .85rem; }
.form-success {
  display: none; margin-top: 1rem; padding: .9rem 1rem; border-radius: 10px;
  background: #e8f8ef; color: #0b6b3a; font-weight: 700; border: 1px solid #b6e6c9;
}
.form-success.is-visible { display: block; }

/* Footer */
.site-footer {
  background: var(--navy-deep); color: rgba(255,255,255,.8); padding: 3rem 0 1.5rem;
  border-top: 3px solid var(--cyan);
}
.footer-grid {
  display: grid; gap: 2rem; margin-bottom: 2rem;
}
@media (min-width: 800px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer-brand img { height: 42px; margin-bottom: .75rem; }
.footer-brand p { font-size: .92rem; max-width: 36ch; }
.footer-brand .tag { color: var(--cyan); font-weight: 800; letter-spacing: .08em; margin-top: .75rem; display: block; font-size: .8rem; }
.footer-col h4 { color: white; margin-bottom: .85rem; font-size: .95rem; }
.footer-col a { display: block; padding: .3rem 0; font-size: .9rem; }
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex; flex-wrap: wrap; gap: .75rem; justify-content: space-between;
  padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.1); font-size: .82rem;
}
.footer-cta-bar {
  background: white; color: var(--navy); border-radius: var(--radius);
  padding: 1rem 1.25rem; display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between; margin-bottom: 2rem;
}
.footer-cta-bar strong em { font-style: normal; color: var(--cyan-dark); }

/* Utilities */
.mt-2 { margin-top: 2rem; }
.text-center { text-align: center; }

/* Square partner marks (GLS, Purolator) sit nicer with slightly taller cards */
.partner-card img[src*="gls"],
.partner-card img[src*="purolator"] {
  max-height: 72px;
}


/* Photo gallery */
.photo-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.photo-card {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.photo-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}
.photo-card figcaption {
  padding: .85rem 1rem 1rem;
  font-size: .88rem;
  font-weight: 600;
  color: var(--navy);
}
@media (min-width: 800px) {
  .photo-grid { grid-template-columns: 1fr 1fr; }
  .photo-wide { grid-column: 1 / -1; }
  .photo-card img { height: 320px; }
  .photo-wide img { height: 420px; }
}
