/* Thème clair et sombre */
@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 240 10% 3.9%;
    --card: 0 0% 100%;
    --card-foreground: 240 10% 3.9%;
    --primary: 240 5.9% 10%;
    --primary-foreground: 0 0% 98%;
    --border: 240 5.9% 90%;
    --radius: 0.5rem;
  }

  .dark {
    --background: 240 10% 3.9%;
    --foreground: 0 0% 98%;
    --card: 240 10% 3.9%;
    --primary: 0 0% 98%;
    --primary-foreground: 240 5.9% 10%;
    --border: 240 3.7% 15.9%;
  }
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: Arial, sans-serif;
  margin: 0;
  line-height: 1.6;
}

a {
  text-decoration: underline;
  color: hsl(var(--primary));
}

/* Navigation */
nav {
  background-color: hsl(var(--card));
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid hsl(var(--border));
}

nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
}

nav ul li a {
  text-decoration: none;
  color: hsl(var(--foreground));
  font-weight: bold;
}

nav .dark-mode-toggle {
  padding: 0.5rem 1rem;
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

section {
  padding: 2rem;
  margin: auto;
  max-width: 1200px;
}

.tarif_partir {
  font-size: xx-small;
}

section h2 {
  text-align: center;
  margin-bottom: 1rem;
}

/* Tableau des prix */
.pricing-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.pricing-card {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  text-align: center;
  padding: 1.5rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.pricing-card h3 {
  margin: 0.5rem 0;
}

.pricing-card p {
  margin: 0.5rem 0;
}

.pricing-card .price {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 1rem 0;
}

.pricing-card button {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

/* Section Services */
.services {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.service-card {
  flex: 1 1 calc(33.333% - 1rem);
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.service-card h3 {
  margin-bottom: 1rem;
  text-align: center;
}

/* Business Plan */
.business-plan {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.step {
  background-color: hsl(var(--card));
  border: 1px solid hsl(var(--border));
  padding: 1rem;
  border-radius: var(--radius);
  text-align: center;
}

.step h3 {
  margin-bottom: 0.5rem;
}

.contact {
  padding-bottom: 3%;
}

/* Section Contact */
.contactForm label {
  display: block;
  margin: 0.5rem 0;
  font-weight: bold;
}

.contactForm input,
.contactForm textarea,
.contactForm select {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
}

.contactForm button {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.5rem 1rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
}

footer {
  text-align: center;
  padding: 1rem;
  background-color: hsl(var(--card));
  margin-top: 2rem;
  border-top: 1px solid hsl(var(--border));
}
p {
  text-align: center;
}

/* Form Styling */
.contactForm {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  background-color: hsl(var(--card));
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid hsl(var(--border));
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  /*max-width: 600px;*/
  margin: 0 auto;
}

.contactForm label {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.contactForm input,
.contactForm select,
.contactForm textarea {
  padding: 0.75rem;
  font-size: 1rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  margin-bottom: 1rem;
  width: 100%;
}

.contactForm button {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  padding: 0.75rem;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.3s ease-in-out;
}

.contactForm button:hover {
  background-color: hsl(var(--primary), 0.8);
}

/* Error and Success Messages */
.result-text {
  text-align: center;
  font-size: 1.1rem;
  font-weight: bold;
  color: green;
}

/* Error Message */
.result-text.error {
  color: red;
}

/* hCaptcha Styling */
.h-captcha {
  margin: 1rem 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .contactForm {
    padding: 1.5rem;
  }
  .contactForm input {
    width: auto;
  }
  .contactForm textarea {
    width: auto;
    padding-left: 1.5rem;
  }
}

/* .business-plan {
  grid-template-columns: 1fr;
} */

/* new style */

/* Modal Styles */
body.modal-open {
  overflow: hidden; /* Prevent scrolling when modal is open */
}
.modal {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
  background-color: hsl(var(--card));
  margin: 10% auto;
  padding: 20px;
  border: 1px solid hsl(var(--border));
  width: 80%;
  border-radius: var(--radius);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 600px;
  text-align: center;
}

.modal-content .close {
  color: hsl(var(--foreground));
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.modal-content .close:hover,
.modal-content .close:focus {
  color: hsl(var(--primary));
  text-decoration: none;
}

/* Thème clair et sombre */
@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 240 10% 3.9%;
    --card: 0 0% 100%;
    --card-foreground: 240 10% 3.9%;
    --primary: 240 5.9% 10%;
    --primary-foreground: 0 0% 98%;
    --border: 240 5.9% 90%;
    --radius: 1rem; /* Increased radius for more rounded navbar */
  }

  .dark {
    --background: 240 10% 3.9%;
    --foreground: 0 0% 98%;
    --card: 240 10% 3.9%;
    --primary: 0 0% 98%;
    --primary-foreground: 240 5.9% 10%;
    --border: 240 3.7% 15.9%;
  }
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: Arial, sans-serif;
  margin: 0;
  line-height: 1.6;
}

/* Navigation */
nav {
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--card));
  padding: 1rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  margin: 2rem;
  border-radius: var(--radius); /* More rounded navbar */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Add slight shadow for a floating effect */
  position: relative;
}

/* Wrapper to keep hamburger and dark mode toggle aligned */
nav .nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
}

nav ul li a {
  text-decoration: none;
  color: hsl(var(--foreground));
  font-weight: bold;
  padding: 0.5rem 1rem; /* Padding for better click area */
  border-radius: var(--radius); /* Rounded corners for links */
  transition: background-color 0.3s; /* Smooth transition */
}

nav ul li a:hover {
  background-color: hsl(var(--primary), 0.1); /* Hover effect */
}

/* Dark Mode Toggle as an Icon (on the right) */
nav .dark-mode-toggle {
  padding: 0.5rem;
  background-color: transparent;
  border: none;
  color: hsl(var(--foreground));
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease-in-out;
  display: flex;
  align-items: center;
  margin-left: auto; /* Ensure it stays on the right */
}

nav .dark-mode-toggle:hover {
  color: hsl(var(--primary));
}

/* Mobile responsive: Hide menu and show hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger div {
  width: 30px;
  height: 4px;
  background-color: hsl(var(--foreground));
  border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav {
    flex-direction: row; /* Keep items in a row */
    justify-content: space-between; /* Space between items */
  }

  nav ul {
    display: none; /* Initially hide the navigation items */
    flex-direction: column; /* Stack links vertically */
    width: 100%; /* Full width for the links */
    margin-top: 10px;
  }

  nav ul li {
    width: 100%; /* Full width for each link */
  }

  .hamburger {
    display: flex; /* Show the hamburger icon */
    position: absolute;
  }

  nav.active .hamburger {
    display: flex;
    position: absolute;
    top: 25px;
    left: 32px;
  }

  nav.active ul {
    display: flex; /* Show links when the menu is active */
    padding-top: 10%;
    padding-left: 3%;
  }

  nav.active .dark-mode-toggle {
    position: absolute;
    top: 16px;
    right: 32px;
  }

  /* Adjust layout of nav-content to keep dark-mode toggle and hamburger on the same line */
  nav .nav-content {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    align-items: center; /* Ensure vertical alignment */
  }
}

/* Dark Mode Button at the Bottom Right */
.dark-mode-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px;
  background-color: transparent;
  border: none;
  font-size: 2rem;
  color: hsl(var(--foreground));
  cursor: pointer;
  border-radius: 50%;
  transition: color 0.3s ease-in-out;
  z-index: 1000; /* Ensure it's on top of other content */
}

