:root {
    --color-primary: #23afe3;
    --color-primary-dark: #006b8f;
    --color-primary-deep: #07304a;
    --color-primary-soft: #dff6ff;
    --color-accent: #ff2f36;
    --color-yellow: #ffdf8c;
    --color-text: #1f2e37;
    --color-muted: #5e6c75;
    --color-white: #fff;
    --color-card: #f6fbff;
    --shadow-sm: 0 10px 24px rgba(0, 54, 74, 0.1);
    --shadow-md: 0 18px 46px rgba(0, 54, 74, 0.16);
    --shadow-lg: 0 28px 70px rgba(0, 54, 74, 0.24);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --container: 1180px;
    --header-height: 96px;
    --header-height-compact: 54px;
    --transition: 220ms ease;
    --font-main: "Poppins", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 78px;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-main);
    color: var(--color-text);
    background: #fff;
    line-height: 1.5;
    overflow-x: hidden;
}

body.has-open-menu {
    overflow: hidden;
}

img,
picture,
svg,
video,
iframe {
    display: block;
    max-width: 100%;
}

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

button,
input {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.section {
    padding: clamp(58px, 7vw, 108px) 0;
}

.section-title,
.section h2 {
    margin: 0;
    color: var(--color-primary);
    font-size: clamp(2rem, 4vw, 4.1rem);
    font-weight: 900;
    line-height: 1.05;
    text-align: center;
    text-transform: uppercase;
}

.section-title.light,
.section-subtitle.light {
    color: #fff;
}

.section-subtitle {
    max-width: 760px;
    margin: 18px auto 0;
    color: var(--color-muted);
    text-align: center;
}

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

.skip-link:focus {
    width: auto;
    height: auto;
    left: 16px;
    top: 16px;
    z-index: 9999;
    clip: auto;
    padding: 12px 16px;
    border-radius: 12px;
    background: #fff;
    color: var(--color-primary-dark);
    box-shadow: var(--shadow-md);
}

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 2000;
    height: var(--header-height);
    color: #fff;
    background: rgba(8, 167, 220, 0.18);
    transition: height var(--transition), background var(--transition), box-shadow var(--transition), backdrop-filter var(--transition);
}

.site-header.is-compact,
.site-header.menu-is-open {
    height: var(--header-height-compact);
    background: rgba(7, 154, 207, 0.96);
    box-shadow: 0 10px 24px rgba(0, 58, 82, 0.18);
    backdrop-filter: blur(12px);
    min-height: 70px;
}

.header-inner {
    min-height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.brand {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: clamp(150px, 16vw, 245px);
    max-height: calc(var(--header-height) - 18px);
    transition: width var(--transition), transform var(--transition);
}

.site-header.is-compact .brand {
    width: clamp(118px, 12vw, 162px);
}

.brand img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.primary-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: clamp(10px, 0vw, 25px);
    font-size: clamp(0.95rem, 1.2vw, 1.2rem);
    font-weight: 800;
    text-transform: uppercase;
}

.primary-nav a {
    position: relative;
    padding: 10px;
    letter-spacing: 0.01em;
}

.primary-nav a:not(.nav-cta)::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 3px;
    border-radius: 99px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition);
}

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

.nav-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 15px;
    border: 0;
    border-radius: 9px;
    color: #fff;
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 0.02em;
    text-align: center;
    text-transform: uppercase;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition), opacity var(--transition);
}

.nav-cta {
    padding-inline: 12px;
    background: rgba(0, 93, 126, 0.9);
    box-shadow: 0 12px 24px rgba(0, 67, 92, 0.18);
}

.btn-primary {
    background: var(--color-accent);
    box-shadow: 0 16px 30px rgba(255, 43, 50, 0.24);
    font-size: 1.4em;
}

.btn-secondary {
    background: var(--color-primary);
    box-shadow: 0 16px 30px rgba(24, 174, 230, 0.24);
}

.btn:hover,
.nav-cta:hover,
.btn:focus-visible,
.nav-cta:focus-visible {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-block {
    width: 100%;
}

.menu-toggle {
    position: relative;
    z-index: 2100;
    display: none;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: rgba(0, 90, 122, 0.86);
    box-shadow: var(--shadow-sm);
}

.menu-line {
    position: absolute;
    left: 12px;
    right: 12px;
    height: 3px;
    border-radius: 99px;
    background: #fff;
    transition: transform var(--transition), opacity var(--transition), top var(--transition);
}

.menu-line:nth-child(2) {
    top: 14px;
}

.menu-line:nth-child(3) {
    top: 22px;
}

.menu-line:nth-child(4) {
    top: 30px;
}

.site-header.menu-is-open .menu-line:nth-child(2) {
    top: 22px;
    transform: rotate(45deg);
}

.site-header.menu-is-open .menu-line:nth-child(3) {
    opacity: 0;
}

.site-header.menu-is-open .menu-line:nth-child(4) {
    top: 22px;
    transform: rotate(-45deg);
}

/* Hero */
.hero {
    position: relative;
    isolation: isolate;
    background: var(--color-primary);
}

.hero-slider {
    position: relative;
    overflow: hidden;
    min-height: clamp(720px, 56vw, 835px);
}

.hero-track {
    position: relative;
    min-height: clamp(720px, 56vw, 835px);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateX(100%);
    transition: opacity 1.1s ease, transform 1.1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

.hero-slide.is-leaving {
    opacity: 0;
    transform: translateX(-100%);
}

/* Smooth content transitions */
.hero-slide .hero-copy {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1.2s ease 0.1s, transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s;
}

.hero-slide.is-active .hero-copy {
    opacity: 1;
    transform: translateX(0);
}

.hero-slide .hero-person {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 1.2s ease 0.3s, transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s;
}

.hero-slide.is-active .hero-person {
    opacity: 1;
    transform: translateX(0);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 25%, rgba(255, 255, 255, 0.22), transparent 30%),
    radial-gradient(circle at 68% 8%, rgba(255, 255, 255, 0.16), transparent 34%),
    linear-gradient(130deg, #00a3df 0%, #13b9ef 52%, #0088c1 100%);
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 80, 122, 0.1), rgba(0, 139, 196, 0.04));
}

.hero-bg-2 {
    filter: saturate(0.96) hue-rotate(6deg);
}

