/* ==========================================
   CALLGROWTH — CSS PRINCIPAL
   Palette : #37463D #5B696B #535953 #F8FBF1 #C5C5A9
   ========================================== */

/* ---- VARIABLES ---- */
:root {
  --dark:    #37463D;
  --mid:     #5B696B;
  --neutral: #535953;
  --cream:   #F8FBF1;
  --accent:  #C5C5A9;
  --accent-dark: #a9a98a;
  --white:   #ffffff;
  --border:  rgba(197,197,169,0.45);
  --shadow:  0 8px 32px rgba(55,70,61,0.09);
  --shadow-md: 0 16px 48px rgba(55,70,61,0.14);

  --radius-sm: 12px;
  --radius:    20px;
  --radius-lg: 28px;
  --radius-xl: 36px;

  --font-display: 'Plus Jakarta Sans', sans-serif;
  --font-body:    'DM Sans', sans-serif;

  --nav-h: 72px;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ---- UTILITIES ---- */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  cursor: pointer;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}
.btn-dark {
  background: var(--dark);
  color: var(--white);
}
.btn-dark:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(55,70,61,0.28);
  background: #2a3530;
}
.btn-outline {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}
.btn-outline:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(248,251,241,0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s;
}
.navbar.scrolled {
  box-shadow: 0 4px 20px rgba(55,70,61,0.08);
}
.nav-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon { display: flex; }
.logo-text {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: -0.02em;
}

/* Taille du logo (navbar) */
.logo-icon .logo-img{
  height: 34px;   /* <-- change ici (24, 32, 40...) */
  width: auto;
  display: block;
}

/* Nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  flex: 1;
  justify-content: center;
}
.nav-links a, .dropdown-trigger {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--mid);
  font-weight: 400;
  transition: color 0.15s;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a:hover, .dropdown-trigger:hover { color: var(--dark); }
.chevron { font-size: 16px; }

.nav-dropdown { display: none; } /* unused */

.nav-cta { flex-shrink: 0; }

/* Burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  border-radius: 2px;
  transition: 0.3s;
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 16px 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 12px 0;
  font-size: 16px;
  color: var(--dark);
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border: none; margin-top: 8px; }


/* ==========================================
   HERO
   ========================================== */
.hero {
  padding: 72px 0 80px;
  overflow: hidden;
}
.hero-inner {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}

/* Left */
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 68px);
  font-weight: 800;
  line-height: 1.13;
  letter-spacing: -0.02em;
  color: var(--dark);
  margin-bottom: 28px;
}
.hero-title .accent { color: var(--accent-dark); }

.hero-sub {
  font-size: 17px;
  color: var(--mid);
  line-height: 1.65;
  max-width: 400px;
  margin-bottom: 40px;
  font-weight: 300;
}
.hero-btn { font-size: 13px; }

/* Right / Visual */
.hero-right {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-visual {
  position: relative;
  width: 100%;
  max-width: 560px;
  background: #e8ece4;
  border-radius: var(--radius-xl);
  overflow: visible;
  aspect-ratio: 4/3;
}
.hero-img-placeholder {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, #c8d0c0 0%, #b8c4b0 100%);
}
.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
}
.hero-img-placeholder::after {
  content: 'Ajoutez assets/hero.jpg';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: rgba(55,70,61,0.4);
  font-family: var(--font-body);
  z-index: 0;
}


