/* HEADER */
.site-header {
  background-color: #0d1117;
  padding: 20px 40px;
  flex-wrap: wrap;
  position: sticky;
  /* rendu sticky au scroll */
  top: 0;
  /* fixé en haut */
  z-index: 1000;
  /* au-dessus du contenu */
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  /* (optionnel) petite ombre au scroll */
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo a {
  font-weight: bold;
  font-size: 1.2rem;
  color: white;
  text-decoration: none;
}

.logo span {
  color: #3399ff;
}

.main-nav {
  display: flex;
  gap: 12px;
  margin-top: 0;
  align-items: center;
}

.main-nav a {
  color: white;
  text-decoration: none;
  font-weight: 600;
}

.menu-toggle {
  display: none;
}

.menu-icon {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: white;
}

/* Responsive */
@media (max-width: 768px) {
  .site-header {
    align-items: stretch;
  }

  .header-top {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .main-nav {
    flex-direction: column;
    width: 100%;
    display: none;
    margin-top: 10px;
    gap: 10px;
  }

  /* le bon sélecteur */
  .menu-toggle:checked+.main-nav {
    display: flex;
  }

  .menu-icon {
    display: block;
  }
}

/* INDEX */

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background-color: #0d1117;
  color: #ffffff;
  line-height: 1.6;
}

header nav a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 20px;
  font-weight: 600;
}

