/* ===========================
   BOOKFLUENCE CLUB - STYLES
   =========================== */

/* CSS Variables */
:root {
  --almond-silk: #fedccc;
  --white: #ffffff;
  --coral-glow: #f87c4c;
  --shadow-grey: #201e1f;
  --blue-slate: #596475;
  
  --font-heading: "Domine", Georgia, serif;
  --font-body: "Onest", system-ui, sans-serif;
  
  --container-max: 1200px;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--shadow-grey);
  background: var(--white);
}

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--shadow-grey);
}

h1 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.75rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

p { margin-bottom: 1rem; }

a {
  color: var(--coral-glow);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover { color: var(--shadow-grey); }

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

ul { list-style: none; }

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

section {
  padding: var(--spacing-lg) 0;
}

/* ===========================
   HEADER
   =========================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--spacing-sm) var(--spacing-md);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--almond-silk);
}

header .logo {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--shadow-grey);
}

header nav {
  display: flex;
	align-items: center;
  gap: var(--spacing-md);
}

header nav a {
  color: var(--blue-slate);
  font-size: 1rem;
  font-weight: 500;
}

header nav a:hover {
  color: var(--coral-glow);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--shadow-grey);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 1.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--white);
  background: var(--coral-glow);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  color: var(--white);
  background: var(--shadow-grey);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(248, 124, 76, 0.3);
}

.btn-large {
  padding: 1.125rem 2.5rem;
  font-size: 1.125rem;
  border-radius: var(--radius-md);
}

.btn-featured {
  background: var(--shadow-grey);
}

.btn-featured:hover {
  background: var(--coral-glow);
}

/* ===========================
   BADGES & LABELS
   =========================== */
.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--coral-glow);
  background: var(--almond-silk);
  border-radius: 50px;
  margin-bottom: var(--spacing-md);
}

.section-label {
  display: inline-block;
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--coral-glow);
  margin-bottom: var(--spacing-sm);
}

/* ===========================
   HERO SECTION
   =========================== */
#hero {
  padding-top: calc(var(--spacing-xl) + 80px);
  text-align: center;
  background: linear-gradient(180deg, var(--almond-silk) 0%, var(--white) 100%);
}

#hero h1 {
  max-width: 900px;
  margin: 0 auto var(--spacing-md);
}

#hero .subtitle {
  max-width: 700px;
  margin: 0 auto var(--spacing-md);
  font-size: 1.25rem;
  color: var(--blue-slate);
}

#hero .btn {
  margin-bottom: var(--spacing-lg);
}

.social-proof {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-lg);
}

.avatars {
  display: flex;
}

.avatars img {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  border: 3px solid var(--white);
  margin-left: -12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.avatars img:first-child {
  margin-left: 0;
}

.social-proof p {
  font-size: 1rem;
  color: var(--blue-slate);
  font-style: italic;
  max-width: 500px;
}

.hero-visual {
  max-width: 800px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(32, 30, 31, 0.15);
}

.hero-visual img {
  width: 100%;
}

/* ===========================
   PROBLEM SECTION
   =========================== */
#probleme {
  background: var(--white);
}

#probleme h2 {
  max-width: 700px;
  margin-bottom: var(--spacing-lg);
}

.problems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--spacing-md);
}

.problem-card {
  padding: var(--spacing-md);
  background: var(--almond-silk);
  border-radius: var(--radius-md);
}

.problem-card .icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: var(--spacing-sm);
}

.problem-card h3 {
  margin-bottom: 0.5rem;
}

.problem-card p {
  color: var(--blue-slate);
  margin-bottom: 0;
}

/* ===========================
   TRANSFORMATION SECTION
   =========================== */
#transformation {
  background: linear-gradient(180deg, var(--white) 0%, var(--almond-silk) 100%);
}

#transformation h2 {
  max-width: 700px;
  margin-bottom: var(--spacing-lg);
}

.transformation-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.transform-card {
  padding: var(--spacing-md);
  background: var(--white);
  border-radius: var(--radius-md);
  border: 2px solid var(--almond-silk);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.transform-card:hover {
  border-color: var(--coral-glow);
  transform: translateY(-4px);
}

.transform-card .icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: var(--spacing-sm);
}

.transform-card h3 {
  margin-bottom: 0.5rem;
}

.transform-card p {
  color: var(--blue-slate);
  margin-bottom: 0;
}

.transformation-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(32, 30, 31, 0.1);
}

/* ===========================
   TESTIMONIALS SECTION
   =========================== */
#temoignages {
  background: var(--shadow-grey);
  color: var(--white);
  text-align: center;
}

