@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #FAF7F6;
    color: #374151;
}

html, body {
  height: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

main {
  margin-top: 90px; /* adapte selon la hauteur réelle du header */
}

/* Navbar */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #FAF7F6;
  opacity: 0.98;
  backdrop-filter: blur(1.5rem);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  padding: 1rem 2rem;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
}
  
.logo {
  width: 80px;
  height: 60px;
  border-radius: 10px;
}
  
.burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-right: 1rem;
}
  
.burger span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #374151;
  border-radius: 3px;
}

  
.navbar-right a {
  margin-left: 1.5rem;
  color: #374151;
  text-decoration: none;
  font-weight: 500;
  padding: 0.4rem 0.8rem;
}
  
.navbar-right a:hover {
  border: 2px solid #C7BFBD;
  background-color: #D4CCC9;
  border-radius: 1.5rem;
}
  
.cta-devis {
  display: none;
  background-color: #374151;
  color: #111;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  margin-left: 1rem;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}
  
.cta-devis:hover {
  background-color: #333;
}
  
.cta-devis-pc {
  background-color: #F0EDEB;
  border-color: #C7BFBD;
  color: #111;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-weight: 600;
  border: 2px solid transparent;
  transition: all 0.3s ease;
}
  
.cta-devis-pc:hover {
  background-color: #C7BFBD;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}
  
/* ===== Version Mobile ===== */
@media (max-width: 768px) {
  .navbar {
    padding: 1rem;
    position: static; /* plus de fixed */
    transition: transform 0.3s ease;
  }
    
  .navbar.hidden {
    transform: translateY(-100%);
  }
  
  .navbar.visible {
    transform: translateY(0);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
  }

  .navbar-mobile-left {
    display: flex;
    align-items: center;
    gap: 1rem;
  }
    
  .logo {
    width: 70px;
    height: 50px;
    border-radius: 10px;
  }

  .burger {
    display: flex;
  }
  
  .navbar-right {
    position: absolute;
    top: 64px;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 2rem;
    background-color: #FAF7F6;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    z-index: 99;
  }
  
  .navbar-right.active {
    display: flex;
  }
  
  .navbar-right a {
    margin: 0.5rem 0;
  }
    
  .cta-devis-pc{
    display: none;
  }

  .cta-devis {
    display: contents;
    margin-left: auto;
  }
  
  .navbar {
    justify-content: space-between;
  }
}

.hero {
    height: calc(100vh - 80px);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.6) 0%, rgba(250, 247, 246, 1) 60%);
    background-color: #FAF7F6;
}

.hero-content {
    max-width: 700px;
}
  
.hero h1 {
    font-size: 3rem;
    color: #111827;
    margin-bottom: 1rem;
}
  
.hero p {
    font-size: 1.25rem;
    color: #4b5563;
    margin-bottom: 2rem;
}

.hero p  > span {
    position: relative;
    color: #3f4753;
    display: inline-block;
    vertical-align: bottom;
    overflow: hidden;
    height: 1.45rem;
    text-align: left;
}

.hero p > span > span {
    display: block;
    animation: anim 5s infinite ease;
}

@keyframes anim {
    0% {
        transform: translateY(0%);
    }
    25% {
        transform: translateY(-100%);
    }
    50% {
        transform: translateY(-200%);
    }
    75% {
        transform: translateY(-300%);
    }
    100% {
        transform: translateY(-400%);
    }
}

.hero-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.hero-btn-1,
.hero-btn-2 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  font-weight: 500;
  border-radius: 1.5rem;
  text-decoration: none;
  height: 48px;
  min-width: 140px;
  transition: background-color 0.3s, transform 0.3s;
}

.hero-btn-1 {
    border: 2px solid #C7BFBD;
    background-color: #D4CCC9;
    color: #374151;
    margin-right: 1rem;
}
.hero-btn-1:hover {
  background-color: #C7BFBD;
}

.hero-btn-2 {
  background-color: #262629;
  color: white;
}

.hero-btn-2 img {
  height: 1rem;
  transition: transform 0.3s ease;
}

.hero-btn-2:hover img {
  transform: translateX(4px);
}

/* Fenetre type MocOS */

#typing-text-scroll {
  font-family: 'Fira Code', Consolas, 'Courier New', monospace;
  white-space: pre-wrap;
  font-size: 1rem;
  line-height: 1.6;
}

.mac-window-section {
  height: 40vh;
  position: relative;
  color: white;
}

