/* style.css – SERPY Landing Page – Version corrigée */

/* ====================== VARIABLES ====================== */
:root {
  --primary: #00A3FF;
  --primary-light: #00D4FF;
  --dark: #1A1A1A;
  --light: #f8f9fa;
  --accent: #FFA500;
  --gradient: linear-gradient(135deg, var(--primary-light), var(--primary));
  --gray: #555;
  --gray-light: #888;
}

/* ================== EVOLYAPPS TOP BRAND BAR ================== */

.evolyapps-header {
  width: 100%;
  background: white;
  padding: 16px 40px;
  border-bottom: 1px solid rgba(0,0,0,0.06);
  display: flex;
  justify-content: center;
  text-align: center;
  z-index: 1500;
  position: relative;
}

.evolyapps-inner {
  display: flex;
  align-items: center;
  justify-content: center; /* centre parfaitement horizontalement */
  gap: 20px;               /* espace réduit = ensemble plus compact */
  max-width: 100%;
}


.evolyapps-logo {
  width: 100px;        /* Taille du logo – ajustable */
  height: auto;
}

.evolyapps-title {
  font-size: 1.7rem;  /* Taille du texte – ajustable */
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 1px;
}



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

/* Empêcher tout ascenseur horizontal */
html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--dark);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

/* ====================== NAVIGATION ====================== */
nav {
  background: white;
  padding: 20px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.logo-link {
  font-size: 2.4rem;        
  font-weight: 700;
  color: #00aa00;           /* SERPY en vert (en haut a gauche) */
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-link img {
  width: 44px;
}

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

.nav-links a {
  color: var(--dark);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.3s;
}

.nav-links a:hover {
  color: var(--primary);
}

.nav-cta {
  background: var(--gradient);
  color: white;
  padding: 10px 26px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.nav-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,163,255,0.35);
}

/* ====================== HERO ====================== */
.hero {
  background: var(--gradient);
  color: white;
  text-align: center;
  padding: 100px 20px 80px;
}

.hero-content {
  max-width: 1000px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero .subtitle {
  font-size: 1.45rem;
  opacity: 0.95;
  line-height: 1.6;
  margin-bottom: 40px;
}

.video-container img {
  width: 60%;       /* réduire/agrandir à volonté : 40–70% */
  max-width: 420px; /* limite maximale */
  height: auto;
  display: block;
  margin: 0 auto;
}

.hero-cta {
  background: white;
  color: var(--primary);
  padding: 20px 56px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.35rem;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}

.hero-cta:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.35);
}

