/* JT Automatisation — Website styles */

:root {
  --primary:      #1B3A2A;
  --primary-dark: #0F2219;
  --primary-light:#2D5A40;
  --accent:       #E8A020;
  --accent-dark:  #C47D08;
  --green:        #2D5A40;
  --text:         #111A14;
  --text-muted:   #6b7280;
  --bg:           #FAFAF8;
  --bg-alt:       #EFF5F1;
  --border:       #dde8e1;
  --radius:       12px;
  --radius-lg:    20px;
  --shadow:       0 4px 24px rgba(27,58,42,0.10);
  --shadow-lg:    0 12px 48px rgba(27,58,42,0.16);
  --font:         'Inter', system-ui, sans-serif;
  --max-w:        1100px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Layout ── */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 88px 0;
}
.section--alt {
  background: var(--bg-alt);
}
.section__header {
  text-align: center;
  margin-bottom: 56px;
}
.section__header h2 {
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  margin-bottom: 12px;
}
.section__header p {
  font-size: 18px;
  color: var(--text-muted);
}

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.2s, box-shadow 0.2s, padding 0.2s;
}
.nav--scrolled {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  box-shadow: 0 1px 0 var(--border);
  padding: 14px 0;
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.5px;
}
.nav__logo span { color: var(--primary); }
.nav__logo-img {
  height: 36px;
  width: auto;
  mix-blend-mode: multiply;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav__links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 15px;
  transition: color 0.15s;
}
.nav__links a:hover { color: var(--primary); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow); }
.btn:active { transform: none; }

.btn--primary {
  background: var(--primary);
  color: white;
}
.btn--primary:hover { background: var(--primary-light); }