#temoignages h2 {
  color: var(--white);
  margin-bottom: var(--spacing-lg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-md);
  text-align: left;
  margin-bottom: var(--spacing-lg);
}

.testimonial {
  padding: var(--spacing-md);
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.testimonial img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-bottom: var(--spacing-sm);
}

.testimonial blockquote {
  font-size: 1rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: var(--spacing-sm);
}

.testimonial cite {
  display: block;
  font-style: normal;
}

.testimonial cite strong {
  display: block;
  color: var(--coral-glow);
  font-size: 1rem;
}

.testimonial cite span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

.press-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.press-logos p {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 0.875rem;
}

.press-logos img {
  opacity: 0.7;
  transition: opacity 0.2s ease;
}

.press-logos img:hover {
  opacity: 1;
}

/* ===========================
   FEATURES / HOW IT WORKS
   =========================== */
#fonctionnement {
  background: var(--white);
  text-align: center;
}

#fonctionnement h2 {
  margin-bottom: var(--spacing-lg);
}

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-lg);
}

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

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  background: var(--coral-glow);
  border-radius: 50%;
  margin-bottom: var(--spacing-sm);
}

.step img {
  border-radius: var(--radius-md);
  margin: 0 auto var(--spacing-sm);
}

.step h3 {
  margin-bottom: 0.5rem;
}

.step p {
  color: var(--blue-slate);
}

/* ===========================
   ABOUT SECTION
   =========================== */
#apropos {
  background: var(--almond-silk);
}

.about-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--spacing-lg);
}

.about-text {
  flex: 1;
  max-width: 600px;
}

.about-text h2 {
  margin-bottom: var(--spacing-md);
}

.about-text p {
  color: var(--blue-slate);
}

.trust-logos {
  margin-top: var(--spacing-md);
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(32, 30, 31, 0.1);
}

.trust-logos p {
  font-size: 0.875rem;
  color: var(--blue-slate);
  margin-bottom: var(--spacing-sm);
}

.trust-logos .logos {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  flex-wrap: wrap;
}

.trust-logos img {
  opacity: 0.8;
}

.about-image img {
	width: 428px;
	height: 428px;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(32, 30, 31, 0.1);
}

/* ===========================
   PRICING SECTION
   =========================== */
#tarifs {
  background: var(--white);
  text-align: center;
}

#tarifs h2 {
  margin-bottom: var(--spacing-sm);
}

.pricing-intro {
  color: var(--blue-slate);
  margin-bottom: var(--spacing-lg);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: var(--spacing-md);
  max-width: 900px;
  margin: 0 auto var(--spacing-lg);
}

.pricing-card {
  padding: var(--spacing-md);
  background: var(--white);
  border: 2px solid var(--almond-silk);
  border-radius: var(--radius-lg);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(32, 30, 31, 0.1);
}

.pricing-card.featured {
  border-color: var(--coral-glow);
  background: linear-gradient(180deg, rgba(248, 124, 76, 0.05) 0%, var(--white) 100%);
}

.pricing-label {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue-slate);
  background: var(--almond-silk);
  border-radius: 50px;
  margin-bottom: var(--spacing-sm);
}

.pricing-card.featured .pricing-label {
  color: var(--white);
  background: var(--coral-glow);
}

.pricing-label.launch {
  color: var(--white);
  background: var(--coral-glow);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.pricing-card h3 {
  margin-bottom: 0.5rem;
}

.price {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  color: var(--shadow-grey);
  line-height: 1.15;
}

.price s {
  font-size: 1.75rem;
  color: var(--blue-slate);
  font-weight: 400;
}

.price-note {
  font-size: 0.875rem;
  color: var(--blue-slate);
  margin-bottom: var(--spacing-md);
}

.pricing-card ul {
  margin-bottom: var(--spacing-md);
}

.pricing-card li {
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--almond-silk);
  color: var(--shadow-grey);
}

.pricing-card li:last-child {
  border-bottom: none;
}

.pricing-detail {
  font-size: 0.875rem;
  color: var(--blue-slate);
  padding: var(--spacing-sm);
  background: var(--almond-silk);
  border-radius: var(--radius-sm);
  margin-bottom: var(--spacing-md);
}

.pricing-card .btn {
  width: 100%;
}

.guarantee {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.guarantee .lock-icon {
  width: 20px;
  height: 20px;
  color: #9ca3af;
  flex-shrink: 0;
	margin-right: -10px;
}

.guarantee strong {
  display: block;
  color: #9ca3af;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ===========================
   FAQ SECTION
   =========================== */
#faq {
  background: linear-gradient(180deg, var(--white) 0%, var(--almond-silk) 100%);
}

#faq h2 {
  margin-bottom: var(--spacing-lg);
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

details {
  margin-bottom: var(--spacing-sm);
  padding: var(--spacing-md);
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--almond-silk);
  transition: border-color 0.2s ease;
}

