/* Base styles */
:root {
  --primary-color: #E76F51; /* Orange color from book cover */
  --background-color: #fff8bd; /* Yellow background from template */
  --text-color: #333;
  --accent-color: #4CAF50;
  --highlight-bg: rgba(255, 255, 255, 0.7);
  --section-spacing: 60px;
  --cta-color: #e74c3c; /* Brighter red for CTA */
  --warning-color: #ff9800;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

body {
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  margin-bottom: 20px;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  margin-top: 40px;
  color: var(--primary-color);
}

p {
  margin-bottom: 20px;
}

.emphasis {
  font-size: 1.1em;
  color: var(--primary-color);
}

/* Header styles */
header {
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background-color: var(--background-color);
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-button {
  background-color: var(--cta-color);
  color: white;
  padding: 10px 20px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.nav-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(231, 76, 60, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(231, 76, 60, 0);
  }
}

/* Main content styles */
.hero {
  padding: 80px 0 40px;
}

.category {
  color: var(--primary-color);
  font-weight: bold;
  text-transform: uppercase;
  margin-bottom: 20px;
  display: block;
}

h1 {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 30px;
  color: var(--primary-color);
}

.description {
  font-size: 1.3rem;
  margin-bottom: 20px;
  max-width: 800px;
  font-weight: 500;
}

.author-credit {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 40px;
}

/* Product section */
.product-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: var(--section-spacing) 0;
}

.product-content {
  flex: 1;
  padding-right: 40px;
}

.product-image {
  flex: 1;
  text-align: center;
  position: relative;
}

.product-image img {
  max-width: 60%;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.product-image:hover img {
  transform: scale(1.03);
}

.product-image::after {
  content: "Méthode exclusive";
  position: absolute;
  top: -15px;
  right: 30px;
  background-color: var(--cta-color);
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: bold;
  transform: rotate(5deg);
}

/* Highlight box */
.highlight {
  background-color: var(--highlight-bg);
  padding: 30px;
  border-radius: 10px;
  margin: 30px 0;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  border-left: 5px solid var(--primary-color);
}

/* Features section */
.feature-list {
  margin: 30px 0;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
}

.check-icon, .cross-icon, .icon, .cost-icon, .gift-icon {
  margin-right: 15px;
  font-size: 1.2rem;
  flex-shrink: 0;
  width: 25px;
  text-align: center;
}

.check-icon {
  color: var(--accent-color);
}

.cross-icon {
  color: var(--cta-color);
}

.icon {
  color: var(--primary-color);
}

.cost-icon {
  color: var(--warning-color);
}

.gift-icon {
  color: var(--accent-color);
}

.benefits-list {
  list-style-type: none;
  margin: 20px 0;
}

.benefits-list li {
  margin-bottom: 15px;
  padding-left: 25px;
  position: relative;
}

.benefits-list li:before {
  content: "✓";
  color: var(--accent-color);
  position: absolute;
  left: 0;
  font-weight: bold;
}

.question-list {
  list-style-type: none;
  margin: 20px 0;
  padding-left: 20px;
}

.question-list li {
  margin-bottom: 15px;
  font-style: italic;
  position: relative;
}

.question-list li:before {
  content: "?";
  color: var(--primary-color);
  position: absolute;
  left: -20px;
  font-weight: bold;
}

.negative-list .feature-item {
  background-color: rgba(231, 76, 60, 0.1);
  padding: 10px 15px;
  border-radius: 5px;
  margin-bottom: 10px;
}

.detailed-list .feature-item {
  background-color: var(--highlight-bg);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  transition: transform 0.3s ease;
}

.detailed-list .feature-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.bonus-list .bonus-item {
  background-color: rgba(76, 175, 80, 0.1);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  border-left: 3px solid var(--accent-color);
}

.cost-list .cost-item {
  background-color: rgba(255, 152, 0, 0.1);
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  border-left: 3px solid var(--warning-color);
}

/* Section styling */
.story-section,
.problem-section,
.revelation-section,
.solution-section,
.visualization-section,
.benefits-section,
.cost-inaction-section,
.urgency-section {
  margin: var(--section-spacing) 0;
}

/* CTA button */
.cta-section {
  background-color: var(--highlight-bg);
  padding: 60px 30px;
  border-radius: 10px;
  text-align: center;
  margin: var(--section-spacing) 0;
  position: relative;
  overflow: hidden;
  border: 2px dashed var(--cta-color);
}

.cta-section::before {
  content: "Offre limitée";
  position: absolute;
  top: 10px;
  right: -30px;
  background-color: var(--cta-color);
  color: white;
  padding: 5px 40px;
  transform: rotate(45deg);
  font-weight: bold;
}

.cta-button {
  display: inline-block;
  background-color: var(--cta-color);
  color: white;
  padding: 18px 50px;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: bold;
  text-decoration: none;
  margin-top: 30px;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  position: relative;
  overflow: hidden;
  animation: pulse 2s infinite;
}

.cta-button:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  background-color: #d15a3c; /* Darker shade of primary color */
}

.cta-button::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.cta-button:hover::after {
  transform: translateX(100%);
}

/* Testimonials */
.testimonials {
  margin: var(--section-spacing) 0;
}

.testimonial {
  background-color: var(--highlight-bg);
  padding: 30px;
  border-radius: 10px;
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: transform 0.3s ease;
  border-left: 3px solid var(--primary-color);
}

.testimonial:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 20px;
  position: relative;
  padding: 0 20px;
}