/* Floating badges */
.badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  background: var(--white);
  border-radius: var(--radius);
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  animation: float 4s ease-in-out infinite;
}
.badge div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.badge strong {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--dark);
}
.badge small {
  font-size: 12px;
  color: var(--mid);
}
.badge-icon {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: #e8f0ea;
  border-radius: 10px;
  flex-shrink: 0;
}
.badge-icon-purple {
  background: #e8e0f0;
  font-size: 16px;
}
.badge-left {
  bottom: 20%;
  left: -28px;
  animation-delay: 0s;
}
.badge-top-right {
  top: 12%;
  right: -20px;
  animation-delay: 1.5s;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Assure que le conteneur gère les calques */
.hero-visual {
  position: relative;
}

/* Image en arrière-plan */
.hero-img {
  position: relative;
  z-index: 1;
}

/* Image derrière */
.hero-img-placeholder { position: absolute; inset: 0; z-index: 1; }
.hero-img { position: relative; z-index: 2; }

/* Cartes flottantes */
.card-rdv { position: absolute; z-index: 6; }
.widget-heatmap { position: absolute; z-index: 7; }

/* Badges au-dessus */
.badge { position: absolute; z-index: 8; }

/* Et CE badge précis encore au-dessus */
.badge-left { z-index: 12; }

/* Heatmap widget */
.widget-heatmap {
  position: absolute;
  bottom: 12%;
  right: -24px;
  background: var(--dark);
  border-radius: var(--radius);
  padding: 16px 20px;
  min-width: 240px;
  box-shadow: var(--shadow-md);
  animation: float 5s ease-in-out infinite;
  animation-delay: 0.8s;
}
.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 12px;
}
.widget-title {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}
.widget-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
}
.heatmap-grid { display: flex; flex-direction: column; gap: 4px; }
.hm-row { display: flex; align-items: center; gap: 4px; }
.hm-label {
  font-size: 10px;
  color: rgba(255,255,255,0.5);
  width: 24px;
  flex-shrink: 0;
}
.hm-cell {
  width: 26px;
  height: 18px;
  border-radius: 4px;
}
.c1 { background: rgba(197,197,169,0.2); }
.c2 { background: rgba(197,197,169,0.4); }
.c3 { background: rgba(197,197,169,0.6); }
.c4 { background: rgba(197,197,169,0.8); }
.c5 { background: var(--accent); }

/* RDV card */
.card-rdv {
  position: absolute;
  bottom: -20px;
  left: 16%;
  background: var(--white);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-md);
  min-width: 190px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  animation: float 4.5s ease-in-out infinite;
  animation-delay: 2s;
  z-index: 5;
}
.card-rdv-lines { display: flex; flex-direction: column; gap: 7px; }
.rdv-line {
  height: 8px;
  background: var(--accent);
  border-radius: 4px;
  opacity: 0.7;
}
.rdv-line.short { width: 60%; }
.rdv-small-btn { font-size: 11px; padding: 10px 16px; }


/* ==========================================
   LOGOS BAND
   ========================================== */
.logos-band {
  padding: 36px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.logos-label {
  text-align: center;
  font-size: 12px;
  color: var(--mid);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  opacity: 0.7;
}
.logos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.logo-pill {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  color: var(--neutral);
  opacity: 0.5;
  letter-spacing: -0.01em;
  transition: opacity 0.2s;
}
.logo-pill:hover { opacity: 0.85; }


/* ==========================================
   SECTION COMMONS
   ========================================== */
section { padding: 100px 0; }
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-dark);
  margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--dark);
  margin-bottom: 56px;
}
.section-title .accent { color: var(--accent-dark); }


/* ==========================================
   SERVICES
   ========================================== */
.services { background: var(--white); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.service-card.featured {
  background: var(--dark);
  border-color: var(--dark);
}
.service-card.featured h3,
.service-card.featured p { color: var(--white); }
.service-card.featured .service-icon { background: rgba(255,255,255,0.12); }
.service-icon {
  font-size: 24px;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: 24px;
  box-shadow: 0 2px 8px rgba(55,70,61,0.08);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--dark);
}
.service-card p {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.65;
}


/* ==========================================
   PROCESS
   ========================================== */
.timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
}
.timeline-step {
  flex: 1;
  text-align: center;
  padding: 0 16px;
}
.timeline-connector {
  flex-shrink: 0;
  width: 60px;
  height: 2px;
  background: var(--accent);
  margin-top: 56px;
  opacity: 0.6;
}
.step-number {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--accent-dark);
  margin-bottom: 12px;
}
.step-icon {
  font-size: 28px;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 50%;
  margin: 0 auto 16px;
}
.timeline-step h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
}
.timeline-step p {
  font-size: 14px;
  color: var(--mid);
  line-height: 1.6;
}


/* ==========================================
   CAS CLIENTS
   ========================================== */
.cas-clients { background: var(--dark); }
.cas-clients .section-eyebrow { color: var(--accent); }
.cas-clients .section-title { color: var(--white); }
.cas-clients .section-title .accent { color: var(--accent); }

