/* =========================================================
   Synfro — Site styles (Steps 1–7)
   Brand: #9A1E5B · Accent: #09B96D
   Plain CSS for cPanel deploy
   ========================================================= */

:root {
  --color-brand: #9a1e5b;
  --color-brand-dark: #7a1748;
  --color-brand-soft: #f8e8f0;
  --color-accent: #09b96d;
  --color-accent-dark: #07965a;
  --color-accent-soft: #e6f8f0;

  --color-bg: #ffffff;
  --color-bg-soft: #f5f5f5;
  --color-bg-muted: #f2f2f2;
  --color-surface: #f7f7f7;
  --color-border: #e8e8e8;
  --color-border-strong: #d0d0d0;
  --color-text: #111111;
  --color-text-secondary: #666666;
  --color-text-muted: #8a8a8a;
  --color-white: #ffffff;
  --color-black: #111111;

  --pastel-pink: #f7d6e4;
  --pastel-rose: #f3e6ec;
  --pastel-lavender: #ebe6f5;
  --pastel-mint: #dff5eb;
  --pastel-green: #e8f8ef;

  --status-good: #09b96d;
  --status-attention: #e8a04b;
  --status-progress: #e8d24b;

  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: -apple-system, BlinkMacSystemFont, "SF Pro Display",
    "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --text-hero: clamp(2.5rem, 6vw, 4.25rem);
  --text-section: clamp(1.65rem, 3.4vw, 2.6rem);
  --text-card: clamp(1.1rem, 2vw, 1.35rem);
  --text-body: 1.0625rem;
  --text-small: 0.9375rem;
  --text-micro: 0.75rem;

  --leading-tight: 1.08;
  --leading-snug: 1.25;
  --leading-body: 1.65;

  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;

  --max-width: 1180px;
  --page-pad: clamp(1.1rem, 3.5vw, 1.75rem);
  --section-gap: clamp(3rem, 7vw, 5.5rem);
  --stack-gap: 1.5rem;

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --radius-xl: 36px;
  --radius-pill: 999px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 240ms;
  --shadow-soft: 0 10px 36px rgba(17, 17, 17, 0.07);
  --header-h: 4.25rem;
  --wa: #25d366;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-body);
  line-height: var(--leading-body);
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

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

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page > main {
  flex: 1;
}

.container {
  width: min(100% - (var(--page-pad) * 2), var(--max-width));
  margin-inline: auto;
}

.section {
  padding-block: var(--section-gap);
}

.section--tight {
  padding-block: clamp(2rem, 5vw, 3.5rem);
}

.panel {
  background: var(--color-bg-muted);
  border-radius: var(--radius-xl);
  padding: clamp(1.35rem, 3.5vw, 2.5rem);
}

.panel--white {
  background: var(--color-white);
  border: 1px solid var(--color-border);
}

.panel--brand {
  background: var(--color-brand);
  color: var(--color-white);
}

.panel--accent {
  background: var(--color-accent);
  color: var(--color-white);
}

.stack {
  display: flex;
  flex-direction: column;
  gap: var(--stack-gap);
}

.row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem;
}

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 720px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.eyebrow {
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  color: var(--color-text-secondary);
}

.headline-hero {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: var(--weight-bold);
  line-height: var(--leading-tight);
  letter-spacing: -0.035em;
}

.headline-section {
  font-family: var(--font-display);
  font-size: var(--text-section);
  font-weight: var(--weight-bold);
  line-height: var(--leading-snug);
  letter-spacing: -0.028em;
}

.headline-card {
  font-size: var(--text-card);
  font-weight: var(--weight-semibold);
  letter-spacing: -0.015em;
}

.lede {
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  color: var(--color-text-secondary);
  max-width: 38rem;
}

.text-muted {
  color: var(--color-text-secondary);
}

.text-micro {
  font-size: var(--text-micro);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.stat-number {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: var(--weight-bold);
  letter-spacing: -0.04em;
  line-height: 1;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 2.75rem;
  padding: 0.7rem 1.3rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
  line-height: 1;
  cursor: pointer;
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease),
    border-color var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:focus-visible {
  outline: 2px solid var(--color-brand);
  outline-offset: 3px;
}

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

.btn--secondary {
  background: transparent;
  color: var(--color-text);
  border-color: var(--color-border-strong);
}

.btn--secondary:hover {
  border-color: var(--color-text);
}

.btn--brand {
  background: var(--color-brand);
  color: var(--color-white);
}

.btn--brand:hover {
  background: var(--color-brand-dark);
}

.btn--accent {
  background: var(--color-accent);
  color: var(--color-white);
}

.btn--whatsapp {
  background: var(--wa);
  color: var(--color-white);
}

.btn--ghost-light {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.28);
}

.tag {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.72rem;
  border-radius: var(--radius-pill);
  font-size: var(--text-micro);
  font-weight: var(--weight-medium);
}

.tag--pink {
  background: var(--pastel-pink);
  color: var(--color-brand-dark);
}
.tag--lavender {
  background: var(--pastel-lavender);
  color: #4a3f6b;
}
.tag--mint {
  background: var(--pastel-mint);
  color: var(--color-accent-dark);
}
.tag--good {
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
}

