:root {
  --blue: #3347CA;
  --bg: #FFFEF5;
  --text: #1a1a1a;
}

* {
  box-sizing: border-box;
}

html {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
  position: relative;
  width: 100%;
  max-width: 100vw;
}

body.page-exiting,
body.page-entering {
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform: translateZ(0);
}

/* Page Transition Overlay - Wipe */
.page-transition-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg);
  z-index: 9999;
  transform: translateX(100%) translateZ(0);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.page-transition-overlay.active,
.page-transition-overlay.exit {
  will-change: transform;
}

.page-transition-overlay.active {
  transform: translateX(0) translateZ(0);
  pointer-events: all;
}

.page-transition-overlay.exit {
  transform: translateX(-100%) translateZ(0);
  transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Page Exit Animation - Slide left */
body.page-exiting {
  animation: pageExit 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes pageExit {
  0% {
    transform: translateX(0) translateZ(0);
    opacity: 1;
  }
  100% {
    transform: translateX(-30%) translateZ(0);
    opacity: 0;
  }
}

/* Page Enter Animation - Slide in from right with fade */
body.page-entering {
  animation: pageEnter 0.35s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0s;
  opacity: 1;
}

@keyframes pageEnter {
  0% {
    opacity: 0;
    transform: translateX(30px) translateZ(0);
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateZ(0);
  }
}

/* Animate main content on page load with subtle stagger */
header,
section,
footer {
  opacity: 0;
  animation: contentFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@keyframes contentFadeIn {
  0% {
    opacity: 0;
    transform: translateY(20px) translateZ(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) translateZ(0);
  }
}

/* Stagger animation for sections - starts immediately */
header {
  animation-delay: 0s;
}

section:nth-of-type(1) {
  animation-delay: 0.02s;
}

section:nth-of-type(2) {
  animation-delay: 0.04s;
}

section:nth-of-type(3) {
  animation-delay: 0.06s;
}

section:nth-of-type(4) {
  animation-delay: 0.08s;
}

section:nth-of-type(5) {
  animation-delay: 0.1s;
}

footer {
  animation-delay: 0.12s;
}

/* Header */
.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 40px;
  border-bottom: 1px solid #e0e0e0;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 135px;
  width: auto;
}

.nav .nav-menu {
  display: flex;
  align-items: center;
}

.nav a {
  margin-left: 24px;
  text-decoration: none;
  color: #3347CA;
  font-weight: 600;
  position: relative;
}

.nav a::after {
  content: '▼';
  font-size: 10px;
  margin-left: 4px;
}

/* Remove arrow from Contact link on desktop */
@media (min-width: 769px) {
  .nav a[href="contact.html"]::after,
  .nav a[href*="contact"]::after {
    display: none;
  }
}

.logo a::after {
  display: none;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  gap: 5px;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: var(--text);
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  padding: 40px 48px 125px 48px;
  gap: 35px;
  align-items: center;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
  justify-items: stretch;
  position: relative;
}

.hero-text {
  padding-right: 20px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
}

.hero-text h1 {
  font-family: 'Inter Display', sans-serif;
  font-size: 60px !important;
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 32px 0;
  color: var(--blue);
  letter-spacing: -0.02em;
  display: block;
  white-space: normal;
}

@media (min-width: 769px) {
  .hero-text h1 {
    word-spacing: normal;
  }
  
  .hero-text h1 br {
    display: block;
  }
}

.hero-text h1 br {
  display: block;
  content: "";
}

.hero-text h1 span {
  color: #3247C9;
  font-weight: 900;
  font-size: 1.2em;
}

.hero-text p {
  font-size: 28px;
  color: var(--blue);
  margin-bottom: 40px;
  font-weight: 500;
  line-height: 1.4;
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
}

.hero-visual img {
  width: 100%;
  height: auto;
  max-width: 500px;
  object-fit: contain;
  animation: shakeRotate 3s ease-in-out infinite;
  transform-origin: center center;
}

@keyframes shakeRotate {
  0%, 100% {
    transform: rotate(0deg) translateX(0);
  }
  10% {
    transform: rotate(-8deg) translateX(-5px);
  }
  20% {
    transform: rotate(8deg) translateX(5px);
  }
  30% {
    transform: rotate(-6deg) translateX(-3px);
  }
  40% {
    transform: rotate(6deg) translateX(3px);
  }
  50% {
    transform: rotate(-4deg) translateX(-2px);
  }
  60% {
    transform: rotate(4deg) translateX(2px);
  }
  70% {
    transform: rotate(-2deg) translateX(-1px);
  }
  80% {
    transform: rotate(2deg) translateX(1px);
  }
  90% {
    transform: rotate(0deg) translateX(0);
  }
}

.email-form {
  display: flex;
  gap: 16px;
  margin-top: 0;
  flex-wrap: wrap;
}

.email-form input {
  flex: 1;
  padding: 20px 24px;
  font-size: 18px;
  border-radius: 24px;
  border: 2px solid #ddd;
  font-family: 'Inter', sans-serif;
  min-width: 300px;
}

.email-form button {
  padding: 20px 40px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 32px;
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  white-space: nowrap;
  transition: opacity 0.2s;
}

.email-form button:hover {
  opacity: 0.9;
}

.form-feedback {
  flex-basis: 100%;
  margin: 10px 0 0 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
}

.form-feedback.is-error {
  color: #b00020;
}

.email-form button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* How It Works Section */
.how {
  padding: 10px 48px;
  text-align: center;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

.how h2 {
  font-family: 'Inter Display', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 64px;
}

.how-content {
  display: flex;
  align-items: stretch;
  gap: 32px;
  justify-content: center;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
  margin: 48px auto;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}

/* Ensure 4 columns on laptop/desktop */
@media (min-width: 969px) {
  .cards {
    grid-template-columns: repeat(4, 1fr) !important;
  }
}

.how-right {
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: stretch;
  align-self: stretch;
  width: 100%;
  max-width: 320px;
}

.how-illustration-box {
  background: #f0e8ff;
  padding: 32px;
  border-radius: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
  min-height: 0;
  align-self: stretch;
}

.how-illustration-box img {
  width: 200px;
  height: auto;
  object-fit: contain;
  display: block;
}

.how-cta-box {
  background: #f0e8ff;
  padding: 32px;
  border-radius: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}

.card {
  background: #f0e8ff;
  padding: 28px;
  border-radius: 72px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.card .cta-button {
  margin-top: auto;
}

.card img {
  width: 100%;
  max-width: 225px;
  height: auto;
  aspect-ratio: 1;
  margin-bottom: 10px;
  object-fit: contain;
  flex-shrink: 1;
}

.card h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.card p {
  font-size: 19px;
  color: #3247C9;
  line-height: 1.6;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* For microphone illustration - no background box */
.card-final {
  padding: 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: transparent;
  min-height: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.card-final .cta-button {
  margin-top: auto;
  padding: 18px 36px;
  font-size: 20px;
  background: #3247C9;
}

.card-final img {
  width: 100%;
  max-width: 280px;
  height: auto;
  aspect-ratio: 1;
  margin-bottom: 24px;
  object-fit: contain;
  flex-shrink: 1;
  animation: microphone-jump 0.8s ease-in-out infinite;
}

@keyframes microphone-jump {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30px);
  }
}


.cta-button {
  padding: 14px 28px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Pricing Section */
.pricing {
  padding: 100px 48px;
  text-align: center;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

.pricing h2 {
  font-family: 'Inter Display', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 64px;
}

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 48px;
}

.price-card {
  background: #f0e8ff;
  padding: 36px 28px;
  border-radius: 72px;
  text-align: left;
  display: flex;
  flex-direction: column;
  height: 100%;
  align-items: flex-start;
}

.price-card.negative {
  background: #f0e8ff;
}

.price-card.featured {
  background: #F5F5F5;
}

.price-card ul {
  flex-grow: 1;
}

.price-card h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 24px;
  line-height: 1.2;
  min-height: 34px;
}

.price {
  font-size: 48px;
  font-weight: 800;
  color: var(--text);
  margin: 16px 0;
  min-height: 64px;
  display: flex;
  align-items: flex-end;
  line-height: 1;
}

.price span {
  font-size: 24px;
  font-weight: 600;
}

.price-note {
  font-size: 17px;
  color: var(--text);
  margin-top: -8px;
  margin-bottom: 24px;
  min-height: 25px;
  line-height: 1.4;
}

.price-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  flex-grow: 1;
}

/* Align bullet points at the same vertical level across all cards */
/* Reference point: Card 2 (Gratuit) - h3 mb (24px) + price section (96px) + ul mt (24px) = 144px total */
/* We want all ul elements to start at the same Y position: 144px from h3 bottom */

/* Card 1 (negative): h3 mb (24px) only, so ul needs mt: 144px - 24px = 120px */
.price-card.negative ul {
  margin-top: 120px;
}

/* Card 2 (regular): h3 mb (24px) + price section (96px) = 120px, so ul mt: 24px */
.price-card:not(.negative):not(.featured) ul {
  margin-top: 24px;
}

/* Card 3 (featured): h3 mb (24px) + price section (96px) + price-note effective (17px) = 137px, so ul mt: 7px to reach 144px */
.price-card.featured ul {
  margin-top: 7px;
}

.price-card ul li {
  padding: 12px 0;
  font-size: 19px;
  position: relative;
  padding-left: 32px;
  color: var(--text);
}

.price-card ul li::before {
  content: '✓';
  position: absolute;
  left: 8px;
  top: 12px;
  color: var(--blue);
  font-size: 18px;
  line-height: 1;
  font-weight: 700;
}

.price-card button {
  width: 100%;
  padding: 14px 28px;
  margin-top: 24px;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 18px;
  background: #3347CA;
  color: white;
}

.price-card.featured button {
  background: #3347CA;
  color: white;
}

.price-card button:hover {
  opacity: 0.9;
}

/* Testimonial Section */
.testimonial {
  padding: 30px 48px;
  text-align: center;
  max-width: 85%;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

.testimonial-carousel {
  position: relative;
}

.testimonial-slides {
  position: relative;
  overflow: hidden;
  min-height: 250px;
}

.testimonial-slide {
  position: absolute;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.95);
  filter: blur(4px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              visibility 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: opacity, transform, filter;
}

.testimonial-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  filter: blur(0);
  z-index: 1;
}

.testimonial-slide blockquote {
  font-size: 24px;
  font-style: italic;
  color: var(--blue);
  margin: 0 0 24px 0;
  line-height: 1.6;
  padding: 40px;
  background: #f0e8ff;
  border-radius: 32px;
  position: relative;
}

.testimonial-slide span {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}

.testimonial-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  cursor: pointer;
  transition: background 0.3s ease;
}

.testimonial-dots .dot.active {
  background: var(--blue);
}

/* CTA Section */
.cta {
  padding: 100px 48px;
  text-align: center;
  max-width: 70%;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

.cta h2 {
  font-family: 'Inter Display', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 16px;
}

.cta-subheadline {
  font-size: 20px;
  color: #3247C9;
  margin-bottom: 32px;
}

.cta .email-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 400px;
  margin: 0 auto;
}

.cta .email-form input {
  width: 100%;
}

.cta .email-form button {
  width: 100%;
}

/* Footer */
footer {
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  width: 100%;
  margin: 0;
  border-top: 1px solid #e0e0e0;
  box-sizing: border-box;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex: 1;
  justify-content: flex-start;
}

footer a {
  text-decoration: none;
  color: #3347CA;
  font-weight: 500;
}

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

.footer-copyright {
  color: #3347CA;
  font-weight: 600;
  flex-shrink: 0;
  margin-left: auto;
}

/* Modal Styles */
body.modal-open {
  overflow: hidden;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 2000;
  padding: 24px;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #ffffff;
  border-radius: 24px;
  padding: 40px 32px;
  max-width: 500px;
  width: 100%;
  position: relative;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.modal-overlay.open .modal-content {
  transform: scale(1);
}

.modal-content h3 {
  margin: 0 0 16px 0;
  font-family: 'Inter Display', sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--blue);
}

.modal-content p {
  margin: 0 0 24px 0;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  border: none;
  background: #f0e8ff;
  color: var(--blue);
  font-size: 28px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

.modal-close:hover {
  opacity: 0.85;
}

.modal-cta-button {
  width: 100%;
  padding: 16px 24px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 16px;
  transition: opacity 0.2s;
  font-family: 'Inter', sans-serif;
}

.modal-cta-button:hover {
  opacity: 0.9;
}

/* FAQ Page Styles */
.faq-section {
  padding: 80px 48px 100px 48px;
  max-width: 90%;
  margin: 0 auto;
  width: 100%;
}

.faq-container h1 {
  font-family: 'Inter Display', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 64px;
  text-align: center;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.faq-item {
  background: #f0e8ff;
  padding: 36px;
  border-radius: 72px;
  box-sizing: border-box;
}

/* Laptop/Desktop view - Bigger gap between left and right cards */
@media (min-width: 769px) {
  /* Even items (2nd, 4th, 6th...) positioned to the right */
  .faq-item:nth-child(even) {
    margin-left: auto;
    margin-right: 0;
    max-width: 45%;
  }

  /* Odd items (1st, 3rd, 5th...) positioned to the left */
  .faq-item:nth-child(odd) {
    margin-left: 0;
    margin-right: auto;
    max-width: 45%;
  }
}

/* Mobile/Tablet view - Smaller gap */
@media (max-width: 768px) {
  /* Even items (2nd, 4th, 6th...) positioned slightly to the right */
  .faq-item:nth-child(even) {
    margin-left: auto;
    margin-right: 0;
    max-width: 95%;
  }

  /* Odd items (1st, 3rd, 5th...) positioned slightly to the left */
  .faq-item:nth-child(odd) {
    margin-left: 0;
    margin-right: auto;
    max-width: 95%;
  }
}




.faq-item h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 16px;
  line-height: 1.3;
  text-align: left;
}

.faq-item p {
  font-size: 19px;
  color: var(--text);
  line-height: 1.7;
  margin: 0;
  text-align: left;
}

.faq-item a {
  color: var(--blue);
  text-decoration: underline;
  font-weight: 600;
}

.faq-item a:hover {
  opacity: 0.8;
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo a::after,
.logo a::before {
  display: none;
}

/* Privacy Policy Page Styles - Enhanced Design */
.politique-section {
  padding: 80px 48px 100px 48px;
  max-width: 75%;
  margin: 0 auto;
}

.politique-container h1 {
  font-family: 'Inter Display', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 64px;
  text-align: center;
  position: relative;
  padding-bottom: 32px;
}

.politique-container h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 4px;
  background: var(--blue);
  border-radius: 2px;
}

.politique-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.politique-section-item {
  background: linear-gradient(135deg, #f0e8ff 0%, #f8f4ff 100%);
  padding: 40px;
  border-radius: 72px;
  border: 2px solid rgba(47, 69, 216, 0.1);
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.politique-section-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(47, 69, 216, 0.15);
}

.politique-section-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--blue);
  border-radius: 32px 0 0 32px;
}

.politique-section-item h2 {
  font-size: 30px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 20px;
  line-height: 1.3;
  padding-left: 24px;
  position: relative;
}

.politique-section-item h2::before {
  content: '▸';
  position: absolute;
  left: 0;
  color: var(--blue);
  font-size: 20px;
}

.politique-section-item p {
  font-size: 19px;
  color: var(--text);
  line-height: 1.9;
  margin: 0;
  padding-left: 24px;
}

.politique-section-item a {
  color: var(--blue);
  text-decoration: underline;
  font-weight: 600;
  transition: all 0.2s ease;
}

.politique-section-item a:hover {
  opacity: 0.8;
  text-decoration-thickness: 2px;
}

/* Terms of Use Page Styles - Numbered List Design */
.termes-section {
  padding: 80px 48px 100px 48px;
  max-width: 75%;
  margin: 0 auto;
}

.termes-container h1 {
  font-family: 'Inter Display', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 64px;
  text-align: center;
  position: relative;
}

.termes-container h1::before,
.termes-container h1::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 80px;
  height: 2px;
  background: var(--blue);
  opacity: 0.3;
}

.termes-container h1::before {
  left: calc(50% - 200px);
}

.termes-container h1::after {
  right: calc(50% - 200px);
}

.termes-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.termes-item {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 28px;
  background: #f0e8ff;
  border-radius: 72px;
  border: 1px solid rgba(47, 69, 216, 0.15);
  transition: all 0.3s ease;
}

.termes-item:hover {
  background: #f8f4ff;
  border-color: rgba(47, 69, 216, 0.3);
  transform: translateX(8px);
}

.termes-number {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: var(--blue);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(47, 69, 216, 0.25);
}

.termes-text {
  flex: 1;
}

.termes-text h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 12px;
  line-height: 1.3;
}

