/* AIIncomeStrategy — Cabinet privé de conseil en stratégie de carrière IA */
:root {
  --navy: #1E3A8A;
  --cream: #FAF7F0;
  --ink: #0F172A;
  --grey: #475569;
  --claret: #7F1D1D;
  --navy-light: #2d4fa8;
  --cream-dark: #ede8dc;
  --white: #ffffff;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 12px 48px rgba(15, 23, 42, 0.12);
  --radius: 6px;
  --radius-lg: 12px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --font-title: 'Sora', sans-serif;
  --font-body: 'Source Serif 4', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--claret); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.25;
  color: var(--ink);
}

h1 { font-size: clamp(2rem, 4vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 1rem; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

p { margin-bottom: 1rem; color: var(--grey); }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--cream-dark);
  box-shadow: var(--shadow);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-mark {
  width: 42px;
  height: 42px;
  background: var(--navy);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
}

.logo-text {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  line-height: 1.2;
}

.logo-text span {
  display: block;
  font-size: 0.7rem;
  font-weight: 400;
  color: var(--grey);
  letter-spacing: 0.04em;
}

.nav-desktop { display: flex; align-items: center; gap: 2rem; }

.nav-desktop a {
  font-family: var(--font-title);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--grey);
  letter-spacing: 0.02em;
}

.nav-desktop a:hover, .nav-desktop a.active { color: var(--navy); }

.nav-cta {
  background: var(--navy);
  color: var(--cream) !important;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  font-size: 0.8rem !important;
  transition: background var(--transition);
}

.nav-cta:hover {
  background: var(--claret);
  color: var(--white) !important;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--ink);
}

.menu-toggle svg { width: 28px; height: 28px; }

.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: min(320px, 85vw);
  height: 100vh;
  background: var(--white);
  z-index: 2000;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
  transition: right var(--transition);
  flex-direction: column;
  gap: 0.5rem;
}

.nav-mobile.open { right: 0; }

.nav-mobile a {
  font-family: var(--font-title);
  font-size: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--cream-dark);
  color: var(--grey);
}

.nav-mobile .nav-cta {
  margin-top: 1rem;
  text-align: center;
  display: block;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: 1500;
  opacity: 0;
  transition: opacity var(--transition);
}

.nav-overlay.open { opacity: 1; }

/* Hero */
.hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: center;
  background: var(--ink);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 1.5rem;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cream);
  background: var(--claret);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius);
  margin-bottom: 1.5rem;
}

.hero h1 {
  color: var(--cream);
  max-width: 720px;
  margin-bottom: 1.25rem;
}

.hero-lead {
  color: rgba(250, 247, 240, 0.85);
  font-size: 1.15rem;
  max-width: 600px;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-title);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.btn-primary:hover {
  background: var(--claret);
  border-color: var(--claret);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--cream);
  border-color: rgba(250, 247, 240, 0.5);
}

.btn-outline:hover {
  background: var(--cream);
  color: var(--ink);
  border-color: var(--cream);
}

.btn-claret {
  background: var(--claret);
  color: var(--white);
  border-color: var(--claret);
}

.btn-claret:hover {
  background: var(--navy);
  border-color: var(--navy);
}

/* Sections */
.section { padding: 5rem 0; }
.section-alt { background: var(--white); }
.section-navy { background: var(--navy); color: var(--cream); }
.section-navy h2, .section-navy h3 { color: var(--cream); }
.section-navy p { color: rgba(250, 247, 240, 0.8); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3rem;
}

.section-label {
  font-family: var(--font-title);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--claret);
  margin-bottom: 0.75rem;
}

/* Stats */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: -2rem;
  position: relative;
  z-index: 10;
}

.stat-card {
  background: var(--white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  text-align: center;
  border-top: 3px solid var(--navy);
}

.stat-number {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-family: var(--font-title);
  font-size: 0.8rem;
  color: var(--grey);
  letter-spacing: 0.03em;
}

/* Cards grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-dark);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-icon {
  width: 48px;
  height: 48px;
  background: var(--cream);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--navy);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 0.85rem;
}

.card h3 { margin-bottom: 0.75rem; }

/* Method / Process */
.method-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.method-image {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.method-image img { width: 100%; height: 400px; object-fit: cover; }

.process-steps {
  display: grid;
  gap: 1.25rem;
  counter-reset: step;
}

.process-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--navy);
}