.hero-bg-3 {
    filter: saturate(1.08) hue-rotate(-7deg);
}

.hero-grid {
    position: relative;
    z-index: 1;
    min-height: clamp(720px, 56vw, 835px);
    padding-top: var(--header-height);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 0.72fr) minmax(330px, 0.82fr);
    align-items: end;
    gap: clamp(14px, 2.4vw, 42px);
}

.hero-copy {
    align-self: center;
    color: #fff;
    padding-bottom: clamp(20px, 3vw, 48px);
}

.hero-kicker,
.eyebrow {
    margin: 0 0 10px;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.9rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-copy h1,
.hero-copy h2 {
    max-width: 560px;
    margin: 0 0 18px;
    font-size: clamp(2.65rem, 5.2vw, 5.9rem);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero-copy p:not(.hero-kicker) {
    max-width: 600px;
    margin: 0 0 24px;
    font-size: clamp(1rem, 1.35vw, 1.2rem);
    color: rgba(255, 255, 255, 0.92);
}

.hero-devices {
    width: min(100%, 520px);
    height: auto;
    filter: drop-shadow(0 22px 28px rgba(0, 54, 74, 0.28));
}

.hero-person {
    align-self: end;
    z-index: 2;
    display: grid;
    place-items: end center;
    min-height: 560px;
}

.hero-person img {
    width: min(100%, 430px);
    max-height: 660px;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 26px 34px rgba(0, 55, 78, 0.16));
}

.hero-form-space {
    min-height: 1px;
}

.lead-form {
    display: grid;
    gap: 13px;
    padding: clamp(22px, 2.4vw, 34px);
    border-radius: 18px;
    color: var(--color-text);
    background: rgba(246, 250, 255, 0.96);
    box-shadow: var(--shadow-lg);
}

.hero-form {
    position: absolute;
    z-index: 3;
    top: clamp(150px, 14vw, 180px);
    right: max(24px, calc((100vw - var(--container)) / 2));
    width: min(430px, calc(100vw - 48px));
}

.lead-form .eyebrow {
    color: var(--color-primary-dark);
    margin-bottom: -4px;
}

.lead-form h2 {
    margin: 0;
    color: #6d9bc7;
    font-size: clamp(1.3rem, 2vw, 2rem);
    font-weight: 900;
    line-height: 1.14;
}

.form-subtitle {
    margin: -6px 0 8px;
    font-weight: 600;
    color: red;
    text-align: center;
}

.lead-form input[type="text"],
.lead-form input[type="email"],
.lead-form input[type="tel"] {
    width: 100%;
    min-height: 50px;
    border: 1px solid #bad5ed;
    border-radius: 8px;
    padding: 0 16px;
    color: #1f2e37;
    background: #fff;
    font-weight: 700;
    outline: none;
    transition: border var(--transition), box-shadow var(--transition);
}

.lead-form input::placeholder {
    color: #6d9bc7;
    opacity: 1;
}

.lead-form input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(35, 175, 227, 0.16);
}

.lead-form input[aria-invalid="true"] {
    border-color: var(--color-accent);
}

.honeypot {
    display: none !important;
}

.radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    margin: 0;
    padding: 4px 0;
    border: 0;
    color: #6d9bc7;
    font-weight: 800;
}

.radio-group legend {
    width: 100%;
    margin-bottom: 2px;
}

.radio-group label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.93rem;
}

.radio-group input {
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}

.form-message {
    min-height: 20px;
    margin: 0;
    font-size: 0.88rem;
    font-weight: 700;
}

.form-message.is-success {
    color: #168a49;
}

.form-message.is-error {
    color: #ca1d28;
}

.slider-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.slider-dots button {
    width: 13px;
    height: 13px;
    padding: 0;
    border: 2px solid rgba(255, 255, 255, 0.86);
    border-radius: 50%;
    background: transparent;
    transition: transform var(--transition), background var(--transition);
}

.slider-dots button[aria-current="true"] {
    background: #fff;
    transform: scale(1.15);
}

.hero-dots {
    position: absolute;
    z-index: 5;
    left: 0;
    right: 0;
    bottom: 22px;
}

.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(4px);
    padding: 0;
}

.hero-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.hero-nav:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
    background: rgba(255, 255, 255, 0.3);
}

.hero-nav-prev {
    left: clamp(10px, 2vw, 30px);
}

.hero-nav-next {
    right: clamp(10px, 2vw, 30px);
}

.hero-nav svg {
    width: 32px;
    height: 32px;
    display: block;
}


/* Stats */
.stats {
    background: #eaf9ff;
    padding: clamp(38px, 5vw, 64px) 0 0;
}

.stats h2 {
    margin: 0 0 32px;
    color: var(--color-primary);
    font-size: clamp(2.1rem, 4vw, 4.2rem);
    line-height: 1.05;
    text-align: center;
    text-transform: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    overflow: hidden;
}

.stats-grid article {
    min-height: 260px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding: 28px 18px;
    color: #fff;
    text-align: center;
}

.stats-grid article:nth-child(1) {
    background: #58627d;
}

.stats-grid article:nth-child(2) {
    background: #6279a3;
}

.stats-grid article:nth-child(3) {
    background: #699abc;
}

.stats-grid article:nth-child(4) {
    background: #86c5d4;
}

