:root {
  --navy: #0b2d59;
  --navy-dark: #071e3d;
  --navy-soft: #163c74;
  --orange: #f58220;
  --blue: #2f80ed;
  --green: #68b745;
  --purple: #9b51e0;
  --cyan: #25b7b7;
  --gold: #d88b13;
  --text: #1f2a3a;
  --muted: #607086;
  --line: #e6edf6;
  --bg: #f7f9fc;
  --white: #ffffff;
  --shadow: 0 14px 34px rgba(13, 44, 90, 0.10);
  --radius: 22px;
  --container: 1320px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: #fff;
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

.section {
  padding: 54px 0;
}

.section-heading {
  text-align: center;
  margin-bottom: 28px;
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 2vw, 2.6rem);
  color: var(--navy);
  line-height: 1.1;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.section-heading h2::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 88px;
  height: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--orange));
}

.section-heading-left {
  text-align: left;
}

.section-heading-left h2::after {
  left: 0;
  transform: none;
}

/* HEADER */

.site-header {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-bar {
  width: 100%;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  padding: 0 30px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.brand img {
  height: 60px;
  width: auto;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong {
  font-size: 2rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.brand-text span {
  font-size: 0.95rem;
  color: var(--muted);
  font-weight: 500;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  justify-content: center;
}

.main-nav a {
  position: relative;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text);
  padding: 8px 0;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -10px;
  width: 0;
  height: 3px;
  border-radius: 99px;
  background: var(--orange);
  transition: width 0.22s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.since-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  background: var(--navy);
  color: #fff;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  font-weight: 800;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-contact {
  padding: 14px 24px;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 12px 22px rgba(245, 130, 32, 0.25);
}

.btn-primary {
  padding: 16px 24px;
  background: var(--orange);
  color: #fff;
  box-shadow: 0 12px 22px rgba(245, 130, 32, 0.25);
}

.btn-secondary {
  padding: 16px 24px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.45);
}

.btn-large {
  padding: 18px 34px;
  font-size: 1.1rem;
}

/* HERO FULL WIDTH */

.hero-full {
  width: 100%;
  min-height: 720px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(
      90deg,
      rgba(7, 30, 61, 0.95) 0%,
      rgba(7, 30, 61, 0.92) 26%,
      rgba(7, 30, 61, 0.72) 42%,
      rgba(7, 30, 61, 0.25) 58%,
      rgba(7, 30, 61, 0.00) 100%
    ),
    url("assets/hero-office.jpg") center center / cover no-repeat;
}

.hero-inner {
  width: 100%;
  padding: 58px 40px 52px;
  display: flex;
  align-items: center;
}

.hero-left {
  width: min(760px, 50vw);
  color: #fff;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 22px;
}

.hero-tags span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.24);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 800;
  backdrop-filter: blur(6px);
}

.hero-left h1 {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(2.8rem, 5vw, 5.2rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
  max-width: 800px;
}

.hero-left p {
  max-width: 650px;
  margin: 0;
  font-size: 1.14rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.95);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 28px 0 28px;
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 880px;
}

.feature-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: rgba(255, 255, 255, 0.98);
  color: var(--text);
  padding: 18px 16px;
  border-radius: 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.feature-card strong {
  display: block;
  margin-bottom: 6px;
  color: var(--navy);
  font-size: 1rem;
}

.feature-card span {
  display: block;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.45;
}

.feature-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.35rem;
  font-weight: 900;
}

