:root {
  --bg: #ffffff;
  --text: #1f2937;
  --muted: #7a7a7a;
  --accent: #9e0b0b;
  --accent-2: #7c3aed;
  --gray: #f3f4f6;
  --dark: #0f172a;
  --card: #ffffff;
  --shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}
main {
  flex: 1;
}
body {
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu,
    "Helvetica Neue", Arial;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  display: block;
}
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}
.hidden {
  display: none !important;
}
.center {
  text-align: center;
}
.block {
  display: block;
  width: 100%;
}
.small {
  font-size: 0.9rem;
}
.italic {
  font-style: italic;
}
.accent {
  color: var(--accent);
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.25rem;
  border-radius: 0.75rem;
  border: 1px solid transparent;
  font-weight: 600;
  text-decoration: none;
  transition: 0.2s;
}
.btn:hover {
  transform: translateY(-1px);
}
.btn-small {
  padding: 0.5rem 0.9rem;
}
.btn-primary {
  background: #e5e7eb;
  color: var(--accent);
}
.primary-btn {
  color: var(--accent);
}
.btn-primary:hover {
  filter: brightness(0.95);
}
.btn-secondary {
  background: #e5e7eb;
  color: #111827;
}
.btn-secondary:hover {
  background: #d1d5db;
}
.btn-outline {
  background: transparent;
  color: var(--accent);
}
.btn-outline:hover {
  background: var(--accent);
  color: var(--accent);
}
.btn-light {
  background: #fff;
  color: var(--accent);
}
.btn-dark {
  background: #e5e7eb;
  color: #111827;
}
.btn-dark:hover {
  filter: brightness(0.95);
}

/* Nav */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: #fff;
  border-bottom: 1px solid #e5e7eb;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.logo {
  font-weight: 800;
  letter-spacing: 0.2px;
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}
.logo:hover {
  transform: scale(1.05);
}
.mobile-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 6px;
}
.mobile-toggle .bar {
  display: block;
  width: 24px;
  height: 2px;
  background: #374151;
  margin: 5px 0;
  border-radius: 2px;
  transition: transform 0.3s ease;
}
.mobile-toggle:hover .bar {
  background: var(--accent);
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
  align-items: center;
}
.nav-links a {
  color: #374151;
  text-decoration: none;
  position: relative;
  font-weight: 600;
  padding: 5px 0;
  transition: color 0.3s ease;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 0;
  background-color: var(--accent);
  transition: width 0.3s ease;
}
.nav-links a:not(.btn):hover::after {
  width: 100%;
}
.nav-links a:hover {
  color: var(--accent);
}
@media (max-width: 840px) {
  .mobile-toggle {
    display: block;
  }
  .nav-links {
    position: absolute;
    left: 0;
    right: 0;
    top: 64px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    flex-direction: column;
    gap: 0;
    padding: 8px 16px;
    display: none;
  }
  .nav-links.open {
    display: flex;
  }
}

/* Hero */
.hero {
  position: relative;
  color: #ffffff;
  overflow: hidden;
}
.hero-banner {
  position: relative;
  background-image: url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  color: #ffffff;
  padding: 0;
  min-height: 90vh;
  display: flex;
  align-items: center;
}
.hero-banner::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.7) 0%,
    rgba(0, 0, 0, 0.3) 100%
  );
  z-index: 0;
}
.hero-banner .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-inner {
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  position: relative;
  z-index: 2;
}

.hero-content {
  width: 50%;
  text-align: left;
  max-width: 600px;
  padding: 5rem 2rem 5rem 4rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  position: relative;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero h1::after {
  content: "";
  position: absolute;
  width: 80px;
  height: 4px;
  background-color: var(--accent);
  bottom: -0.75rem;
  left: 0;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-image {
  display: none;
}

@media (max-width: 900px) {
  .hero-inner {
    justify-content: center;
  }

  .hero-content {
    width: 90%;
    padding: 3rem 1.5rem;
    text-align: center;
    max-width: 100%;
    border-radius: 20px;
  }

  .hero h1::after {
    left: 50%;
    transform: translateX(-50%);
  }
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 16px;
  margin-top: 32px;
  position: relative;
  z-index: 3;
}
.hero-cta .btn {
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border-width: 2px;
  pointer-events: auto;
  cursor: pointer;
}
.hero-cta .btn-light {
  background-color: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.hero-cta .btn-outline {
  border-color: #fff;
  color: #fff;
}
.hero-cta .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.3);
}
.hero-cta .btn::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: -100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.3),
    transparent
  );
  transition: left 0.7s ease;
}
.hero-cta .btn:hover::after {
  left: 100%;
}

@media (max-width: 900px) {
  .hero-cta {
    justify-content: center;
  }
}
.hero-bubbles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bubbles::before,
.hero-bubbles::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  opacity: 0.15;
  pointer-events: none;
  animation: float 8s ease-in-out infinite alternate;
}
.hero-bubbles::before {
  width: 320px;
  height: 320px;
  background: var(--accent);
  left: -120px;
  bottom: -120px;
  filter: blur(5px);
}
.hero-bubbles::after {
  width: 200px;
  height: 200px;
  background: var(--primary-light);
  right: -60px;
  top: -60px;
  animation-delay: 2s;
  filter: blur(3px);
}

@keyframes float {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(20px) scale(1.05);
  }
}