details:hover {
  border-color: var(--coral-glow);
}

details[open] {
  border-color: var(--coral-glow);
}

summary {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--shadow-grey);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

summary::-webkit-details-marker {
  display: none;
}

summary::after {
  content: "+";
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--coral-glow);
  transition: transform 0.2s ease;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details p {
  margin-top: var(--spacing-sm);
  color: var(--blue-slate);
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--almond-silk);
}

/* ===========================
   FINAL CTA SECTION
   =========================== */
#cta-final {
  background: var(--coral-glow);
  text-align: center;
  padding: var(--spacing-xl) 0;
}

#cta-final h2 {
  color: var(--white);
  margin-bottom: var(--spacing-sm);
}

#cta-final p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.25rem;
  margin-bottom: var(--spacing-md);
}

#cta-final .btn {
  background: var(--white);
  color: var(--coral-glow);
}

#cta-final .btn:hover {
  background: var(--shadow-grey);
  color: var(--white);
}

.cta-subtext {
  font-size: 0.875rem !important;
  opacity: 0.8;
  margin-top: var(--spacing-md) !important;
  margin-bottom: 0 !important;
}

/* ===========================
   LEGAL PAGES
   =========================== */
#legal {
  padding: calc(80px + var(--spacing-xl)) 0 var(--spacing-xl);
  background: var(--white);
}

.legal-content {
  max-width: 800px;
}

.legal-content h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: var(--spacing-lg);
  color: var(--shadow-grey);
}

.legal-content h2 {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-sm);
  color: var(--shadow-grey);
}

.legal-content p,
.legal-content li {
  color: var(--blue-slate);
  margin-bottom: var(--spacing-sm);
}

.legal-content ul {
  margin-left: var(--spacing-md);
  margin-bottom: var(--spacing-sm);
}

.legal-content a {
  color: var(--coral-glow);
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-content em {
  color: var(--blue-slate);
  font-size: 0.875rem;
}

/* ===========================
   FOOTER
   =========================== */
footer {
  background: var(--shadow-grey);
  color: var(--white);
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.footer-brand h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--white);
  margin-bottom: var(--spacing-sm);
}

.footer-brand p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.875rem;
}

.footer-links h4 {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: var(--spacing-sm);
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--coral-glow);
}

.footer-bottom {
  padding-top: var(--spacing-md);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
  margin: 0;
}

/* ===========================
   RESPONSIVE DESIGN
   =========================== */
@media (max-width: 1024px) {
  .about-content {
    flex-direction: column;
  }
  
  .about-text {
    max-width: 100%;
  }
  
  .about-image {
    order: -1;
  }

	.about-image img {
		height: auto!important;
	}
  
  .steps {
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-md);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
  }
  
  header nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: var(--white);
    padding: var(--spacing-md);
    gap: var(--spacing-sm);
    border-bottom: 1px solid var(--almond-silk);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
  }
  
  header nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  
  header > .btn {
    display: none;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
  }
  
  .steps {
    grid-template-columns: 1fr;
  }
  
  .trust-logos .logos {
    justify-content: center;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-brand {
    margin-bottom: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  :root {
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
  }
  
  body {
    font-size: 1rem;
  }
  
  .btn-large {
    padding: 1rem 1.5rem;
    font-size: 1rem;
  }
  
  .avatars img {
    width: 40px;
    height: 40px;
  }
  
  .steps {
    gap: var(--spacing-lg);
  }
  
  .press-logos {
    flex-direction: column;
  }
  
  .guarantee {
    text-align: center;
  }
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#hero .badge,
#hero h1,
#hero .subtitle,
#hero .btn,
#hero .social-proof {
  animation: fadeInUp 0.6s ease forwards;
}

#hero h1 { animation-delay: 0.1s; }
#hero .subtitle { animation-delay: 0.2s; }
#hero .btn { animation-delay: 0.3s; }
#hero .social-proof { animation-delay: 0.4s; }

/* Smooth transitions for interactive elements */
.problem-card,
.transform-card,
.step,
.testimonial,
.pricing-card,
details {
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

/* Focus states for accessibility */
a:focus,
button:focus,
summary:focus {
  outline: 2px solid var(--coral-glow);
  outline-offset: 2px;
}

/* Selection styling */
::selection {
  background: var(--coral-glow);
  color: var(--white);
}
