:root {
  --font-body: "Manrope", "Segoe UI", sans-serif;
  --font-heading: "Cormorant Garamond", Georgia, serif;
  --color-text: #163452;
  --color-muted: #58718f;
  --color-primary: #174a84;
  --color-primary-strong: #0e3765;
  --color-secondary: #5f87b2;
  --color-accent: #dcecff;
  --color-accent-strong: #a7c5e7;
  --color-surface: rgba(255, 255, 255, 0.84);
  --color-surface-strong: #ffffff;
  --color-border: rgba(23, 74, 132, 0.12);
  --color-soft-bg: #f4f9ff;
  --color-soft-bg-2: #eef6ff;
  --color-cta-text: #f8fbff;
  --shadow-soft: 0 18px 44px rgba(23, 74, 132, 0.08);
  --shadow-card: 0 12px 28px rgba(23, 74, 132, 0.06);
  --shadow-hover: 0 18px 38px rgba(23, 74, 132, 0.11);
  --radius-xl: 26px;
  --radius-xxl: 38px;
  --transition: 220ms ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(193, 219, 245, 0.42), transparent 32%),
    radial-gradient(circle at top right, rgba(226, 239, 255, 0.65), transparent 28%),
    linear-gradient(180deg, #f8fbff 0%, #ffffff 22%, #f6faff 100%);
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

::selection {
  background: rgba(95, 135, 178, 0.22);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 100;
  padding: 0.8rem 1rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 14px;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 1rem;
}

.page-shell {
  position: relative;
  overflow: clip;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.page-shell::before {
  top: 10rem;
  left: -12rem;
  width: 26rem;
  height: 26rem;
  background: radial-gradient(circle, rgba(157, 194, 230, 0.3), transparent 65%);
}

.page-shell::after {
  right: -10rem;
  top: 52rem;
  width: 24rem;
  height: 24rem;
  background: radial-gradient(circle, rgba(211, 229, 248, 0.55), transparent 65%);
}

.container {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
}

.section {
  padding: 5.5rem 0;
  position: relative;
}

.section-soft {
  background: linear-gradient(180deg, rgba(244, 249, 255, 0.72), rgba(255, 255, 255, 0.95));
}

#inicio,
#servicos,
#quem-sou-eu,
#para-quem-e,
#como-funciona,
#diferenciais,
#faq,
#contato {
  scroll-margin-top: 7rem;
}

.site-header {
  padding-top: 1.4rem;
}

.header-brand {
  display: grid;
  place-items: center;
  gap: 0.9rem;
  margin-bottom: 1.1rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(23, 74, 132, 0.08);
  box-shadow: 0 14px 28px rgba(23, 74, 132, 0.08);
  backdrop-filter: blur(10px);
}

.brand-logo {
  width: min(220px, 52vw);
  max-width: 100%;
  height: auto;
  max-height: 220px;
  object-fit: contain;
  object-position: center;
  border-radius: 20px;
}

.brand-caption {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 40;
  padding-bottom: 0.45rem;
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.nav-wrap.is-scrolled .nav-inner {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  box-shadow: 0 10px 24px rgba(23, 74, 132, 0.07);
}

.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.55rem 1.05rem;
  border: 1px solid rgba(23, 74, 132, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  box-shadow: 0 6px 18px rgba(23, 74, 132, 0.05);
  backdrop-filter: blur(12px);
}

.nav-toggle {
  display: none;
  width: 2.65rem;
  height: 2.65rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(238, 246, 255, 0.86);
  color: var(--color-primary);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1.15rem;
  height: 2px;
  margin: 0.23rem auto;
  border-radius: 999px;
  background: currentColor;
  transition: transform var(--transition), opacity var(--transition);
}

.site-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.05rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a {
  position: relative;
  padding: 0.32rem 0.18rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: #486886;
  transition: color var(--transition);
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.15rem;
  width: 100%;
  height: 1px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(95, 135, 178, 0.55), rgba(23, 74, 132, 0.7));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--transition);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--color-primary);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.btn,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 3.05rem;
  padding: 0.82rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 700;
  text-align: center;
  width: auto;
  flex: 0 0 auto;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition),
    background-color var(--transition),
    color var(--transition);
}

.btn:hover,
.btn:focus-visible,
.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary) 0%, #2d6aaa 100%);
  box-shadow: 0 12px 24px rgba(23, 74, 132, 0.14);
}

.button-primary:hover,
.button-primary:focus-visible {
  box-shadow: 0 14px 28px rgba(23, 74, 132, 0.18);
}