.dark-mode-button:hover {
  color: hsl(var(--primary));
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

li {
  text-align: left;
  padding-left: 1rem;
}

/* Footer */

footer {
  background-color: hsl(var(--card));
  padding: 2rem 1rem;
  color: hsl(var(--foreground));
  text-align: center;
  border-top: 1px solid hsl(var(--border));
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  font-family: Arial, sans-serif;
}

.footer-content .contact,
.footer-content .brand-info,
.footer-content .socials {
  flex: 1 1 30%;
  margin: 0 1rem;
}

/* .footer-content .contact p,
.footer-content .brand-info p {
  margin: 0.5rem 0;
} */

.footer-content .contact-btn {
  background-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
  border: none;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  cursor: pointer;
}

.footer-content .social-icons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.footer-content .social-icons a img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  filter: invert(0);
  transition: filter 0.3s ease-in-out;
}

.footer-bottom {
  margin-top: 1rem;
  font-size: 0.8rem;
  color: hsl(var(--foreground));
}

.footer-bottom a {
  color: hsl(var(--primary));
  text-decoration: none;
}

.footer-bottom a:hover {
  text-decoration: underline;
}

@media (prefers-color-scheme: dark) {
  .footer-content .social-icons a img {
    filter: invert(1) brightness(1.5);
  }
}
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .footer-content .contact,
  .footer-content .brand-info,
  .footer-content .socials {
    flex: 1 1 100%;
    margin-bottom: 1rem;
  }
}

