/* ========================================
   ADAM BOARDS — Global Stylesheet
   ======================================== */

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Couleurs issues du logo Adam Boards */
  --navy: #111111;
  --navy-light: #1A1A1A;
  --navy-medium: #151515;
  --blue: #0072E3;
  --blue-light: #339AFF;
  --blue-pale: #E8F2FF;
  --gold: #FFD600;
  --gold-light: #FFF8CC;
  --gold-dark: #E6C100;
  --green: #2ECC40;
  --green-light: #D9F5E0;
  --red: #E8272C;
  --red-light: #FDE8E8;
  --warm-bg: #FAFAFA;
  --warm-100: #F5F4F0;
  --warm-200: #E8E6E0;
  --warm-accent: #FFD600;
  --gray-50: #FAFAF9;
  --gray-100: #F5F5F4;
  --gray-200: #E7E5E4;
  --gray-300: #D6D3D1;
  --gray-400: #A8A29E;
  --gray-500: #78716C;
  --gray-600: #57534E;
  --gray-700: #44403C;
  --gray-800: #292524;
  --gray-900: #1C1917;
  --white: #FFFFFF;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --max-width: 1140px;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px rgba(0,0,0,0.1), 0 5px 10px rgba(0,0,0,0.05);
  --transition: 0.2s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--warm-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--blue); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--blue-light); }

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

/* --- Typography --- */
h1, h2, h3, h4 { color: var(--navy); line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.125rem; }

.text-center { text-align: center; }
.text-white { color: var(--white); }
.text-white h1, .text-white h2, .text-white h3 { color: var(--white); }
.text-muted { color: var(--gray-500); }

/* --- Layout --- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.section-dark { background: var(--navy); color: var(--gray-200); }
.section-light { background: var(--warm-100); }
.section-blue { background: var(--blue-pale); }

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

.flex { display: flex; }
.flex-center { align-items: center; justify-content: center; }
.flex-between { align-items: center; justify-content: space-between; }
.flex-col { flex-direction: column; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.gap-32 { gap: 32px; }

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(250,248,245,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--warm-200);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.logo img {
  height: 44px;
  width: auto;
}
.logo-text {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.logo-text span { color: var(--blue); }
.footer .logo img {
  height: 52px;
  filter: brightness(1.1);
}

.nav { display: flex; align-items: center; gap: 32px; }
.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  transition: color var(--transition);
}
.nav a:hover { color: var(--navy); }
.nav a.active { color: var(--navy); font-weight: 600; }

.nav-cta {
  background: var(--blue) !important;
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: var(--radius-sm);
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  transition: background var(--transition) !important;
}
.nav-cta:hover { background: var(--blue-light) !important; }

/* Mobile menu */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: var(--transition);
}

/* --- Hero --- */
.hero {
  padding: 140px 0 80px;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(255,214,0,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero p { font-size: 1.15rem; color: var(--gray-300); max-width: 560px; margin-bottom: 32px; line-height: 1.7; }
.hero .container { position: relative; z-index: 1; }

.hero-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-visual {
  background: var(--navy-medium);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 32px;
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  font-size: 0.9rem;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  text-align: center;
  justify-content: center;
}
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-light); color: var(--white); transform: translateY(-1px); box-shadow: var(--shadow-md); }

.btn-secondary { background: var(--white); color: var(--navy); }
.btn-secondary:hover { background: var(--gray-100); color: var(--navy); }

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

.btn-gold { background: var(--gold); color: var(--navy); font-weight: 700; }
.btn-gold:hover { background: var(--gold-dark); color: var(--navy); transform: translateY(-1px); }

.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

.btn-group { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- Cards --- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--warm-200);
  padding: 32px;
  transition: all var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); border-color: var(--warm-accent); }

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 16px;
}
.card-icon-blue { background: var(--blue-pale); color: var(--blue); }
.card-icon-gold { background: var(--gold-light); color: #B8A000; }
.card-icon-green { background: var(--green-light); color: var(--green); }
.card-icon-red { background: var(--red-light); color: var(--red); }

.card h3 { margin-bottom: 12px; }
.card p { color: var(--gray-600); font-size: 0.95rem; }

/* --- Pricing Cards --- */
.pricing-card {
  background: var(--white);
  border: 2px solid var(--warm-200);
  border-radius: var(--radius);
  padding: 40px 32px;
  position: relative;
  transition: all var(--transition);
}
.pricing-card:hover { border-color: var(--blue); box-shadow: var(--shadow-lg); }
.pricing-card.featured {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: scale(1.03);
}
.pricing-card.featured::before {
  content: 'Recommandé';
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy);
  padding: 4px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.pricing-card .price {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
}
.pricing-card .price-period {
  font-size: 0.9rem;
  color: var(--gray-500);
  font-weight: 400;
}
.pricing-card .price-desc {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 4px;
}

.pricing-features {
  list-style: none;
  margin: 24px 0;
}
.pricing-features li {
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--gray-700);
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.pricing-features li::before {
  content: '\2713';
  color: var(--green);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* --- Steps --- */
.step {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.step-content h3 { margin-bottom: 8px; }
.step-content p { color: var(--gray-600); font-size: 0.95rem; }

.steps-connector {
  width: 2px;
  height: 40px;
  background: var(--gray-200);
  margin-left: 23px;
}

/* --- Testimonials --- */
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--warm-200);
  position: relative;
}
.testimonial::before {
  content: '\201C';
  font-size: 3rem;
  color: var(--blue-pale);
  position: absolute;
  top: 16px;
  left: 24px;
  line-height: 1;
  font-family: Georgia, serif;
}
.testimonial p {
  font-size: 1rem;
  color: var(--gray-700);
  font-style: italic;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}
.testimonial-author {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
}
.testimonial-role {
  font-size: 0.8rem;
  color: var(--gray-500);
}

/* --- Stats --- */
.stats { display: flex; gap: 48px; flex-wrap: wrap; }
.stat-item { text-align: center; }
.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--gray-500);
  margin-top: 4px;
}

