/* ===========================
   RESET & BASE
   =========================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background: #ffffff;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Logo normal sur la page d'accueil */
body.home .logo {
  width: 120px;
}

/* Logo plus grand sur les pages internes */
body.internal .logo {
  width: 160px;
}

/* Masquer le titre et le sous-titre sur les pages internes */
body.internal h1,
body.internal .subtitle {
  display: none;
}


/* ===========================
   HEADER / HERO
   =========================== */

header {
  text-align: center;
  padding: 80px 20px 50px;
}

.logo {
  width: 180px;
  margin-bottom: 25px;
}

h1 {
  font-size: 40px;
  margin-bottom: 10px;
}

.subtitle {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.subtitle span{
  font-size: 0.9rem;
  color: #777;
}

.intro {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 40px;
}


/* ===========================
   BUTTONS
   =========================== */

.btn-primary,
.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.18s ease-out;
  color: #fff;
  background: var(--orange-gradient);
  box-shadow: 0 4px 12px rgba(255,138,76,0.25);
}

.btn-primary:hover,
.btn-secondary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
}

.btn-plan {
  background: var(--orange-gradient);
  color: #fff;
  border: 1px solid #ddd;
  padding: 8px 14px;
  font-size: 0.85rem;
  border-radius: 999px;
  display: block;
  width: 100%;
  text-align: center;
  margin-top: 16px;
  box-shadow: 0 4px 12px rgba(255,138,76,0.25);
}


.cta-cgv {
  text-align: center;
  margin: 40px 0 20px;
}

.cta-cgv .btn-primary {
  display: inline-flex;
  width: fit-content;
}

.section-flow {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

.flow-step {
  text-align: center;
  margin-bottom: 80px;
}

.flow-step h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  font-weight: 600;
}

.flow-step img {
  width: 80%;
  max-width: 900px;
  height: auto;
  border-radius: 12px;
  display: block;
  margin: 0 auto;
  box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}

@media (max-width: 768px) {
  .flow-step img {
    width: 95%;
  }
}









/* ===========================
   SECTIONS
   =========================== */

section {
  padding: var(--section-padding) 20px;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}

section + section {
  margin-top: 80px;
}