/* La fenêtre macOS */
.mac-window {
  position: sticky;
  top: 20vh;
  margin: 0 auto;
  width: 80%;
  max-width: 900px;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  min-height: 200px;
  background-color: #EEEBE8;
}

.mac-header {
  background-color: #D4CCC9;
  border-radius: 10px 10px 0px 0px;
  padding: 0.5rem;
  display: flex;
  gap: 8px;
}

.mac-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  display: inline-block;
}

.red { background-color: #ff605c; }
.yellow { background-color: #ffbd44; }
.green { background-color: #00ca4e; }

/* Zone de texte */
#typing-text-scroll {
  white-space: pre-wrap;
  font-family: 'Roboto';
  font-size: 1.1rem;
  margin: 0;
  color: #374151;
  padding: 1rem;
}

/* Contenu en-dessous */
.content-after {
  padding: 100vh 2rem;
  background: #f9f9f9;
  color: black;
}

.token-code {
  color: #a3a1a1;
  font-style: italic;
}

.token-keyword {
  color: #569CD6;
}

/* Section Audit Main Page */

.floating-panel {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 300px;
  background: white;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  animation: fadeInUp 0.5s ease;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1em;
  border-bottom: 1px solid #eee;
  font-weight: bold;
}

.close-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  color: #555;
}

.panel-body {
  padding: 1em;
  font-size: 0.95rem;
  color: #333;
}

.panel-link {
  display: inline-block;
  margin-top: 0.5em;
  background-color: #374151;
  color: white;
  padding: 0.5em 1em;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.panel-link:hover {
  background-color: #3b7ec8;
}

/* Animation */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.horizontal-banner {
  margin-top: 50px;
  width: 100%;
  background-color: #374151;
  color: #FAF7F6;
  text-align: center;
  padding: 1em 0;
  font-size: 1.1rem;
  font-weight: 500;
  letter-spacing: 0.5px;
}

.audit-section {
  padding: 3em 1em;
  text-align: center;
  color: #FAF7F6;
}
.audit-section p {
  color: #FAF7F6;
}
.btn-audit {
  border: 2px solid #C7BFBD;
  background-color: #D4CCC9;
  color: #374151;
  padding: 0.75em 1.5em;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 1em;
  display: inline-block;
  transition: background-color 0.3s;
}
.btn-audit:hover {
  background-color: #C7BFBD;
}


/* Section Offres Main Page */

.offers-intro {
  max-width: 800px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  text-align: center;
}

.offers-intro h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.offers-intro p {
  font-size: 1.1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #555;
}

.offers-section {
  padding: 4rem 2rem;
}

.offers-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.offer-card {
  background: white;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 2rem;
  flex: 1 1 300px;
  max-width: 350px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s, box-shadow 0.3s;
}

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

.offer-card h3 {
  margin-bottom: 1rem;
  font-size: 1.5rem;
  color: #111;
}

.offer-card p {
  flex-grow: 1;
  margin-bottom: 1.5rem;
  color: #555;
  line-height: 1.5;
}

.offer-btn {
  display: inline-block;
  text-align: center;
  background-color: #111;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.3s;
}

.offer-btn:hover {
  background-color: #333;
}

@media (min-width: 1200px) {
  .offer-card {
    flex: 1 1 calc(25% - 2rem);
    max-width: calc(25% - 2rem);
  }
}

/* Tablette : 2 cartes par ligne */
@media (min-width: 768px) and (max-width: 1199px) {
  .offer-card {
    flex: 1 1 calc(50% - 2rem);
    max-width: calc(50% - 2rem);
  }
}

/* Mobile : 1 carte par ligne */
@media (max-width: 767px) {
  .offer-card {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

.section-separator {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, #ddd, transparent);
  margin: 4rem auto;
  width: 80%;
}

/* Section Réalisation du projet Main Page */

.project-flow {
  padding: 4rem 2rem;
  text-align: center;
}

.project-flow h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.project-flow .intro {
  max-width: 600px;
  margin: 0 auto 3rem;
  font-size: 1.1rem;
  color: #555;
}

.steps {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

.step {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  max-width: 280px;
  flex: 1 1 250px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.step h3 {
  margin-bottom: 10px;
}

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

.step-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
}

/* Section Contact Main Page */

.contact-section {
  background-color: #fff;
  padding: 4rem 2rem;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.contact-section h2 {
  font-size: 2.2rem;
  margin-bottom: 0.5rem;
}

.contact-intro {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  text-align: left;
}

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

.form-group label {
  font-weight: 500;
  margin-bottom: 0.5rem;
  color: #333;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #2563eb;
  outline: none;
}

.form-btn {
  background-color: #374151;
  color: white;
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s;
  align-self: center;
}

.form-btn:hover {
  background-color: #232933;
}

/* Section Référence Main Page */

.references {
  padding: 60px 20px;
  text-align: center;
}

.references h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #374151;
  margin-bottom: 50px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 30px;
  align-items: center;
  justify-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.logo-grid a img {
  max-width: 100%;
  max-height: 180px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  filter: grayscale(100%);
}

.logo-grid a:hover img {
  transform: translateY(-5px) scale(1.05);
  filter: grayscale(0%);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* Section FAQ Main Page */

.faq-section {
  max-width: 800px;
  margin: 4em auto;
  padding: 0 1em;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 1em;
}

.faq-item {
  margin-bottom: 1em;
  border-bottom: 1px solid #ddd;
}

.faq-question {
  background: none;
  border: none;
  font-weight: bold;
  font-size: 1.1em;
  cursor: pointer;
  padding: 1em 0;
  width: 100%;
  text-align: left;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #4a90e2;
}

.faq-answer {
  display: none;
  padding-bottom: 1em;
  color: #394150;
  line-height: 1.6;
  font-size: 1em;
}

.faq-answer p {
  color: #394150;
  line-height: 1.6;
  font-size: 1em;
}

.faq-answer ul li {
  color: #374151;
  line-height: 1.6;
  font-size: 1em;
}

/* Page Site Vitrine */

.product-page {
  padding: 0 2rem 0 2rem;
  min-height: auto;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.left-side {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 2rem;
  padding-left: 2rem;
  align-items: end;
}

.left-side img {
  max-width: 75%;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.right-side {
  flex: 1;
  padding: 3rem 2rem;
  flex-direction: column;
  justify-content: center;
}

.right-side h3 {
  margin-bottom: 1rem;
}

.product-title {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  color: var(--text);
}

.product-description {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: #394150;
}

.product-information {
  margin-bottom: 1.5rem;
}

.product-information p {
  margin-bottom: 1rem;
  color: #394150;
}

.product-features {
  list-style: none;
  padding-left: 1rem;
  margin-bottom: 1.5rem;
}

.product-features li {
  margin-bottom: 0.5rem;
  position: relative;
}

.product-features li::before {
  content: "•";
  color: var(--accent);
  font-size: 1.5rem;
  position: absolute;
  left: -1rem;
  top: -2px;
}

.product-price {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--accent);
  margin-bottom: 2rem;
}

.btn-primary {
  background-color: #374151;
  color: white;
  padding: 0.8rem 1.6rem;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  transition: background 0.3s ease;
}

.btn-primary:hover {
  background-color: #478bb5;
}

.made-with {
  margin-top: 1.5rem;
}

.made-with p {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1rem;
  color: #374151;
}

.tech-logo {
  height: 24px;
  filter: grayscale(100%);
  transition: all 0.3s ease;
}

.tooltip:hover .tech-logo {
  filter: grayscale(0%);
  transform: scale(1.1);
}

/* Tooltip stylisé */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background-color: #374151;
  color: #fff;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 10;
}

.tooltip:hover::after {
  opacity: 1;
}

.comparison-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1rem;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #FAF7F6;
  color: #374151;
  font-size: 0.95rem;
  margin-top: 2rem;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem;
  text-align: center;
  border-bottom: 1px solid #e8e4e2;
}

.comparison-table thead {
  background-color: #f0eceb;
  font-weight: bold;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
  text-align: left;
  font-weight: 500;
  background-color: #f8f6f5;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table a {
  text-decoration: none;
  color: inherit; 
  border: none;
  background: none;
  font-weight: inherit; 
  font-size: inherit; 
  cursor: pointer;
}

.comparison-table a:hover,
.comparison-table a:visited,
.comparison-table a:focus,
.comparison-table a:active {
  text-decoration: none;
  color: inherit;
  border: none;
  outline: none;
}

.comparison-cards {
  display: none;
}

/* Page Selection Template */

/* Boutons de filtre */
.filter-buttons {
  margin-top: 20px;
}

.filter-buttons button {
  border: 2px solid #333;
  background: transparent;
  color: #333;
  padding: 8px 16px;
  margin: 5px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: all 0.2s ease;
}

.filter-buttons button.active,
.filter-buttons button:hover {
  background: #333;
  color: white;
}

/* Cartes templates */
.templates-menu {
  max-width: 1200px;
  margin: auto;
  padding: 40px 20px;
  text-align: center;
}

.templates-grid {
  display: grid;
  grid-template-columns: repeat(2, 320px); /* Taille fixe pour chaque colonne */
  gap: 30px;
  margin-top: 30px;
  justify-content: center; /* Centre la grille */
}

/* Responsive : 1 colonne sur mobile */
@media (max-width: 768px) {
  .templates-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.template-card {
  background: white;
  border-radius: 15px;
  width: 320px;
  height: 400px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  padding: 20px;
  transition: transform 0.2s ease;
  margin: 0 auto;
}

.template-card:hover {
  transform: translateY(-5px);
}

.template-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 10px;
  flex-shrink: 0;
}

.template-card h2 {
  font-size: 1.4rem;
  margin-top: 15px;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.template-card p {
  font-size: 0.95rem;
  color: #555;
  margin: 10px 0 15px;
  flex-shrink: 1;
}

.template-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: #2c5aa0;
  margin: 15px 0;
  text-align: center;
  flex-shrink: 0;
}

.template-price::before {
  content: "À partir de ";
  font-size: 0.8rem;
  font-weight: normal;
  color: #777;
}

.btn-template {
  display: inline-block;
  padding: 10px 20px;
  border: 2px solid #333;
  color: #333;
  text-decoration: none;
  font-weight: bold;
  border-radius: 8px;
  transition: all 0.2s ease;
  width: 100%;
  text-align: center;
  box-sizing: border-box;
  flex-shrink: 0;
  margin-top: auto;
}

.btn-template:hover {
  background: #333;
  color: white;
}


/* Page A Propos*/

.about {
  padding: 2rem 1rem;
  max-width: 960px;
  margin: 100px auto 0 auto;
  color: #1f2937;
  line-height: 1.6;
  animation: fadeIn 0.8s ease-out both;
}

.about h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: #111;
}

.about-intro p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
}

.about-values {
  margin-top: 3rem;
}

.about-values h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-bottom: 2rem;
}

.value-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.value-card {
  background: #faf7f6;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
}

.value-card:hover {
  transform: translateY(-4px);
}

.value-card h3 {
  margin-bottom: 0.5rem;
  color: #005579;
}

/* Desktop layout */
@media (min-width: 768px) {
  .about h1 {
    font-size: 2.5rem;
  }

  .about-intro p {
    font-size: 1.1rem;
  }

  .value-grid {
    flex-direction: row;
  }

  .value-card {
    flex: 1;
  }
}


@keyframes fadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}


/* Page Merch */

.work-in-progress {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2em;
}

.gear {
  width: 100px;
  height: 100px;
  margin-bottom: 2rem;
  animation: rotate 3s linear infinite;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

h1 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

p {
  font-size: 1.1rem;
  color: #6B7280;
}

.back-home {
  margin-top: 2rem;
  display: inline-block;
  background-color: #374151;
  color: white;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
  font-weight: bold;
}

.back-home:hover {
  background-color: #478bb5;
}

/* Mobile version */
@media screen and (max-width: 768px) {
  .comparison-container {
    display: none;
  }

  .product-page {
    flex-direction: column-reverse;
  }

  .left-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .left-side img {
    max-width: 75%;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  }

  .comparison-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 1rem;
    max-width: 600px;
    margin: 0 auto;
  }
  
  .comparison-cards .card {
    background-color: #faf7f6;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.04);
    padding: 1.5rem;
  }
  
  .comparison-cards h3 {
    color: #569CD6;
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
  
  .comparison-cards h3 a {
    text-decoration: none;
    color: inherit;
    font-weight: inherit;
    font-size: inherit;
  }
  
  .comparison-cards h3 a:hover,
  .comparison-cards h3 a:visited,
  .comparison-cards h3 a:focus,
  .comparison-cards h3 a:active {
    text-decoration: none;
    color: inherit;
    outline: none;
  }
  
  .comparison-cards ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .comparison-cards li {
    margin-bottom: 0.5rem;
    color: #374151;
  }
}

/* Image cliquable */
.clickable-image {
  cursor: zoom-in;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.clickable-image:hover {
  transform: scale(1.02);
}

/* Modale */
.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.85);
}

.modal-content {
  display: block;
  margin: auto;
  max-width: 90%;
  max-height: 85vh;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
}

/* Page Contact */

.contact-section-2 {
  padding: 4rem 1rem;
  display: flex;
  justify-content: center;
}

.contact-container-2 {
  max-width: 600px;
  background-color: white;
  width: 100%;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.contact-title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-align: center;
}

.contact-description {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1rem;
  color: #555;
}

.contact-form .form-group {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 1rem;
  background: #fff;
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 2px rgba(86, 156, 214, 0.2);
}

.btn-submit {
  background-color: #374151;
  color: white;
  border: none;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s ease;
}

.btn-submit:hover {
  background-color: #232933;
}

.fade-in-section {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: opacity, transform;
}

.fade-in-section.is-visible {
  opacity: 1;
  transform: none;
}

/* Page de Vente*/

.preview-frame {
  width: 700px;
  height: 700px;
  border: 1px solid #ddd;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.btn-buy {
  background-color: #374151;
  color: white;
  border: none;
  text-decoration: none;
  padding: 0.8rem 1.6rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  transition: background 0.3s ease;
}

.btn-buy:hover {
  background-color: #232933;
}

/* Page Paiement Success */

.payment-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
}

.container-payment {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  text-align: center;
  max-width: 500px;
  width: 90%;
}

.checkmark-payment {
  width: 80px; 
  height: 80px; 
  border-radius: 50%;
  background: #22c55e; 
  color: white; 
  font-size: 40px;
  display: flex; 
  align-items: center; 
  justify-content: center;
  margin: 0 auto 20px; 
  animation: bounce 0.6s ease-in-out;
}

@keyframes bounce {
  0%, 20%, 60%, 100% { transform: translateY(0); }
  40% { transform: translateY(-20px); }
  80% { transform: translateY(-10px); }
}

h1 { 
  color: #1f2937; 
  margin: 20px 0; 
}

.status-payment {
  background: #f0f9ff; border: 1px solid #bae6fd;
  padding: 20px; border-radius: 10px; margin: 30px 0;
}

.download-btn {
  background: #374151; color: white; padding: 15px 30px;
  border: none; border-radius: 10px; font-size: 16px;
  cursor: pointer; text-decoration: none; display: inline-block;
  transition: all 0.3s ease; margin: 20px 10px;
}

.download-btn:hover { 
  background: #232933; 
  transform: translateY(-2px);
}

.download-btn:disabled { 
  background: #9ca3af; 
  cursor: not-allowed; 
}

.spinner { 
  border: 2px solid #f3f3f3; 
  border-top: 2px solid #3b82f6; 
  border-radius: 50%; 
  width: 20px; 
  height: 20px; 
  animation: spin 1s linear infinite; 
  display: inline-block; 
  margin-right: 10px; 
}

@keyframes spin { 
  0% { 
    transform: rotate(0deg); 
  } 
  100% { 
    transform: rotate(360deg); 
  } 
}

.session-info { 
  font-family: monospace; 
  font-size: 12px; 
  color: #6b7280; 
  margin-top: 30px; 
}

/* Back to Top */

.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #222;
  color: #fff;
  font-size: 1.5rem;
  padding: 10px 15px;
  border-radius: 50%;
  text-align: center;
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  z-index: 1000;
}

