/* ==========================
   Variables & Reset
========================== */
:root {
  --primary: #000000;
  --secondary: #bf184c;
  --tertiary: #777777;
  --white: #ffffff;
}

/* Add missing secondary-color class */
.secondary-color {
  color: var(--secondary);
}

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

body {
  font-family: "Calibri", sans-serif;
  color: var(--primary);
  line-height: 1.6;
  background-color: var(--white);
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

/* === Global container === */
.container {
  max-width: 1200px;
  /* largeur max de lecture */
  margin: 0 auto;
  /* centre le contenu */
  padding-left: 45px;
  /* marge intérieure cohérente */
  padding-right: 45px;
}

/* Sections principales : centrées comme un container */
.contact-section,
.ai-services,
.vb-need,
.vb-response,
.grid-2,
.success-grid.three-cols,
.cards-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ==========================
   Header
========================== */
.site-header {
  background: var(--white);
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}

.site-logo img {
  height: 65px;
  cursor: pointer;
}

/* Navigation */
.site-nav ul {
  display: flex;
  gap: 1.5rem;
}

.site-nav a {
  color: var(--primary);
  font-weight: bold;
  transition: color 0.2s ease-in-out;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--secondary);
}

/* Burger (mobile) */
#nav-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

/* ==========================
   Hero
========================== */
.hero {
  text-align: center;
  color: var(--white);
  padding: 3rem 2rem;
  background-size: cover;
  background-position: center;
}

.home-hero {
  background: var(--primary);
}

.hero h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.hero .subtitle {
  font-size: 1.2rem;
  font-weight: 300;
}

/* ==========================
   Cards Section
========================== */
.cards-section {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 3rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
  background: var(--white);
}

.card {
  flex: 1 1 300px;
  background: var(--white);
  border: 1px solid #ddd;
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
}

.card .icon {
  font-size: 0.2rem;
  margin-bottom: 1rem;
}

.card .icon svg {
  width: 42px;
  height: 42px;
  stroke: var(--secondary);
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(191, 24, 76, 0.15));
}

.card h1 {
  margin-bottom: 1rem;
}

.intro {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background: var(--secondary);
  color: var(--white);
  border-radius: 4px;
  transition: background 0.2s ease;
}

.btn:hover {
  background: #d93d65;
  /* version plus claire du secondaire */
}

/* ==========================
   Footer
========================== */
.site-footer {
  margin-top: 4rem;
}

/* Section 1: Témoignages */
.footer-testimonies {
  background: #f2f2f3;
  text-align: center;
  padding: 2rem 1rem;
}

.footer-testimonies h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.footer-testimonies .logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
}

.footer-testimonies img {
  max-height: 40px;
  filter: grayscale(100%);
  opacity: 0.8;
  border-radius: 8px;
  /* coins arrondis */
  background: #fff;
  /* petit fond blanc derrière */
  padding: 4px;
  object-fit: contain;
}

/* Section 2: Infos */
.footer-infos {
  background: var(--tertiary);
  color: var(--white);
  display: flex;
  justify-content: space-around;
  padding: 0.5rem;
  flex-wrap: wrap;
}

.footer-col {
  margin: 1rem;
}

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

/* ==========================
   Venture Building specifics
========================== */

/* Sections VB : neutres (couleurs héritées, pas de fond) */
.vb-section {
  padding: 3rem 2rem;
  background: transparent;
  color: inherit;
}

.panel {
   background: var(--white);
   color: var(--primary);
   border-radius: 10px;
   padding: 1rem;
   box-shadow: 0 4px 14px rgba(0, 0, 0, .06);
   transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth transition */
}

.panel:hover {
   transform: translateY(-2px); /* Very slight upward movement */
   box-shadow: 0 6px 20px rgba(0, 0, 0, .1); /* Slightly enhanced shadow */
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr; /* Balance proportions */
  /* texte plus large */
  gap: 2rem; /* Add controlled gap between columns instead of 0 */
  align-items: center;
  justify-items: center;
}

.vb-visual img {
  width: 85%;
  max-width: 400px;
  height: auto;
  display: block;
  border-radius: 8px;
}

.vb-title {
  text-transform: uppercase;
  letter-spacing: .5px;
  margin-bottom: 1rem;
}

.lead {
  font-size: 1.15rem;
  margin-bottom: .6rem;
}

.vb-list {
  list-style: disc;
  margin: 0.2rem 0 0.1rem 0.2rem;
}

.card .vb-list {
  list-style: disc !important;
  margin: 0.2rem 0 0.1rem 0.2rem !important;
  padding-left: 0 !important;
}

.card .vb-list li {
  margin-left: 0 !important;
  padding-left: 0 !important;
}

.callout {
  font-weight: 600;
  margin-top: .8rem;
}

.vb-subblocks {
  display: grid;
  gap: 1rem;
}

.vb-subblock h3 {
  color: var(--secondary);
  margin-bottom: .3rem;
}

.vb-cta {
  margin-top: .6rem;
}

/* === VB: facteurs clés (fond noir) === */
.panel.dark {
  background: #000;
  color: var(--white);
}

.vb-title.invert {
   color: var(--white);
   text-align: center; /* Add this to center the title */
}

.success-grid.three-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
  margin-top: 1.2rem;
}

.success-item {
   background: transparent;
   display: flex;
   flex-direction: column; /* Change from row to column layout */
   align-items: center; /* Center align items horizontally */
   justify-content: flex-start; /* Align items to top */
   gap: 0.8rem; /* Increase gap between icon and text */
   padding: 1.2rem 0.8rem; /* Add more padding for better spacing */
   text-align: center; /* Center the text */
}