/* Sections */
.section {
  padding: 64px 0;
}
.section-gray {
  background: var(--gray);
}
.section-head .kicker {
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.9rem;
}
.section-head h2 {
  margin: 0.25rem 0 8px;
  font-size: clamp(24px, 3.6vw, 36px);
}
.section-head .muted {
  color: var(--muted);
  max-width: 720px;
  margin: 0 auto;
}

/* Grid */
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 900px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

/* Cards */
.card {
  background: var(--card);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
  transition: 0.2s;
}
.card a {
  color: var(--accent);
}
.card:hover {
  transform: translateY(-3px);
}
.icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: #eff6ff;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 10px;
}

/* Method Timeline */
.method-timeline {
  position: relative;
  max-width: 900px;
  margin: 40px auto 0;
  padding: 20px 0;
}

.method-timeline::before {
  content: "";
  position: absolute;
  width: 4px;
  background-color: var(--accent);
  top: 0;
  bottom: 0;
  left: 50px;
  margin-left: -2px;
  border-radius: 4px;
}

.method-step {
  display: flex;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
}

.method-number {
  width: 50px;
  height: 50px;
  background-color: var(--accent);
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5rem;
  z-index: 1;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  margin-right: 25px;
  flex-shrink: 0;
}

.method-content {
  background-color: white;
  padding: 20px 25px;
  border-radius: 10px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  flex-grow: 1;
  transition: transform 0.3s ease;
}

.method-content:hover {
  transform: translateY(-5px);
}

.method-content h3 {
  margin-top: 0;
  color: var(--accent);
}

@media (max-width: 768px) {
  .method-timeline::before {
    left: 30px;
  }

  .method-number {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
    margin-right: 20px;
  }
}

/* Stats */
.stats {
  color: #fff;
  background: linear-gradient(90deg, var(--muted), #fff);
}
.stat {
  text-align: center;
  padding: 16px;
}
.stat-num {
  font-weight: 800;
  font-size: 32px;
}
.stat-label {
  opacity: 0.95;
}

/* Values Section */
.values-section {
  background-color: #f9fafb;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.value-card {
  background-color: white;
  border-radius: 12px;
  padding: 30px 20px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.value-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.value-icon {
  font-size: 2.5rem;
  margin-bottom: 15px;
  display: inline-block;
}

.value-card h3 {
  color: var(--accent);
  margin: 0 0 10px;
}

.value-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

@media (max-width: 900px) {
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* Pricing */
.pricing .price-card {
  position: relative;
}
.price-card .price {
  margin: 12px 0 16px;
}
.price .amount {
  font-size: 32px;
  font-weight: 800;
  margin-right: 6px;
}
.price .per {
  color: var(--muted);
}
.price-card .list {
  margin: 0 0 20px;
  padding-left: 18px;
}
.price-card .list li {
  margin: 6px 0;
}
.price-card .muted {
  color: #9ca3af;
}
.price-card.popular {
  border: 2px solid var(--accent);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.15);
}
.price-card .badge {
  position: absolute;
  right: 0;
  top: 0;
  background: var(--accent);
  color: #fff;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-bottom-left-radius: 8px;
}

/* Témoignages */
.testimonial {
  position: relative;
}
.quote-mark {
  position: absolute;
  left: -6px;
  top: -20px;
  font-size: 64px;
  color: #e5e7eb;
  pointer-events: none;
}
.t-row {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}
.avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

/* Team */
.team {
  text-align: center;
}
.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 3px solid #6b7280;
  margin: 0 auto 12px;
  overflow: hidden;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CTA */
.cta {
  color: #fff;
  background: linear-gradient(90deg, var(--muted), #fff);
  text-align: center;
}
.cta h2 {
  margin: 0 0 8px;
}
.cta .muted {
  color: #e5e7eb;
  margin: 0 auto 16px;
  max-width: 640px;
}

/* Contact */
.form-group {
  margin-bottom: 14px;
  display: flex;
  flex-direction: column;
}
label {
  font-weight: 600;
  margin-bottom: 6px;
}
.input,
.select,
.textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-size: 1rem;
}
.input:focus,
.select:focus,
.textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px #93c5fd;
}
.error {
  display: none;
  color: #b91c1c;
  font-size: 0.9rem;
  margin-top: 6px;
}
.error.hidden {
  display: none;
}
.input[aria-invalid="true"],
.select[aria-invalid="true"],
.textarea[aria-invalid="true"] {
  border-color: #b91c1c;
}

/* Footer */
.footer {
  background: #0b1220;
  color: #e5e7eb;
  padding: 40px 0;
}
.footer-inner {
  display: grid;
  gap: 16px;
  justify-items: start;
}
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
}
.footer a {
  color: #cbd5e1;
  text-decoration: none;
}
.footer a:hover {
  color: #fff;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #111827;
  color: #fff;
  z-index: 50;
  display: block;
}
.cookie-banner.hidden {
  display: none;
}
.cookie-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 0;
}
.cookie-text {
  font-size: 0.9rem;
}
.cookie-text a {
  color: #93c5fd;
}

/* Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 60;
}
.modal-box {
  background: #fff;
  border-radius: 16px;
  max-width: 520px;
  width: 92%;
  padding: 24px;
  text-align: center;
  transform: scale(0.95) translateY(12px);
  transition: 0.25s;
}
.modal.show .modal-box {
  transform: scale(1) translateY(0);
}
.modal-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  border-radius: 50%;
  background: #ecfdf5;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #10b981;
}