.process-step::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--claret);
  min-width: 36px;
}

/* Programs */
.program-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--cream-dark);
  transition: transform var(--transition);
}

.program-card:hover { transform: translateY(-4px); }

.program-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.program-body { padding: 1.75rem; }

.program-ref {
  font-family: var(--font-title);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--claret);
  margin-bottom: 0.5rem;
}

.program-price {
  font-family: var(--font-title);
  font-size: 0.85rem;
  color: var(--navy);
  font-weight: 600;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--cream-dark);
}

/* FAQ */
.faq-list { max-width: 800px; margin: 0 auto; }

.faq-item {
  border-bottom: 1px solid var(--cream-dark);
  padding: 1.25rem 0;
}

.faq-question {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--navy);
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.open .faq-question::after { transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.open .faq-answer {
  max-height: 500px;
  padding-top: 1rem;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial::before {
  content: '"';
  font-family: var(--font-title);
  font-size: 3rem;
  color: var(--navy);
  opacity: 0.2;
  line-height: 1;
  position: absolute;
  top: 0.5rem;
  left: 1rem;
}

.testimonial-text {
  font-style: italic;
  color: var(--grey);
  margin-bottom: 1.25rem;
  padding-top: 1.5rem;
}

.testimonial-author {
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
}

.testimonial-role {
  font-size: 0.8rem;
  color: var(--grey);
}

/* Disclaimer */
.disclaimer {
  background: var(--cream-dark);
  border: 1px solid rgba(71, 85, 105, 0.2);
  border-radius: var(--radius-lg);
  padding: 1.5rem 2rem;
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.6;
}

.disclaimer strong {
  font-family: var(--font-title);
  color: var(--ink);
  display: block;
  margin-bottom: 0.5rem;
}

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, var(--navy) 0%, var(--ink) 100%);
  padding: 4rem 1.5rem;
  text-align: center;
}

.cta-band h2 { color: var(--cream); margin-bottom: 1rem; }
.cta-band p { color: rgba(250, 247, 240, 0.8); max-width: 560px; margin: 0 auto 2rem; }

/* Page hero (subpages) */
.page-hero {
  background: var(--navy);
  padding: 4rem 1.5rem 3rem;
  text-align: center;
}

.page-hero h1 { color: var(--cream); margin-bottom: 0.75rem; }
.page-hero p { color: rgba(250, 247, 240, 0.8); max-width: 600px; margin: 0 auto; }

/* Content pages */
.content-page { padding: 4rem 0; }
.content-page .container { max-width: 860px; }
.content-page h2 { margin-top: 2.5rem; margin-bottom: 1rem; }
.content-page h3 { margin-top: 1.75rem; margin-bottom: 0.75rem; }
.content-page ul, .content-page ol { margin-bottom: 1rem; padding-left: 1.5rem; color: var(--grey); }
.content-page li { margin-bottom: 0.5rem; }

/* Solutions table */
.solutions-table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  font-size: 0.95rem;
}

.solutions-table th {
  background: var(--navy);
  color: var(--cream);
  font-family: var(--font-title);
  font-weight: 600;
  padding: 1rem;
  text-align: left;
}

.solutions-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--cream-dark);
  color: var(--grey);
  vertical-align: top;
}

.solutions-table tr:hover td { background: var(--cream); }

.solutions-table .ref {
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--claret);
  font-size: 0.8rem;
}

/* Services */
.service-block {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--cream-dark);
  align-items: start;
}

.service-block:last-child { border-bottom: none; }

.service-block img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 220px;
  object-fit: cover;
}

/* Contact form */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-family: var(--font-title);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 1rem;
  background: var(--white);
  color: var(--ink);
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-group textarea { min-height: 140px; resize: vertical; }

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.checkbox-group label {
  font-size: 0.9rem;
  color: var(--grey);
  line-height: 1.5;
}