.success-item .icon {
   color: var(--secondary);
   font-size: 1.2rem;
   line-height: 1.2;
   margin-bottom: 0.4rem; /* Add space below icon */
}

.success-item span:last-child {
   font-size: 1.1rem; /* Increase text size */
   font-weight: 600; /* Make text slightly bolder */
   line-height: 1.3;
   max-width: 200px; /* Control text width for better readability */
}

.success-item .icon svg {
  width: 42px;
  height: 42px;
  stroke: var(--secondary);
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 4px rgba(191, 24, 76, 0.15));
}

.cta-row {
  text-align: center;
  margin-top: 1.8rem;
}

.btn.btn-outline {
  background: transparent;
  border: 2px solid var(--secondary);
  color: var(--white);
}

.btn.btn-outline:hover {
  background: rgba(191, 24, 76, .15);
}

.vb-response {
  background: transparent !important;
  color: inherit;
}

.vb-success {
   background: #000;
   padding: 3rem 0 1rem 0; /* Minimal bottom padding */
}

.vb-success .panel.dark {
  background: transparent;
  color: var(--white);
  max-width: 1200px;
  margin: 0 auto;
}

.vb-page {
  background: var(--white);
}

/* rouge #bf184c sur toute la page */
.vb-hero {
  padding: 3.5rem 2rem;
}

/* Bande noire dédiée à la section "Facteurs clés de succès" */
.vb-success {
  background: #000;
  padding: 3rem 0;
  color: var(--white);
}

/* Target the vb-success section specifically */
.vb-section.vb-success {
   padding: 3rem 2rem 0 2rem !important; /* Remove only bottom padding */
}

/* Remove footer top margin */
.site-footer {
   margin-top: 0 !important;
}


/* ==========================
   Chatbot section (AI Business)
========================== */
.chatbot-section {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--white);
}

.chatbot-embed iframe {
  border-radius: 6px;
  max-width: 800px;
}

/* ==========================
   Contact
========================== */

.contact-section {
  padding: 3rem 2rem;
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.2rem;
}

label {
  display: block;
  margin-bottom: 0.4rem;
}

input,
textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

button.btn {
  margin-top: 1rem;
  width: 100%;
}

/* === Contact page: modern, compact send button === */
.contact-section .btn {
  width: auto;
  /* plus plein-largeur */
  border: none;
  /* pas de bordure */
  padding: 0.8rem 1.4rem;
  /* un peu plus généreux */
  border-radius: 9999px;
  /* pill / moderne */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  letter-spacing: .2px;
}

.contact-section .btn:hover {
  filter: brightness(1.08);
  /* léger éclaircissement */
  transform: translateY(-1px);
}

/* ==========================
   Responsive
========================== */

@media (max-width: 768px) {
  .site-nav ul {
    display: none;
    flex-direction: column;
    background: var(--white);
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 1rem;
    border: 1px solid #ddd;
  }

  .site-nav.open ul {
    display: flex;
  }

  #nav-toggle {
    display: block;
  }

  .cards-section {
    flex-direction: column;
    align-items: center;
  }

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

  /* Rrègles VB responsives */
  .grid-2 {
    grid-template-columns: 1fr;
  }

  /* ← annule en mobile */

  .vb-visual {
    order: 2;
  }

  .panel {
    padding: 1rem;
  }

  .success-grid.three-cols {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 520px) {
  .success-grid.three-cols {
    grid-template-columns: 1fr;
  }
}

/* ===== Venture Building — styles "maquette" ===== */

/* Colonne texte toujours alignée à gauche */
.vb-left {
  text-align: left;
}

/* TITRES SECTIONS (gros, rouge, casse "majuscules normalisées") */
.vb-title {
  color: var(--secondary);
  font-weight: 800;
  text-transform: none;
  /* vs. uppercase par défaut */
  letter-spacing: 0;
  line-height: 1.1;
  margin-bottom: .25rem;
  /* taille fluide ~ 48–84px selon écran */
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
}

/* Sous-titre fin sous le H2 (kicker) */
.vb-kicker {
  color: var(--secondary);
  opacity: .9;
  font-weight: 400;
  font-size: clamp(1.05rem, 2.1vw, 1.35rem);
  margin-bottom: 1.4rem;
}

/* Gros intertitrage "lead" */
.lead {
  color: var(--primary);
  font-weight: 600;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  margin: 0 0 .6rem;
}

.lead.strong {
  font-weight: 800;
}

.vb-list.big li {
  font-size: clamp(1.05rem, 4vw, 1.35rem);
  line-height: 1.5;
  margin-bottom: .2rem;
}

/* Phrase d’appel en bas, rose soutenu, un peu plus grande */
.callout.emphasis {
  color: var(--secondary);
  font-weight: 700;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
  margin-top: .8rem;
}

/* Sous-blocs (deux colonnes en desktop comme sur la maquette) */
.vb-subblocks.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem 2rem;
  align-items: start;
}

.vb-subblock h3 {
  color: var(--primary);
  font-weight: 800;
  font-size: clamp(1.05rem, 2.1vw, 1.25rem);
  margin-bottom: .3rem;
}

/* Responsive : empile proprement */
@media (max-width: 900px) {
  .vb-title {
    font-size: clamp(1.25rem, 5.2vw, 1.8rem);
  }

  .vb-subblocks.two-cols {
    grid-template-columns: 1fr;
  }
}