/*svg test*/

.footer-content .social-icons svg {
  fill: hsl(var(--foreground)); /* Gère automatiquement les couleurs */
  transition: fill 0.3s ease-in-out;
}

@media (prefers-color-scheme: dark) {
  .footer-content .social-icons svg {
    fill: hsl(var(--primary));
  }

  .footer-content .social-icons a svg,
  .footer-content .contact a svg {
    fill: hsl(var(--primary)); /* Adjust the fill color as needed */
  }

  .footer-content .contact {
    color: hsl(var(--foreground)); /* Ensure text is readable */
  }

  .footer {
    background-color: hsl(
      var(--background)
    ); /* Change background if necessary */
  }

  .footer-content .contact a {
    color: hsl(var(--foreground)); /* Ensure the contact link is visible */
  }
}
.footer-content .contact a {
  color: hsl(var(--foreground)); /* Color for links in dark mode */
}

/* Align icon and text horizontally in the contact section test */
.footer-content .contact p {
  display: flex;
  align-items: center; /* Align vertically */
  justify-content: flex-start; /* Align the content to the left */
  gap: 10px; /* Optional: Add some space between the icon and text */
}

.footer-content .contact a {
  text-decoration: none;
}

.nom_foot {
  padding-bottom: 2%;
}

@layer base {
  :root {
    --background: 0 0% 100%;
    --foreground: 240 10% 3.9%;
    --card: 0 0% 100%;
    --card-foreground: 240 10% 3.9%;
    --primary: 240 5.9% 10%;
    --primary-foreground: 0 0% 98%;
    --border: 240 5.9% 90%;
    --radius: 1rem; /* Increased radius for more rounded navbar */
  }

  .dark {
    --background: 240 10% 3.9%;
    --foreground: 0 0% 98%;
    --card: 240 10% 3.9%;
    --primary: 0 0% 98%;
    --primary-foreground: 240 5.9% 10%;
    --border: 240 3.7% 15.9%;
  }
}

body {
  background-color: hsl(var(--background));
  color: hsl(var(--foreground));
  font-family: Arial, sans-serif;
  margin: 0;
  line-height: 1.6;
}

/* Navigation */
nav {
  border: 1px solid hsl(var(--border));
  background-color: hsl(var(--card));
  padding: 1rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  margin: 2rem;
  border-radius: var(--radius); /* More rounded navbar */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Add slight shadow for a floating effect */
  position: relative;
}

/* Wrapper to keep hamburger and dark mode toggle aligned */
nav .nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

nav ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
}