.section-dark .stat-number { color: var(--gold); }
.cta-section .stat-number { color: var(--gold); }

/* --- Badges --- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}
.badge-blue { background: var(--blue-pale); color: var(--blue); }
.badge-gold { background: var(--gold-light); color: #7A6800; }
.badge-green { background: var(--green-light); color: #1A7A28; }

/* --- FAQ --- */
.faq-item {
  border-bottom: 1px solid var(--gray-200);
  padding: 20px 0;
}
.faq-question {
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--gray-400);
  transition: transform var(--transition);
}
.faq-item.open .faq-question::after { content: '\2212'; }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  color: var(--gray-600);
  font-size: 0.95rem;
  line-height: 1.7;
}
.faq-item.open .faq-answer { max-height: 500px; padding-top: 12px; }

/* --- Forms --- */
.form-group { margin-bottom: 20px; }
.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  font-family: var(--font);
  transition: border-color var(--transition);
  background: var(--white);
}
.form-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37,99,235,0.1); }
.form-input::placeholder { color: var(--gray-400); }
textarea.form-input { resize: vertical; min-height: 120px; }

/* --- Section headers --- */
.section-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-header p {
  color: var(--gray-500);
  font-size: 1.05rem;
  margin-top: 12px;
}
.section-header .badge { margin-bottom: 12px; }

/* --- Footer --- */
.footer {
  background: var(--navy);
  color: var(--gray-400);
  padding: 64px 0 32px;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--gold), var(--green), var(--red));
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand p { font-size: 0.9rem; margin-top: 12px; line-height: 1.6; }
.footer h4 { color: var(--white); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { color: var(--gray-400); font-size: 0.85rem; }
.footer ul a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom a { color: var(--gray-400); }
.footer-bottom a:hover { color: var(--white); }

/* --- Misc --- */
.divider { height: 1px; background: var(--gray-200); margin: 48px 0; }

.trust-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  padding: 24px 0;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--gray-500);
}

.cta-section {
  background: var(--navy);
  padding: 80px 0;
  text-align: center;
  color: var(--white);
  position: relative;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue), var(--gold), var(--green), var(--red));
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: var(--gray-300); max-width: 500px; margin: 0 auto 32px; font-size: 1.05rem; }

/* Expert avatars */
.expert-duo {
  display: flex;
  gap: 32px;
  align-items: flex-start;
}
.expert-card {
  flex: 1;
  text-align: center;
}
.expert-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue-pale) 0%, var(--warm-100) 100%);
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--gold);
  position: relative;
  overflow: hidden;
}
.expert-avatar svg {
  width: 60%;
  height: 60%;
}
.expert-avatar.avatar-finance {
  background: linear-gradient(135deg, var(--blue-pale) 0%, #D6E4FF 100%);
}
.expert-avatar.avatar-marketing {
  background: linear-gradient(135deg, var(--gold-light) 0%, #FFE99A 100%);
}

/* Tools bar */
.tools-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  padding: 24px 0;
}
.tools-bar-item {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: 0.02em;
}
.expert-card h4 { margin-bottom: 4px; }
.expert-card .role { color: var(--gray-500); font-size: 0.85rem; margin-bottom: 12px; }
.expert-card p { color: var(--gray-600); font-size: 0.9rem; }

/* ROI highlight */
.roi-box {
  background: var(--gold-light);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 24px 32px;
  text-align: center;
}
.roi-box .roi-number { font-size: 2rem; font-weight: 800; color: var(--navy); }
.roi-box p { color: var(--gray-700); font-size: 0.95rem; margin-top: 4px; }

/* --- Responsive --- */
@media (max-width: 968px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .hero-split { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 24px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow-lg);
    gap: 16px;
  }
  .menu-toggle { display: block; }
  .expert-duo { flex-direction: column; }
  .stats { justify-content: center; }
  .pricing-card.featured { transform: none; }
}

@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero { padding: 120px 0 60px; }
  .footer-grid { grid-template-columns: 1fr; }
  .btn-group { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