.icon-orange {
  background: linear-gradient(135deg, #ff9b47, #f58220);
}

.icon-blue {
  background: linear-gradient(135deg, #55a3ff, #2f80ed);
}

.icon-teal {
  background: linear-gradient(135deg, #4ddad1, #25b7b7);
}

/* UNIVERS */

.section-univers {
  background: #fff;
}

.univers-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 18px;
}

.univers-card {
  border-radius: 22px;
  padding: 24px 18px 18px;
  box-shadow: var(--shadow);
  border: 1px solid #edf2f8;
  min-height: 100%;
}

.univers-card h3 {
  margin: 14px 0 10px;
  font-size: 1.45rem;
  line-height: 1.15;
  color: var(--navy);
}

.univers-card p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.55;
}

.univers-card a {
  font-weight: 800;
  color: var(--navy);
}

.univers-icon {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 2rem;
  box-shadow: inset 0 0 0 6px rgba(255,255,255,0.18);
}

.univers-orange {
  background: #fdf6f0;
}
.univers-orange .univers-icon {
  background: linear-gradient(135deg, #ffad69, #f58220);
}

.univers-blue {
  background: #f2f7ff;
}
.univers-blue .univers-icon {
  background: linear-gradient(135deg, #69b0ff, #2f80ed);
}

.univers-green {
  background: #f4fbef;
}
.univers-green .univers-icon {
  background: linear-gradient(135deg, #8ad25c, #68b745);
}

.univers-purple {
  background: #f8f2fd;
}
.univers-purple .univers-icon {
  background: linear-gradient(135deg, #b97bf0, #9b51e0);
}

.univers-cyan {
  background: #eefcfc;
}
.univers-cyan .univers-icon {
  background: linear-gradient(135deg, #57ddd7, #25b7b7);
}

.univers-gold {
  background: #fff7eb;
}
.univers-gold .univers-icon {
  background: linear-gradient(135deg, #efb34c, #d88b13);
}

/* WHY */

.section-why {
  background: #fff;
}

.why-layout {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr;
  gap: 28px;
  align-items: start;
}

.why-grid-full {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  width: 100%;
}

.why-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
  padding: 22px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #e9eef6;
  box-shadow: var(--shadow);
  min-height: 100%;
}

.why-card h3 {
  margin: 0 0 8px;
  font-size: 1.2rem;
  color: var(--navy);
  line-height: 1.2;
}

.why-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

@media (max-width: 1180px) {
  .why-grid-full {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .why-grid-full {
    grid-template-columns: 1fr;
  }
}

.why-photo img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 10px;
}

.why-icon {
  width: 56px;
  height: 56px;
  min-width: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.5rem;
  font-weight: 900;
}

.why-blue {
  background: linear-gradient(135deg, #55a3ff, #2f80ed);
}

.why-green {
  background: linear-gradient(135deg, #79d67e, #44b964);
}

.why-purple {
  background: linear-gradient(135deg, #b97bf0, #9b51e0);
}

.why-orange {
  background: linear-gradient(135deg, #ff9b47, #f58220);
}

.why-text {
  margin-top: 18px;
  padding: 8px 2px 0;
}

.why-text p {
  margin: 0;
  font-size: 1.06rem;
  color: var(--text);
}

.why-text strong {
  color: var(--navy);
}

/* SOLUTIONS */

.section-solutions {
  background: #fff;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.solution-card {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid #e8eef7;
  box-shadow: var(--shadow);
}

.solution-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.solution-body {
  padding: 20px 20px 22px;
}

.solution-body h3 {
  margin: 0 0 10px;
  font-size: 1.4rem;
  color: var(--navy);
}

.solution-body p {
  margin: 0 0 16px;
  color: var(--muted);
}

.solution-body a {
  color: var(--orange);
  font-weight: 800;
}

/* CTA BAND */

.cta-band {
  position: relative;
  background:
    linear-gradient(90deg, rgba(10, 52, 112, 0.95), rgba(15, 91, 189, 0.90)),
    url("assets/cta-background.jpg") center center / cover no-repeat;
  padding: 34px 0;
}

.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.cta-copy h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.8rem, 2.2vw, 2.7rem);
  line-height: 1.15;
  max-width: 760px;
}

/* FOOTER */

.site-footer {
  background: linear-gradient(180deg, #08244a, #061a35);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 0.9fr 0.9fr;
  gap: 28px;
  padding: 40px 0 26px;
  align-items: start;
}

.footer-brand {
  display: flex;
  gap: 16px;
  align-items: center;
}

.footer-brand img {
  width: 72px;
  height: auto;
}

.footer-brand h3 {
  margin: 0 0 8px;
  font-size: 2rem;
  line-height: 1;
}

.footer-brand p,
.footer-contact p {
  margin: 0 0 10px;
  color: rgba(255,255,255,0.86);
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.92);
  font-weight: 600;
}

.footer-photo img {
  width: 100%;
  border-radius: 18px;
  object-fit: cover;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.10);
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0 20px;
  color: rgba(255,255,255,0.72);
  font-size: 0.94rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.85);
}

/* RESPONSIVE */

@media (max-width: 1400px) {
  .univers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 1180px) {
  .header-bar {
    padding: 14px 20px;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: center;
    padding-bottom: 8px;
  }

  .hero-inner {
    padding: 42px 24px 36px;
  }

  .hero-left {
    width: min(100%, 760px);
  }

  .hero-features {
    grid-template-columns: 1fr;
    max-width: 420px;
  }

  .why-layout {
    grid-template-columns: 1fr;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .container {
    width: min(var(--container), calc(100% - 28px));
  }

  .brand img {
    height: 52px;
  }

  .brand-text strong {
    font-size: 1.65rem;
  }

  .header-actions {
    width: 100%;
    justify-content: flex-start;
  }

  .main-nav {
    gap: 16px;
  }

  .hero-full {
    min-height: auto;
    background:
      linear-gradient(
        180deg,
        rgba(7, 30, 61, 0.94) 0%,
        rgba(7, 30, 61, 0.86) 35%,
        rgba(7, 30, 61, 0.45) 64%,
        rgba(7, 30, 61, 0.18) 100%
      ),
      url("assets/hero-office.jpg") center center / cover no-repeat;
  }

  .hero-left h1 {
    font-size: clamp(2.2rem, 8vw, 3.5rem);
  }

  .hero-left p {
    font-size: 1rem;
  }

  .univers-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }

  .cta-band-inner,
  .footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .header-bar {
    padding: 12px 14px;
  }

  .main-nav {
    justify-content: flex-start;
  }

  .hero-inner {
    padding: 26px 14px 28px;
  }

  .hero-tags {
    gap: 8px;
  }

  .hero-tags span {
    font-size: 0.84rem;
    padding: 8px 12px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-primary,
  .btn-secondary,
  .btn-contact {
    width: 100%;
  }

  .section {
    padding: 40px 0;
  }

  .univers-grid {
    grid-template-columns: 1fr;
  }
}

.univers-yellow {
  background: #fff9e8;
}

.univers-yellow .univers-icon {
  background: linear-gradient(135deg, #f7c94b, #e0a800);
}

.univers-red {
  background: #fff1f1;
}

.univers-red .univers-icon {
  background: linear-gradient(135deg, #ff6b6b, #d62828);
}

.hero-solutions {
  min-height: 620px;
  background:
    linear-gradient(
      90deg,
      rgba(7, 30, 61, 0.95) 0%,
      rgba(7, 30, 61, 0.90) 26%,
      rgba(7, 30, 61, 0.68) 42%,
      rgba(7, 30, 61, 0.22) 58%,
      rgba(7, 30, 61, 0.00) 100%
    ),
    url("assets/hero-office.jpg") center center / cover no-repeat;
}

.solutions-hub-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.hub-subtitle {
  margin: 0 0 10px;
  font-weight: 700;
  color: var(--navy);
  font-size: 1rem;
}

.hub-link {
  display: inline-block;
  margin-top: 6px;
  font-weight: 800;
  color: var(--navy);
}

.univers-yellow {
  background: #fff9e8;
}

.univers-yellow .univers-icon {
  background: linear-gradient(135deg, #f7c94b, #e0a800);
}

@media (max-width: 1180px) {
  .solutions-hub-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .solutions-hub-grid {
    grid-template-columns: 1fr;
  }
}

.hero-contact {
  min-height: 620px;
  background:
    linear-gradient(
      90deg,
      rgba(7, 30, 61, 0.95) 0%,
      rgba(7, 30, 61, 0.90) 26%,
      rgba(7, 30, 61, 0.68) 42%,
      rgba(7, 30, 61, 0.22) 58%,
      rgba(7, 30, 61, 0.00) 100%
    ),
    url("assets/hero-office.jpg") center center / cover no-repeat;
}

/* LAYOUT */
.contact-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}

/* FORM CARD */
.contact-form-card {
  background: #fff;
  padding: 32px;
  border-radius: 24px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.08);
}

/* FORM */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

/* LIGNES */
.form-row {
  display: flex;
  gap: 20px;
}

/* LABEL */
.contact-form label {
  display: block;
  font-size: 0.85rem;
  margin-bottom: 6px;
  color: #6b7280;
  font-weight: 600;
}

/* INPUT */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid #dce3ec;
  font-size: 1rem;
  transition: all 0.2s ease;
  background: #f9fbfd;
}

/* FOCUS (très important visuellement) */
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #2563eb;
  background: #fff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* TEXTAREA */
.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* BOUTON */
.contact-form button {
  margin-top: 10px;
  padding: 16px;
  font-size: 1rem;
  border-radius: 12px;
}

/* INFO CARD */
.contact-info-card {
  background: #0f2a44;
  color: #fff;
  padding: 28px;
  border-radius: 24px;
}

.contact-info-card h3 {
  color: #fff;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .form-row {
    flex-direction: column;
  }
}

.hero-apropos {
  min-height: 620px;
  background:
    linear-gradient(
      90deg,
      rgba(7, 30, 61, 0.95) 0%,
      rgba(7, 30, 61, 0.90) 26%,
      rgba(7, 30, 61, 0.68) 42%,
      rgba(7, 30, 61, 0.22) 58%,
      rgba(7, 30, 61, 0.00) 100%
    ),
    url("assets/hero-office.jpg") center center / cover no-repeat;
}

/* LAYOUT */
.apropos-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 28px;
  align-items: center;
}

.apropos-image img {
  width: 100%;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .apropos-layout {
    grid-template-columns: 1fr;
  }
}

.hero-simple {
  min-height: 300px;
  background:
    linear-gradient(
      90deg,
      rgba(7, 30, 61, 0.95),
      rgba(7, 30, 61, 0.4)
    ),
    url("assets/hero-office.jpg") center/cover;
}

.legal-container {
  max-width: 900px;
}

.legal-container h2 {
  margin-top: 32px;
  font-size: 1.3rem;
  color: var(--navy);
}

.legal-container p {
  line-height: 1.7;
  color: var(--muted);
}

/* CSS AUTOMOBILE DETAIL */
.meca-pricing, .meca-features {
    width: 100%;
    border-collapse: collapse;
    margin: 40px 0;
    font-family: Arial, sans-serif;
}

/* TABLEAU VERSIONS (sombre) */
.meca-pricing {
    background: #0b3c5d;
    color: white;
    border-radius: 8px;
    overflow: hidden;
}

.meca-pricing th {
    padding: 18px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.meca-pricing td {
    padding: 14px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.meca-pricing td:first-child {
    text-align: left;
    color: #dbe9f4;
}

.meca-pro {
    background: #fff4cc;
    color: #000;
    font-weight: 600;
}

.meca-pro-header {
    background: #ffcc00;
    color: #000;
}

/* TABLEAU FONCTIONS */
.meca-features th {
    background: #0b3c5d;
    color: white;
    padding: 14px;
}

.meca-features td {
    padding: 12px;
    border-bottom: 1px solid #e5e5e5;
    text-align: center;
}

.meca-features td:first-child {
    text-align: left;
}

.meca-features .pro {
    background: #fff9e6;
    font-weight: 600;
}