.button-secondary {
  color: var(--color-primary);
  border-color: rgba(23, 74, 132, 0.16);
  background: rgba(255, 255, 255, 0.78);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(23, 74, 132, 0.28);
  background: #fff;
}

.button-light {
  color: var(--color-primary-strong);
  background: #fff;
  box-shadow: 0 16px 28px rgba(7, 29, 54, 0.18);
}

.button-outline-light {
  color: #fff;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.34);
}

.button-outline-light:hover,
.button-outline-light:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  padding-top: 2.4rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: clamp(1.25rem, 2vw, 2rem);
  align-items: center;
  justify-items: center;
}

.hero-copy,
.hero-panel {
  position: relative;
  padding: clamp(1.9rem, 3.5vw, 3.1rem);
  border-radius: var(--radius-xxl);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(23, 74, 132, 0.08);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.hero-copy {
  width: min(100%, 46rem);
  max-width: 46rem;
  justify-self: center;
}

.hero-content,
.section-heading,
.about-content,
.cta-content {
  width: min(100%, 47.5rem);
  max-width: 47.5rem;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.hero-panel {
  width: min(100%, 38rem);
  max-width: 38rem;
  justify-self: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-copy::before,
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.22), transparent 58%);
  pointer-events: none;
}

.tag,
.eyebrow,
.panel-tag,
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0 auto 1rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(23, 74, 132, 0.1);
  color: var(--color-primary);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-tag-light {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.18);
}

.hero-title,
.section-title,
.about-title,
.cta-title,
.hero h1,
.section-heading h2,
.about-content h2,
.cta-card h2,
.hero-panel h2 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

.hero-title,
.hero h1 {
  margin: 0 0 0.9rem;
  width: 100%;
  max-width: none;
  font-size: clamp(2rem, 3.8vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-text,
.hero-microcopy,
.section-intro,
.section-heading p,
.about-lead,
.about-content p,
.cta-card p {
  width: 100%;
  max-width: 45rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  font-size: 1.02rem;
  line-height: 1.7;
}

.hero-text {
  margin-top: 0;
  margin-bottom: 0;
  color: var(--color-muted);
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.95rem;
  margin-top: 2rem;
  width: 100%;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

.hero-microcopy,
.cta-microcopy,
.about-lead {
  margin: 1rem 0 0;
  color: var(--color-primary);
  font-weight: 600;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.95rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  width: 100%;
}

.hero-highlights li {
  position: relative;
  min-height: 76px;
  padding: 1.05rem 1rem 1.05rem 3rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(23, 74, 132, 0.08);
  color: var(--color-primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  box-shadow: 0 8px 20px rgba(23, 74, 132, 0.05);
}

.hero-highlights li::before,
.panel-list li::before,
.differential-card::before {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-secondary), var(--color-primary));
}

.hero-highlights li::before {
  width: 14px;
  height: 14px;
  top: 50%;
  left: 1.2rem;
  transform: translateY(-50%);
  box-shadow: 0 0 0 6px rgba(167, 197, 231, 0.16);
}

.hero-panel {
  overflow: hidden;
}

.hero-panel::after {
  content: "";
  position: absolute;
  right: -4rem;
  top: -3rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(167, 197, 231, 0.26), transparent 70%);
  pointer-events: none;
}

.hero-panel h2 {
  margin: 0 0 0.9rem;
  width: 100%;
  max-width: none;
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.panel-list {
  list-style: none;
  width: min(100%, 32rem);
  margin: 1.5rem auto 0;
  padding: 0;
  text-align: left;
}

.panel-list li {
  position: relative;
  padding: 0.95rem 0 0.95rem 2.4rem;
  color: var(--color-muted);
  border-bottom: 1px solid rgba(23, 74, 132, 0.08);
}

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

.panel-list li::before {
  width: 11px;
  height: 11px;
  top: 1.35rem;
  left: 0.45rem;
  box-shadow: 0 0 0 8px rgba(167, 197, 231, 0.22);
}

.contact-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.6rem;
  width: 100%;
  justify-content: center;
  align-items: center;
}

.pill,
.contact-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  background: rgba(246, 250, 255, 0.92);
  border: 1px solid rgba(23, 74, 132, 0.09);
  color: var(--color-primary);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
  overflow-wrap: anywhere;
}

.contact-pill-link:hover,
.contact-pill-link:focus-visible {
  background: rgba(220, 236, 255, 0.96);
}

.section-heading {
  margin: 0 auto 2.2rem;
  justify-self: center;
}