.card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 1.35rem;
}

.card--interactive {
  transition: transform var(--duration) var(--ease), background var(--duration) var(--ease);
}

.card--interactive:hover {
  transform: translateY(-3px);
  background: var(--color-bg-soft);
}

.divider {
  height: 1px;
  background: var(--color-border);
  border: 0;
  margin: 0;
}

.feature-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-pill);
  background: var(--color-bg-soft);
  transition: background var(--duration) var(--ease), color var(--duration) var(--ease);
}

.feature-row:hover,
.feature-row.is-active {
  background: var(--color-black);
  color: var(--color-white);
}

.feature-row:hover .text-muted,
.feature-row.is-active .text-muted {
  color: rgba(255, 255, 255, 0.72);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.field label {
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.7rem 0.95rem;
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  background: var(--color-white);
}

.field textarea {
  min-height: 8rem;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--color-brand);
  box-shadow: 0 0 0 3px rgba(154, 30, 91, 0.15);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.visually-balanced {
  text-wrap: balance;
}

.mt-1 {
  margin-top: 0.5rem;
}
.mt-2 {
  margin-top: 1rem;
}
.mt-3 {
  margin-top: 1.5rem;
}
.mt-4 {
  margin-top: 2rem;
}

.center {
  text-align: center;
}

.center .lede {
  margin-inline: auto;
}

/* ---------- Site header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.85rem 0 0;
  background: linear-gradient(to bottom, #fff 70%, rgba(255, 255, 255, 0));
}

.site-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
  padding: 0.65rem 1rem;
  background: var(--color-bg-muted);
  border-radius: var(--radius-xl);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}

.brand img {
  height: 34px;
  width: auto;
}

.nav {
  display: none;
  align-items: center;
  gap: 0.35rem 1.15rem;
}

.nav a {
  font-size: var(--text-small);
  color: var(--color-text-secondary);
  padding: 0.35rem 0.15rem;
  transition: color var(--duration) var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--color-text);
}

.nav-cta {
  display: none;
}

.nav-toggle {
  width: 2.6rem;
  height: 2.6rem;
  border: 0;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: transform var(--duration) var(--ease), opacity var(--duration) var(--ease);
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}
body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  margin-top: 0.65rem;
  padding: 1rem;
  background: var(--color-bg-muted);
  border-radius: var(--radius-lg);
}

body.nav-open .mobile-nav {
  display: grid;
  gap: 0.35rem;
}

.mobile-nav a {
  padding: 0.85rem 0.9rem;
  border-radius: var(--radius-md);
  background: var(--color-white);
  font-weight: var(--weight-medium);
}

@media (min-width: 900px) {
  .nav,
  .nav-cta {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  body.nav-open .mobile-nav {
    display: none;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  padding: 2.5rem 0 2rem;
  background: var(--color-bg-soft);
  border-top: 1px solid var(--color-border);
}

.footer-grid {
  display: grid;
  gap: 1.75rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr repeat(3, 1fr);
  }
}

.site-footer h3 {
  font-size: var(--text-small);
  margin-bottom: 0.85rem;
}

.site-footer a {
  display: block;
  color: var(--color-text-secondary);
  font-size: var(--text-small);
  padding: 0.28rem 0;
}

.site-footer a:hover {
  color: var(--color-text);
}

.footer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: space-between;
  color: var(--color-text-muted);
  font-size: var(--text-small);
}

/* ---------- Hero ---------- */
.hero {
  padding-top: 1rem;
}

.hero__panel {
  display: grid;
  gap: 2rem;
  align-items: center;
  min-height: clamp(420px, 70vh, 640px);
}

@media (min-width: 960px) {
  .hero__panel {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
  }
}

.hero-visual {
  position: relative;
  min-height: 280px;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 20% 20%, var(--pastel-pink), transparent 45%),
    radial-gradient(circle at 80% 30%, var(--pastel-mint), transparent 40%),
    radial-gradient(circle at 50% 80%, var(--pastel-lavender), transparent 45%),
    #fff;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

.float-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 0.85rem 1rem;
  box-shadow: var(--shadow-soft);
  animation: floatY 5.5s var(--ease) infinite;
}

.float-card--1 {
  top: 14%;
  left: 8%;
  animation-delay: 0s;
}
.float-card--2 {
  top: 38%;
  right: 8%;
  animation-delay: 0.8s;
}
.float-card--3 {
  bottom: 14%;
  left: 18%;
  animation-delay: 1.4s;
}

.float-card strong {
  display: block;
  font-size: 0.95rem;
}

.float-card span {
  font-size: 0.8rem;
  color: var(--color-text-secondary);
}

.hero-orbit {
  position: absolute;
  inset: 18% 22%;
  border: 1px dashed rgba(154, 30, 91, 0.25);
  border-radius: 50%;
  animation: spinSlow 28s linear infinite;
}

.hero-core {
  position: absolute;
  inset: 34% 36%;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--color-brand), var(--color-accent));
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: var(--weight-semibold);
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  box-shadow: 0 12px 40px rgba(154, 30, 91, 0.28);
}

