:root {
  --primary-color: #D32F2F;    /* rouge foncé – contraste élevé sur blanc */
  --secondary-color: #ffffff;  /* blanc pur */
  --text-color: #000000;       /* noir pur */
  --shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

/* -------------------------
   Reset & Base
   ------------------------- */
html,
body {
  margin: 0;
  padding: 0;
  background-color: #ffffff;      /* fond blanc pur pour contraste maximal */
  color: var(--text-color);
}

/* -------------------------
   Layout Containers
   ------------------------- */
.section {
  padding: 1.5rem 0;
  margin-bottom: 1.5rem;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* -------------------------
   Grid Utilities
   ------------------------- */
.row {
  display: flex;
  flex-wrap: wrap;
}

.col {
  flex: 0 0 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .row-cols-md-2 > .col {
    width: 50%;
  }
  .row-cols-md-3 > .col {
    width: 33.3333%;
  }
}

@media (min-width: 992px) {
  .col-lg-6 {
    width: 50%;
  }
}

/* Gutters */
.row.g-3 > .col,
.row.g-4 > .col {
  padding: 0.75rem; /* ≈12px */
}

.row.g-4 > .col {
  padding: 1rem; /* ≈16px */
}

@media (max-width: 576px) {
  .row.g-3 > .col,
  .row.g-4 > .col {
    padding: 0.5rem; /* smaller on mobile */
  }
}

/* Flex Helpers */
.d-flex {
  display: flex;
}
.flex-column {
  flex-direction: column;
}
.flex-fill {
  flex: 1;
}
.justify-content-center {
  justify-content: center;
}
.align-items-stretch {
  align-items: stretch;
}

/* -------------------------
   Section Headers & Titles
   ------------------------- */
.section-header {
  text-align: center;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.section-header .header-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  transition: transform 0.3s ease;
}

.section-header .header-icon i {
  font-size: 4rem;
}

.section-header .header-icon:hover {
  transform: translateY(-5px);
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin: 0.5rem 0;
}

@media (max-width: 576px) {
  .section-header {
    margin-bottom: 0.75rem;
  }
  .section-title {
    font-size: 1.5rem;
  }
}

/* -------------------------
   Hero Section
   ------------------------- */

.hero-section {
  position: relative;
  height: 50vh;
  min-height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.2);
  color: var(--secondary-color);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 1.5rem;
  max-width: 700px;
  transition: transform 0.6s ease;
  margin-bottom: 4rem;
}

.hero-content:hover {
  transform: scale(1.02);
}

.hero-title {
  font-size: 1.8rem;
  line-height: 1.2;
  margin: 0;

}

/* Version responsive : */
@media (max-width: 576px) {
  .hero-title {
    font-size: 1.6rem;
  }
  .hero-content {
    padding: .5rem;
    margin-bottom: 2rem;
  }
}

/* Conteneur du <picture> (sans background-image CSS) */
.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* L’image <img> à l’intérieur du <picture> doit recouvrir complètement */
.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* -------------------------
   Buttons
   ------------------------- */
.cta-button {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  border: none;
  border-radius: 25px;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 6px 15px -4px rgba(0, 0, 0, 0.25);
  display: inline-block;
  margin-top: 0.75rem;
  cursor: pointer;
}

.cta-button:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.cta-button-lg {
  background: #ffffff;
  color: var(--primary-color);
  font-weight: 600;
  padding: 0.875rem 2.5rem;
  font-size: 1rem;
  border-radius: 25px;
  text-decoration: none;
  display: inline-block;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cta-button-lg:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* -------------------------
   Custom Select Dropdown
   ------------------------- */
.custom-select-container {
  width: 100%;
  position: relative;
  box-sizing: border-box;
}

.custom-select-selected {
  background: #ffffff;
  border: 1px solid #ddd;
  padding: 0.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 4px;
  box-sizing: border-box;
}

.custom-select-selected::after {
  content: "\25BC";
  font-size: 0.6rem;
  color: #555;
  margin-left: 0.5rem;
  transition: transform 0.2s ease;
}

.custom-select-container.open .custom-select-selected::after {
  transform: rotate(-180deg);
}

.custom-select-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 200px;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #ddd;
  border-top: none;
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  box-sizing: border-box;
  z-index: 100;
  display: none;
  border-radius: 0 0 4px 4px;
}

.custom-select-container.open .custom-select-list {
  display: block;
}

.custom-select-item {
  padding: 0.5rem;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  cursor: pointer;
  font-size: 0.95rem;
  color: #222222;
}

.custom-select-item:hover {
  background: rgba(0, 0, 0, 0.05);
}

.custom-select-selected .selected-text {
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* -------------------------
   Toggles
   ------------------------- */
.toggle-label {
  display: block;
  text-align: center;
  color: var(--text-color);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.toggle-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
  justify-content: center;
  margin-top: 0.5rem;
}

.toggle-btn {
  display: inline-block;
  margin: 0.25rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid #dddddd;
  border-radius: 4px;
  background-color: var(--secondary-color);
  color: var(--text-color);
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.toggle-btn.active {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-color: var(--primary-color);
}

/* -------------------------
   Email Preview & Signature
   ------------------------- */
.email-preview-container {
  padding: 1rem;
  margin-bottom: 1rem;
}

.email-preview-subject {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.signature-example {
  margin-bottom: 1rem;
}

.email-signature-preview {
  margin-top: 1rem;
}

.email-signature-preview .signature-preview-row {
  display: table;
  width: 100%;
  border-collapse: separate;
}

.email-signature-preview .signature-logo {
  display: table-cell;
  vertical-align: middle;
  width: 70px;
  border: 1px solid #dddddd;
  background-color: #ffffff;
  border-radius: 4px;
  overflow: hidden;
}

.email-signature-preview .signature-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.email-signature-preview .signature-details {
  display: table-cell;
  vertical-align: middle;
  padding-left: 0.5rem;
}

.email-signature-preview .signature-name {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.email-signature-preview .signature-line {
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.email-disclaimer {
  font-size: 0.7rem;
  color: #4f4f4f; /* ratio ~6:1 sur fond blanc */
  margin-top: 1.5rem;
  line-height: 1.4;
  font-style: italic;
}

/* -------------------------
   FAQ & Audience Cards
   ------------------------- */
.faq-card {
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin: 0.5rem auto;
}

.faq-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
}

.faq-icon {
  color: #D32F2F;
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.faq-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

/* -------------------------
   Features & Pricing Cards
   ------------------------- */
.pricing-card-innov {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  margin-left: auto;
  margin-right: auto;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card-innov:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

/* === En-tête colorée avec titre + prix === */
.pricing-header-innov {
  background: linear-gradient(135deg, #D32F2F 0%, #B71C1C 100%);
  color: #ffffff;
  text-align: center;
  padding: 2rem 1rem;
}

.pricing-title-innov {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-price-innov {
  display: flex;
  justify-content: center;
  align-items: baseline;
  margin-top: 1rem;
}

.price-amount-innov {
  font-size: 2.75rem;
  font-weight: 800;
  line-height: 1;
  margin-right: 0.25rem;
}

.price-period-innov {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

/* === Liste des fonctionnalités === */
.pricing-features-innov {
  list-style: none;
  margin: 0;
  padding: 0 1.5rem;
  background: #fafafa;
}

.feature-group-innov {
  margin-bottom: 1.5rem;
}

.feature-group-innov h4 {
  display: flex;
  align-items: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.feature-group-innov h4 i {
  margin-right: 0.5rem;
  font-size: 1.25rem;
  color: var(--primary-color);
}

.feature-group-innov ul {
  margin: 0;
  padding-left: 1.2rem;
}

.feature-group-innov ul li {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

/* === Bouton et note “sans carte” === */
.pricing-cta-container-innov {
  padding: 1.5rem;
  text-align: center;
  background: #ffffff;
}

.cta-button-innov {
  display: inline-block;
  background: var(--primary-color);
  color: var(--secondary-color);
  font-size: 1rem;
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 25px;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cta-button-innov:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.no-card-note-innov {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: #666666;
}

/* === Mobile Responsiveness === */
@media (max-width: 576px) {
  .pricing-header-innov {
    padding: 1.5rem 1rem;
  }
  .pricing-title-innov {
    font-size: 1.5rem;
  }
  .price-amount-innov {
    font-size: 2.25rem;
  }
  .feature-group-innov h4 {
    font-size: 1rem;
  }
  .feature-group-innov h4 i {
    font-size: 1.1rem;
  }
  .feature-group-innov ul li {
    font-size: 0.9rem;
  }
}

.pricing-features-innov .feature-group-innov:first-child {
  margin-top: 1.5rem;
}

.pricing-tagline {
  font-size: 1rem;
  color: var(--text-color);
  max-width: 700px;
  margin: 0 auto 1rem;
  line-height: 1.6;
  text-align: center;
}

/* -------------------------
   FAQ Service Links
   ------------------------- */
.faq-link {
  color: #0056b3;              /* bleu foncé – contraste 8.6:1 sur fond blanc */
  text-decoration: underline;
}

.faq-link:hover,
.faq-link:focus {
  color: #003f8a;              /* bleu encore plus foncé au survol */
}

/* -------------------------
   Final CTA Section
   ------------------------- */
.cta-final-section {
  padding: 1.5rem;
  background: var(--primary-color);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.cta-final-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.15);
}

.cta-final-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-title {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

@media (max-width: 576px) {
  .cta-title {
    font-size: 1.5rem;
  }
}

.cta-subtitle {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

@media (max-width: 576px) {
  .cta-subtitle {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
}

/* -------------------------
   Responsive Adjustments
   ------------------------- */
@media (max-width: 576px) {
  .section {
    padding-top: 1rem;
    padding-bottom: 1rem;
    margin-bottom: 1rem;
  }
}

/* -------------------------
   Email Separator
   ------------------------- */
.email-separator {
  border: none;
  border-top: 1px solid #dddddd;
  margin: 1rem 0;
}

/* -------------------------
   Focus Outline for Accessibility
   ------------------------- */
:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

.icon-primary {
  color: var(--primary-color);
}

.toggle-btn.active .icon-primary {
color: var(--secondary-color); /* blanc */
}

/* DROPDOWN LANGUES */
#langDropdown .dropdown-menu {
    width: auto !important;       /* Largeur automatique en fonction du contenu */
    max-width: 150px;             /* Largeur maximale */
    min-width: 120px;             /* Largeur minimale */
}

/* MOBILE */
@media (max-width: 992px) {
    .navbar {
        flex-wrap: nowrap;
    }

    .navbar-brand {
        flex-grow: 1;
    }

    .navbar-toggler {
        margin-left: auto;
    }

    .navbar-brand .header-text {
        font-size: 0.9rem;
    }

    /* Dropdown Langues : ajuster la largeur sur mobile */
    #langDropdown .dropdown-menu {
        max-width: 120px;         /* Ajuster la largeur maximale pour les très petits écrans */
    }
}



/* Ajuster le bouton CTA */
.cta-button-lg {
    padding: 0.8rem 2rem;
    font-size: 1.1rem;
    max-width: 300px;
    width: 100%;
    margin-top: 30px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 20px;
}

/* Adjustments for smaller screens */
@media (max-width: 768px) {
    .cta-button-lg {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
        max-width: 260px;
    }

    .hero-section .cta-button-lg {
        margin-top: 30px;
    }
}

@media (max-width: 576px) {
    .cta-button-lg {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }

    .hero-section .cta-button-lg {
        margin-top: 30px;
    }
}

.hero-cta {
  margin-top: 1rem; /* Ajouter un espace spécifique entre le bouton et le titre */
    margin-bottom: .25rem; /* Ajouter un espace spécifique entre le bouton et le titre */

}

/* =====================================================
   Intro Service  (apparence différente du reste du site)
   ===================================================== */
#intro-service {
  /* Choisissez VOTRE fond : couleur, gradient ou image */
  /* 1) Couleur unie */
  /* background: #FBE9E7;    */   /* rose très clair */

  /* 2) Dégradé (exemple rouge → jaune) */

  /* 3) Image (décommenter si vous préférez un visuel) */
  /* background: url('../img/intro-bg.webp') center / cover no-repeat; */
  background: rgba(0, 0, 0, 0.025); /* voile assombrissant */
  position: relative;
  overflow: hidden;            /* au cas où vous ajoutez des décos SVG */
}

#features {
  /* Choisissez VOTRE fond : couleur, gradient ou image */
  /* 1) Couleur unie */
  /* background: #FBE9E7;    */   /* rose très clair */

  /* 2) Dégradé (exemple rouge → jaune) */

  /* 3) Image (décommenter si vous préférez un visuel) */
  /* background: url('../img/intro-bg.webp') center / cover no-repeat; */
  background: rgba(0, 0, 0, 0.025); /* voile assombrissant */
  position: relative;
  overflow: hidden;            /* au cas où vous ajoutez des décos SVG */
}

#pricing {
  /* Choisissez VOTRE fond : couleur, gradient ou image */
  /* 1) Couleur unie */
  /* background: #FBE9E7;    */   /* rose très clair */

  /* 2) Dégradé (exemple rouge → jaune) */

  /* 3) Image (décommenter si vous préférez un visuel) */
  /* background: url('../img/intro-bg.webp') center / cover no-repeat; */
  background: rgba(0, 0, 0, 0.025); /* voile assombrissant */
  position: relative;
  overflow: hidden;            /* au cas où vous ajoutez des décos SVG */
}

#faq-service {
  /* Choisissez VOTRE fond : couleur, gradient ou image */
  /* 1) Couleur unie */
  /* background: #FBE9E7;    */   /* rose très clair */

  /* 2) Dégradé (exemple rouge → jaune) */

  /* 3) Image (décommenter si vous préférez un visuel) */
  /* background: url('../img/intro-bg.webp') center / cover no-repeat; */
  background: rgba(0, 0, 0, 0.025); /* voile assombrissant */
  position: relative;
  margin-bottom:0;
  overflow: hidden;            /* au cas où vous ajoutez des décos SVG */
}