.section-title,
.about-title,
.cta-title,
.section-heading h2,
.about-content h2,
.cta-card h2 {
  margin: 0 0 0.85rem;
  width: 100%;
  max-width: none;
  font-size: clamp(1.6rem, 2.4vw, 2.5rem);
  line-height: 1.16;
  letter-spacing: -0.01em;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-heading h2 {
  margin-inline: auto;
}

.section-heading p,
.about-content p,
.card p,
.faq-answer p,
.cta-card p,
.footer-copy p {
  margin: 0;
  color: var(--color-muted);
}

.cards-grid,
.steps-grid {
  display: grid;
  gap: 1.15rem;
}

.services-grid,
.differentials-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pain-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.audience-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.steps-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  height: 100%;
  padding: 1.7rem;
  border-radius: var(--radius-xl);
  background: var(--color-surface-strong);
  border: 1px solid rgba(23, 74, 132, 0.08);
  box-shadow: var(--shadow-card);
  transition:
    transform 260ms ease,
    box-shadow 260ms ease,
    border-color 260ms ease;
}

.card:hover,
.card:focus-within {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(23, 74, 132, 0.12);
}

.card h3 {
  margin: 1rem 0 0.7rem;
  max-width: 24ch;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.25;
  text-wrap: balance;
}

.card p {
  line-height: 1.7;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(23, 74, 132, 0.05), rgba(247, 250, 255, 0.96));
  color: var(--color-primary);
}

.service-icon svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.75;
}

.section-note {
  margin-top: 1.35rem;
  padding: 1.25rem 1.45rem;
  border-radius: 24px;
  background: linear-gradient(135deg, rgba(247, 250, 255, 0.92), rgba(255, 255, 255, 0.98));
  border: 1px solid rgba(23, 74, 132, 0.08);
}

.section-note p {
  max-width: 720px;
  margin: 0 auto;
  color: var(--color-primary);
  font-weight: 600;
  text-align: center;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 3vw, 3rem);
  align-items: center;
  justify-items: center;
}

.about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.about-image {
  width: 100%;
  max-width: 420px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.about-content p + p {
  margin-top: 1rem;
}

.about-lead {
  margin-top: 0;
  margin-bottom: 1rem;
}

.badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  list-style: none;
  padding: 0;
  margin: 2rem 0 0;
  width: 100%;
  max-width: 720px;
  justify-content: center;
}

.badge-list li {
  padding: 0.8rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(23, 74, 132, 0.1);
  color: var(--color-primary);
  font-weight: 700;
  box-shadow: 0 8px 18px rgba(23, 74, 132, 0.05);
}

.card-number,
.step-number {
  display: inline-grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(220, 236, 255, 0.96), rgba(167, 197, 231, 0.8));
  color: var(--color-primary);
  font-size: 0.95rem;
  font-weight: 800;
}

.pain-card,
.service-card,
.audience-card,
.step-card,
.impact-item {
  text-align: center;
}

.audience-card h3,
.step-card h3 {
  max-width: 24ch;
}

.pain-card p,
.service-card p,
.audience-card p,
.step-card p,
.impact-item p {
  max-width: 34ch;
  margin-left: auto;
  margin-right: auto;
}

.service-icon,
.card-number,
.step-number {
  margin-left: auto;
  margin-right: auto;
}

.differential-card {
  padding-left: 3.2rem;
}

.differential-card::before {
  width: 14px;
  height: 14px;
  top: 1.85rem;
  left: 1.35rem;
  box-shadow: 0 0 0 8px rgba(167, 197, 231, 0.2);
}

.faq-list {
  display: grid;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
}

.impact-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.impact-item {
  padding: 1.5rem 1.4rem;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(23, 74, 132, 0.08);
  box-shadow: var(--shadow-card);
}

.impact-item h3 {
  margin: 0 0 0.55rem;
  max-width: 24ch;
  margin-left: auto;
  margin-right: auto;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  line-height: 1.25;
  color: var(--color-primary);
  text-wrap: balance;
}

.impact-item p {
  margin: 0;
  color: var(--color-muted);
  line-height: 1.7;
}

.faq-item {
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(23, 74, 132, 0.12);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 1.5rem;
  background: transparent;
  border: 0;
  text-align: left;
  color: var(--color-primary);
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
}

.faq-icon {
  position: relative;
  flex: 0 0 auto;
  width: 1rem;
  height: 1rem;
}

.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: var(--color-primary);
  transform: translate(-50%, -50%);
  transition:
    transform var(--transition),
    opacity var(--transition);
}

.faq-icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.is-open .faq-icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0.3);
}

.faq-answer {
  padding: 0 1.5rem 1.45rem;
}

.faq-answer p {
  line-height: 1.8;
}