/* ---------- Metrics ---------- */
.metric {
  padding: 1.35rem;
  background: var(--color-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
}

.metric .stat-number {
  color: var(--color-brand);
}

/* ---------- Workflow / process ---------- */
.flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  align-items: center;
}

.flow__node {
  padding: 0.55rem 0.9rem;
  border-radius: var(--radius-pill);
  background: var(--color-white);
  border: 1px solid var(--color-border);
  font-size: var(--text-small);
  font-weight: var(--weight-medium);
}

.flow__node--accent {
  background: var(--color-accent);
  color: #fff;
  border-color: transparent;
}

.flow__node--brand {
  background: var(--color-brand);
  color: #fff;
  border-color: transparent;
}

.flow__arrow {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.workflow-list {
  display: grid;
  gap: 0;
}

.workflow-list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.75rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

.workflow-list li:last-child {
  border-bottom: 0;
}

.workflow-list .num {
  color: var(--color-text-muted);
  font-size: var(--text-small);
}

/* ---------- Service cards ---------- */
.service-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-height: 100%;
}

.mini-flow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  align-items: center;
  padding: 0.85rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  font-size: 0.78rem;
  color: var(--color-text-secondary);
}

.mini-flow b {
  color: var(--color-text);
  font-weight: var(--weight-semibold);
}

/* ---------- Before / After ---------- */
.compare {
  display: grid;
  gap: 1rem;
}

@media (min-width: 800px) {
  .compare {
    grid-template-columns: 1fr 1fr;
  }
}

.compare__col {
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.compare__col--before {
  background: var(--color-bg-soft);
}

.compare__col--after {
  background: var(--color-accent-soft);
}

.compare__col ul {
  margin-top: 1rem;
  display: grid;
  gap: 0.55rem;
}

.compare__col li {
  padding-left: 1.1rem;
  position: relative;
  color: var(--color-text-secondary);
}

.compare__col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--color-border-strong);
}

.compare__col--after li::before {
  background: var(--color-accent);
}

/* ---------- Data cards ---------- */
.data-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  border: 1px solid var(--color-border);
}

.bar {
  height: 8px;
  border-radius: var(--radius-pill);
  background: var(--color-bg-soft);
  overflow: hidden;
  margin-top: 0.75rem;
}

.bar > span {
  display: block;
  height: 100%;
  width: 0;
  border-radius: inherit;
  background: var(--color-accent);
  transition: width 1.2s var(--ease);
}

.is-inview .bar > span {
  width: var(--w, 70%);
}

.note-illust {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin-top: 0.75rem;
}

/* ---------- Principles ---------- */
.principle {
  padding: 1.25rem;
  border-radius: var(--radius-lg);
  background: var(--color-bg-soft);
}

/* ---------- Timeline ---------- */
.timeline {
  display: grid;
  gap: 0.85rem;
}

.timeline__item {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.timeline__item strong {
  color: var(--color-brand);
}

/* ---------- CTA band ---------- */
.cta-band {
  text-align: center;
}

.cta-band .lede {
  margin-inline: auto;
}

/* ---------- Page hero (inner) ---------- */
.page-hero {
  padding-top: 1rem;
}

.page-hero .panel {
  padding-block: clamp(2.5rem, 6vw, 4rem);
}

/* ---------- Pricing ---------- */
.price-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  height: 100%;
  background: var(--color-bg-soft);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.price-card__amount {
  font-size: clamp(1.8rem, 3vw, 2.2rem);
  font-weight: var(--weight-bold);
  letter-spacing: -0.03em;
}

.price-card .btn {
  margin-top: auto;
}

.price-note {
  font-size: var(--text-small);
  color: var(--color-text-secondary);
  max-width: 40rem;
}

/* ---------- Contact ---------- */
.map-frame {
  width: 100%;
  min-height: 360px;
  height: 100%;
  border: 0;
  border-radius: var(--radius-lg);
  background: var(--color-bg-soft);
}

.alert {
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-md);
  font-size: var(--text-small);
}

.alert--ok {
  background: var(--color-accent-soft);
  color: var(--color-accent-dark);
}

.alert--err {
  background: #fde8e8;
  color: #8a1f1f;
}

.contact-aside a {
  color: var(--color-brand);
  font-weight: var(--weight-medium);
}

/* ---------- Legal ---------- */
.legal {
  max-width: 48rem;
}

.legal h2 {
  font-size: 1.25rem;
  margin: 1.75rem 0 0.65rem;
}

.legal p,
.legal li {
  color: var(--color-text-secondary);
  margin-bottom: 0.75rem;
}

.legal ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 1rem;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 60;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: var(--wa);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 28px rgba(37, 211, 102, 0.35);
  transition: transform var(--duration) var(--ease);
}

.wa-float:hover {
  transform: translateY(-2px) scale(1.04);
}

.wa-float svg {
  width: 1.55rem;
  height: 1.55rem;
}

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal.is-inview {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal,
  .float-card,
  .hero-orbit,
  .btn,
  .card--interactive {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}

@keyframes floatY {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes spinSlow {
  to {
    transform: rotate(360deg);
  }
}
