/* ===== Groupe DPSD Inc — site styles ===== */

:root {
  --navy: #0e2a43;
  --navy-deep: #091d30;
  --blue: #1d6fb8;
  --blue-light: #e8f1f9;
  --cool: #3ba7d9;
  --warm: #e8762d;
  --ink: #1c2733;
  --muted: #5a6b7b;
  --line: #dde5ec;
  --bg: #ffffff;
  --bg-soft: #f4f8fb;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(14, 42, 67, 0.10);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.8rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.01em;
}
.brand:hover { text-decoration: none; }
.brand .logo { width: 42px; height: 42px; flex-shrink: 0; object-fit: contain; }
.brand small {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
}
.site-nav a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.95rem;
}
.site-nav a:hover { color: var(--blue); text-decoration: none; }

.lang-switch {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.3rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy) !important;
  background: var(--bg-soft);
}
.lang-switch:hover { background: var(--blue-light); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  color: var(--navy);
}
.nav-toggle svg { width: 26px; height: 26px; }

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(59, 167, 217, 0.35), transparent 60%),
    radial-gradient(700px 380px at -10% 110%, rgba(232, 118, 45, 0.22), transparent 55%),
    linear-gradient(160deg, var(--navy) 0%, var(--navy-deep) 100%);
  color: #fff;
  padding: 5rem 0 5.5rem;
}

.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  max-width: 640px;
}

.hero .tagline {
  margin-top: 1.1rem;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
}

.hero-cta {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-primary {
  background: var(--warm);
  color: #fff;
  box-shadow: 0 4px 16px rgba(232, 118, 45, 0.4);
}
.btn-primary:hover { box-shadow: 0 6px 20px rgba(232, 118, 45, 0.5); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.18); }

.hero-badges {
  margin-top: 2.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.hero-badges span {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 0.35rem 0.9rem;
}

/* ===== Sections ===== */
section { padding: 4.5rem 0; }
section.soft { background: var(--bg-soft); }

.section-head { max-width: 620px; margin-bottom: 2.6rem; }
.section-head .kicker {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.6rem;
}
.section-head h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--navy);
  letter-spacing: -0.01em;
}
.section-head p { margin-top: 0.7rem; color: var(--muted); }

/* ===== Services grid ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.3rem;
}

.card {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }

.card .icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: var(--blue-light);
  color: var(--blue);
}
.card .icon.warm { background: #fdeee2; color: var(--warm); }
.card .icon svg { width: 24px; height: 24px; }

.card h3 { font-size: 1.08rem; color: var(--navy); margin-bottom: 0.45rem; }
.card p { font-size: 0.93rem; color: var(--muted); }

/* ===== Rebate banner ===== */
.rebate {
  background: linear-gradient(135deg, #0d3b2e 0%, #14573f 100%);
  color: #fff;
  border-radius: 16px;
  padding: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.rebate h2 { font-size: 1.5rem; letter-spacing: -0.01em; }
.rebate p { margin-top: 0.6rem; color: rgba(255, 255, 255, 0.85); max-width: 520px; }
.rebate .btn-primary { background: #fff; color: #0d3b2e; box-shadow: none; }
.rebate .btn-primary:hover { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); }

/* ===== Why us ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.3rem;
}
.why-item { display: flex; gap: 0.9rem; align-items: flex-start; }
.why-item .check {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue);
  display: grid;
  place-items: center;
  margin-top: 0.15rem;
}
.why-item .check svg { width: 14px; height: 14px; }
.why-item h3 { font-size: 1rem; color: var(--navy); }
.why-item p { font-size: 0.9rem; color: var(--muted); margin-top: 0.2rem; }

/* ===== Contact ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-list { list-style: none; margin-top: 1.4rem; }
.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.98rem;
}
.contact-list li:last-child { border-bottom: none; }
.contact-list .ci {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 8px;
  background: var(--blue-light);
  color: var(--blue);
  display: grid;
  place-items: center;
}
.contact-list .ci svg { width: 17px; height: 17px; }

.contact-card {
  background: var(--navy);
  color: #fff;
  border-radius: var(--radius);
  padding: 2rem;
}
.contact-card h3 { font-size: 1.2rem; }
.contact-card p { margin-top: 0.6rem; color: rgba(255, 255, 255, 0.8); font-size: 0.95rem; }
.contact-card .btn { margin-top: 1.4rem; }

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.75);
  padding: 2.2rem 0;
  font-size: 0.88rem;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.site-footer a { color: rgba(255, 255, 255, 0.9); }

/* ===== Responsive ===== */
@media (max-width: 760px) {
  .nav-toggle { display: block; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.5rem 1.25rem 1rem;
  }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 0.65rem 0; width: 100%; }
  .site-nav .lang-switch { margin-top: 0.6rem; width: auto; }

  .hero { padding: 3.5rem 0 4rem; }
  section { padding: 3.2rem 0; }
  .rebate { padding: 1.8rem; }
  .contact-wrap { grid-template-columns: 1fr; }
}
