:root {
  --blue-quebec: #003399;
  --blue-light: #4f66ff;
  --red-quebec: #ed1c24;
  --soft-blue: #eef2ff;
  --soft-red: #fff0f1;
  --muted: #f9faff;
  --gradient-sky: linear-gradient(135deg, #eef2ff 0%, #fff 55%, #fff0f1 100%);
  --gradient-cta: linear-gradient(120deg, #003399 0%, #1f3fb5 55%, #ed1c24 110%);
  --gradient-card: linear-gradient(140deg, rgba(0, 51, 153, 0.08), rgba(237, 28, 36, 0.08));
  --text: #0c1530;
  --text-muted: #47506a;
  --border: #dfe4f5;
  --shadow: 0 25px 50px rgba(7, 20, 52, 0.12);
  font-family: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: 
    linear-gradient(135deg, rgba(11, 31, 58, 0.15), rgba(18, 50, 95, 0.12)),
    url("https://images.unsplash.com/photo-1529333166437-7750a6dd5a70?auto=format&fit=crop&w=1600&q=80")
      center/cover no-repeat fixed;
  position: relative;
  overflow-x: hidden;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
  border-radius: 1rem;
}

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

.page-width {
  width: min(100%, 1280px);
  margin: 0 auto;
  padding-inline: clamp(1rem, 3vw, 2.5rem);
}

main > section {
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

main > section:last-child {
  margin-bottom: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  padding-block: 1rem;
  background: #fff;
  border-bottom: 1px solid var(--border);
  box-shadow: 0 5px 30px rgba(13, 31, 82, 0.06);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-quebec);
  text-decoration: none;
  display: inline-block;
}

.logo:hover {
  color: var(--blue-quebec);
  opacity: 0.8;
}

.site-nav {
  display: flex;
  gap: 1.5rem;
  font-weight: 500;
}

.site-nav a {
  color: var(--text-muted);
}

.site-nav a:hover {
  color: var(--blue-quebec);
}

.nav-dropdown {
  position: relative;
}

.dropdown-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.dropdown-toggle i {
  font-size: 0.75rem;
  transition: transform 0.3s ease;
}

.nav-dropdown:hover .dropdown-toggle i,
.nav-dropdown.active .dropdown-toggle i {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 0.5rem;
  min-width: 250px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  padding: 0.5rem 0;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown.active .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu a {
  display: block;
  padding: 0.75rem 1.25rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 0.9rem;
}

.dropdown-menu a:hover {
  background: var(--soft-blue);
  color: var(--blue-quebec);
  padding-left: 1.5rem;
}

.btn {
  border: none;
  border-radius: 999px;
  padding: 0.85rem 1.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Add space before buttons when they follow text content */
p + .btn,
.pricing + .btn,
ul + .btn,
ol + .btn,
.pricing__alt + .btn,
textarea + .btn,
input[type="email"] + .btn {
  margin-top: 1.5rem;
}

/* Additional spacing for buttons in cards after any block content */
.card p:last-of-type + .btn,
.card ul:last-of-type + .btn,
.card .pricing + .btn {
  margin-top: 1.5rem;
}

.btn-primary {
  background: var(--blue-quebec);
  color: #fff;
  box-shadow: 0 15px 25px rgba(13, 31, 82, 0.35);
}

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

.btn-secondary {
  border: 1px solid var(--blue-quebec);
  background: transparent;
  color: var(--blue-quebec);
  box-shadow: inset 0 0 0 1px rgba(13, 31, 82, 0.1);
}

.btn-secondary:hover {
  background: rgba(29, 45, 80, 0.08);
}

.btn.ghost {
  background: rgba(0, 51, 153, 0.1);
  color: var(--blue-quebec);
  border: 1px solid rgba(0, 51, 153, 0.25);
}

.btn.ghost:hover {
  background: rgba(0, 51, 153, 0.18);
}

.section {
  padding-block: clamp(4rem, 10vw, 8rem);
  padding-inline: clamp(1.25rem, 4vw, 3rem);
  position: relative;
  background: #fff;
  border-radius: 0;
  margin-inline: 0;
  box-shadow: none;
  scroll-margin-top: 100px;
}

.section:has(.service-grid) {
  background: #fff;
  padding-block: clamp(5rem, 12vw, 10rem);
}

.section--muted {
  background: #f8f9fa;
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.section--spaced {
  margin-top: clamp(3rem, 8vw, 6rem);
}

.section--columns,
.section--split {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.section__header {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section__footer {
  margin-top: 2rem;
  text-align: center;
}

.eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red-quebec);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  padding: clamp(2.5rem, 6vw, 4.5rem);
  align-items: center;
  background: var(--gradient-sky);
  border-radius: 2.5rem;
  box-shadow: 0 30px 80px rgba(13, 31, 82, 0.15);
  margin: clamp(1rem, 3vw, 2.5rem) 0;
  position: relative;
  overflow: hidden;
  margin-inline: clamp(1rem, 3vw, 2rem);
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.6;
}

.hero::before {
  width: 220px;
  height: 220px;
  background: rgba(0, 51, 153, 0.3);
  top: -40px;
  right: -20px;
}

.hero::after {
  width: 180px;
  height: 180px;
  background: rgba(237, 28, 36, 0.25);
  bottom: -60px;
  left: -20px;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero__content h1 {
  font-size: clamp(2.5rem, 5vw, 3.75rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.lead {
  font-size: 1.125rem;
  color: var(--text-muted);
}

.hero__actions {
  margin-block: 1.5rem;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero__bullet {
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
  color: var(--text-muted);
}

.hero__bullet i {
  color: var(--red-quebec);
  margin-right: 0.5rem;
}

.hero__visual {
  justify-self: center;
}

.hero__visual figure {
  margin: 0;
  width: min(100%, 520px);
}

.hero__visual img {
  width: 100%;
  border: 1px solid rgba(13, 31, 82, 0.05);
  box-shadow: 0 30px 60px rgba(15, 25, 55, 0.25);
  background: #fff;
}

.cards {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

.cards--two {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.cards--three {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.cards--four {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--gradient-card);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.card:hover::before {
  opacity: 1;
}

.card > * {
  position: relative;
  z-index: 1;
}

.card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.card--product ul {
  padding-left: 1.25rem;
  color: var(--text-muted);
}

.card--service {
  display: flex;
  flex-direction: column;
}

.card--service i {
  font-size: 2rem;
  color: var(--blue-quebec);
  margin-bottom: 1rem;
}

.card--service h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  margin-bottom: 1rem;
  color: var(--blue-quebec);
}

.card--service ul {
  padding-left: 1.25rem;
  color: var(--text-muted);
  margin: 1.5rem 0;
  font-size: 1rem;
}

.card--service .pricing {
  margin: 2rem 0 1.5rem;
}

.card--service .btn {
  margin-top: 0;
  align-self: flex-start;
}

.card--pack {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 0;
}

.card--pack h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
  color: var(--text);
  font-weight: 700;
}

.card--pack p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.card--pack ul {
  margin: 1.5rem 0;
  line-height: 1.8;
}

.card--pack .pricing {
  margin: 2rem 0 1.5rem;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 3rem 0;
  max-width: 1200px;
  margin: 0 auto;
}

.card--service {
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 0;
}

.card--service i {
  font-size: 3rem;
  color: var(--blue-quebec);
  margin-bottom: 1.5rem;
  opacity: 0.9;
  border: 2px solid var(--blue-quebec);
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  background: rgba(0, 51, 153, 0.05);
}

.card--service h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem;
  color: var(--text);
  font-weight: 700;
}

.card--service p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.card--service ul {
  margin: 1.5rem 0;
  line-height: 1.8;
}

.service-image {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
  height: 100%;
  min-height: 400px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.5rem;
  transition: transform 0.4s ease;
  display: block;
  background: #f0f0f0;
}

.service-image img[src=""],
.service-image img:not([src]) {
  background: linear-gradient(135deg, var(--soft-blue), #fff);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-image img::before {
  content: "Image non disponible";
  color: var(--text-muted);
  font-size: 0.9rem;
}

.service-image:hover img {
  transform: scale(1.03);
}

@media (max-width: 968px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .service-image {
    order: -1;
    min-height: 300px;
    max-height: 400px;
  }

  .card--service i {
    font-size: 2.5rem;
    width: 70px;
    height: 70px;
  }
}

.services-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  padding: 1.5rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.services-nav a {
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  background: var(--soft-blue);
  color: var(--blue-quebec);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid rgba(0, 51, 153, 0.1);
}

.services-nav a:hover {
  background: var(--blue-quebec);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0, 51, 153, 0.2);
}

.card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--blue-light);
  color: #fff;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.badge--outline {
  background: transparent;
  color: var(--blue-quebec);
  border: 1px solid var(--blue-quebec);
}

.pricing {
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.pricing__now {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--blue-quebec);
}

.pricing__alt {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.feature {
  background: linear-gradient(140deg, #fff, var(--soft-blue));
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  box-shadow: 0 15px 30px rgba(15, 25, 55, 0.08);
}

.feature i {
  font-size: 1.5rem;
  color: var(--blue-quebec);
  margin-bottom: 0.75rem;
}

.card--pillar i {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
  color: var(--red-quebec);
}

.card--testimonial {
  background: #fff;
  border-left: 4px solid var(--blue-light);
  background-image: linear-gradient(120deg, rgba(0, 51, 153, 0.12), rgba(237, 28, 36, 0.08));
}

.card--testimonial h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--blue-quebec);
  margin-bottom: 1rem;
  font-style: italic;
}

.signature {
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  color: var(--text-muted);
}

.card--post {
  border-top: 4px solid var(--red-quebec);
}

.card__tag {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

.link {
  font-weight: 600;
}

.about__card {
  background: var(--pastel);
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 25px 45px rgba(13, 31, 82, 0.08);
}

.cta {
  text-align: center;
  background: var(--gradient-cta);
  color: #fff;
  border-radius: 1.5rem;
  margin-inline: clamp(1rem, 3vw, 5rem);
  box-shadow: var(--shadow);
}

.cta .section__header {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.cta .eyebrow {
  color: #fff;
}

.paypal {
  margin: 2rem auto 1rem;
  max-width: 420px;
}

.hint {
  color: rgba(255, 255, 255, 0.85);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
  align-items: start;
}

.form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.form input,
.form textarea {
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  font-size: 1rem;
  font-family: inherit;
  background: #fff;
  box-shadow: inset 0 1px 4px rgba(15, 25, 55, 0.06);
}

.form--inline {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 1rem;
}

.form--inline input {
  flex: 1;
  min-width: 200px;
}

.newsletter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: 
    linear-gradient(120deg, rgba(0, 51, 153, 0.08), rgba(237, 28, 36, 0.08)),
    #fff;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  box-shadow: 0 20px 45px rgba(13, 31, 82, 0.12);
}

.site-footer {
  background: #fff;
  border-top: 1px solid var(--border);
  padding-block: 3rem;
  margin-top: clamp(2.5rem, 6vw, 4.5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-grid > div:first-child {
  max-width: 300px;
}

.footer-grid nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
}

.footer-grid nav div {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-grid nav strong {
  color: var(--blue-quebec);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-grid nav a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-grid nav a:hover {
  color: var(--blue-quebec);
}

.footer-meta {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-muted);
}

.footer-meta a {
  color: var(--text-muted);
}

.footer-meta a:hover {
  color: var(--blue-quebec);
}

.socials a {
  font-size: 1.25rem;
  color: var(--blue-quebec);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(0, 51, 153, 0.12);
  transition: transform 0.2s ease, background 0.2s ease;
}

.socials a:hover {
  color: #fff;
  background: var(--red-quebec);
  transform: translateY(-2px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    gap: 1rem;
  }

  .site-nav {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-dropdown {
    width: 100%;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    box-shadow: none;
    border: none;
    border-top: 1px solid var(--border);
    margin-top: 0;
    border-radius: 0;
  }

  .nav-dropdown.active .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    padding-left: 1.5rem;
  }

  .cta {
    margin-inline: 1rem;
  }
}