.stat-icon {
    width: clamp(34px, 3.2vw, 54px);
    height: clamp(34px, 3.2vw, 54px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    line-height: 1;
}

.stat-icon svg {
    width: 100%;
    height: 100%;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 3.2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stats-grid strong {
    display: block;
    font-size: clamp(2.1rem, 3.4vw, 3.6rem);
    line-height: 1;
}

.stats-grid strong::after {
    content: "";
    display: block;
    width: 52px;
    height: 3px;
    margin: 24px auto 0;
    background: rgba(255, 255, 255, 0.7);
}

.stats-grid span:last-child {
    font-size: 1rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Steps */
.steps {
    background: #fff;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 4vw, 64px);
    margin-top: 48px;
}

.step-card {
    text-align: center;
}

.step-number {
    display: block;
    color: var(--color-primary);
    font-weight: 900;
}

.step-card h3 {
    min-height: 48px;
    margin: 4px 0 16px;
    color: var(--color-primary-dark);
    font-size: 1.05rem;
}

.step-card img {
    width: min(100%, 250px);
    aspect-ratio: 1;
    margin: 0 auto;
    object-fit: contain;
}

.centered-action {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

/* Video */
.video-section {
    background: #cfeef8;
}

.video-grid {
    display: grid;
    grid-template-columns: minmax(240px, 0.9fr) minmax(0, 2fr);
    align-items: center;
    gap: clamp(28px, 6vw, 82px);
}

.video-copy h2 {
    color: var(--color-primary);
    text-align: left;
}

.video-copy p {
    max-width: 420px;
    margin: 20px 0 32px;
    color: #3d4a52;
    font-size: clamp(1rem, 1.6vw, 1.35rem);
    font-weight: 500;
}

.video-frame {
    position: relative;
    overflow: hidden;
    border-radius: 0;
    aspect-ratio: 16 / 9;
    box-shadow: var(--shadow-md);
    background: #0b2030;
}

.video-frame iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Trial */
.trial-strip {
    padding: clamp(34px, 5vw, 58px) 0;
    background: #ffe09a;
}

.trial-grid {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 28px;
}

.trial-grid h2 {
    max-width: 720px;
    margin: 0 0 8px;
    color: #aa9160;
    font-size: clamp(1.8rem, 3vw, 3.1rem);
    font-weight: 900;
    line-height: 1.05;
    text-transform: uppercase;
}

.trial-grid p {
    max-width: 760px;
    margin: 0 0 22px;
    color: #755e33;
    font-weight: 600;
}

.trial-grid img {
    width: clamp(120px, 15vw, 190px);
    height: auto;
}

/* Feature slider */
.feature-copy h2 {

}

.feature-slider-section {
    position: relative;
    overflow: hidden;
    padding: clamp(40px, 8vw, 40px) 0;
    background: linear-gradient(180deg, #fff 0 72%, #dff6ff 72% 100%);
}

.feature-shell {
    position: relative;
    display: grid;
    grid-template-columns: 60px 1fr 60px;
    align-items: center;
    gap: 20px;
}

.feature-track {
    position: relative;
    min-height: clamp(420px, 42vw, 630px);
}

.feature-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: minmax(330px, 0.75fr) minmax(0, 2fr);
    align-items: center;
    gap: clamp(30px, 4vw, 30px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 750ms ease;
}

.feature-slide.is-active {
    opacity: 1;
    pointer-events: auto;
}

.feature-copy h2 {
    margin: 0 0 16px;
    color: var(--color-primary);
    font-size: clamp(2.4rem, 5.4vw, 5.4rem);
    font-weight: 900;
    line-height: 0.94;
    text-transform: uppercase;
    text-align: left;
    font-size: 2.6em;
}

.feature-copy p {
    max-width: 380px;
    margin: 0 0 28px;
    font-size: 1.15rem;
    color: #2f3940;
}

.feature-media {
    display: grid;
    place-items: center;
}

.feature-media img {
    width: 100%;
    max-height: 560px;
    object-fit: contain;
    filter: drop-shadow(0 28px 38px rgba(0, 51, 70, 0.18));
}

.slider-arrow {
    width: 54px;
    height: 54px;
    border: 0;
    border-radius: 50%;
    color: #fff;
    background: var(--color-primary-dark);
    font-size: 3rem;
    line-height: 0.7;
    display: grid;
    place-items: center;
    transition: transform var(--transition), background var(--transition);
}

.slider-arrow:hover,
.slider-arrow:focus-visible {
    transform: scale(1.05);
    background: #004e70;
}

.feature-dots {
    margin-top: -10px;
}

.feature-dots button {
    border-color: var(--color-primary-dark);
}

.feature-dots button[aria-current="true"] {
    background: var(--color-primary-dark);
}

/* Assistant */
.assistant-section {
    padding: clamp(30px, 7vw, 30px) 0;
    background: #dff6ff;
}

.assistant-grid {
    display: grid;
    grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
    align-items: center;
    gap: clamp(28px, 6vw, 90px);
}

.assistant-visual {
    display: grid;
    justify-items: center;
    gap: 10px;
}

.assistant-visual img {
    width: min(100%, 300px);
    height: auto;
    object-fit: contain;
}

.chat-bubble {
    display: inline-flex;
    padding: 12px 18px;
    border: 2px solid #ced9df;
    border-radius: 14px;
    background: #fff;
    color: #63727b;
    font-size: 0.9rem;
    box-shadow: var(--shadow-sm);
}

.assistant-name {
    margin: 0 0 8px;
    color: var(--color-primary);
    font-size: clamp(1.4rem, 2.6vw, 2.8rem);
    font-weight: 900;
}

.assistant-section h2 {
    margin: 0 0 14px;
    color: var(--color-primary);
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.02;
    text-align: left;
    text-transform: none;
}

.assistant-section p:not(.assistant-name) {
    max-width: 540px;
    color: #3f4b53;
}

.check-list {
    margin: 20px 0 26px;
    padding: 0;
    list-style: none;
    color: var(--color-primary-dark);
    font-weight: 700;
}

.check-list li::before {
    content: "✓";
    margin-right: 10px;
    color: var(--color-accent);
}

/* Integrations */
.integrations {
    padding-top: clamp(48px, 6vw, 82px);
    background: #dff6ff;
    overflow: hidden;
}

.integrations h2 {
    max-width: 960px;
    margin-inline: auto;
    color: var(--color-primary-dark);
    text-align: left;
    text-transform: none;
}

.logo-marquee {
    position: relative;
    width: 100vw;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 36px;
    overflow: hidden;
    background: #fff;
}

.logo-track {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(24px, 4vw, 56px);
    padding: 28px clamp(24px, 5vw, 70px);
}

.logo-track img {
    flex: 0 0 auto;
    width: clamp(100px, 12vw, 180px);
    aspect-ratio: 1;
    height: auto;
    border-radius: clamp(20px, 2vw, 40px);
    object-fit: contain;
    box-shadow: var(--shadow-sm);
}

.integrations-note {
    max-width: 860px;
    margin: 38px auto 0;
    color: var(--color-primary-dark);
    font-size: clamp(1.3rem, 2.4vw, 2.45rem);
    font-weight: 500;
    line-height: 1.18;
    text-align: center;
}

/* Plans */
.plans {
    background: linear-gradient(180deg, #16aee3, #0798cc);
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(20px, 3vw, 32px);
    margin-top: 44px;
}

.plan-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: clamp(24px, 3vw, 36px);
    border-radius: 16px;
    background: #fff;
    text-align: center;
    box-shadow: var(--shadow-md);
}

.plan-card.highlighted {
    transform: translateY(-16px);
}

.plan-card img {
    width: min(100%, 170px);
    height: 150px;
    object-fit: contain;
}

.plan-card h3 {
    margin: 0;
    color: var(--color-primary-dark);
    text-transform: uppercase;
}

.price {
    margin: 0;
    color: var(--color-accent);
    font-size: 1.7rem;
    font-weight: 900;
}

.plan-card ul {
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
    color: var(--color-muted);
    font-weight: 600;
}

.plan-card li + li {
    margin-top: 5px;
}

/* Testimonials */
.testimonials {
    background: linear-gradient(rgba(0, 108, 148, 0.92), rgba(0, 108, 148, 0.92)),
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.16), transparent 30%);
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(24px, 4vw, 62px);
    margin-top: 44px;
}

.testimonial-card {
    color: #fff;
    text-align: center;
}

.testimonial-card img {
    width: clamp(112px, 12vw, 154px);
    aspect-ratio: 1;
    height: auto;
    margin: 0 auto 18px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.75), var(--shadow-md);
}

.testimonial-card p {
    min-height: 72px;
    margin: 0 auto 16px;
    max-width: 300px;
}

.testimonial-card a {
    display: inline-flex;
    padding: 10px 18px;
    border-radius: 7px;
    background: var(--color-primary);
    font-size: 0.83rem;
    font-weight: 900;
    text-transform: uppercase;
}

/* FAQ */
.faq {
    background: #fff;
}

.faq h2 {
    margin: 0 0 32px;
    color: var(--color-primary-dark);
    font-size: clamp(2.2rem, 5vw, 5.3rem);
    text-align: left;
    text-transform: none;
}

.faq h2 span {
    white-space: nowrap;
}

.accordion {
    display: grid;
    gap: 8px;
}

.accordion-item {
    overflow: hidden;
    border-radius: 12px;
    background: #eaf7fd;
}

.accordion-item h3 {
    margin: 0;
}

.accordion-trigger {
    width: 100%;
    min-height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 20px 28px;
    border: 0;
    color: var(--color-primary-dark);
    background: transparent;
    font-size: clamp(1rem, 2vw, 2rem);
    font-weight: 900;
    line-height: 1.15;
    text-align: left;
}

.accordion-icon {
    flex: 0 0 auto;
    position: relative;
    width: 20px;
    height: 20px;
}

.accordion-icon::before,
.accordion-icon::after {
    content: "";
    position: absolute;
    inset: 50% auto auto 0;
    width: 100%;
    height: 3px;
    border-radius: 99px;
    background: #202020;
    transform: translateY(-50%);
}

.accordion-icon::after {
    transform: translateY(-50%) rotate(90deg);
}

.accordion-item.is-open .accordion-icon::after {
    opacity: 0;
}

.accordion-panel {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows var(--transition);
}

.accordion-item.is-open .accordion-panel {
    grid-template-rows: 1fr;
}

.accordion-panel p {
    min-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0 28px 28px;
    color: #4a565e;
    font-size: clamp(1rem, 1.5vw, 1.28rem);
    font-weight: 500;
}

/* Social + footer */
.social-section {
    padding: clamp(46px, 6vw, 86px) 0 0;
    background: #fff;
}

.social-grid {
    display: grid;
    grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
    align-items: end;
    gap: clamp(24px, 5vw, 72px);
}

.social-grid h2 {
    margin: 0 0 20px;
    color: var(--color-primary);
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 900;
    line-height: 1.05;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #fff;
    background: #333;
    font-weight: 800;
}

.social-grid img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.site-footer {
    padding: 40px 0;
    color: #d9f5ff;
    background: var(--color-primary-deep);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.7fr 1fr 1fr;
    gap: 28px;
}

.site-footer img {
    width: 190px;
    height: auto;
}

.site-footer h2 {
    margin: 0 0 10px;
    color: #fff;
    font-size: 1rem;
    text-transform: uppercase;
}

.site-footer p {
    margin: 10px 0 0;
    font-size: 0.9rem;
}

.site-footer nav {
    display: grid;
    gap: 5px;
    align-content: start;
}

.site-footer a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-cta {
    display: inline-block;
    margin-top: 10px;
    font-weight: 800;
}

/* Animation helpers */
[data-animate] {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 560ms ease, transform 560ms ease;
}

[data-animate].is-visible {
    opacity: 1;
    transform: translateY(0);
}

.img-fallback {
    display: grid;
    place-items: center;
    min-height: 120px;
    width: 100%;
    padding: 16px;
    border: 2px dashed #93cde2;
    border-radius: 16px;
    color: #0b6689;
    background: #f0fbff;
    font-size: 0.9rem;
    text-align: center;
}

/* Responsividade */
@media (max-width: 1180px) {
    .hero-grid {
        grid-template-columns: minmax(0, 0.95fr) minmax(230px, 0.62fr) minmax(320px, 0.82fr);
    }

    .hero-person img {
        width: min(100%, 360px);
    }

    .hero-copy h1,
    .hero-copy h2 {
        font-size: clamp(2.6rem, 5vw, 4.8rem);
    }
}

@media (max-width: 1024px) {
    :root {
        --header-height: 78px;
        --header-height-compact: 58px;
    }

    .primary-nav {
        gap: 18px;
        font-size: 0.92rem;
    }

    .stats-grid article {
        min-height: 220px;
    }

    .feature-shell {
        grid-template-columns: 44px 1fr 44px;
    }

    .slider-arrow {
        width: 44px;
        height: 44px;
        font-size: 2.4rem;
    }
}

@media (max-width: 960px) {
    .menu-toggle {
        display: block;
    }

    .primary-nav {
        position: fixed;
        inset: 0;
        z-index: 2050;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: clamp(18px, 4vh, 30px);
        padding: 92px 24px 48px;
        color: #fff;
        background: rgba(3, 19, 31, 0.92);
        backdrop-filter: blur(12px);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: scale(1.015);
        transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
    }

    .primary-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: scale(1);
    }

    .primary-nav a {
        font-size: clamp(1.55rem, 6vw, 3rem);
        line-height: 1.1;
        text-align: center;
    }

    .primary-nav .nav-cta {
        margin-top: 12px;
        min-width: min(86vw, 360px);
        min-height: 58px;
        border-radius: 14px;
        background: var(--color-accent);
    }

    .hero-slider {
        min-height: auto;
        overflow: visible;
    }

    .hero-track {
        min-height: 760px;
        overflow: hidden;
    }

    .hero-grid {
        min-height: 760px;
        grid-template-columns: 1fr;
        align-items: end;
        padding-top: calc(var(--header-height) + 26px);
        text-align: center;
    }

    .hero-copy {
        align-self: start;
        padding-bottom: 0;
    }

    .hero-copy h1,
    .hero-copy h2,
    .hero-copy p:not(.hero-kicker) {
        margin-inline: auto;
    }

    .hero-devices {
        margin-inline: auto;
        width: min(78vw, 430px);
    }

    .hero-person {
        min-height: 0;
        position: absolute;
        left: 50%;
        bottom: 22px;
        width: min(72vw, 330px);
        transform: translateX(-50%);
    }

    .hero-person img {
        width: 100%;
        max-height: 370px;
    }

    .hero-form-space {
        display: none;
    }

    .hero-form {
        position: relative;
        inset: auto;
        width: min(100% - 32px, 560px);
        margin: 22px auto 42px;
    }

    .hero-dots {
        bottom: auto;
        top: 724px;
    }

    .radio-group {
        justify-content: center;
    }

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

    .steps-grid {
        grid-template-columns: 1fr;
        max-width: 520px;
        margin-inline: auto;
    }

    .video-grid,
    .assistant-grid,
    .social-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .video-copy h2,
    .assistant-section h2,
    .integrations h2,
    .faq h2 {
        text-align: center;
    }

    .video-copy p,
    .assistant-section p:not(.assistant-name) {
        margin-inline: auto;
    }

    .trial-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .trial-grid img {
        order: -1;
        margin-inline: auto;
    }

    .feature-shell {
        grid-template-columns: 1fr;
    }

    .slider-arrow {
        position: absolute;
        z-index: 4;
        top: 50%;
        transform: translateY(-50%);
    }

    .slider-arrow-prev {
        left: 0;
    }

    .slider-arrow-next {
        right: 0;
    }

    .slider-arrow:hover,
    .slider-arrow:focus-visible {
        transform: translateY(-50%) scale(1.05);
    }

    .feature-track {
        min-height: 760px;
    }

    .feature-slide {
        grid-template-columns: 1fr;
        text-align: center;
        align-content: center;
        gap: 24px;
        padding-inline: 44px;
    }

    .feature-copy h2 {
        text-align: center;
    }

    .feature-copy p {
        margin-inline: auto;
    }

    .feature-media img {
        max-height: 360px;
    }

    .plans-grid,
    .testimonial-grid {
        grid-template-columns: 1fr;
        max-width: 540px;
        margin-inline: auto;
    }

    .plan-card.highlighted {
        transform: none;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .container {
        width: min(100% - 24px, var(--container));
    }

    .section {
        padding: 48px 0;
    }

    .brand {
        width: 140px;
    }

    .site-header.is-compact .brand {
        width: 118px;
    }

    .hero-track,
    .hero-grid {
        min-height: 705px;
    }

    .hero-copy h1,
    .hero-copy h2 {
        font-size: clamp(2.1rem, 11vw, 3.4rem);
    }

    .hero-copy p:not(.hero-kicker) {
        font-size: 0.98rem;
    }

    .hero-devices {
        width: min(92vw, 360px);
    }

    .hero-person {
        width: min(76vw, 285px);
    }

    .hero-person img {
        max-height: 330px;
    }

    .hero-dots {
        top: 668px;
    }

    .lead-form {
        padding: 20px;
        border-radius: 16px;
    }

    .radio-group {
        justify-content: flex-start;
    }

    .radio-group label {
        width: 100%;
    }

    .stats {
        padding-top: 34px;
    }

    .stats h2 {
        margin-bottom: 22px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid article {
        min-height: 190px;
    }

    .video-grid {
        gap: 24px;
    }

    .trial-grid h2 {
        font-size: 1.65rem;
    }

    .feature-slider-section {
        padding-block: 48px;
    }

    .feature-track {
        min-height: 650px;
    }

    .feature-slide {
        padding-inline: 36px;
    }

    .feature-copy h2 {
        font-size: clamp(2.1rem, 10vw, 3.2rem);
    }

    .feature-media img {
        max-height: 280px;
    }

    .slider-arrow {
        width: 38px;
        height: 38px;
        font-size: 2.1rem;
    }

    .integrations h2 {
        font-size: clamp(2rem, 10vw, 3.1rem);
    }

    .logo-track {
        gap: 22px;
        padding-block: 20px;
        animation-duration: 24s;
    }

    .logo-track img {
        width: 98px;
    }

    .integrations-note {
        font-size: 1.2rem;
    }

    .plan-card {
        padding: 22px;
    }

    .faq h2 {
        font-size: clamp(2rem, 11vw, 3.2rem);
    }

    .accordion-trigger {
        min-height: 62px;
        padding: 16px;
    }

    .accordion-panel p {
        padding: 0 16px 18px;
    }

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

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .site-footer img {
        margin-inline: auto;
    }
}

@media (max-width: 380px) {
    .hero-track,
    .hero-grid {
        min-height: 665px;
    }

    .hero-dots {
        top: 628px;
    }

    .hero-person {
        width: min(78vw, 260px);
    }

    .hero-devices {
        width: min(94vw, 320px);
    }

    .feature-track {
        min-height: 690px;
    }

    .btn,
    .nav-cta {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }

    .logo-track {
        animation: none;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }
}


/* ==========================================================
   AJUSTE FINAL DO HERO - slides iguais, chefs em fade no mesmo ponto
   ========================================================== */

/* Header: mantém identidade e evita vazamento da logo no sticky */
.brand,
.site-header.is-compact .brand {
    height: calc(100% - 12px);
    max-height: none;
}

.brand img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
}

.nav-login {
    border: 2px solid rgba(255, 255, 255, 0.92);
    border-radius: 10px;
    padding: 10px 18px !important;
}

.nav-login::after {
    display: none !important;
}

.nav-cta {
    min-width: max-content;
    padding: 14px 26px;
    white-space: nowrap;
}

/* O hero passa a ter uma composição única; cada slide ocupa o mesmo grid. */
.hero,
.hero-slider,
.hero-track {
    position: relative;
    overflow: hidden;
}

.hero-slider,
.hero-track,
.hero-grid {
    min-height: clamp(700px, 56vw, 830px);
}

.hero-track {
    isolation: isolate;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: opacity 1.1s ease, transform 1.1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.1s ease;
    will-change: opacity, transform;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.hero-slide.is-leaving {
    opacity: 0;
    transform: translateX(-100%);
}

/* Smooth content transitions */
.hero-slide .hero-copy {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1.2s ease 0.1s, transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s;
}

.hero-slide.is-active .hero-copy {
    opacity: 1;
    transform: translateX(0);
}

.hero-slide .hero-person {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 1.2s ease 0.3s, transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s;
}

.hero-slide.is-active .hero-person {
    opacity: 1;
    transform: translateX(0);
}

.hero-grid {
    position: relative;
    z-index: 2;
    padding-top: var(--header-height);
    display: grid;
    /* grid-template-columns: minmax(0, 1.08fr) minmax(200px, 0.72fr) minmax(400px, 1.84fr); */
    gap: clamp(16px, 2.3vw, 42px);
    align-items: stretch;
}

/* Texto e formulário no mesmo eixo vertical. */
.hero-copy {
    position: relative;
    z-index: 5;
    align-self: center;
    color: #fff;
    padding-bottom: clamp(82px, 8vw, 132px);
}

.hero-copy h1,
.hero-copy h2 {
    max-width: 650px;
    /* margin: 0 0 18px; */
    font-size: clamp(1.35rem, 3.5vw, 3.0rem);
    font-weight: 500;
    /* line-height: 1.08; */
    letter-spacing: -0.045em;
}

.hero-copy p:not(.hero-kicker) {
    max-width: 620px;
    margin: 0;
}

/* O computador fica estático: abaixo dos textos e atrás dos personagens. */
.hero-devices,
.hero-devices-static {
    position: absolute;
    z-index: 2;
    left: max(24px, calc((100vw - var(--container)) / 2));
    bottom: 0;
    /* width: min(535px, 36vw); */
    height: auto;
    max-width: none;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 22px 30px rgba(0, 54, 74, 0.28));
}

/* Moldura única dos personagens. Todos ocupam o mesmo eixo, com base no bottom. */
.hero-person {
    position: relative;
    z-index: 3;
    /* left: min(58vw, calc(50% + 92px)); */
    bottom: 0;
    width: clamp(280px, 28vw, 350px);
    height: clamp(535px, 48vw, 560px);
    min-height: 0;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    transform: translateX(-50%);
    pointer-events: none;
}

.hero-person img {
    display: block;
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 26px 34px rgba(0, 55, 78, 0.16));
}

/* Evita que animações genéricas mudem a posição dos chefs. */
.hero .hero-copy,
.hero .hero-person {
    transform: none;
}

.hero-form {
    position: absolute;
    z-index: 6;
    top: 50%;
    right: max(24px, calc((100vw - var(--container)) / 2));
    width: min(430px, calc(100vw - 48px));
    transform: translateY(-50%);
}

.hero-dots {
    z-index: 7;
    bottom: clamp(18px, 2vw, 26px);
}

/* Stats em largura total no desktop. */
.stats .container {
    width: 100%;
    max-width: none;
    margin: 0;
}

.stats h2 {
    width: min(100% - 32px, var(--container));
    margin-inline: auto;
}

.stats-grid {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 25%));
}