.termes-text p {
  font-size: 19px;
  color: var(--text);
  line-height: 1.8;
  margin: 0;
}

.termes-text a {
  color: var(--blue);
  text-decoration: underline;
  font-weight: 600;
  transition: opacity 0.2s ease;
}

.termes-text a:hover {
  opacity: 0.8;
}

.termes-footer {
  margin-top: 64px;
  padding-top: 32px;
  border-top: 2px solid rgba(47, 69, 216, 0.2);
  text-align: center;
}

.termes-footer p {
  font-size: 14px;
  color: var(--text);
  opacity: 0.7;
  margin: 0;
}

/* Contact Page Styles */
.contact-section {
  padding: 80px 48px 100px 48px;
  margin: 0 auto;
}

.contact-container h1 {
  font-family: 'Inter Display', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 16px;
  text-align: center;
}

.contact-intro {
  font-size: 18px;
  color: #3247C9;
  text-align: center;
  margin-bottom: 48px;
  opacity: 0.8;
}

.contact-form {
  background: #f0e8ff;
  padding: 48px;
  border-radius: 72px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 16px;
  font-weight: 600;
  color: var(--blue);
}

.form-group input,
.form-group textarea {
  padding: 16px 20px;
  border: 2px solid rgba(47, 69, 216, 0.2);
  border-radius: 24px;
  font-size: 16px;
  font-family: 'Inter', sans-serif;
  background: white;
  color: #3247C9;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-submit-btn {
  padding: 18px 32px;
  background: var(--blue);
  color: white;
  border: none;
  border-radius: 24px;
  font-size: 18px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 8px;
}

