/************************************************************
 *  ⚠️ PROTECTION DU CODE SOURCE
 *  
 *  Ce fichier est la propriété exclusive de :
 *  🧾  Cyril BENET-BARVILLE
 *  
 *  Toute reproduction, diffusion, extraction ou utilisation
 *  totale ou partielle du présent code, sans autorisation
 *  écrite de l’auteur, est strictement interdite et passible
 *  de poursuites conformément aux articles L.111-1 et suivants
 *  du Code de la propriété intellectuelle.
 *  
 *  🛡 Enveloppe e-Soleau INPI n° DSO2025023678
 *  Dépôt du 20/10/2025 – durée de conservation : 5 ans
 *  Empreinte numérique déposée et conservée par l’INPI
 *  à titre de preuve d’antériorité du projet AxessPharma / TrucPharma.
 *  
 *  © 2025 Cyril Benet-Barville – Tous droits réservés.
 ************************************************************/
/* Variables de la charte graphique */
:root {
  --primary-color: #4f0000;
  --secondary-color: #e5c3c6;
  --tertiary-color: #9a6163; /* Nouvelle couleur ajoutée */
  --dark-color: #1f1f1f;
  --text-font: 'Roboto', serif;
  --title-font: 'Inter', sans-serif;
}

/* Base */
body {
  font-family: var(--text-font);
  margin: 0;
  padding: 0;
  line-height: 1.6;
  color: var(--dark-color);
}

h1, h2, h3 {
  font-family: var(--title-font);
}

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary-color);
  color: white;
  padding: 15px 30px;
}

header .logo {
  font-size: 24px;
  font-weight: bold;
}

header nav a {
  color: white;
  text-decoration: none;
  margin-left: 20px;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 50px 20px;
  background-color: var(--tertiary-color); /* Couleur mise à jour */
  color: white;
}

.hero p {
  font-size: 18px;
  margin: 20px 0;
}

/* Buttons */
button {
  background-color: var(--tertiary-color); /* Couleur mise à jour */
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
}

button:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

/* Screenshots Section */
.screenshots {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 40px 20px;
  background-color: var(--secondary-color);
}

.screenshot-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.screenshot-item img {
  width: 48%;
  border-radius: 10px;
}

.screenshot-item .text {
  max-width: 48%;
}

.screenshot-item.reverse {
  flex-direction: row-reverse;
}

/* Pricing Section */
.pricing {
  text-align: center;
  padding: 50px 20px;
  background-color: var(--secondary-color);
}

.pricing h2 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.pricing .plans {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.pricing .plan {
  background: white;
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 20px;
  width: 280px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

.pricing .plan button {
  background-color: var(--tertiary-color); /* Couleur mise à jour */
  color: white;
}

.pricing .plan button:hover {
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

/* FAQ Section */
.faq {
  text-align: center;
  padding: 50px 20px;
  background-color: var(--secondary-color);
}

.faq h2 {
  margin-bottom: 20px;
  color: var(--primary-color);
}

.faq .faq-item {
  text-align: left;
  margin: 10px auto;
  width: 80%;
  max-width: 700px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  cursor: pointer;
}

.faq .faq-item.active p {
  display: block;
}

/* Footer */
footer {
background-color: var(--primary-color);
color: white;
padding: 40px 20px;
display: flex;
justify-content: center;
}

.footer-container {
display: flex;
flex-wrap: wrap;
justify-content: center;
align-items: flex-start;
gap: 50px;
max-width: 1200px;
width: 100%;
}

.demo-form, .info {
  flex: 1;
  text-align: left;
}

.footer-section {
flex: 1 1 300px;
text-align: center;
}

.demo-form form {
display: flex;
flex-direction: column;
gap: 15px;
align-items: center;
}

.demo-form input, .demo-form button {
width: 90%;
max-width: 350px;
padding: 10px;
border: none;
border-radius: 5px;
}
.demo-form button {
background-color: var(--tertiary-color);
color: white;
}

.demo-form button:hover {
background-color: var(--secondary-color);
color: var(--primary-color);
}

.info-links p {
margin: 0;
}

.info a {
color: var(--secondary-color);
text-decoration: none;
}

.info a:hover {
text-decoration: underline;
}

.separator {
  width: 2px;
  height: 100%;
  background-color: var(--secondary-color);
}

h4 {
  text-align: center;
}

/* Responsiveness */
@media (max-width: 768px) {
  .footer-container {
      flex-direction: column;
      text-align: center;
  }
}