.stats-grid article {
    min-width: 0;
}

/* FAQ: perguntas fechadas não deixam a resposta aparecer cortada. */
.accordion-panel {
    display: block;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 260ms ease, opacity 220ms ease;
}

.accordion-item.is-open .accordion-panel {
    max-height: 360px;
    opacity: 1;
}

.accordion-panel p {
    overflow: visible;
}

/* Bloco social alinhado ao grupo de chefs. */
.social-grid {
    align-items: center;
}

.social-grid > div {
    align-self: center;
}

.social-grid img {
    align-self: end;
}

/* Menu mobile full screen real. */
@media (max-width: 1180px) {
    .primary-nav {
        gap: clamp(12px, 1.6vw, 24px);
        font-size: clamp(0.86rem, 1vw, 1rem);
    }

    .nav-cta {
        padding-inline: 20px;
    }

    .hero-grid {
        grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr) minmax(330px, 0.82fr);
    }

    .hero-person {
        left: min(56vw, calc(50% + 70px));
        width: clamp(255px, 26vw, 370px);
        height: clamp(500px, 46vw, 640px);
    }

    .hero-devices-static,
    .hero-devices {
        width: min(470px, 35vw);
    }

    .hero-copy h1,
    .hero-copy h2 {
        font-size: clamp(2.35rem, 4.15vw, 4.45rem);
    }
}