section::before {
  content: "";
  position: absolute;
  top: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(to right, transparent, #ddd, transparent);
}
/* --- BUSINESS SECTION (harmonisée Naonetpay) --- */

.business-section {
  margin: 40px auto 60px;
  max-width: 900px;
  padding: 0 20px;
}

.business-section h2 {
  text-align: center;
  margin-bottom: 24px;
  font-size: 1.4rem;
  font-weight: 600;
  color: #222;
}

/* Slider */
.business-slider {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 22px;
  padding-bottom: 10px;
  -webkit-overflow-scrolling: touch;
}

.business-slider::-webkit-scrollbar {
  display: none;
}

/* Cartes Business */
.business-card {
  min-width: 280px;
  max-width: 320px;
  background: #ffffff;
  border-radius: 14px;
  scroll-snap-align: start;
  border: 1px solid #e8e8e8;
  overflow: hidden;
  transition: transform 0.25s ease;
}

.business-card:hover {
  transform: translateY(-3px);
}

/* Photo */
.business-photo {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

/* Texte */
.business-card h3 {
  margin: 14px 16px 6px;
  font-size: 1.05rem;
  font-weight: 600;
  color: #222;
}

.business-card p {
  margin: 6px 16px;
  font-size: 0.9rem;
  color: #444;
}

/* Badge Business */
.badge-business {
  background: #f3f3f3;
  color: #7a1f9b;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 0.75rem;
  margin-left: 6px;
}


/* --- PRO + STARTER LIST (harmonisée) --- */

#merchants {
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 20px 60px;
}

.merchant {
  padding: 16px 0;
  border-bottom: 1px solid #e8e8e8;
}

.merchant-name {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 4px;
}

.level {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  margin-left: 6px;
}

.pro { background: #e8f0ff; color: #1a4f9c; }
.starter { background: #f3f3f3; color: #555; }

.merchant-meta,
.merchant-address {
  font-size: 0.9rem;
  color: #555;
}

/* CTA */
.cta-block {
  text-align: center;
  margin-top: 40px;
}

/* ===========================
   STEPS (réutilisé partout)
   =========================== */

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
  
}

.step {
  background: var(--bg-light);
  padding: 25px;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid #eee;
}

.step-number {
  font-size: 26px;
  font-weight: bold;
  color: var(--orange);
  margin-bottom: 10px;
}

section a.btn-primary {
  display: block;
  margin: 40px auto 0;
  width: fit-content;
}



/* ===========================
   WHY SECTION
   =========================== */

.why {
  background: #ffffff;
  padding: 80px 24px;
}

.why-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}

.why-header h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.why-header p {
  font-size: 1.1rem;
  color: #555;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.why-card {
  background: var(--bg-light);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.why-card h3 {
  font-size: 1.2rem;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 1rem;
  color: #444;
}



/* ===========================
   PRICING
   =========================== */

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

.pricing-header {
  text-align: center;
  margin-bottom: 48px;
}

.pricing-header h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.pricing-header p {
  color: var(--text-light);
}

.pricing-subtitle {
  text-align: center;
  font-size: 1.25rem;
  color: #1A1A1A;
  margin: 32px 0 40px;
}

.pricing-block {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 32px;
}

.price-main {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.price-main span {
  font-size: 0.9rem;
  color: #777;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pricing-card {
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
}

.pricing-card-featured .badge {
  position: absolute;
  top: 12px;
  right: 16px;
  background: var(--orange);
  color: white;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
}

.pricing-list li {
  padding: 1px 0;
  border-bottom: 1px solid #F0F0F0;
}

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

.tagline {
  color: #666;
  margin-bottom: 12px;
}


.support-block h4 {
  margin-top: 16px;
  font-size: 1rem;
  font-weight: 600;
}

/* Espacement du bloc installation */
.pricing-install {
  margin-top: 40px;
}


.install-block {
  margin-top: 16px;
}

.install-block .note {
  font-size: 0.85rem;
  color: #777;
}

.commitment {
  margin-top: 10px;
  font-weight: 500;
  color: #333;
}

.pricing-cta {
  margin-top: 32px;
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===========================
   FAQ
   =========================== */

.faq-header {
  text-align: center;
  margin-bottom: 32px;
}

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

.faq-item {
  background: var(--bg-light);
  border-radius: 10px;
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 18px 20px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.25s ease;
  padding: 0 20px;
}

.faq-item.open .faq-answer {
  max-height: 1000px;
}

.faq-icon {
  float: right;
  font-weight: bold;
}

/* ===========================
   CONTACT FORM
   =========================== */

.contact-section {
  background: #ffffff;
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  max-width: 600px;
  margin: 60px auto;
  box-shadow: var(--shadow);
}

.contact-form .form-group {
  margin-bottom: 20px;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-size: 1rem;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
  outline: none;
  box-shadow: 0 0 0 2px rgba(255,140,0,0.2);
}

/* Harmonisation du bouton du formulaire */
.contact-form button.btn-primary {
  background: var(--orange-gradient);
  color: #fff;
  border: none;
  box-shadow: 0 4px 12px rgba(255,138,76,0.25);
  padding: 14px 28px;
  border-radius: 999px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.18s ease-out;
}

.contact-form button.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(0,0,0,0.35);
}

.cgu-check {
  font-size: 0.95rem;
  color: #555;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 20px 0;
}

.cgu-check a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
}

.cgu-check a:hover {
  text-decoration: underline;
}


/* Rendu desktop premium pour la page À propos */
#apropos {
  background: #eef3ff;
  border-radius: 12px;
  padding: 60px 40px;
  max-width: 900px;
  margin: 60px auto;
}

#apropos p {
  font-size: 1.15rem;
  line-height: 1.7;
  margin-bottom: 28px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: left; /* comme sur ta capture */
  color: #333;
}

#apropos h2 {
  font-size: 2rem;
  margin-bottom: 40px;
  text-align: left;
}

#apropos h3 {
  font-size: 1.35rem;
  margin-top: 50px;
  margin-bottom: 20px;
  text-align: left;
}

#apropos ul {
  max-width: 700px;
  margin: 0 auto 32px;
  padding-left: 20px;
}

#apropos ul li {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 12px;
  color: #333;
}

/* Colonne de lecture uniforme */
#apropos h2,
#apropos h3,
#apropos p,
#apropos ul {
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
}



/* ===========================
   FOOTER
   =========================== */

footer {
  text-align: center;
  padding: 40px 20px;
  font-size: 14px;
  color: #777;
}

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

footer a:hover {
  text-decoration: underline;
}