.results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.result-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(197,197,169,0.2);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  transition: background 0.2s, transform 0.2s;
}
.result-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
}
.result-stat {
  font-family: var(--font-display);
  font-size: 42px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 8px;
}
.result-company {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.result-text {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin-bottom: 20px;
}
.result-kpis {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.result-kpis span {
  background: rgba(197,197,169,0.15);
  border: 1px solid rgba(197,197,169,0.25);
  border-radius: 20px;
  padding: 5px 12px;
  font-size: 12px;
  color: var(--accent);
}


/* ==========================================
   FAQ
   ========================================== */
.faq { background: var(--white); }
.faq-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 80px;
  align-items: start;
}
.faq-sub {
  font-size: 15px;
  color: var(--mid);
  margin-bottom: 28px;
  line-height: 1.6;
}
.faq-left .section-title { margin-bottom: 16px; }
.faq-right { display: flex; flex-direction: column; gap: 0; }

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  color: var(--dark);
  text-align: left;
  transition: color 0.15s;
}
.faq-question:hover { color: var(--mid); }
.faq-icon {
  font-size: 22px;
  font-weight: 300;
  color: var(--accent-dark);
  flex-shrink: 0;
  transition: transform 0.25s;
}
.faq-question[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
}
.faq-answer.open { max-height: 200px; padding-bottom: 18px; }
.faq-answer p {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.7;
}


/* ==========================================
   CONTACT
   ========================================== */
.contact {
  background: var(--cream);
  padding: 100px 0;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 72px;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 64px;
}
.contact-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 20px;
}
.contact-title .accent { color: var(--accent-dark); }
.contact-sub {
  font-size: 15px;
  color: var(--mid);
  line-height: 1.65;
  margin-bottom: 32px;
}
.contact-benefits {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.benefit-item {
  font-size: 14px;
  font-weight: 500;
  color: var(--dark);
}

/* Form */
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-size: 13px;
  font-weight: 500;
  color: var(--dark);
  letter-spacing: 0.03em;
}
.form-group input,
.form-group textarea {
  background: var(--cream);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--dark);
  outline: none;
  transition: border-color 0.18s, box-shadow 0.18s;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--dark);
  box-shadow: 0 0 0 3px rgba(55,70,61,0.08);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(91,105,107,0.5);
}
.form-submit { width: 100%; justify-content: center; }
.form-note {
  font-size: 12px;
  color: var(--mid);
  text-align: center;
  opacity: 0.7;
}


/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: var(--dark);
  padding: 64px 0 0;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(197,197,169,0.15);
}
.footer-brand .logo-text { color: var(--white); }
.footer-brand .logo-icon svg circle { stroke: var(--accent); }
.footer-brand .logo-icon svg circle:last-child { fill: var(--accent); }
.footer-tagline {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  margin-top: 12px;
  line-height: 1.6;
  max-width: 260px;
}
.footer-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col strong {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.footer-col a {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
  padding: 20px 32px;
  text-align: center;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}


/* ==========================================
   SCROLL REVEAL ANIMATION
   ========================================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal-delay { transition-delay: 0.2s; }


/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-right { order: -1; }
  .hero-visual { max-width: 100%; aspect-ratio: 16/10; }

  .cards-grid { grid-template-columns: 1fr; }
  .results-grid { grid-template-columns: 1fr; }
  .timeline { flex-direction: column; align-items: center; }
  .timeline-connector { width: 2px; height: 40px; margin: 0 0 0 0; }
  .timeline-step { width: 100%; max-width: 380px; text-align: center; }
  .faq-inner { grid-template-columns: 1fr; gap: 40px; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; padding: 40px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  section { padding: 72px 0; }
  .container { padding: 0 20px; }

  .nav-links, .nav-cta { display: none; }
  .burger { display: flex; }

  .hero { padding: 48px 0 60px; }
  .hero-inner { padding: 0 20px; }
  .badge-left { left: 0; bottom: 22%; font-size: 13px; padding: 10px 14px; }
  .badge-top-right { right: 0; top: 8%; font-size: 13px; padding: 10px 14px; }
  .widget-heatmap { right: 0; bottom: 10%; transform-origin: right bottom; }
  .card-rdv { bottom: -10px; left: 8%; }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-nav { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .contact-inner { padding: 28px 24px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 38px; }
  .results-grid, .cards-grid { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: 1fr; gap: 28px; }
  .widget-heatmap { display: none; }
}