.cta-section {
  padding-top: 3rem;
  padding-bottom: 5rem;
}

.cta-card {
  position: relative;
  overflow: hidden;
  padding: clamp(2rem, 4vw, 3.8rem);
  border-radius: 38px;
  background:
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.12), transparent 22%),
    linear-gradient(135deg, #153e6b 0%, #2f638e 100%);
  color: var(--color-cta-text);
  box-shadow: 0 22px 48px rgba(17, 54, 94, 0.18);
}

.cta-card::before {
  content: "";
  position: absolute;
  right: -3rem;
  bottom: -3rem;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1), transparent 70%);
  pointer-events: none;
}

.cta-card p {
  max-width: 720px;
  color: rgba(248, 251, 255, 0.88);
}

.cta-microcopy {
  color: rgba(248, 251, 255, 0.9);
}

.site-footer {
  padding: 1.4rem 0 2.5rem;
}

.footer-inner,
.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
}

.footer-inner {
  flex-direction: column;
  align-items: center;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(23, 74, 132, 0.12);
  text-align: center;
}

.footer-copy {
  max-width: 42rem;
  margin: 0 auto;
  text-align: center;
}

.footer-copy h2 {
  margin: 0 0 0.5rem;
  font-size: 1.02rem;
}

.footer-copy p + p {
  margin-top: 0.4rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: center;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(23, 74, 132, 0.12);
  color: var(--color-primary);
  font-weight: 700;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  background: #fff;
}

.footer-bottom {
  padding-top: 1rem;
  align-items: center;
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.92rem;
}

.floating-whatsapp {
  position: fixed;
  right: 1.2rem;
  bottom: 1.2rem;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.85rem 1rem 0.85rem 0.9rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #174a84 0%, #23629d 70%);
  color: #fff;
  box-shadow: 0 18px 38px rgba(23, 74, 132, 0.26);
}

.floating-whatsapp::after {
  content: "";
  position: absolute;
  right: 0.65rem;
  top: 0.65rem;
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45);
  animation: pulse 2.4s infinite;
}

.floating-whatsapp svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: currentColor;
}

.floating-whatsapp span {
  font-size: 0.95rem;
  font-weight: 800;
}

.reveal {
  transition:
    transform 0.7s ease,
    opacity 0.7s ease;
}

.motion-safe .reveal {
  opacity: 0;
  transform: translateY(22px);
}

.motion-safe .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid rgba(95, 135, 178, 0.3);
  outline-offset: 4px;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.45);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 1100px) {
  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .pain-grid,
  .services-grid,
  .differentials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .impact-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-panel {
    order: 2;
  }

  .about-visual {
    justify-content: center;
  }
}

@media (max-width: 1024px) {
  .section {
    padding: 5rem 0;
  }

  .hero {
    padding-top: 2rem;
  }

  .hero-text,
  .section-heading p,
  .cta-card p {
    font-size: 1rem;
    line-height: 1.7;
  }

  .hero-actions .button,
  .hero-actions .btn,
  .cta-actions .button,
  .cta-actions .btn {
    flex: 0 0 auto;
  }

  .hero-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    width: 3rem;
    height: 3rem;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(23, 74, 132, 0.1);
    box-shadow: 0 10px 22px rgba(23, 74, 132, 0.08);
  }

  .nav-toggle span {
    width: 1.25rem;
    height: 2.2px;
    margin: 0.25rem auto;
  }

  .nav-inner {
    justify-content: flex-end;
    min-height: 3rem;
    padding: 0.45rem 0.55rem;
  }

  .site-nav {
    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% + 0.7rem);
    padding: 0 0.35rem;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px);
    transition:
      opacity var(--transition),
      visibility var(--transition),
      transform var(--transition);
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: min(100%, 22rem);
    margin-inline: auto;
    padding: 0.5rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(23, 74, 132, 0.1);
    box-shadow: 0 18px 36px rgba(23, 74, 132, 0.1);
  }

  .site-nav li + li {
    border-top: 1px solid rgba(23, 74, 132, 0.08);
  }

  .site-nav a {
    display: block;
    padding: 1rem 1.1rem;
    font-size: 1.02rem;
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
  }

  .site-nav a::after {
    display: none;
  }

  .nav-wrap.is-open .site-nav {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .nav-wrap.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
  }

  .nav-wrap.is-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav-wrap.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
  }

  .hero-highlights {
    grid-template-columns: 1fr;
  }

  .footer-inner,
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
}

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

  .hero-copy,
  .hero-panel,
  .cta-card {
    padding: 1.8rem;
  }

  .badge-list {
    gap: 0.65rem;
  }
}