nav ul li a {
  text-decoration: none;
  color: hsl(var(--foreground));
  font-weight: bold;
  padding: 0.5rem 1rem; /* Padding for better click area */
  border-radius: var(--radius); /* Rounded corners for links */
  transition: background-color 0.3s; /* Smooth transition */
}

nav ul li a:hover {
  background-color: hsl(var(--primary), 0.1); /* Hover effect */
}

/* Dark Mode Toggle as an Icon (on the right) */
nav .dark-mode-toggle {
  padding: 0.5rem;
  background-color: transparent;
  border: none;
  color: hsl(var(--foreground));
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease-in-out;
  display: flex;
  align-items: center;
  margin-left: auto; /* Ensure it stays on the right */
}

nav .dark-mode-toggle:hover {
  color: hsl(var(--primary));
}

/* Mobile responsive: Hide menu and show hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
}

.hamburger div {
  width: 30px;
  height: 4px;
  background-color: hsl(var(--foreground));
  border-radius: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav {
    flex-direction: row; /* Keep items in a row */
    justify-content: space-between; /* Space between items */
  }

  nav ul {
    display: none; /* Initially hide the navigation items */
    flex-direction: column; /* Stack links vertically */
    width: 100%; /* Full width for the links */
    margin-top: 10px;
  }

  nav ul li {
    width: 100%; /* Full width for each link */
  }

  .hamburger {
    display: flex; /* Show the hamburger icon */
    position: absolute;
  }

  nav.active .hamburger {
    display: flex;
    position: absolute;
    top: 25px;
    left: 32px;
  }

  nav.active ul {
    display: flex; /* Show links when the menu is active */
  }

  nav.active .dark-mode-toggle {
    position: absolute;
    top: 16px;
    right: 32px;
  }

  /* Adjust layout of nav-content to keep dark-mode toggle and hamburger on the same line */
  nav .nav-content {
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    align-items: center; /* Ensure vertical alignment */
  }

  .business-plan {
    grid-template-columns: 1fr;
  }
}

/* Dark Mode Button at the Bottom Right */
.dark-mode-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 10px;
  background-color: transparent;
  border: none;
  font-size: 2rem;
  color: hsl(var(--foreground));
  cursor: pointer;
  border-radius: 50%;
  transition: color 0.3s ease-in-out;
  z-index: 1000; /* Ensure it's on top of other content */
}

.dark-mode-button:hover {
  color: hsl(var(--primary));
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}

.contact_conf {
    font-size: xx-small;
    text-align: left;
}

  /* Scroll-to-Top Button */
  #scrollToTop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    z-index: 1000;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease-in-out, transform 0.2s ease-in-out;
    opacity: 0;
    visibility: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Style the image */
  #scrollToTop img {
    width: 48px;
    filter: grayscale(100%);
    height: 48px;
    transition: transform 0.3s ease-in-out;
  }

  /* Hover Effect */
  #scrollToTop:hover img {
    transform: scale(1.2);
  }

  /* Show button when scrolling */
  #scrollToTop.show {
    opacity: 1;
    visibility: visible;
  }

  .ACV {
    
    text-decoration: underline;
    text-decoration-color: rgb(77, 144, 254);
    
    text-underline-offset: 6px;
  }

  
  .redirect-button {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 20px auto;
    padding: 10px 20px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s, transform 0.2s;
}

.redirect-button:hover {
    background-color: #004085;
    transform: scale(1.05);
}

.button-icon {
    width: 20px;
    height: 20px;
    color: inherit;
}



/* Styles pour la liste */
ul {
  list-style: none;
  padding: 0;
}

ul li {
  display: flex;
  align-items: center;
  font-size: 16px;
  margin-bottom: 8px;
}

.price {
  font-weight: bold;
  font-size: 18px;
  text-align: center;
  margin-top: 15px;
}

.price span {
  cursor: pointer;
}

.price span:hover {
  text-decoration: underline;
}