/* ===========================
   EXPRESSDEVIS — main.css
   =========================== */

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

:root {
  --blue:      #00726c;
  --blue-light:#e0f2f1;
  --blue-dark: #005550;
  --text:      #111111;
  --text-2:    #555555;
  --text-3:    #999999;
  --bg:        #FFFFFF;
  --bg-2:      #F7F8FA;
  --border:    rgba(0,0,0,0.10);
  --border-2:  rgba(0,0,0,0.18);
  --radius:    10px;
  --radius-lg: 14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
}

h1, h2, h3 { font-family: 'Outfit', sans-serif; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ===========================
   UTILS
   =========================== */
.section-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-sub {
  font-size: 16px;
  color: var(--text-2);
  margin-top: 0.5rem;
  margin-bottom: 3rem;
}

/* ===========================
   BUTTONS
   =========================== */
.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: #fff;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
}
.btn-primary:hover { background: var(--blue-dark); }
.btn-primary.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-primary.btn-lg { padding: 16px 36px; font-size: 16px; }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--text);
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  border: 1px solid var(--border-2);
  cursor: pointer;
  transition: background 0.2s;
}
.btn-secondary:hover { background: var(--bg-2); }

/* ===========================
   NAV
   =========================== */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 2rem;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(8px);
  z-index: 100;
}

.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
}
.logo span { color: var(--blue); }

.nav-right { display: flex; align-items: center; gap: 1.2rem; }
.nav-link { font-size: 14px; color: var(--text-2); font-weight: 500; }
.nav-link:hover { color: var(--text); }

/* ===========================
   HERO
   =========================== */
.hero {
  padding: 5rem 2rem 0;
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .hero { grid-template-columns: 1fr; gap: 3rem; padding: 3rem 1.5rem 0; }
}

.hero-inner { max-width: 520px; }

.badge {
  display: inline-block;
  background: var(--blue-light);
  color: #005550;
  font-size: 12px;
  font-weight: 500;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 1.2rem;
}
.hero h1 em { font-style: normal; color: var(--blue); }

.hero p {
  font-size: 17px;
  color: var(--text-2);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }

/* ===========================
   DEMO WIDGET
   =========================== */
.demo-wrap {
  padding-bottom: 3rem;
}

.demo-widget {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
}

.demo-label {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-3);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

.demo-field { margin-bottom: 1.1rem; }
.demo-field label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 6px;
}
.demo-field label span { font-weight: 500; color: var(--text); }

.demo-field select,
.demo-field input[type="range"] {
  width: 100%;
}

.demo-field select {
  padding: 10px 12px;
  border: 1px solid var(--border-2);
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  background: var(--bg);
  color: var(--text);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23999' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.demo-result {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.2rem;
}
.demo-result-label { font-size: 14px; font-weight: 500; }
.demo-result-sub { font-size: 12px; color: var(--text-3); margin-top: 2px; }
.demo-price {
  font-family: 'Outfit', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--blue);
  transition: all 0.2s;
}

.demo-submit {
  width: 100%;
  background: var(--blue);
  color: #fff;
  border: none;
  padding: 12px;
  border-radius: 8px;
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  margin-top: 1rem;
  transition: background 0.2s;
}
.demo-submit:hover { background: var(--blue-dark); }

/* ===========================
   TRUST
   =========================== */
.trust {
  padding: 2.5rem 2rem;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: center;
}
.trust p { font-size: 13px; color: var(--text-3); margin-bottom: 1rem; }
.trust-metiers {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.trust-metiers span {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 13px;
  color: var(--text-2);
  font-weight: 500;
}

/* ===========================
   STEPS
   =========================== */
.steps {
  padding: 5rem 0;
}
.steps h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.5px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem;
}
.step-num {
  font-family: 'Outfit', sans-serif;
  font-size: 56px;
  font-weight: 800;
  color: var(--blue-light);
  line-height: 1;
  margin-bottom: 0.6rem;
}
.step h3 { font-size: 17px; font-weight: 700; margin-bottom: 0.5rem; }
.step p { font-size: 14px; color: var(--text-2); line-height: 1.65; }

/* ===========================
   SNIPPET
   =========================== */
.snippet-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 4rem 0;
}
.snippet-section h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.5px;
}
.snippet-box {
  background: #1a1a2e;
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 2rem;
}
.snippet-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 1.2rem;
  background: rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.snippet-top span { font-size: 13px; color: rgba(255,255,255,0.4); font-family: monospace; }
