/* ============================================
   Concertations Publiques — Minimalist Style
   Inspired by Opinions Publiques aesthetic
   ============================================ */

@font-face {
  font-family: 'Helvetica Neue LT Pro 75';
  font-style: normal;
  font-weight: 700;
  src: url('https://fonts.cdnfonts.com/s/14891/HelveticaNeueLTPro-Bd.woff') format('woff');
}

:root {
  --pink: #D8C8E8;
  --pink-light: #EDE5F5;
  --black: #1A1A1A;
  --text: #333333;
  --text-light: #666666;
  --white: #FFFFFF;
  --bg: #FFFFFF;
  --border: #E5E5E5;
  --max-width: 960px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  line-height: 1.7;
  background: var(--bg);
  overflow-x: hidden;
}

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

ul { list-style: none; }

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ---- Typography ---- */

h1, h2, h3, h4 {
  font-family: 'Helvetica Neue LT Pro', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
  font-style: normal;
  color: var(--black);
  font-weight: 400;
  line-height: 1.25;
}

/* ---- Buttons ---- */

.btn {
  display: inline-block;
  padding: 14px 36px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  border: 1px solid var(--black);
  transition: all var(--transition);
  letter-spacing: 0.02em;
  background: transparent;
  color: var(--black);
}

.btn:hover {
  background: var(--black);
  color: var(--white);
}

.btn-pink {
  background: var(--pink);
  border-color: var(--pink);
  color: var(--black);
}

.btn-pink:hover {
  background: #c4aed8;
  border-color: #c4aed8;
  color: var(--black);
}

.btn-dark {
  background: var(--black);
  border-color: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  background: #333;
  border-color: #333;
}

.btn-sm {
  padding: 10px 24px;
  font-size: 0.85rem;
}

/* ---- Navigation ---- */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid transparent;
  padding: 20px 0;
  transition: border-color var(--transition), padding var(--transition);
}

.navbar.scrolled {
  border-bottom-color: var(--border);
  padding: 14px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
}

.navbar-logo {
  height: 50px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--text);
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
  border-bottom-color: var(--black);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--black);
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ---- Mobile Nav ---- */

.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--white);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.mobile-nav.active {
  display: flex;
}

.mobile-nav a {
  font-family: 'Helvetica Neue LT Pro', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
  font-size: 1.6rem;
  color: var(--black);
  transition: color var(--transition);
}

.mobile-nav a:hover {
  color: var(--text-light);
}

/* ---- Hero ---- */

.hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 480px;
  max-height: 640px;
  overflow: hidden;
  margin-top: 72px;
  background: #C8C8C8;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #d4d4d4 0%, #a8a8a8 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #555;
  font-size: 0.9rem;
}

.hero-card {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  padding: 28px 36px;
  max-width: 480px;
  text-align: center;
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--text);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.hero-card strong {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ---- Section Shared ---- */

.section {
  padding: 80px 0;
}

.section-title {
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  text-align: center;
  margin-bottom: 48px;
}

.section-intro {
  max-width: 660px;
  margin: 0 auto 56px;
  text-align: center;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.8;
}

/* ---- Defis (Pain Points) ---- */

.defis-content {
  max-width: 660px;
  margin: 0 auto;
}

.defi-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
}

.defi-item:last-child {
  border-bottom: none;
}

.defi-item h3 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.defi-item p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---- Services 4-en-1 ---- */

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.service-card {
  text-align: left;
}

.service-number {
  font-family: 'Helvetica Neue LT Pro', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
  font-size: 2.5rem;
  color: var(--pink);
  line-height: 1;
  margin-bottom: 16px;
}

.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}

.service-tag {
  padding: 4px 12px;
  background: var(--pink-light);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
}