.testimonial-text:before,
.testimonial-text:after {
  content: '"';
  font-size: 2rem;
  color: var(--primary-color);
  opacity: 0.5;
  position: absolute;
}

.testimonial-text:before {
  left: 0;
  top: -10px;
}

.testimonial-text:after {
  right: 0;
  bottom: -10px;
}

.testimonial-author {
  font-weight: bold;
  text-align: right;
}

/* Guarantee section */
.guarantee-section {
  text-align: center;
  margin: 40px 0;
  padding: 30px;
  background-color: var(--highlight-bg);
  border-radius: 10px;
  border: 2px solid var(--accent-color);
}

.guarantee-badge {
  display: inline-block;
  width: 100px;
  height: 100px;
  background-color: var(--accent-color);
  color: white;
  border-radius: 50%;
  line-height: 100px;
  font-weight: bold;
  font-size: 1.5rem;
  margin-bottom: 20px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Urgency section */
.urgency-banner {
  background-color: var(--warning-color);
  color: white;
  padding: 15px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.warning-icon {
  font-size: 1.5rem;
  margin-right: 15px;
}

.urgency-banner h3 {
  margin: 0;
}

/* Footer */
footer {
  padding: 40px 0;
  text-align: center;
  font-size: 0.9rem;
  margin-top: var(--section-spacing);
}

/* Floating button */
.floating-cta {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background-color: var(--cta-color);
  color: white;
  padding: 15px 25px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  z-index: 100;
  display: none;
}

/* Show floating button when scrolled */
.show-floating-cta .floating-cta {
  display: block;
  animation: fadeIn 0.5s;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive design */
@media (max-width: 768px) {
  .product-section {
    flex-direction: column-reverse;
  }
  
  .product-content {
    padding-right: 0;
    margin-top: 40px;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  .hero {
    padding: 40px 0 20px;
  }
  
  .description {
    font-size: 1.1rem;
  }
  
  .product-image img {
    max-width: 80%;
  }
  
  .cta-section::before {
    font-size: 0.8rem;
    padding: 3px 30px;
    right: -25px;
  }
}

@media (max-width: 480px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .nav-button {
    margin-top: 15px;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  .cta-button {
    padding: 12px 30px;
    font-size: 1rem;
  }
  
  .highlight {
    padding: 20px;
  }
  
  .floating-cta {
    padding: 10px 20px;
    font-size: 0.9rem;
  }
}

/* Article Styles */
.blog-article {
    max-width: 800px;
    margin: 2rem auto;
    padding: 0 20px;
    line-height: 1.6;
    font-size: 1.1rem;
}

.blog-article h1 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #2A9D8F;
}

.blog-article h2 {
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    color: #264653;
}

.blog-article h3 {
    font-size: 1.4rem;
    margin: 1.5rem 0 0.75rem;
    color: #264653;
}

.blog-article p {
    margin-bottom: 1.2rem;
}

.blog-article ul, .blog-article ol {
    margin: 1rem 0;
    padding-left: 2rem;
}

.blog-article li {
    margin-bottom: 0.5rem;
}

.article-cta {
    background-color: #E9F5F3;
    padding: 2rem;
    margin: 3rem auto;
    max-width: 800px;
    text-align: center;
    border-radius: 8px;
}

.article-cta h2 {
    color: #2A9D8F;
    margin-bottom: 1rem;
}