.snippet-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 5px;
  padding: 4px 12px;
  cursor: pointer;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.2s;
}
.snippet-copy:hover { background: rgba(255,255,255,0.15); color: #fff; }
.snippet-code {
  padding: 1.5rem 1.5rem;
  font-family: 'Courier New', monospace;
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  overflow-x: auto;
  white-space: pre;
}
.s-comment { color: #6a9955; }
.s-tag { color: #4ec9b0; }
.s-attr { color: #9cdcfe; }
.s-val { color: #ce9178; }

/* ===========================
   PROOF
   =========================== */
.proof {
  padding: 5rem 0;
}
.proof-inner {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4rem;
  align-items: center;
}
@media (max-width: 600px) {
  .proof-inner { grid-template-columns: 1fr; gap: 2rem; }
}
.proof-stat {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
  white-space: nowrap;
}
.proof-stat-label { font-size: 14px; color: var(--text-2); margin-top: 0.4rem; }
.proof-quote {
  border-left: 3px solid var(--blue);
  padding-left: 1.5rem;
}
.proof-quote p { font-size: 16px; line-height: 1.7; color: var(--text-2); font-style: italic; margin-bottom: 0.8rem; }
.proof-author { font-size: 14px; font-weight: 500; color: var(--text); }

/* ===========================
   PRICING
   =========================== */
.pricing { padding: 5rem 0; }
.pricing h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.5px;
}
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.plan {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.plan-featured {
  border: 2px solid var(--blue);
}
.plan-badge {
  display: inline-block;
  background: var(--blue-light);
  color: #005550;
  font-size: 12px;
  font-weight: 500;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.plan-name { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 800; margin-bottom: 0.3rem; }
.plan-desc { font-size: 13px; color: var(--text-2); margin-bottom: 1.5rem; }
.plan-price { font-family: 'Outfit', sans-serif; font-size: 36px; font-weight: 800; }
.plan-price span { font-size: 15px; font-weight: 400; color: var(--text-2); }
.plan-then { font-size: 13px; color: var(--text-3); margin-bottom: 1.5rem; margin-top: 0.2rem; }
.plan-features {
  list-style: none;
  margin: 1.5rem 0;
}
.plan-features li {
  font-size: 14px;
  color: var(--text-2);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  padding-left: 22px;
  position: relative;
}
.plan-features li:last-child { border: none; }
.plan-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 13px;
  width: 14px;
  height: 14px;
  background: var(--blue);
  border-radius: 50%;
}
.plan-features li::after {
  content: '';
  position: absolute;
  left: 3px;
  top: 16px;
  width: 8px;
  height: 4px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.plan-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 13px;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--border-2);
  color: var(--text);
  background: transparent;
  cursor: pointer;
  transition: background 0.2s;
}
.plan-btn:hover { background: var(--bg-2); }
.plan-btn-featured {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
}
.plan-btn-featured:hover { background: var(--blue-dark); }

/* ===========================
   FAQ
   =========================== */
.faq {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 5rem 0;
}
.faq h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 2.5rem;
}
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 1.2rem 0;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-q::after {
  content: '+';
  font-size: 22px;
  color: var(--blue);
  font-weight: 400;
  transition: transform 0.2s;
}
.faq-item.open .faq-q::after { transform: rotate(45deg); }
.faq-a {
  font-size: 14px;
  color: var(--text-2);
  line-height: 1.7;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s;
}
.faq-item.open .faq-a { max-height: 200px; padding-bottom: 1.2rem; }

/* ===========================
   CTA FINAL
   =========================== */
.cta-final {
  padding: 6rem 0;
  text-align: center;
}
.cta-final h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.8rem;
}
.cta-final p { font-size: 15px; color: var(--text-2); margin-bottom: 2rem; }

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 2rem;
}
.footer-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-logo { font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 800; }
.footer-logo span { color: var(--blue); }
.footer-links { display: flex; gap: 1.5rem; }
.footer-links a { font-size: 13px; color: var(--text-2); }
.footer-links a:hover { color: var(--text); }
.footer-copy { font-size: 13px; color: var(--text-3); }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 600px) {
  .nav-right .nav-link { display: none; }
  .proof-inner { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
}