.trois-en-un {
  text-align: center;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.trois-en-un p {
  font-family: 'Helvetica Neue LT Pro', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
  font-size: 1.15rem;
  color: var(--black);
}

/* ---- Pink Band (Benefits) ---- */

.pink-band {
  background: var(--pink);
  padding: 72px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.benefit-item h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.benefit-item p {
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.7;
}

/* ---- Methodology ---- */

.method-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
}

.method-step {
  text-align: center;
  position: relative;
}

.method-step-number {
  font-family: 'Helvetica Neue LT Pro', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
  font-size: 2.2rem;
  color: var(--pink);
  line-height: 1;
  margin-bottom: 12px;
}

.method-step h3 {
  font-size: 0.95rem;
  margin-bottom: 6px;
}

.method-step p {
  font-size: 0.82rem;
  color: var(--text-light);
  line-height: 1.6;
}

.method-connector {
  display: none;
}

/* ---- References ---- */

.ref-main {
  max-width: 660px;
  margin: 0 auto 48px;
  padding: 36px;
  border-left: 3px solid var(--pink);
  background: var(--pink-light);
}

.ref-main h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.ref-main p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

.ref-tag {
  display: inline-block;
  margin-top: 12px;
  padding: 4px 14px;
  background: var(--pink);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
}

.credentials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 800px;
  margin: 0 auto;
}

.credential h4 {
  font-family: 'Helvetica Neue LT Pro', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  margin-bottom: 6px;
}

.credential p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

.ref-logos {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}

.ref-logo-placeholder {
  padding: 10px 20px;
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-light);
}

/* ---- About / Qui sommes-nous ---- */

.about-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 48px;
  align-items: start;
  max-width: 800px;
  margin: 0 auto;
}

.about-portrait {
  width: 100%;
  height: auto;
  display: block;
}

.about-text p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ---- PDF CTA ---- */

.pdf-section {
  background: var(--pink-light);
  padding: 64px 0;
  text-align: center;
}

.pdf-section h2 {
  font-size: clamp(1.4rem, 2.5vw, 1.7rem);
  margin-bottom: 12px;
}

.pdf-section p {
  font-size: 0.92rem;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto 28px;
  line-height: 1.7;
}

/* ---- Contact ---- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}

.contact-form-wrapper h3 {
  font-size: 1.3rem;
  margin-bottom: 6px;
}

.contact-form-wrapper > p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text);
}

.form-group input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  font-size: 0.95rem;
  font-family: inherit;
  transition: border-color var(--transition);
  background: var(--white);
}

.form-group input:focus {
  outline: none;
  border-color: var(--black);
}

.form-group input::placeholder {
  color: #BDBDBD;
}

.form-group input.error {
  border-color: #D32F2F;
}

.form-error {
  font-size: 0.78rem;
  color: #D32F2F;
  margin-top: 4px;
  display: none;
}

.form-error-global {
  display: none;
  margin-bottom: 12px;
}

.form-error-global.visible {
  display: block;
}

.form-group input.error + .form-error {
  display: block;
}

.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}

.form-submit {
  width: 100%;
  margin-top: 4px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px 0;
}

.form-success.visible {
  display: block;
}

.form-success h4 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-light);
  font-size: 0.9rem;
}

.contact-right h3 {
  font-family: 'Helvetica Neue LT Pro', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 6px;
}

.contact-right > p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 24px;
}

.calendly-link {
  display: inline-block;
  margin-bottom: 40px;
}

.contact-details-list {
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.contact-detail-row {
  display: flex;
  gap: 24px;
  padding: 8px 0;
  font-size: 0.9rem;
}

.contact-detail-row .label {
  font-weight: 600;
  min-width: 100px;
  color: var(--black);
}

.contact-detail-row a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.contact-detail-row a:hover {
  color: var(--black);
}

/* ---- Footer ---- */

.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 40px;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--black);
}

.footer-col p,
.footer-col a {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.7;
}

.footer-col a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-col a:hover {
  color: var(--black);
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-light);
}

.footer-mention {
  font-style: italic;
}

/* ---- Fade animation ---- */

.fade-in {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---- Responsive ---- */

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .method-steps {
    grid-template-columns: 1fr;
    gap: 28px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }

  .method-step {
    text-align: left;
    display: flex;
    gap: 16px;
    align-items: flex-start;
  }

  .method-step-number {
    flex-shrink: 0;
    margin-bottom: 0;
  }

  .credentials-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    max-width: 480px;
  }

  .about-portrait {
    max-width: 260px;
    margin: 0 auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero {
    margin-top: 64px;
    height: 50vh;
    min-height: 360px;
  }

  .hero-card {
    left: 16px;
    right: 16px;
    bottom: 20px;
    transform: none;
    max-width: none;
    padding: 20px 24px;
    font-size: 0.85rem;
  }

  .section {
    padding: 56px 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 20px;
  }
}