@media (max-width: 760px) {
  .section {
    padding: 4.5rem 0;
  }

  .pain-grid,
  .services-grid,
  .differentials-grid,
  .audience-grid,
  .impact-strip {
    grid-template-columns: 1fr;
  }

  .btn,
  .button,
  .pill,
  .contact-pill {
    min-height: auto;
    padding: 0.72rem 1.15rem;
    font-size: 0.92rem;
    gap: 0.4rem;
  }

  .hero-copy,
  .hero-panel,
  .cta-card {
    border-radius: 30px;
  }

  .floating-whatsapp {
    right: 0.9rem;
    bottom: 0.9rem;
  }
}

@media (max-width: 768px) {
  body.nav-open {
    overflow: auto;
  }

  .nav-wrap {
    display: none;
  }

  .container {
    width: min(1180px, calc(100% - 1.5rem));
  }

  .hero-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .hero-copy,
  .hero-panel,
  .cta-card {
    padding: 1.55rem;
  }

  .hero-title,
  .hero h1 {
    width: 100%;
    max-width: 16.5ch;
    font-size: clamp(2rem, 7vw, 2.6rem);
  }

  .section-title,
  .about-title,
  .cta-title,
  .section-heading h2,
  .about-content h2,
  .cta-card h2,
  .hero-panel h2 {
    width: 100%;
    max-width: 24ch;
    font-size: clamp(1.6rem, 5.4vw, 2rem);
  }

  .section-intro,
  .hero-text,
  .hero-microcopy,
  .section-heading p,
  .about-lead,
  .about-content p,
  .cta-card p {
    font-size: 1rem;
  }

  .hero-actions,
  .cta-actions,
  .contact-strip {
    gap: 0.7rem;
    justify-content: center;
    align-items: center;
  }

  .btn,
  .button,
  .pill,
  .contact-pill {
    width: auto;
    min-height: auto;
    padding: 0.72rem 1.15rem;
    font-size: 0.92rem;
    gap: 0.4rem;
  }

  .hero-highlights,
  .pain-grid,
  .services-grid,
  .differentials-grid,
  .audience-grid,
  .steps-grid,
  .impact-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding-top: 1.2rem;
  }

  .brand-caption {
    letter-spacing: 0.12em;
    text-align: center;
  }

  .hero-text,
  .hero-microcopy,
  .section-heading p,
  .about-lead,
  .about-content p,
  .card p,
  .faq-answer p,
  .cta-card p,
  .cta-microcopy,
  .footer-copy p,
  .panel-list li {
    font-size: 0.97rem;
    line-height: 1.7;
  }

  .hero-highlights,
  .pain-grid,
  .services-grid,
  .differentials-grid,
  .audience-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero-highlights li {
    min-height: auto;
  }

  .card {
    padding: 1.45rem;
  }

  .badge-list li,
  .footer-links a {
    width: auto;
  }

  .footer-links {
    justify-content: center;
  }

  .about-image {
    max-width: 320px;
  }

  .impact-item {
    padding: 1.3rem 1.2rem;
  }
}

@media (max-width: 560px) {
  .container {
    width: min(1180px, calc(100% - 1.2rem));
  }

  .brand-logo {
    width: min(170px, 58vw);
    max-height: 170px;
  }

  .nav-inner {
    padding: 0.4rem 0.5rem;
  }

  .hero-actions,
  .cta-actions,
  .contact-strip {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .btn,
  .button,
  .pill,
  .contact-pill {
    width: auto;
  }

  .card-number,
  .step-number {
    width: 2.7rem;
    height: 2.7rem;
  }

  .faq-question {
    padding: 1.2rem 1.2rem;
  }

  .faq-answer {
    padding: 0 1.2rem 1.25rem;
  }

  .floating-whatsapp {
    width: 3.9rem;
    height: 3.9rem;
    padding: 0;
    justify-content: center;
    border-radius: 50%;
  }

  .floating-whatsapp span {
    display: none;
  }
}

@media (max-width: 420px) {
  .site-nav ul {
    border-radius: 20px;
  }

  .site-nav a {
    padding: 0.95rem 1rem;
    font-size: 0.98rem;
  }

  .hero-copy,
  .hero-panel,
  .cta-card,
  .card,
  .faq-item {
    border-radius: 24px;
  }

  .hero-copy,
  .hero-panel,
  .cta-card {
    padding: 1.35rem;
  }

  .tag,
  .eyebrow,
  .panel-tag,
  .section-tag {
    font-size: 0.74rem;
    letter-spacing: 0.08em;
    padding: 0.6rem 0.9rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
