/* ==========================================================================
   VEGYO CONTABILIDADE — Landing Page
   ========================================================================== */

:root {
  --petrol-900: #0f2628;
  --petrol-800: #1b3a3e;
  --petrol-700: #24474b;
  --teal-500: #1f9c8f;
  --teal-600: #17847a;
  --teal-100: #e3f3f1;
  --orange-500: #e8623d;
  --orange-600: #d24f2c;
  --white: #ffffff;
  --ink: #1f3538;
  --ink-soft: #4d6664;
  --bg-light: #f5f7f7;
  --bg-light-alt: #eef4f3;
  --border-soft: #dde8e6;

  --font-heading: 'Poppins', 'Segoe UI', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius-pill: 999px;
  --radius-card: 16px;
  --radius-img: 20px;

  --shadow-card: 0 12px 30px -12px rgba(15, 38, 40, 0.18);
  --shadow-btn: 0 8px 20px -6px rgba(15, 38, 40, 0.35);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--petrol-800);
  margin: 0 0 16px;
  line-height: 1.2;
}

p { margin: 0 0 16px; }

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

.container {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 32px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--white);
  color: var(--ink);
  padding: 12px 20px;
  z-index: 1000;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 16px;
  padding: 16px 34px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.25s ease;
  box-shadow: var(--shadow-btn);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-orange { background: var(--orange-500); color: var(--white); }
.btn-orange:hover { background: var(--orange-600); }

.btn-teal { background: var(--teal-500); color: var(--white); }
.btn-teal:hover { background: var(--teal-600); }

.btn-lg { padding: 18px 40px; font-size: 17px; }
.btn-sm { padding: 10px 22px; font-size: 14px; box-shadow: none; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--petrol-800);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand-logo { height: 34px; width: auto; }

.main-nav {
  display: flex;
  gap: 28px;
  flex: 1;
  justify-content: center;
}

.main-nav a {
  color: var(--white);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  opacity: 0.85;
  transition: opacity 0.2s ease;
}
.main-nav a:hover { opacity: 1; }

.header-cta { white-space: nowrap; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: linear-gradient(160deg, var(--petrol-800) 0%, var(--petrol-900) 100%);
  padding: 44px 0 110px;
  overflow: hidden;
}
.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-mask-image: linear-gradient(180deg, black 0%, black 72%, transparent 92%);
  mask-image: linear-gradient(180deg, black 0%, black 72%, transparent 92%);
}
.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 84% 16%;
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, transparent 46%, black 54%);
  mask-image: linear-gradient(100deg, transparent 0%, transparent 46%, black 54%);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--petrol-800) 0%, rgba(27,58,62,0.97) 40%, rgba(27,58,62,0.08) 50%, rgba(27,58,62,0) 58%),
    radial-gradient(circle at 10% 90%, rgba(232,98,61,0.1), transparent 45%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  max-width: 760px;
  padding-left: clamp(24px, 6vw, 96px);
  padding-right: 24px;
}

.badge {
  display: inline-block;
  background: rgba(31,156,143,0.16);
  border: 1px solid rgba(31,156,143,0.5);
  color: #6fe0d1;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 18px;
}

.hero h1 {
  color: var(--white);
  font-size: clamp(32px, 4.5vw, 50px);
  font-weight: 800;
  letter-spacing: -0.01em;
  margin-bottom: 18px;
}

.hero-lead {
  color: rgba(255,255,255,0.82);
  font-size: 17px;
  max-width: 660px;
  margin-bottom: 32px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 26px 48px;
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.16);
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-stat-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--teal-500);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.hero-stat strong {
  display: block;
  font-family: var(--font-heading);
  font-size: 20px;
  color: var(--white);
}
.hero-stat span { font-size: 13px; color: rgba(255,255,255,0.65); }

/* ---------- Section titles ---------- */
.section-title {
  font-size: clamp(26px, 3.2vw, 36px);
  font-weight: 800;
  text-align: center;
}
.section-title-light { color: var(--white); }

.title-underline {
  display: block;
  width: 64px;
  height: 4px;
  background: var(--teal-500);
  border-radius: 4px;
  margin: 0 auto 28px;
}

.section-subtitle {
  text-align: center;
  max-width: 620px;
  margin: -8px auto 48px;
  color: var(--ink-soft);
  font-size: 17px;
}
.section-subtitle-light { color: rgba(255,255,255,0.75); }

/* ---------- Solutions ---------- */
.solutions {
  background: var(--petrol-800);
  padding: 90px 0;
}

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

.card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 36px 30px;
  box-shadow: var(--shadow-card);
  border: 1px solid transparent;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.card:hover {
  border-color: var(--teal-500);
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -14px rgba(15,38,40,0.28);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--teal-100);
  color: var(--teal-600);
  font-size: 22px;
  margin-bottom: 18px;
}