.contact-submit-btn:hover:not(:disabled) {
  background: #2538b8;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(47, 69, 216, 0.3);
}

.contact-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-message {
  padding: 16px 20px;
  border-radius: 24px;
  font-size: 16px;
  text-align: center;
  margin-top: 8px;
}

.form-message.success {
  background: #d4edda;
  color: #155724;
  border: 2px solid #c3e6cb;
}

.form-message.success strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.form-message.error {
  background: #f8d7da;
  color: #721c24;
  border: 2px solid #f5c6cb;
}

.form-message.error strong {
  display: block;
  margin-bottom: 8px;
  font-size: 18px;
}

.form-message.error a {
  color: #721c24;
  text-decoration: underline;
  font-weight: 600;
}

.form-message.error a:hover {
  opacity: 0.8;
}

/* Responsive Design */

/* Tablet Styles (768px - 968px) - iPad */
@media (max-width: 968px) and (min-width: 769px) {
  html {
    overflow-x: hidden;
    width: 100%;
  }

  body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
  }

  * {
    max-width: 100%;
  }

  img,
  video,
  iframe {
    max-width: 100%;
    height: auto;
  }

  .nav {
    padding: 20px 32px;
    max-width: 100%;
    overflow-x: hidden;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 32px 32px 80px 32px;
    gap: 60px;
    text-align: center;
  }

  .hero-text {
    padding-right: 0;
  }


  .hero-text p {
    font-size: 24px;
  }

  .hero-visual img {
    max-width: 500px;
    margin: 0 auto;
  }

  .email-form {
    flex-direction: column;
    max-width: 500px;
    margin: 0 auto;
  }

  .email-form input {
    min-width: auto;
    width: 100%;
  }

  .email-form button {
    width: 100%;
  }

  .how {
    padding: 80px 32px;
  }

  .how h2 {
    font-size: 40px;
    margin-bottom: 48px;
  }

  .how-content {
    flex-direction: column;
    align-items: center;
    gap: 24px;
  }

  .how-right {
    width: 100%;
    max-width: 100%;
    align-items: center;;
  }

  .how-illustration-box {
    max-width: 100%;
  }

  .how-illustration-box img {
    width: 150px;
  }

  .how-cta-box {
    max-width: 100%;
  }

  .cards {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 24px;
    max-width: 100%;
    overflow-x: hidden;
  }

  .pricing {
    padding: 80px 32px;
  }

  .pricing h2 {
    font-size: 40px;
    margin-bottom: 48px;
  }

  .pricing-cards {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 100%;
    overflow-x: hidden;
  }

  .price-card {
    padding: 32px 24px;
  }

  .testimonial {
    padding: 80px 32px;
  }

  .testimonial-slide blockquote {
    font-size: 20px;
    padding: 32px;
    border-radius: 48px;
  }

  .testimonial-slides {
    min-height: 220px;
  }

  .faq-section {
    padding: 60px 32px 80px 32px;
    max-width: 100%;
    overflow-x: hidden;
  }

  .contact-section {
    padding: 60px 32px 80px 32px;
    max-width: 100%;
    overflow-x: hidden;
  }

  .termes-section {
    padding: 60px 32px 80px 32px;
    max-width: 100%;
    overflow-x: hidden;
  }

  .politique-section {
    padding: 60px 32px 80px 32px;
    max-width: 100%;
    overflow-x: hidden;
  }

  .faq-container h1 {
    font-size: 48px;
    margin-bottom: 48px;
  }

  .faq-item {
    padding: 32px 28px;
  }

  .cta {
    padding: 80px 32px;
  }

  .cta h2 {
    font-size: 40px;
  }

  footer {
    padding: 40px 32px !important;
    flex-direction: column !important;
    gap: 24px !important;
    text-align: center !important;
    margin-top: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Mobile Styles (< 768px) */
@media (max-width: 768px) {
  html {
    height: 100%;
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
  }

  body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
    position: relative;
  }

  body > header,
  body > section,
  body > footer {
    flex-shrink: 0;
    max-width: 100vw;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  img,
  video,
  iframe,
  embed,
  object {
    max-width: 100%;
    height: auto;
  }

  body > footer {
    margin-top: auto;
  }

  .nav {
    padding: 16px 20px;
    position: relative;
    z-index: 1;
    overflow: visible !important;
  }

  .logo img {
    height: 90px;
  }

  .mobile-menu-toggle {
    display: flex !important;
    z-index: 1000000 !important;
    position: fixed !important;
    top: 20px !important;
    right: 20px !important;
    background: rgba(255, 254, 245, 0.95) !important;
    border-radius: 8px !important;
    padding: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  }

  .nav .nav-menu {
    position: fixed !important;
    top: 0 !important;
    left: auto !important;
    right: -100% !important;
    bottom: 0 !important;
    width: 70% !important;
    max-width: 300px !important;
    height: 100vh !important;
    min-height: 100vh !important;
    background: #FFFEF5 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding: 80px 32px 32px !important;
    gap: 24px !important;
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1) !important;
    transition: right 0.3s ease !important;
    z-index: 999999 !important;
    overflow-y: auto !important;
    margin: 0 !important;
    border: none !important;
    transform: none !important;
    will-change: right !important;
  }

  .nav .nav-menu.active {
    right: 0 !important;
  }

    body.menu-open {
    overflow: hidden !important;
    position: fixed !important;
    width: 100% !important;
    height: 100% !important;
  }

  body.menu-open * {
    pointer-events: none;
  }

  body.menu-open .nav .nav-menu,
  body.menu-open .nav .nav-menu *,
  body.menu-open .mobile-menu-toggle,
  body.menu-open .mobile-menu-toggle * {
    pointer-events: all !important;
  }

  .mobile-menu-toggle span {
    position: relative !important;
    z-index: 1 !important;
  }

  .nav .nav-menu a {
    margin-left: 0 !important;
    font-size: 18px !important;
    width: 100% !important;
    padding: 12px 0 !important;
    border-bottom: 1px solid #e0e0e0 !important;
    position: relative !important;
    z-index: 1 !important;
    pointer-events: all !important;
    cursor: pointer !important;
    display: block !important;
  }

  .nav a::after {
    display: none;
  }

  .hero {
    padding: 24px 20px 16px 20px;
    gap: 0;
    grid-template-columns: 1fr;
    position: relative;
    min-height: 500px;
    max-width: 100%;
    overflow-x: hidden;
    margin-bottom: 0;
  }

  .hero-visual {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
  }

  .hero-visual img {
    max-width: 100%;
    height: auto;
    opacity: 0.3;
  }

  .hero-text {
    padding-right: 0;
    position: relative;
    z-index: 2;
    text-align: center;
    padding-top: 40px;
  }

  .hero-text h1 {
    font-size: 40px;
    line-height: 1.05;
    margin-bottom: 24px;
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8);
  }

  .hero-text p {
    text-shadow: 0 2px 8px rgba(255, 255, 255, 0.8);
  }

  .hero-text p {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .hero-visual img {
    max-width: 100%;
  }

  .email-form {
    gap: 12px;
    flex-direction: column;
    margin-bottom: 0;
  }

  .email-form input {
    padding: 16px 20px;
    font-size: 16px;
    min-width: auto;
    width: 100%;
  }

  .email-form button {
    padding: 16px 32px;
    font-size: 16px;
    width: 100%;
  }

  .how {
    padding: 16px 20px 60px 20px;
    max-width: 100%;
    overflow-x: hidden;
    margin-top: 0;
  }

  .how h2 {
    font-size: 32px;
    margin-bottom: 32px;
  }

  .how-content {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .how-right {
    width: 100%;
    max-width: 100%;
    align-items: center;
  }

  .how-illustration-box {
    max-width: 100%;
  }

  .how-illustration-box img {
    width: 150px;
  }

  .how-cta-box {
    max-width: 100%;
  }

  .cards {
    grid-template-columns: 1fr !important;
    gap: 20px;
    margin-top: 32px;
    margin-bottom: 32px;
  }

  .card {
    padding: 24px 20px;
  }

  .card img {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
  }

  .card h3 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  .card p {
    font-size: 15px;
  }

  .cta-button {
    width: 100%;
    justify-content: center;
    padding: 12px 24px;
  }

  .pricing {
    padding: 60px 20px;
  }

  .pricing h2 {
    font-size: 32px;
    margin-bottom: 32px;
  }

  .pricing-cards {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-top: 32px;
  }

  .price-card {
    padding: 28px 20px;
  }

  .price-card h3 {
    font-size: 22px;
    margin-bottom: 20px;
  }

  .price {
    font-size: 40px;
    margin: 12px 0;
  }

  .price span {
    font-size: 20px;
  }

  .price-note {
    font-size: 13px;
    margin-bottom: 20px;
  }

  .price-card ul li {
    padding: 10px 0;
    font-size: 15px;
    padding-left: 28px;
    color: var(--text);
  }

  .price-card ul li::before {
    content: '✓';
    left: 8px;
    top: 10px;
    font-size: 16px;
    color: var(--blue);
    font-weight: 700;
  }

  /* Reset ul margin-top to normal for mobile */
  .price-card.negative ul,
  .price-card:not(.negative):not(.featured) ul,
  .price-card.featured ul {
    margin-top: 24px;
  }

  .price-card button {
    padding: 12px 24px;
    font-size: 15px;
  }

  .testimonial {
    padding: 60px 20px;
  }

  .testimonial-slide blockquote {
    font-size: 18px;
    padding: 24px 20px;
    line-height: 1.5;
    border-radius: 48px;
  }

  .testimonial-slides {
    min-height: 200px;
  }

  .testimonial-slide span {
    font-size: 16px;
  }

  .cta {
    padding: 60px 20px;
  }

  .cta h2 {
    font-size: 32px;
    margin-bottom: 12px;
  }

  .cta-subheadline {
    font-size: 18px;
    margin-bottom: 24px;
  }

  footer {
    padding: 32px 20px !important;
    gap: 20px !important;
    margin-top: auto !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
    width: 100%;
  }

  footer a {
    font-size: 14px;
  }

  .footer-copyright {
    font-size: 14px;
  }

  .faq-section {
    padding: 60px 20px 80px 20px;
    flex: 1 0 auto;
    max-width: 100%;
    overflow-x: hidden;
  }

  .faq-container h1 {
    font-size: 40px;
    margin-bottom: 40px;
  }

  .faq-item {
    padding: 28px 24px;
  }

  .faq-item h2 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .faq-item p {
    font-size: 15px;
  }

  .politique-section {
    padding: 60px 32px 80px 32px;
    flex: 1 0 auto;
    max-width: 100%;
    overflow-x: hidden;
  }

  .politique-container h1 {
    font-size: 40px;
    margin-bottom: 48px;
    padding-bottom: 24px;
  }

  .politique-container h1::after {
    width: 80px;
    height: 3px;
  }

  .politique-section-item {
    padding: 36px 32px;
  }

  .politique-section-item::before {
    width: 4px;
  }

  .politique-section-item h2 {
    font-size: 22px;
    margin-bottom: 16px;
    padding-left: 20px;
  }

  .politique-section-item h2::before {
    font-size: 18px;
  }

  .politique-section-item p {
    padding-left: 20px;
    font-size: 15px;
  }

  .termes-section {
    padding: 60px 32px 80px 32px;
    flex: 1 0 auto;
    max-width: 100%;
    overflow-x: hidden;
  }

  .termes-container h1 {
    font-size: 40px;
    margin-bottom: 48px;
  }

  .termes-container h1::before,
  .termes-container h1::after {
    width: 60px;
  }

  .termes-container h1::before {
    left: calc(50% - 160px);
  }

  .termes-container h1::after {
    right: calc(50% - 160px);
  }

  .termes-item {
    padding: 28px 24px;
    gap: 24px;
  }

  .termes-number {
    width: 50px;
    height: 50px;
    font-size: 22px;
  }

  .termes-text h2 {
    font-size: 22px;
  }

  .contact-section {
    padding: 60px 32px 80px 32px;
    flex: 1 0 auto !important;
    min-height: 0;
    max-width: 100%;
    overflow-x: hidden;
  }

  .contact-container h1 {
    font-size: 40px;
  }

  .contact-intro {
    font-size: 17px;
    margin-bottom: 40px;
  }

  .contact-form {
    padding: 40px 32px;
  }
}

/* Small Mobile Styles (< 480px) */
@media (max-width: 480px) {
  .nav {
    padding: 12px 16px;
  }

  .logo img {
    height: 80px;
  }

  .nav a {
    font-size: 13px;
  }

  .hero {
    padding: 20px 16px 48px 16px;
    gap: 32px;
  }

  .hero-text h1 {
    font-size: 32px !important;
    line-height: 1.05;
    margin-bottom: 20px;
  }

  .hero-text p {
    font-size: 18px;
    margin-bottom: 28px;
  }

  .how {
    padding: 0px 16px;
  }

  .how h2 {
    font-size: 28px;
  }

  .card {
    padding: 20px 16px;
  }

  .card img {
    width: 80px;
    height: 80px;
  }

  .card h3 {
    font-size: 18px;
  }

  .card p {
    font-size: 14px;
  }

  .pricing {
    padding: 48px 16px;
  }

  .pricing h2 {
    font-size: 28px;
  }

  .price-card {
    padding: 24px 16px;
  }

  .price {
    font-size: 36px;
  }

  .price-card ul li {
    padding: 8px 0;
    font-size: 14px;
    padding-left: 24px;
    color: var(--text);
  }

  .price-card ul li::before {
    content: '✓';
    left: 6px;
    top: 8px;
    font-size: 14px;
    color: var(--blue);
    font-weight: 700;
  }

  /* Reset ul margin-top to normal for small mobile */
  .price-card.negative ul,
  .price-card:not(.negative):not(.featured) ul,
  .price-card.featured ul {
    margin-top: 24px;
  }

  .testimonial {
    padding: 48px 16px;
  }

  .testimonial-slide blockquote {
    font-size: 16px;
    padding: 20px 16px;
    border-radius: 48px;
  }

  .testimonial-slides {
    min-height: 180px;
  }

  .cta {
    padding: 48px 16px;
  }

  .cta h2 {
    font-size: 28px;
  }

  footer {
    padding: 24px 16px !important;
    margin-top: auto !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    flex-shrink: 0 !important;
  }

  .faq-section {
    padding: 48px 16px 60px 16px;
    flex: 1 0 auto;
  }

  .faq-container h1 {
    font-size: 32px;
    margin-bottom: 32px;
  }

  .faq-item {
    padding: 24px 20px;
  }

  .faq-item h2 {
    font-size: 18px;
    margin-bottom: 10px;
  }

  .faq-item p {
    font-size: 14px;
  }

  .politique-section {
    padding: 48px 16px 60px 16px;
    flex: 1 0 auto;
  }

  .politique-container h1 {
    font-size: 32px;
    margin-bottom: 40px;
    padding-bottom: 20px;
  }

  .politique-container h1::after {
    width: 60px;
    height: 3px;
  }

  .politique-content {
    gap: 24px;
  }

  .politique-section-item {
    padding: 28px 24px;
  }

  .politique-section-item::before {
    width: 4px;
  }

  .politique-section-item h2 {
    font-size: 20px;
    margin-bottom: 14px;
    padding-left: 18px;
  }

  .politique-section-item h2::before {
    font-size: 16px;
  }

  .politique-section-item p {
    padding-left: 18px;
    font-size: 14px;
    line-height: 1.8;
  }

  .termes-section {
    padding: 48px 16px 60px 16px;
    flex: 1 0 auto;
  }

  .termes-container h1 {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .termes-container h1::before,
  .termes-container h1::after {
    width: 50px;
  }

  .termes-container h1::before {
    left: calc(50% - 140px);
  }

  .termes-container h1::after {
    right: calc(50% - 140px);
  }

  .termes-content {
    gap: 24px;
  }

  .termes-item {
    padding: 24px 20px;
    gap: 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  .termes-number {
    width: 45px;
    height: 45px;
    font-size: 20px;
  }

  .termes-text h2 {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .termes-text p {
    font-size: 15px;
    line-height: 1.7;
  }
}