.btn--ghost {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn--ghost:hover { background: rgba(27,58,42,0.08); }

.btn--lg { padding: 14px 32px; font-size: 16px; border-radius: 14px; }
.btn--sm { padding: 8px 18px; font-size: 14px; }
.btn--full { width: 100%; }

/* ── Hero ── */
.hero {
  padding: 160px 0 100px;
  background: linear-gradient(135deg, #EDF4F0 0%, #FAFAF8 60%);
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(232,160,32,0.35) 0%, transparent 70%);
  border-radius: 50%;
  animation: blobDrift1 9s ease-in-out infinite;
}
@keyframes blobDrift1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  30%       { transform: translate(-50px, 40px) scale(1.08); }
  65%       { transform: translate(35px, -30px) scale(0.94); }
}
.hero__inner { position: relative; max-width: 780px; }
.hero__title {
  font-size: clamp(36px, 6vw, 62px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
  color: var(--text);
}
.hero__title span {
  background: linear-gradient(100deg, var(--accent) 0%, var(--accent-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero__sub {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--text-muted);
  max-width: 600px;
  margin-bottom: 40px;
  line-height: 1.7;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 48px; }
.hero__trust {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Cards ── */
.card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: box-shadow 0.2s, transform 0.2s;
}
.card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}
.card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
}
.card p {
  color: var(--text-muted);
  line-height: 1.65;
}

/* ── Services callout ── */
.services__callout {
  margin-top: 32px;
  padding: 24px 32px;
  background: rgba(27,58,42,0.05);
  border: 1.5px solid rgba(27,58,42,0.18);
  border-radius: var(--radius-lg);
  text-align: center;
}
.services__callout p {
  font-size: 17px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.6;
}

/* ── Product section ── */
.product {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.product__badge {
  display: inline-block;
  background: rgba(232,160,32,0.14);
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.product__title {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -1px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.product__logo { height: 44px; width: auto; }
.product__sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.product__content > p {
  color: var(--text-muted);
  margin-bottom: 24px;
  line-height: 1.7;
}
.product__features {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 32px;
}
.product__features li {
  font-size: 14px;
  color: var(--text);
  font-weight: 500;
}
.product__cta-lead {
  font-size: 17px;
  font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 12px;
}

/* ── Mockup ── */
.mockup {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  max-width: 320px;
  margin: 0 auto;
}
.mockup__header {
  background: #1a237e;
  color: white;
  padding: 14px 18px;
  font-weight: 700;
  font-size: 14px;
}
.mockup__patient {
  padding: 18px;
  border-bottom: 1px solid var(--border);
}
.mockup__name { font-weight: 700; margin-bottom: 4px; }
.mockup__phone { color: var(--text-muted); font-size: 14px; margin-bottom: 10px; }
.mockup__badge {
  display: inline-block;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}
.mockup__btn {
  display: block;
  width: calc(100% - 36px);
  margin: 18px;
  padding: 13px;
  background: #1565c0;
  color: white;
  border: none;
  border-radius: var(--radius);
  font-size: 15px;
  font-weight: 600;
  cursor: default;
}
.mockup__sent {
  text-align: center;
  padding: 12px;
  background: #e8f5e9;
  color: #2e7d32;
  font-size: 14px;
  font-weight: 600;
}

/* ── Stats ── */
.stat {
  text-align: center;
  padding: 32px 16px;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.stat__number {
  font-size: 32px;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 8px;
}
.stat__label { font-size: 14px; color: var(--text-muted); line-height: 1.4; }
.about__text {
  max-width: 680px;
  margin: 40px auto 0;
  text-align: center;
  color: var(--text-muted);
  line-height: 1.8;
  font-size: 16px;
}

/* ── Contact ── */
.contact {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 48px;
  align-items: start;
}
.contact__info { display: flex; flex-direction: column; gap: 24px; }
.contact__item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact__item strong { display: block; font-weight: 600; margin-bottom: 2px; font-size: 14px; }
.contact__item a, .contact__item span {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 15px;
}
.contact__item a:hover { color: var(--primary); }

.contact__form { display: flex; flex-direction: column; gap: 14px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact__form input,
.contact__form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 15px;
  color: var(--text);
  background: white;
  transition: border-color 0.15s;
  outline: none;
}
.contact__form input:focus,
.contact__form textarea:focus { border-color: var(--primary); }
.contact__form textarea { resize: vertical; min-height: 110px; }
.form__success {
  color: var(--green);
  font-weight: 600;
  font-size: 14px;
  text-align: center;
}

/* ── Footer ── */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.8);
  padding: 40px 0;
}
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: wrap;
}
.footer .nav__logo { color: white; }
.footer .nav__logo span { color: rgba(255,255,255,0.6); }
.footer__left p { font-size: 13px; margin-top: 6px; opacity: 0.7; }
.footer__right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  font-size: 13px;
}
.footer__right a { color: rgba(255,255,255,0.8); text-decoration: none; }
.footer__right a:hover { color: white; }

/* ── SMS Notification ── */
.sms-notif {
  position: fixed;
  bottom: 32px;
  right: 24px;
  z-index: 200;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 12px 16px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.14), 0 2px 8px rgba(0,0,0,0.08);
  max-width: 280px;
  transform: translateX(calc(100% + 40px));
  opacity: 0;
  transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.4s ease;
  pointer-events: none;
}
.sms-notif--visible {
  transform: translateX(0);
  opacity: 1;
}
.sms-notif--out {
  transform: translateX(calc(100% + 40px));
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.55, 0, 1, 0.45), opacity 0.35s ease;
}
.sms-notif__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: contain;
}
.sms-notif__body { display: flex; flex-direction: column; gap: 2px; }
.sms-notif__app {
  font-size: 11px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: 0.2px;
}
.sms-notif__app span { color: var(--text-muted); font-weight: 400; }
.sms-notif__msg {
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.4;
}

/* ── Utilities ── */
.hidden { display: none !important; }

/* ── Responsive ── */
@media (max-width: 768px) {
  .nav__links { display: none; }
  .product { grid-template-columns: 1fr; gap: 40px; }
  .product__features { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; }
  .footer__inner { flex-direction: column; }
  .footer__right { align-items: flex-start; }
  .hero { padding: 120px 0 80px; }
  .section { padding: 64px 0; }
}