/* ====================== SECTIONS GÉNÉRALES ====================== */
section {
  padding: 90px 20px;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-title {
  font-size: 2.7rem;
  text-align: center;
  margin-bottom: 20px;
  font-weight: 700;
  color: var(--dark);
}

.section-intro {
  font-size: 1.2rem;
  color: var(--gray);
  text-align: center;
  max-width: 800px;
  margin: 0 auto 60px;
  line-height: 1.8;
}

/* ====================== PROBLEM / SOLUTION ====================== */
.problem-solution { background: var(--light); }

.ps-grid {
  display: grid;
  gap: 40px;
  margin-top: 50px;
}
@media (min-width: 768px) {
  .ps-grid { grid-template-columns: 1fr 1fr; }
}

.ps-card {
  background: white;
  padding: 45px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.ps-card h3 {
  font-size: 1.9rem;
  margin-bottom: 25px;
  font-weight: 700;
}
.problem-card h3 { color: #e53e3e; }
.solution-card h3 { color: #38a169; }

.ps-card ul {
  list-style: none;         /* Enlever les puces natives */
  padding-left: 0;
  margin-left: 0;
}

.ps-card li {
  padding: 14px 0 14px 40px;
  position: relative;
  font-size: 1.08rem;
  line-height: 1.7;
}

.problem-card li::before {
  content: "✗";             /* Croix pour "Avant SERPY..." */
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 1.4rem;
  color: #e53e3e;
}

.solution-card li::before {
  content: "✓";             /* Coche pour "Avec SERPY..." */
  position: absolute;
  left: 0;
  top: 4px;
  font-size: 1.4rem;
  color: #38a169;
}

/* ====================== Comment ça marche ====================== */
.how-it-works { background: white; }

.steps-grid {
  display: grid;
  gap: 40px;
  margin-top: 60px;
}
@media (min-width: 768px) {
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
}

.step-card {
  text-align: center;
  padding: 45px 30px;
  background: var(--light);
  border-radius: 20px;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.step-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,163,255,0.2);
}

.step-number {
  width: 80px;
  height: 80px;
  background: var(--gradient);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  font-weight: 700;
  margin: 0 auto 25px;
}

.step-card h3 {
  font-size: 1.55rem;
  margin-bottom: 15px;
  color: var(--dark);
}

/* ====================== METHOD SECTION ====================== */
.method-section {
  background: linear-gradient(to bottom, #fff7ed, #ffedd5);
}

.method-content {
  max-width: 900px;
  margin: 0 auto;
}

.highlight-box,
.characters-box,
.story-structure {
  background: white;
  padding: 40px;
  border-radius: 20px;
  margin: 40px 0;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.characters-box {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

/* ====================== BENEFICES ====================== */
.benefits-section { background: var(--light); }

/* 2 cartes par ligne max, jamais 3, sans débordement */
.benefits-grid {
  display: grid;
  gap: 35px;
  margin-top: 60px;
  width: 100%;
  grid-template-columns: 1fr;  /* mobile : 1 par ligne */
}
@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* desktop : 2 par ligne */
  }
}
/* (on supprime totalement la version 3 colonnes) */

.benefit-card {
  background: white;
  padding: 35px;
  border-radius: 16px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.07);
  transition: transform 0.3s;
}
.benefit-card:hover {
  transform: translateY(-6px);
}

.benefit-icon {
  font-size: 1.1rem;
  display: block;
  margin-bottom: 15px;
  font-weight: 600;
  color: var(--primary);
  word-wrap: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

/* ====================== TESTIMONIALS ====================== */
.testimonials-section { background: white; }

.testimonials-grid {
  display: grid;
  gap: 35px;
  margin-top: 50px;
}
@media (min-width: 768px) {
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
}

.testimonial-card {
  background: var(--light);
  padding: 35px;
  border-radius: 16px;
  position: relative;
}

.quote-icon {
  font-size: 6rem;
  position: absolute;
  top: -20px;
  left: 20px;
  opacity: 0.15;
  font-family: serif;
}

/* ====================== CTA & FORM ====================== */
.cta-section {
  background: var(--gradient);
  color: white;
  text-align: center;
  padding: 100px 20px;
}

.cta-button {
  background: white;
  color: var(--primary);
  padding: 20px 50px;
  border-radius: 50px;
  font-size: 1.4rem;
  font-weight: 700;
  display: inline-block;
  margin-top: 20px;
  transition: all 0.3s;
}
.cta-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.3);
}

.beta-form-section {
  background: white;
  padding: 100px 20px;
}

.form-container {
  max-width: 560px;
  margin: 0 auto;
  text-align: center;
}

.form-group {
  margin-bottom: 25px;
  text-align: left;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid #ddd;
  border-radius: 12px;
  font-size: 1rem;
}

.submit-btn {
  background: var(--accent);
  color: white;
  width: 100%;
  padding: 18px;
  border: none;
  border-radius: 50px;
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s;
}
.submit-btn:hover {
  background: #e69500;
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(255,165,0,0.4);
}

/* ====================== FOOTER ====================== */
footer {
  background: var(--dark);
  color: white;
  text-align: center;
  padding: 60px 20px;
  font-size: 0.95rem;
}

.footer-links {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.footer-links a {
  color: var(--primary-light);
  margin: 0 15px;
  text-decoration: underline;
}

/* ====================== RESPONSIVE ====================== */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.6rem; }
  .hero .subtitle { font-size: 1.25rem; }
  .section-title { font-size: 2.3rem; }
  .hero-cta,
  .cta-button {
    font-size: 1.2rem;
    padding: 18px 40px;
  }
}

/* ====================== INSTAGRAM ====================== */
.instagram-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--primary-light);
  text-decoration: none;
}

.instagram-link:hover {
  text-decoration: underline;
}

.instagram-icon {
  width: 32px !important;
  height: 32px !important;
  object-fit: contain;
  display: inline-block !important;
  vertical-align: middle;
}

.instagram-icon:hover {
  transform: scale(1.1);
}

.instagram-text {
  font-size: 0.95rem;
}