.card h3 { font-size: 21px; margin-bottom: 12px; }

.card-intro {
  font-weight: 600;
  color: var(--petrol-800);
  margin-bottom: 10px;
}

.card > p { color: var(--ink-soft); margin-bottom: 20px; }
.card > p.card-intro + p { margin-top: -2px; }

.check-list {
  list-style: none;
  margin: 0 0 26px;
  padding: 0;
  flex: 1;
}
.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 15px;
  color: var(--ink);
}
.check-list li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--teal-500);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Method ---------- */
.method { background: var(--bg-light); padding: 90px 0; }

.method-highlight { color: var(--teal-600); font-weight: 700; }

.method-journey {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  margin-bottom: 40px;
}

.method-journey::before {
  content: '';
  position: absolute;
  left: 6%;
  right: 6%;
  top: 52px;
  height: 2px;
  background: linear-gradient(90deg, rgba(31,156,143,0.1), rgba(31,156,143,0.55) 12%, rgba(31,156,143,0.55) 88%, rgba(31,156,143,0.1));
  z-index: 0;
}

.method-step {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.method-journey.is-visible .method-step { opacity: 1; transform: none; }
.method-journey.is-visible .method-step:nth-child(1) { transition-delay: 0.05s; }
.method-journey.is-visible .method-step:nth-child(2) { transition-delay: 0.15s; }
.method-journey.is-visible .method-step:nth-child(3) { transition-delay: 0.25s; }
.method-journey.is-visible .method-step:nth-child(4) { transition-delay: 0.35s; }
.method-journey.is-visible .method-step:nth-child(5) { transition-delay: 0.45s; }

.method-step-number {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--teal-600);
  margin-bottom: 8px;
}

.method-step-marker {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg-light);
  border: 2px solid var(--teal-500);
  color: var(--teal-600);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  transition: transform 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.method-step-icon svg { width: 24px; height: 24px; display: block; }

.method-step:hover .method-step-marker {
  transform: scale(1.08);
  border-color: var(--orange-500);
  color: var(--orange-500);
}

.method-step h3 { font-size: 16px; margin-bottom: 6px; }
.method-step p { color: var(--ink-soft); font-size: 13.5px; margin: 0; max-width: 210px; }

.method-benefits {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 32px;
  background: var(--teal-100);
  border-radius: var(--radius-card);
  padding: 18px 28px;
  margin: 0 auto 44px;
  max-width: 780px;
}
.method-benefit {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 14px;
  color: var(--petrol-800);
}
.method-benefit svg {
  width: 18px;
  height: 18px;
  color: var(--teal-600);
  flex-shrink: 0;
}

.method-cta { text-align: center; }

@media (prefers-reduced-motion: reduce) {
  .method-step {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ---------- Testimonials ---------- */
.testimonials { background: var(--petrol-800); padding: 90px 0; }

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-bottom: 48px;
}

.testimonial-card {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(31,156,143,0.4);
  border-left: 4px solid var(--teal-500);
  border-radius: var(--radius-card);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}

.stars { color: var(--teal-500); font-size: 16px; margin-bottom: 14px; letter-spacing: 2px; }

.testimonial-card p {
  color: rgba(255,255,255,0.85);
  font-size: 14.5px;
  flex: 1;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-initial {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--teal-500);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.testimonial-author strong { color: var(--white); display: block; font-size: 14px; }
.testimonial-author span { color: rgba(255,255,255,0.6); font-size: 13px; }

/* ---------- About ---------- */
.about { background: var(--white); padding: 90px 0; }

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

.about-text .section-title { text-align: left; }
.about-text .title-underline { margin-left: 0; }
.about-text p { color: var(--ink-soft); }

.about-quote {
  font-family: var(--font-heading);
  font-weight: 600;
  color: var(--petrol-800);
  font-size: 18px;
  border-left: 3px solid var(--orange-500);
  padding-left: 18px;
  margin-top: 24px;
}

.about-photo {
  position: relative;
  background: var(--petrol-800);
  border-radius: var(--radius-img);
  padding: 16px;
}
.about-photo img {
  border-radius: calc(var(--radius-img) - 8px);
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
}
.about-photo-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  right: 16px;
  background: rgba(15,38,40,0.85);
  color: var(--white);
  font-size: 13px;
  padding: 10px 14px;
  border-radius: 10px;
  backdrop-filter: blur(4px);
}

/* ---------- CTA repeat ---------- */
.cta-repeat {
  background: linear-gradient(135deg, var(--petrol-900), var(--petrol-800));
  padding: 70px 0;
  text-align: center;
}
.cta-repeat h2 {
  color: var(--white);
  font-size: clamp(24px, 3vw, 32px);
  max-width: 620px;
  margin: 0 auto 14px;
}
.cta-repeat-text {
  color: rgba(255,255,255,0.78);
  font-size: 17px;
  max-width: 560px;
  margin: 0 auto 32px;
}

/* ---------- Form ---------- */
.form-section { background: var(--petrol-800); padding: 90px 0; scroll-margin-top: 88px; }

.form-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.form-intro h2 { color: var(--white); text-align: left; font-size: 30px; }
.form-intro p { color: rgba(255,255,255,0.75); font-size: 17px; }

.form-trust {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  font-weight: 600;
}
.form-trust-icon {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--teal-500);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-why {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.14);
}
.form-why h3 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 16px;
}
.form-why-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.form-why-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.82);
  font-size: 14.5px;
}
.form-why-list li::before {
  content: '\2713';
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--teal-500);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.form-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: 32px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.form-card label {
  font-size: 13px;
  font-weight: 600;
  color: var(--petrol-800);
  margin: 14px 0 6px;
}
.form-card label:first-child { margin-top: 0; }