.honeypot { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.contact-info h3 { margin-bottom: 1rem; }
.contact-detail {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  color: var(--grey);
}

.contact-detail strong {
  font-family: var(--font-title);
  color: var(--ink);
  min-width: 80px;
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 2rem;
  border: 1px solid var(--cream-dark);
}

.map-container iframe { width: 100%; height: 300px; border: 0; }

.hours-table { width: 100%; margin-top: 1rem; }
.hours-table td { padding: 0.4rem 0; color: var(--grey); }

/* Footer */
.site-footer {
  background: var(--ink);
  color: rgba(250, 247, 240, 0.7);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-text { color: var(--cream); }
.footer-brand .logo-text span { color: rgba(250, 247, 240, 0.5); }

.footer-brand p {
  font-size: 0.9rem;
  color: rgba(250, 247, 240, 0.6);
  margin-top: 1rem;
  line-height: 1.6;
}

.footer-col h4 {
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cream);
  margin-bottom: 1rem;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: rgba(250, 247, 240, 0.6);
  padding: 0.3rem 0;
  transition: color var(--transition);
}

.footer-col a:hover { color: var(--cream); }

.footer-bottom {
  border-top: 1px solid rgba(250, 247, 240, 0.1);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer-legal {
  font-size: 0.8rem;
  color: rgba(250, 247, 240, 0.45);
  line-height: 1.6;
  max-width: 700px;
}

.footer-note {
  font-size: 0.75rem;
  color: rgba(250, 247, 240, 0.4);
  font-style: italic;
  margin-top: 0.75rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  border-top: 1px solid var(--cream-dark);
  box-shadow: 0 -4px 24px rgba(15, 23, 42, 0.12);
  z-index: 3000;
  padding: 1.5rem;
  transform: translateY(100%);
  transition: transform var(--transition);
}

.cookie-banner.visible { transform: translateY(0); }

.cookie-inner {
  max-width: 1180px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  font-size: 0.875rem;
  color: var(--grey);
  line-height: 1.6;
  min-width: 280px;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.cookie-btn {
  font-family: var(--font-title);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.6rem 1.25rem;
  border-radius: var(--radius);
  border: 2px solid var(--cream-dark);
  background: var(--white);
  color: var(--grey);
  cursor: pointer;
  transition: all var(--transition);
}

.cookie-btn:hover { border-color: var(--navy); color: var(--navy); }

.cookie-btn.accept {
  background: var(--navy);
  color: var(--cream);
  border-color: var(--navy);
}

.cookie-btn.accept:hover { background: var(--claret); border-color: var(--claret); }

.cookie-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.6);
  z-index: 4000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.cookie-modal.open { display: flex; }

.cookie-modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  max-width: 520px;
  width: 100%;
  box-shadow: var(--shadow-lg);
}

.cookie-modal h3 { margin-bottom: 1rem; }

.cookie-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--cream-dark);
}

.cookie-option label {
  font-family: var(--font-title);
  font-size: 0.9rem;
  color: var(--ink);
}

.cookie-option p {
  font-size: 0.8rem;
  margin: 0;
}

.toggle-switch {
  position: relative;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.toggle-switch input { opacity: 0; width: 0; height: 0; }

.toggle-slider {
  position: absolute;
  inset: 0;
  background: var(--cream-dark);
  border-radius: 26px;
  cursor: pointer;
  transition: background var(--transition);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  left: 3px;
  bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--transition);
}

.toggle-switch input:checked + .toggle-slider { background: var(--navy); }
.toggle-switch input:checked + .toggle-slider::before { transform: translateX(22px); }
.toggle-switch input:disabled + .toggle-slider { opacity: 0.6; cursor: not-allowed; }

.cookie-modal-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  justify-content: flex-end;
}

/* 404 */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
}

.error-page h1 { margin-bottom: 1rem; }
.error-page p { margin-bottom: 2rem; }

/* Animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 992px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .method-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .service-block { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: block; }
  .nav-mobile { display: flex; }
  .nav-overlay { display: block; }
  .stats-grid { grid-template-columns: 1fr 1fr; margin-top: 2rem; }
  .hero { min-height: auto; }
  .hero-content { padding: 3rem 1.5rem; }
  .section { padding: 3rem 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .cookie-inner { flex-direction: column; align-items: stretch; }
  .solutions-table { font-size: 0.85rem; }
  .solutions-table th, .solutions-table td { padding: 0.75rem 0.5rem; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; }
  .btn { justify-content: center; }
}