.back-to-top:hover {
  background-color: #444;
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
} 

/* Footer */

.site-footer {
  background-color: #FAF7F6;
  padding: 3rem 2rem 1.5rem;
  border-top: 1px solid #e0dcd9;
  font-family: 'Roboto', sans-serif;
  margin-top: 35px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 2rem;
}

.footer-col {
  flex: 1 1 200px;
}

.footer-col h2,
.footer-col h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: #3B2F2F;
}

.footer-col p,
.footer-col ul,
.footer-col a {
  color: #555;
  font-size: 0.95rem;
  text-decoration: none;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 0.5rem;
}

.footer-col a:hover {
  color: #000;
  text-decoration: underline;
}

.footer-col.social .social-icons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.footer-col.social img {
  width: 26px;
  height: 26px;
  filter: grayscale(1);
  opacity: 0.8;
  transition: filter 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.footer-col.social img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.1);
}


.footer-bottom {
  margin-top: 2rem;
  text-align: center;
  color: #888;
  font-size: 0.85rem;
  border-top: 1px solid #e5e5e5;
  padding-top: 1rem;
}

.footer-bottom a {
  text-decoration: underline;
  color: #888;
}

/* Responsive mobile */
@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .hero-btn-1,
  .hero-btn-2 {
    width: 100%;
    max-width: 280px;
  }

  .mac-window-section {
    height: 250vh;
    position: relative;
    color: white;
  }

  .preview-frame {
    display: none;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-col {
    flex: none;
    width: 100%;
  }

  .social-icons {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

}