@media (max-width: 960px) {
    .site-header.menu-is-open {
        background: transparent;
        box-shadow: none;
        backdrop-filter: none;
    }

    .primary-nav {
        position: fixed !important;
        inset: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        min-height: 100vh !important;
        min-height: 100dvh !important;
        z-index: 2050;
        overflow-y: auto;
        overscroll-behavior: contain;
        padding: max(86px, env(safe-area-inset-top)) 24px max(44px, env(safe-area-inset-bottom));
        background: radial-gradient(circle at 50% 12%, rgba(35, 175, 227, 0.22), transparent 30%),
        linear-gradient(180deg, rgba(3, 18, 30, 0.97), rgba(4, 33, 47, 0.94));
    }

    .primary-nav a {
        width: auto;
        max-width: min(88vw, 430px);
    }

    .primary-nav .nav-login {
        border-color: #fff;
        padding: 13px 28px !important;
        border-radius: 14px;
    }

    .primary-nav .nav-cta {
        width: min(88vw, 430px);
        padding: 18px 28px;
        line-height: 1.1;
    }

    .menu-toggle {
        position: relative;
        z-index: 2200;
    }

    .hero-slider {
        overflow: visible;
    }

    .hero-track,
    .hero-grid {
        min-height: clamp(660px, 92vh, 780px);
    }

    .hero-grid {
        grid-template-columns: 1fr;
        padding-top: calc(var(--header-height-compact) + 28px);
        text-align: center;
    }

    .hero-copy {
        align-self: start;
        padding-bottom: 0;
        text-align: center;
    }

    .hero-copy h1,
    .hero-copy h2 {
        max-width: 720px;
        margin-inline: auto;
        font-size: clamp(2.2rem, 8.5vw, 4.05rem);
        line-height: 1.08;
    }

    .hero-copy p:not(.hero-kicker) {
        max-width: 620px;
        margin-inline: auto;
    }

    .hero-devices-static,
    .hero-devices {
        left: 50%;
        bottom: 0;
        width: min(78vw, 430px);
        transform: translateX(-50%);
        opacity: 0.96;
    }

    .hero-person {
        left: 50%;
        bottom: 0;
        width: min(54vw, 310px);
        height: clamp(300px, 48vh, 390px);
    }

    .hero-form {
        position: relative;
        inset: auto;
        transform: none;
        width: min(100% - 32px, 560px);
        margin: 24px auto 42px;
    }

    .hero-dots {
        top: auto;
        bottom: 18px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, minmax(0, 50%));
    }
}