.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  border: 1px solid var(--border-soft);
  background: var(--bg-light);
  border-radius: 10px;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  resize: vertical;
}
.form-card select { appearance: auto; }
.form-card input:focus,
.form-card select:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--teal-500);
  background: var(--white);
}

.form-card button { margin-top: 22px; }
.form-card button[disabled] { opacity: 0.7; cursor: not-allowed; }

.form-error {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgba(232, 98, 61, 0.08);
  border: 1px solid rgba(232, 98, 61, 0.35);
}
.form-error p {
  margin: 0 0 12px;
  font-size: 13.5px;
  color: var(--ink);
}
.form-error .btn {
  padding: 10px 20px;
  font-size: 14px;
  box-shadow: none;
}

.form-human-note {
  font-size: 13px;
  font-weight: 600;
  color: var(--teal-600);
  text-align: center;
  margin: 14px 0 0;
}

.form-note {
  font-size: 12px;
  color: var(--ink-soft);
  margin: 10px 0 0;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--petrol-900); padding: 32px 0; }

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-logo { height: 26px; opacity: 0.9; }

.site-footer p {
  margin: 0;
  color: rgba(255,255,255,0.55);
  font-size: 13px;
}

/* ---------- WhatsApp floating ---------- */
.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 24px -6px rgba(0,0,0,0.4);
  z-index: 90;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

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

@media (max-width: 960px) {
  .cards-grid { grid-template-columns: 1fr; }
  .method-journey {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 40px;
  }
  .method-journey::before { display: none; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 380px; margin: 0 auto; }
  .form-container { grid-template-columns: 1fr; }
  .hero-stats { gap: 20px 32px; }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .header-cta { display: none; }
  .nav-toggle { display: flex; }

  .site-header.nav-open .main-nav {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--petrol-800);
    padding: 20px 24px 28px;
    gap: 18px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }
  .site-header.nav-open .header-cta {
    display: inline-flex;
    margin: 0 24px 20px;
  }

  .hero { padding: 32px 0 70px; }
  .hero-photo img {
    object-position: 62% 15%;
    opacity: 0.4;
    -webkit-mask-image: linear-gradient(180deg, transparent 0%, transparent 30%, black 78%);
    mask-image: linear-gradient(180deg, transparent 0%, transparent 30%, black 78%);
  }
  .hero-overlay {
    background:
      linear-gradient(180deg, var(--petrol-800) 0%, rgba(27,58,62,0.88) 45%, rgba(27,58,62,0.55) 100%),
      radial-gradient(circle at 10% 90%, rgba(232,98,61,0.14), transparent 45%);
  }
  .hero-stats { flex-direction: column; gap: 18px; }
  .solutions, .method, .testimonials, .about, .form-section {
    padding: 60px 0;
  }
  .method-journey {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
  .method-journey::before {
    display: block;
    left: 27px;
    right: auto;
    top: 28px;
    bottom: 28px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, rgba(31,156,143,0.1), rgba(31,156,143,0.55) 12%, rgba(31,156,143,0.55) 88%, rgba(31,156,143,0.1));
  }
  .method-step {
    display: grid;
    grid-template-columns: 56px 1fr;
    column-gap: 16px;
    row-gap: 4px;
    text-align: left;
  }
  .method-step-marker { grid-row: 1 / span 3; align-self: start; margin-bottom: 0; }
  .method-step-number { grid-column: 2; margin-bottom: 0; }
  .method-step h3 { grid-column: 2; margin-bottom: 0; }
  .method-step p { grid-column: 2; max-width: none; }
  .method-benefits { padding: 16px 20px; gap: 12px 24px; }
  .btn-lg { width: 100%; }
  .cta-repeat .btn { width: 100%; }
}
