/* ==========================================================================
   Sintera - Landing page styles
   ========================================================================== */

:root {
  /* Brand palette (aligned with Sintera design tokens) */
  --color-primary: #294B63;
  --color-primary-hover: #355D75;
  --color-primary-dark: #203B4E;
  --color-accent: #287F7A;
  --color-accent-hover: #226D69;
  --color-accent-soft: #E5F1F0;
  --logo-blue: #4F8CF4;
  --logo-purple: #8050E6;
  --gradient-brand: linear-gradient(135deg, var(--logo-blue), var(--logo-purple));

  --color-navy: var(--color-primary);
  --color-navy-light: var(--color-primary-hover);
  --color-text: #26343F;
  --color-text-muted: #596873;
  --color-bg-light: #F4F6F8;
  --color-bg-soft: #F8FAFB;
  --color-border: #DCE3E8;
  --radius-md: 12px;
  --radius-lg: 20px;
  --shadow-card: 0 10px 30px rgba(32, 59, 78, 0.1);
  --container-width: 1140px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--color-text);
  background: #fff;
  line-height: 1.5;
  overflow-x: hidden;
}

.skip-link {
  position: absolute;
  top: -48px;
  left: 16px;
  z-index: 200;
  background: var(--color-primary);
  color: #fff;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-weight: 600;
  transition: top 0.15s ease;
}

.skip-link:focus {
  top: 16px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  * {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

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

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

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0 0 8px;
}

.eyebrow--center {
  text-align: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: none;
  border-radius: 999px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(40, 127, 122, 0.3);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(40, 127, 122, 0.38);
}

.btn--block {
  width: 100%;
  justify-content: center;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.badge {
  display: inline-block;
  background: var(--color-bg-soft);
  color: var(--color-text-muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand__logo {
  width: 40px;
  height: 40px;
}

.brand__text {
  display: flex;
  flex-direction: column;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--color-navy);
  line-height: 1.1;
}

.brand__text small {
  font-weight: 600;
  font-size: 0.55rem;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav__link {
  font-weight: 600;
  color: var(--color-text-muted);
  padding-bottom: 4px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.nav__link:hover,
.nav__link--active {
  color: var(--color-accent);
  border-color: var(--color-accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-navy);
  display: block;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  background: #fff;
  padding: 64px 0;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero__title {
  font-size: clamp(2.25rem, 5vw, 3rem);
  line-height: 1.1;
  margin: 0 0 8px;
  color: var(--color-navy);
  font-weight: 800;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 600;
  color: var(--color-accent);
  margin: 0 0 20px;
}

.hero__text {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 0 28px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-weight: 700;
  color: var(--color-navy);
}

.hero__badges li {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__badge-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__badge-icon-img {
  width: 100%;
  height: 100%;
}

.hero__media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.hero__image {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   Section divider
   ========================================================================== */

.section-divider {
  display: block;
  line-height: 0;
  background: #fff;
}

.section-divider svg {
  width: 100%;
  height: 60px;
  display: block;
}

.section-divider path {
  fill: var(--color-bg-light);
}

/* ==========================================================================
   Products
   ========================================================================== */

.products {
  padding: 68px 0;
  background: var(--color-bg-light);
}

.section-heading {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.section-heading h2 {
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  color: var(--color-navy);
  margin: 0;
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}

.card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.card--featured {
  border-color: rgba(91, 91, 240, 0.35);
  box-shadow: var(--shadow-card);
}

.card__header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.card__icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.card__icon img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: contain;
}

.card__icon--gestion { background: var(--gradient-brand); }
.card__icon--chat { background: var(--color-bg-soft); }
.card__icon--voice { background: var(--color-bg-soft); }

.card__title {
  margin: 0;
  font-size: 1.15rem;
  color: var(--color-navy);
  font-weight: 800;
}

.card__title span {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-accent);
}

.card__desc {
  color: var(--color-text-muted);
  margin: 0 0 16px;
}

.card__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 24px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.card__features li {
  position: relative;
  padding-left: 26px;
  color: var(--color-text);
  font-weight: 500;
}

.card__features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--color-accent);
  color: #fff;
  font-size: 0.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.card__features--disabled li {
  color: #a6acc2;
}

.card__features--disabled li::before {
  background: #d7dcec;
  color: #fff;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact {
  padding: 88px 0;
  background: #fff;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  align-items: center;
  gap: 56px;
}

.contact__info h2 {
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  color: var(--color-navy);
  margin: 0 0 16px;
}

.contact__text {
  color: var(--color-text-muted);
  margin: 0;
  max-width: 420px;
}

.contact__list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact__list li {
  min-width: 0;
}

.contact__whatsapp,
.contact__email {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  font-weight: 600;
}

.contact__whatsapp {
  padding: 10px 20px;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 8px 20px rgba(40, 127, 122, 0.3);
  transition: background 0.15s ease, box-shadow 0.15s ease;
}

.contact__whatsapp:hover {
  background: var(--color-accent-hover);
  box-shadow: 0 12px 26px rgba(40, 127, 122, 0.38);
}

.contact__whatsapp:focus-visible,
.contact__email:focus-visible {
  outline: 3px solid var(--color-navy);
  outline-offset: 3px;
}

.contact__whatsapp img,
.contact__email svg {
  flex-shrink: 0;
  box-sizing: content-box;
  padding-right: 14px;
  border-right: 1px solid currentColor;
}

.contact__email {
  padding: 10px 20px;
  color: var(--color-navy);
}

.contact__email svg {
  color: var(--color-accent);
}

.contact__email span {
  overflow-wrap: anywhere;
}

.contact__email:hover span {
  text-decoration: underline;
}

.contact__arrow {
  margin-left: auto;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--color-navy);
  color: #cfd3e6;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brand--footer .brand__text {
  color: #fff;
}

.brand--footer .brand__text small {
  color: #9aa0c0;
}

.footer__nav {
  display: flex;
  gap: 28px;
}

.footer__nav a {
  color: #cfd3e6;
  font-weight: 500;
}

.footer__nav a:hover {
  color: #fff;
}

.footer__tagline {
  font-style: italic;
  font-weight: 700;
  color: var(--logo-blue);
  text-align: right;
  margin: 0;
}

.footer__bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 0.85rem;
  color: #9aa0c0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 960px) {
  .hero__inner,
  .contact__inner {
    grid-template-columns: 1fr;
  }

  .products__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .card--featured {
    grid-column: 1 / -1;
  }

  .nav {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--color-border);
    display: none;
  }

  .nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: flex;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer__tagline {
    text-align: left;
  }
}

@media (max-width: 560px) {
  .hero {
    padding: 48px 0;
  }

  .hero__title {
    font-size: 2rem;
  }

  .section-divider svg {
    height: 36px;
  }

  .products,
  .contact {
    padding: 56px 0;
  }

  .card {
    padding: 24px;
  }

}

@media (max-width: 700px) {
  .products__grid {
    grid-template-columns: 1fr;
  }

  .card--featured {
    grid-column: auto;
  }
}