@media (max-width: 720px) {
    .hero-track,
    .hero-grid {
        min-height: 690px;
    }

    .hero-copy h1,
    .hero-copy h2 {
        font-size: clamp(2rem, 10vw, 3.35rem);
    }

    .hero-devices-static,
    .hero-devices {
        width: min(88vw, 380px);
    }

    .hero-person {
        width: min(64vw, 290px);
        height: clamp(290px, 48vh, 360px);
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 440px) {
    .brand,
    .site-header.is-compact .brand {
        width: 122px;
        height: 40px;
    }

    .hero-track,
    .hero-grid {
        min-height: 655px;
    }

    .hero-copy h1,
    .hero-copy h2 {
        font-size: clamp(1.85rem, 10.8vw, 3.05rem);
    }

    .hero-copy p:not(.hero-kicker) {
        font-size: 0.94rem;
    }

    .hero-devices-static,
    .hero-devices {
        width: min(94vw, 330px);
    }

    .hero-person {
        width: min(70vw, 260px);
        height: clamp(260px, 45vh, 330px);
    }

    .lead-form .btn-block {
        padding-inline: 12px;
        font-size: 0.92rem;
    }

    .primary-nav a {
        font-size: clamp(1.35rem, 8vw, 2.4rem);
    }
}

/* ==========================================================
   CORREÇÃO EXCLUSIVA DO HERO-SLIDER / RESPONSIVIDADE
   Mantém as demais seções intactas.
   ========================================================== */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--color-primary);
}