.cta-button {
  background-color: #ff6600;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}

.hero {
  position: relative;
  padding: 80px 40px;
  /* background: radial-gradient(circle at top left, #1a1f2b, #0d1117); */
  background: radial-gradient(circle at top left, rgba(26, 31, 43, 0.85), rgba(13, 17, 23, 0.85));
  /* <-- opacité ! */
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  max-width: 780px;
  margin: 0 auto 30px;
  font-size: 1.1rem;
  color: #cccccc;
}

.hero-bg {
  position: relative;
  overflow: hidden;
}

.hero-bg::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('https://demo-thlq.coockpit.com/build/media/page_login_background_1920.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.7;
  z-index: 0;
}

.hero-bg>* {
  position: relative;
  z-index: 1;
}

.features,
.testimonials,
.cta-final,
.functionalities,
.about,
.client-logos,
.video-section {
  padding: 30px 40px;
  max-width: 1100px;
  margin: auto;
}

.features-grid,
.functionalities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.functionality {
  background-color: #161b22;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #ff6600;

}

.feature {
  flex: 1 1 250px;
  background-color: #161b22;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px #2b313d;
}

.functionality-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.functionality svg {
  width: 24px;
  height: 24px;
  color: #ffffff;
}

.functionality h3 {
  margin: 0;
  font-size: 1.1rem;
}

.logo-grid {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.logo-grid img {
  filter: grayscale(100%);
  opacity: 0.8;
}

.testimonials blockquote {
  background-color: #1c2129;
  border-left: 4px solid #3399ff;
  padding: 20px;
  border-radius: 6px;
  margin-bottom: 30px;
}

.cta-final {
  text-align: center;
  background-color: #1a1f2b;
  border-top: 1px solid #2b313d;
}

.cta-final p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #0d1117;
  font-size: 0.9rem;
  color: #666;
}


/* ABOUT PAGE */

.container.about {
  padding: 60px 40px;
  max-width: 1100px;
  margin: auto;
}

.container.about h1 {
  font-size: 2.4rem;
  text-align: center;
  margin-bottom: 60px;
}

.intro-text {
  font-size: 1.1rem;
  color: #cccccc;
  max-width: 900px;
  margin: 0 auto 40px;
  text-align: center;
}

.about-section {
  margin-bottom: 40px;
  background-color: #161b22;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px #2b313d;
}

.about-section h2 {
  color: #ff6600;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.about-section p {
  font-size: 1rem;
  color: #cccccc;
  line-height: 1.6;
}

.signature {
  margin-top: 30px;
  font-style: italic;
  color: #888;
  text-align: right;
}

/* CLIENT PAGE */

.clients {
  padding: 60px 40px;
  max-width: 1100px;
  margin: auto;
}

.client-block {
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.client-logo {
  flex: 1 1 40%;
  min-width: 200px;
  height: 120px;
  background-color: #1a1f2b;
  margin: 10px;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.client-content {
  flex: 1 1 55%;
  padding: 20px;
}

.client-content h2 {
  color: #ff6600;
  margin-top: 0;
}

.client-content blockquote {
  margin-top: 20px;
  padding: 20px;
  border-left: 4px solid #3399ff;
  background-color: #1c2129;
  border-radius: 6px;
  font-style: italic;
  color: #ffffff;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #0d1117;
  font-size: 0.9rem;
  color: #666;
}

/* Demo Page */

form {
  background-color: #161b22;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px #2b313d;
}

label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

input,
textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border-radius: 4px;
  border: none;
  background-color: #0d1117;
  color: #ffffff;
  border: 1px solid #2b313d;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: #ff6600;
}

.checkbox-group {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.checkbox-group input {
  width: auto;
  margin-right: 10px;
}

.submit-button {
  background-color: #ff6600;
  color: white;
  padding: 14px 24px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  font-size: 1rem;
  width: 100%;
}

.submit-button:hover {
  background-color: #e65c00;
}

.container.demo {
  max-width: 600px;
  margin: 0 auto;
  padding: 40px 20px;
}

.reassurance {
  margin-top: 40px;
  text-align: center;
  font-size: 0.95rem;
  color: #cccccc;
}

.reassurance span {
  display: inline-block;
  margin: 0 10px;
  padding: 6px 12px;
  border-radius: 20px;
  background-color: #1a1f2b;
  border: 1px solid #2b313d;
}

.home-button {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 20px;
  background-color: #3399ff;
  color: white;
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.home-button:hover {
  background-color: #2678cc;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/*Features Pages */

.columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.column {
  background-color: #161b22;
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid #ff6600;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
  box-sizing: border-box;
}

.baseline {
  font-style: italic;
  font-weight: 600;
  color: #cccccc;
  margin: 10px 0 20px;
  font-style: italic;
  color: #bbbbbb;
}

header {
  background-color: #0d1117;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

header nav a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 20px;
  font-weight: 600;
}

.cta-button {
  background-color: #ff6600;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 6px;
  font-weight: bold;
  cursor: pointer;
  text-decoration: none;
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 60px 40px;
}

h1 {
  font-size: 2.2rem;
  text-align: center;
  margin-bottom: 40px;
}

h2 {
  color: #ff6600;
  margin-top: 20px;
  font-size: 1.6rem;
}

ul {
  padding-left: 20px;
  margin-top: 10px;
}

ul li {
  margin-bottom: 10px;
}

.intro {
  text-align: center;
  font-size: 1.1rem;
  color: #cccccc;
  max-width: 800px;
  margin: 0 auto 50px;
}

footer {
  text-align: center;
  padding: 20px;
  background-color: #0d1117;
  font-size: 0.9rem;
  color: #666;
}

footer a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}

footer a:hover {
  color: #3399ff;
  text-decoration: underline;
}

footer svg {
  vertical-align: middle;
  width: 16px;
  height: 16px;
  margin-right: 6px;
}

@media screen and (max-width: 768px) {
  .columns {
    grid-template-columns: 1fr;
  }
}

/* SECTION FEATURES CTA SÉCURITÉ */
.section.cta-security {
  text-align: center;
  padding: 40px 20px;
  background-color: #161b22;
  border-top: 1px solid #2b313d;
}

.cta-security-title {
  color: #ffffff;
  font-size: 2rem;
  margin-bottom: 20px;
}

.cta-security-text {
  font-size: 1.1rem;
  color: #cccccc;
  max-width: 800px;
  margin: 0 auto 30px;
}

.cta-security-button {
  display: inline-block;
  padding: 12px 24px;
  background-color: #3399ff;
  color: #ffffff;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-security-button:hover {
  background-color: #2678cc;
}

/* SECTION SÉCURITÉ */
.section-title {
  padding: 4rem 1rem 2rem;
  text-align: center;
  background-color: #0d1117;
  color: #ffffff;
}

.section-title .title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.section-title .subtitle {
  font-size: 1.2rem;
  color: #999999;
}

.section-security {
  padding: 3rem 1rem;
  background-color: #12161c;
  color: #ffffff;
}

.section-security .security-block {
  position: relative;
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-left: 4px solid #f97316;
  background-color: #1a1f27;
  border-radius: 8px;
  overflow: hidden;
}

.section-security .security-block h2 {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

.section-security .security-block p {
  font-size: 1rem;
  color: #cccccc;
}

.section-security .security-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media screen and (min-width: 768px) {
  .section-security .security-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.security-block .bg-icon {
  position: static;
  font-size: 32px;
  /* taille ajustée pour un meilleur équilibre */
  opacity: 1;
  /* complètement visible */
  color: #ffffff;
  /* pictogramme blanc pur */
  margin-right: 10px;
  display: inline-flex;
  vertical-align: middle;
}

/* === FAQ === */
.faq-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.8rem;
  color: #ffffff;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.faq-toggle-all {
  margin-top: 1rem;
  padding: 10px 18px;
  background-color: #3399ff;
  border: none;
  border-radius: 6px;
  color: white;
  font-weight: 600;
  cursor: pointer;
}

.faq-content .faq-item {
  margin-bottom: 1rem;
  border-left: 4px solid #ff6600;
  background-color: #1a1f27;
  border-radius: 6px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-size: 1.1rem;
  padding: 1rem;
  color: #ffffff;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: #ff6600;
}

.faq-question.active {
  color: #ff6600;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 1rem;
  color: #cccccc;
}

.faq-answer p {
  margin: 1rem 0;
}

@media (max-width: 768px) {
  .faq-section-title {
    font-size: 1.4rem;
    flex-wrap: wrap;
  }

  .faq-question {
    font-size: 1rem;
    padding: 0.8rem;
  }

  .faq-answer p {
    font-size: 0.95rem;
  }

  .faq-toggle-all {
    font-size: 0.95rem;
    padding: 8px 14px;
  }
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.comparison-table th,
.comparison-table td {
  border: 1px solid #ccc;
  padding: 0.75rem 1rem;
  text-align: left;
}

.comparison-table th {
  background-color: #f8f8f872;
  font-weight: bold;
}

@media (max-width: 768px) {
  .comparison-table thead {
    display: none;
  }

  .comparison-table,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table td {
    display: block;
    width: 100%;
  }

  .comparison-table tr {
    margin-bottom: 1.5rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    overflow: hidden;
  }

  .comparison-table td {
    padding: 0.75rem 1rem;
    position: relative;
  }

  .comparison-table td::before {
    content: attr(data-label);
    font-weight: bold;
    display: block;
    margin-bottom: 0.25rem;
    color: #333;
  }

  .section-inner {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem;
  }

  .video-section {
    background-color: #0d1117;
    color: #f0f0f0;
    text-align: center;
    padding: 4rem 1rem;
  }

  .responsive-video {
    width: 100%;
    max-width: 960px;
    aspect-ratio: 16 / 9;
    margin: 2rem auto 0 auto;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  }

  .responsive-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: 12px;
  }
}