.hero-slider {
    position: relative;
    overflow: hidden;
    min-height: clamp(690px, 56vw, 830px);
}

.hero-track {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    min-height: clamp(690px, 56vw, 830px);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateX(100%);
    transition: opacity 1.1s ease, transform 1.1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.1s ease;
    will-change: opacity, transform;
}

.hero-slide.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(0);
}

.hero-slide.is-leaving {
    opacity: 0;
    transform: translateX(-100%);
}

/* Smooth content transitions */
.hero-slide .hero-copy {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 1.2s ease 0.1s, transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s;
}

.hero-slide.is-active .hero-copy {
    opacity: 1;
    transform: translateX(0);
}

.hero-slide .hero-person {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 1.2s ease 0.3s, transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) 0.3s;
}

.hero-slide.is-active .hero-person {
    opacity: 1;
    transform: translateX(0);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-grid {
    position: relative;
    z-index: 2;
    min-height: clamp(690px, 56vw, 830px);
    padding-top: var(--header-height);
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(260px, 0.7fr) minmax(360px, 0.84fr);
    align-items: stretch;
    gap: clamp(16px, 2.3vw, 42px);
}

.hero-copy {
    position: relative;
    z-index: 5;
    align-self: center;
    color: #fff;
    padding-bottom: clamp(70px, 7vw, 126px);
}

.hero-copy h1,
.hero-copy h2 {
    max-width: 650px;
    margin: 0 0 18px;
    font-size: clamp(1.35rem, 3.5vw, 3rem) !important;
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero-copy p:not(.hero-kicker) {
    max-width: 620px;
    margin: 0;
    color: rgba(255, 255, 255, 0.94);
}

.hero-form-space {
    min-height: 1px;
}

.hero-person {
    position: relative;
    z-index: 4;
    align-self: end;
    justify-self: center;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    width: clamp(270px, 27vw, 390px);
    height: clamp(510px, 48vw, 660px);
    min-height: 0;
    pointer-events: none;
}

.hero-person img {
    display: block;
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center bottom;
    filter: drop-shadow(0 26px 34px rgba(0, 55, 78, 0.16));
}

.hero-devices,
.hero-devices-static {
    position: absolute;
    z-index: 3;
    left: max(24px, calc((100vw - var(--container)) / 2));
    bottom: 0;
    width: min(520px, 35vw);
    height: auto;
    max-width: none;
    pointer-events: none;
    user-select: none;
    filter: drop-shadow(0 22px 30px rgba(0, 54, 74, 0.28));
}

.hero-form {
    position: absolute;
    z-index: 8;
    top: 50%;
    right: max(24px, calc((100vw - var(--container)) / 2));
    width: min(430px, calc(100vw - 48px));
    transform: translateY(-50%);
}

.lead-form.hero-form {
    display: grid;
    gap: 13px;
    padding: clamp(18px, 2vw, 30px);
}

.lead-form.hero-form h3 {
    margin: 0;
    color: var(--color-text);
    font-size: clamp(1.2rem, 2vw, 1.7rem) !important;
    line-height: 1.16;
    font-weight: 900;
    text-align: center;
}

.hero-dots {
    position: absolute;
    z-index: 9;
    left: 0;
    right: 0;
    bottom: clamp(18px, 2vw, 26px);
    top: auto;
}

@media (max-width: 1180px) {
    .hero-grid {
        grid-template-columns: minmax(0, 0.95fr) minmax(230px, 0.62fr) minmax(330px, 0.82fr);
    }

    .hero-person {
        width: clamp(250px, 26vw, 360px);
        height: clamp(480px, 46vw, 620px);
    }

    .hero-devices,
    .hero-devices-static {
        width: min(470px, 35vw);
    }
}

@media (max-width: 960px) {
    .hero-slider {
        overflow: hidden;
        min-height: auto;
        padding-bottom: clamp(28px, 6vw, 44px);
    }

    .hero-track {
        min-height: clamp(590px, 84vh, 720px);
        overflow: hidden;
    }

    .hero-grid {
        min-height: clamp(590px, 84vh, 720px);
        grid-template-columns: 1fr;
        padding-top: calc(var(--header-height-compact) + 28px);
        text-align: center;
        align-items: start;
    }

    .hero-copy {
        align-self: start;
        justify-self: center;
        width: min(100%, 720px);
        padding-bottom: 0;
        text-align: center;
    }

    .hero-copy h1,
    .hero-copy h2 {
        max-width: 720px;
        margin-inline: auto;
        font-size: clamp(1.75rem, 7.4vw, 3.05rem) !important;
        line-height: 1.08;
    }

    .hero-copy p:not(.hero-kicker) {
        max-width: 620px;
        margin-inline: auto;
    }

    .hero-person {
        position: absolute;
        left: 50%;
        right: auto;
        bottom: 0;
        width: min(54vw, 310px);
        height: clamp(300px, 45vh, 385px);
        transform: translateX(-50%) !important;
    }

    .hero-devices,
    .hero-devices-static {
        left: 50%;
        bottom: 0;
        width: min(78vw, 430px);
        transform: translateX(-50%);
        opacity: 0.96;
    }

    .hero-form {
        position: relative;
        inset: auto;
        transform: none;
        width: min(100% - 32px, 560px);
        margin: 22px auto 0;
    }

    .hero-dots {
        bottom: 18px;
    }

    .hero-nav {
        top: 62%;
        width: 46px;
        height: 46px;
        background: rgba(255, 255, 255, 0.2);
    }

    .hero-nav-prev {
        left: 8px;
    }

    .hero-nav-next {
        right: 8px;
    }

    .hero-nav svg {
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 720px) {
    .hero-track,
    .hero-grid {
        min-height: clamp(570px, 78vh, 680px);
    }

    .hero-copy h1,
    .hero-copy h2 {
        font-size: clamp(1.55rem, 8.7vw, 2.5rem) !important;
    }

    .hero-devices,
    .hero-devices-static {
        width: min(88vw, 380px);
    }

    .hero-person {
        width: min(64vw, 290px);
        height: clamp(285px, 44vh, 355px);
    }
}

@media (max-width: 440px) {
    .hero-track,
    .hero-grid {
        min-height: 575px;
    }

    .hero-grid {
        padding-top: calc(var(--header-height-compact) + 24px);
    }

    .hero-copy h1,
    .hero-copy h2 {
        font-size: clamp(1.42rem, 8.6vw, 2.05rem) !important;
    }

    .hero-copy p:not(.hero-kicker) {
        font-size: 0.92rem !important;
        line-height: 1.42;
    }

    .hero-kicker {
        font-size: 0.72rem !important;
    }

    .hero-devices,
    .hero-devices-static {
        width: min(94vw, 330px);
    }

    .hero-person {
        width: min(70vw, 260px);
        height: clamp(250px, 41vh, 315px);
    }

    .lead-form.hero-form {
        gap: 10px;
        padding: 18px;
    }

    .lead-form.hero-form h3 {
        font-size: clamp(1.08rem, 5.5vw, 1.42rem) !important;
    }

    .lead-form.hero-form input[type="text"],
    .lead-form.hero-form input[type="email"],
    .lead-form.hero-form input[type="tel"] {
        min-height: 46px;
    }
}

@media (max-width: 380px) {
    .hero-track,
    .hero-grid {
        min-height: 545px;
    }

    .hero-devices,
    .hero-devices-static {
        width: min(96vw, 310px);
    }

    .hero-person {
        width: min(72vw, 240px);
        height: clamp(235px, 39vh, 295px);
    }
}

/* ==========================================================
   MERGE FINAL - ajustes para o HTML unificado
   ========================================================== */

/* O formulário usa h3 no HTML unificado; mantém a mesma identidade visual do bloco. */
.lead-form h2,
.lead-form h3 {
    margin: 0;
    color: var(--color-text);
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    font-weight: 900;
    line-height: 1.16;
    text-align: center;
}

.form-subtitle {
    margin: -6px 0 8px;
    color: var(--color-accent);
    font-weight: 700;
    text-align: center;
}

/* Evita que a imagem de "preço sob consulta" herde o tamanho do ícone principal do plano. */
.plan-card > img {
    width: min(100%, 170px);
    height: 150px;
    object-fit: contain;
}

.plan-card .price {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: min(100%, 190px);
}

.plan-card .price img {
    width: min(100%, 180px);
    height: auto;
    object-fit: contain;
}

/* A versão unificada usa os logos reais sem duplicação obrigatória. */
.logo-track {
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    animation: none;
}

/* CTA ancora no formulário local em vez de enviar o usuário direto ao WhatsApp. */
html {
    scroll-padding-top: calc(var(--header-height-compact) + 24px);
}

/* Formulário de lead usando o contrato antigo do site. */
.lead-form.hero-form {
    gap: 10px;
    padding: clamp(16px, 1.7vw, 24px);
}

.lead-form.hero-form .form-subtitle {
    margin: -4px 0 4px;
    color: #566977;
    font-size: 0.92rem;
    line-height: 1.35;
}

.lead-form textarea {
    width: 100%;
    min-height: 76px;
    resize: vertical;
    border: 1px solid #bad5ed;
    border-radius: 8px;
    padding: 12px 16px;
    color: #1f2e37;
    background: #fff;
    font-weight: 700;
    outline: none;
    transition: border var(--transition), box-shadow var(--transition);
}

.lead-form textarea::placeholder {
    color: #6d9bc7;
    opacity: 1;
}

.lead-form textarea:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(35, 175, 227, 0.16);
}

.lead-form .g-recaptcha {
    min-height: 0;
}

@media (min-width: 961px) {
    .hero-slider,
    .hero-track,
    .hero-grid {
        min-height: clamp(760px, 60vw, 900px);
    }

    .hero-form {
        top: calc(50% + 24px);
    }
}

@media (max-width: 440px) {
    .lead-form textarea {
        min-height: 68px;
    }
}
