:root {
    --bg: #f5f7f8;
    --bg-alt: #eef2f4;
    --card: #ffffff;
    --card-strong: #fdfefe;
    --line: #dbe3e8;
    --text: #102432;
    --muted: #607789;
    --accent: #e74b3c;
    --accent-2: #ff8a3d;
    --accent-3: #1f5c7a;
    --shadow: 0 18px 36px rgba(16, 36, 50, 0.1);
    --radius-xl: 30px;
    --radius-lg: 22px;
    --radius-md: 16px;
    --container: 1200px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: 'DM Sans', sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top left, rgba(231, 75, 60, 0.11), transparent 24%),
        radial-gradient(circle at top right, rgba(255, 138, 61, 0.13), transparent 28%),
        linear-gradient(180deg, #f7f9fb 0%, #f1f5f7 44%, #ebf1f4 100%);
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image: linear-gradient(rgba(16, 36, 50, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16, 36, 50, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.45), transparent 78%);
}

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

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

.site-frame {
    position: relative;
    overflow-x: hidden;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(247, 250, 252, 0.9);
    border-bottom: 1px solid rgba(16, 36, 50, 0.09);
}

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

.brand {
    display: inline-flex;
    align-items: center;
    line-height: 0;
    flex: 0 0 auto;
}

.brand-logo {
    display: block;
    height: 78px !important;
    width: auto !important;
    max-height: 78px !important;
    max-width: 340px;
    object-fit: contain;
}

.site-header .brand img {
    height: 78px !important;
    width: auto !important;
    max-height: 78px !important;
    max-width: 340px;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
}

.site-nav a {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--muted);
    transition: 0.22s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--text);
    background: rgba(16, 36, 50, 0.08);
    outline: none;
}

.menu-toggle {
    display: none;
    width: 48px;
    height: 48px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(16, 36, 50, 0.04);
    padding: 0;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-direction: column;
}

.menu-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    border-radius: 999px;
    background: var(--text);
}

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

.hero {
    padding: 82px 0 28px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.9fr;
    gap: 28px;
    align-items: stretch;
}

.hero-grid > * {
    min-width: 0;
}

.home-hero-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    align-items: stretch;
}

.home-hero-copy {
    max-width: 980px;
    margin: 0 auto;
    text-align: center;
}

.home-hero-copy .lead {
    margin-left: auto;
    margin-right: auto;
}

.home-hero-copy .hero-actions {
    justify-content: center;
}

.home-hero-carousel {
    width: 100%;
    margin: 0 auto;
    min-width: 0;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    border: 1px solid rgba(231, 75, 60, 0.22);
    border-radius: 999px;
    background: rgba(231, 75, 60, 0.08);
    color: #b6382b;
    font-size: 0.9rem;
    margin-bottom: 18px;
}

.eyebrow::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--accent);
    box-shadow: 0 0 0 6px rgba(231, 75, 60, 0.14);
}

.hero h1,
.page-hero h1 {
    margin: 0;
    font-family: 'DM Serif Display', serif;
    font-size: clamp(2.2rem, 3.7vw, 3.4rem);
    line-height: 0.96;
    letter-spacing: -0.03em;
}

.hero h1 span,
.page-hero h1 span {
    display: block;
    color: #0d2f45;
}

.lead {
    max-width: 62ch;
    margin: 20px 0 0;
    color: var(--muted);
    font-size: 1.08rem;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 18px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-weight: 700;
    transition: 0.22s ease;
}

.button.primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff;
    box-shadow: 0 16px 30px rgba(231, 75, 60, 0.24);
}

.button.secondary {
    border-color: var(--line);
    background: rgba(255, 255, 255, 0.72);
}

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

.hero-panel,
.feature-card,
.service-card,
.metric,
.content-card,
.page-hero {
    background: linear-gradient(180deg, #ffffff, #f8fbfd);
    border: 1px solid #d6e0e6;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow);
}

.hero-panel {
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.hero-carousel {
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    overflow: visible;
}

.hero-carousel::before {
    display: none;
}

.carousel-shell {
    position: relative;
    padding: 0 56px;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.carousel-viewport {
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -ms-overflow-style: none;
    scrollbar-width: none;
    width: 100%;
}

.carousel-viewport::-webkit-scrollbar {
    display: none;
}

.carousel-track {
    display: flex;
    gap: 18px;
    width: max-content;
    align-items: stretch;
}

.carousel-slide {
    position: relative;
    isolation: isolate;
    flex: 0 0 clamp(300px, 43%, 420px);
    margin: 0;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d9e2e8;
    box-shadow: 0 10px 24px rgba(16, 36, 50, 0.08);
    scroll-snap-align: start;
}

.carousel-slide-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.carousel-media {
    position: relative;
    z-index: 0;
    overflow: hidden;
    background: linear-gradient(135deg, #eef3f7, #dfe8ef);
    aspect-ratio: 16 / 10;
}

/*
 * Controles visuais por slide (definidos inline em .carousel-slide no index.php):
 * --slide-object-fit: cover | contain
 * --slide-object-position: x y
 * --slide-image-scale: numero decimal para zoom
 */
.carousel-media img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: var(--slide-object-fit, cover);
    object-position: var(--slide-object-position, center center);
    transform: scale(var(--slide-image-scale, 1));
    transform-origin: center;
    display: block;
}

.carousel-media img.is-missing {
    opacity: 0;
}

.carousel-media::before {
    content: 'Imagem em atualizacao';
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #6d8191;
    font-size: 0.9rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.carousel-media img[src] {
    position: relative;
    z-index: 1;
}

.carousel-badge {
    position: absolute;
    left: 14px;
    bottom: 14px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 11px;
    border-radius: 10px;
    background: #0f3557;
    color: #fff;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.carousel-slide figcaption {
    position: relative;
    z-index: 2;
    padding: 16px 18px 18px;
    text-align: center;
    display: grid;
    gap: 6px;
    background: #fff;
}

.carousel-kicker {
    font-size: 0.75rem;
    letter-spacing: 0.32em;
    color: #8ca1b0;
}

.carousel-slide strong {
    font-size: 1.18rem;
    letter-spacing: -0.01em;
    color: #0f3557;
}

.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid #d6e0e8;
    background: #f8fbfd;
    color: #23435a;
    font-size: 2rem;
    line-height: 1;
    display: grid;
    place-items: center;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(16, 36, 50, 0.12);
    z-index: 2;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.carousel-arrow[data-carousel-prev] {
    left: 0;
}

.carousel-arrow[data-carousel-next] {
    right: 0;
}

.carousel-arrow:hover,
.carousel-arrow:focus-visible {
    background: #fff;
    transform: translateY(-50%) scale(1.03);
    outline: none;
}

.carousel-arrow:disabled {
    opacity: 0.45;
    cursor: default;
    transform: translateY(-50%);
}

.carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 14px;
}

.carousel-dot {
    width: 11px;
    height: 11px;
    border-radius: 999px;
    border: 0;
    background: #c3ced6;
    padding: 0;
    cursor: pointer;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.carousel-dot:hover,
.carousel-dot:focus-visible {
    transform: scale(1.14);
    background: #4d6f8a;
    outline: none;
}

.carousel-dot.is-active {
    background: #1f5c7a;
}

.values-callout {
    margin-top: 20px;
    padding: 28px;
    border: 1px solid rgba(231, 75, 60, 0.24);
    background: linear-gradient(120deg, rgba(231, 75, 60, 0.08), rgba(255, 138, 61, 0.11));
}

.values-callout h2 {
    margin: 0;
}

.values-callout p {
    margin: 12px 0 0;
}

.hero-panel::before {
    content: '';
    position: absolute;
    inset: auto -8% -14% auto;
    width: 240px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 138, 61, 0.25), transparent 70%);
    filter: blur(4px);
}

.panel-top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.panel-label {
    font-size: 0.88rem;
    color: var(--muted);
}

.panel-value {
    display: block;
    margin-top: 6px;
    font-size: 1.55rem;
    font-weight: 800;
}

.glass-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 22px;
}

.glass-tile {
    min-height: 148px;
    padding: 18px;
    border-radius: 22px;
    background: rgba(16, 36, 50, 0.03);
    border: 1px solid rgba(16, 36, 50, 0.11);
}

.glass-tile h3,
.section-title,
.content-card h2,
.service-card h3,
.feature-card h3 {
    margin: 0;
}

.feature-card p,
.service-card p,
.content-card p,
.page-hero p {
    color: var(--muted);
    line-height: 1.7;
}

.section {
    padding: 18px 0;
}

.section + .section {
    padding-top: 0;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 22px;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    letter-spacing: -0.03em;
}

.section-heading p {
    max-width: 60ch;
    color: var(--muted);
    line-height: 1.7;
    margin: 0;
}

.service-grid,
.feature-grid,
.page-grid {
    display: grid;
    gap: 18px;
}

.trust-grid,
.catalog-grid {
    display: grid;
    gap: 18px;
}

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

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

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

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

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

.service-card,
.feature-card,
.content-card,
.metric {
    padding: 24px;
}

.trust-card,
.catalog-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.trust-card h3,
.catalog-card h3 {
    margin: 0 0 10px;
    letter-spacing: -0.02em;
}

.trust-card p,
.catalog-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.7;
}

.tour-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
    gap: 18px;
}

.tour-embed-card,
.tour-sales-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.tour-embed-card h2,
.tour-sales-card h2 {
    margin: 0;
}

.tour-embed-card p,
.tour-sales-card p {
    color: var(--muted);
    line-height: 1.7;
}

.tour-embed-wrap {
    margin-top: 16px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(16, 36, 50, 0.12);
    background: #0d1720;
}

.tour-embed-wrap iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    display: block;
}

.tour-points {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.tour-points li {
    position: relative;
    padding-left: 22px;
    color: var(--muted);
    line-height: 1.6;
}

.tour-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.tour-cta-box {
    margin-top: 18px;
    padding: 18px;
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(231, 75, 60, 0.08), rgba(255, 138, 61, 0.1));
    border: 1px solid rgba(231, 75, 60, 0.18);
}

.tour-cta-box h3 {
    margin: 0;
}

.tour-cta-box p {
    margin-top: 10px;
}

.tour-process {
    padding-top: 8px;
}

.planta-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.75fr);
    gap: 18px;
}

.planta-embed-card,
.planta-sales-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.planta-embed-card h2,
.planta-sales-card h2 {
    margin: 0;
}

.planta-embed-card .planta-link-heading {
    margin-top: 24px;
}

.planta-embed-card p,
.planta-sales-card p {
    color: var(--muted);
    line-height: 1.7;
}

.planta-embed-wrap {
    margin-top: 16px;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid rgba(16, 36, 50, 0.12);
    background: #edf2f6;
}

.planta-embed-wrap iframe {
    width: 100%;
    min-height: 720px;
    border: 0;
    display: block;
}

.planta-embed-wrap.is-phone-preview {
    max-width: 420px;
    height: 760px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 34px;
    border: 1px solid rgba(16, 36, 50, 0.22);
    background: linear-gradient(180deg, #1c2c38, #101c25);
    padding: 10px;
    box-shadow: 0 24px 36px rgba(16, 36, 50, 0.24);
}

.planta-embed-wrap.is-phone-preview .planta-embed-frame {
    width: 131%;
    height: 1040px;
    min-height: 0;
    border: 0;
    border-radius: 24px;
    transform: scale(0.765);
    transform-origin: top left;
    background: #fff;
}

.planta-note {
    margin-top: 14px;
    font-size: 0.94rem;
}

.planta-process {
    padding-top: 8px;
}

.gestao-showcase {
    display: grid;
    grid-template-columns: minmax(0, 1.03fr) minmax(0, 0.97fr);
    gap: 20px;
    align-items: stretch;
}

.gestao-showcase.is-reverse {
    grid-template-columns: minmax(0, 0.97fr) minmax(0, 1.03fr);
}

.gestao-card,
.gestao-side-card {
    padding: 28px;
    border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.gestao-card h2,
.gestao-side-card h3 {
    margin: 0;
}

.gestao-media-card {
    margin: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, #f6fafd, #eef5f9);
    box-shadow: var(--shadow);
    min-height: 420px;
    display: grid;
    place-items: center;
    padding: 14px;
}

.gestao-media-card img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
}

.gestao-points-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.gestao-point {
    padding: 16px;
    border-radius: 14px;
    border: 1px solid #d5e1e8;
    background: #f7fafc;
}

.gestao-point p {
    margin: 10px 0 0;
    color: #456174;
    font-size: 0.96rem;
    line-height: 1.62;
}

.gestao-icon {
    width: 40px;
    height: 40px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    font-weight: 800;
    color: #0f2434;
    background: linear-gradient(135deg, #1f5c7a, #2f8db8);
    font-size: 1rem;
}

.gestao-point:nth-child(1) .gestao-icon,
.gestao-point:nth-child(4) .gestao-icon {
    background: linear-gradient(135deg, #ec7a30, #ff9e54);
    color: #fff;
}

.gestao-point:nth-child(2) .gestao-icon,
.gestao-point:nth-child(5) .gestao-icon {
    background: linear-gradient(135deg, #1d7c3a, #33a35a);
    color: #fff;
}

.gestao-point:nth-child(3) .gestao-icon,
.gestao-point:nth-child(6) .gestao-icon {
    background: linear-gradient(135deg, #1b9fd0, #2bb8eb);
    color: #fff;
}

.gestao-side-card p {
    color: var(--muted);
    line-height: 1.7;
}

.gestao-card > h2,
.gestao-side-card > h3 {
    letter-spacing: -0.015em;
    line-height: 1.2;
}

.gestao-second {
    padding-top: 8px;
}

.gestao-monitor-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}

.gestao-monitor-grid .trust-card {
    background: #f8fbfe;
    padding: 18px;
}

.gestao-monitor-grid .trust-card h3 {
    font-size: 1.02rem;
}

.gestao-monitor-grid .trust-card p {
    font-size: 0.95rem;
    line-height: 1.6;
}

.contact-grid {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 18px;
}

.contact-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.contact-card h2 {
    margin: 0;
}

.contact-card p {
    color: var(--muted);
    line-height: 1.7;
}

.contact-image-card {
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-image-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 18px;
    border: 1px solid rgba(16, 36, 50, 0.12);
    background: #eef3f7;
}

.contact-image-wrap img {
    display: block;
    width: auto;
    max-width: 100%;
    height: auto;
}

.contact-mini {
    margin-top: 12px;
    font-size: 0.95rem;
}

.contact-alert {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(231, 75, 60, 0.22);
    background: rgba(231, 75, 60, 0.1);
    color: #8e2b21;
    margin: 12px 0;
}

.contact-form {
    display: grid;
    gap: 10px;
    margin-top: 14px;
}

.contact-form label {
    font-weight: 700;
    color: #284153;
}

.required-mark {
    color: #b6382b;
}

.contact-required-note {
    margin: -2px 0 0;
    font-size: 0.84rem;
    color: #6a7f8e;
    line-height: 1.5;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 1px solid #c9d6de;
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    color: var(--text);
    background: #fff;
}

.contact-form input[readonly] {
    color: #476071;
    background: #f3f7fa;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: 2px solid rgba(31, 92, 122, 0.2);
    border-color: #7ea4ba;
}

.contact-form .contact-input-error {
    border-color: #b6382b;
    box-shadow: 0 0 0 2px rgba(182, 56, 43, 0.12);
}

.contact-form button {
    margin-top: 8px;
    width: fit-content;
}

.contact-alert.success {
    border-color: rgba(31, 92, 122, 0.24);
    background: rgba(31, 92, 122, 0.1);
    color: #1b4d66;
}

.partner-top-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
    gap: 18px;
}

.partner-hero-card,
.partner-side-card,
.partner-form-card,
.partner-form-side .content-card {
    padding: 24px;
    border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.partner-hero-card h2,
.partner-side-card h3,
.partner-form-card h2,
.partner-form-side h3 {
    margin-top: 0;
}

.partner-badge-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 16px 0 18px;
}

.partner-badge {
    display: inline-flex;
    align-items: center;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(31, 92, 122, 0.08);
    border: 1px solid rgba(31, 92, 122, 0.14);
    color: #1f5c7a;
    font-weight: 700;
    font-size: 0.92rem;
}

.partner-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
}

.partner-benefit {
    padding: 16px;
    border-radius: 16px;
    background: linear-gradient(180deg, #f9fbfd, #f3f7fa);
    border: 1px solid #dde6ec;
}

.partner-benefit strong {
    display: block;
    margin-bottom: 8px;
    color: #102432;
}

.partner-benefit p,
.partner-form-side .content-card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.65;
}

.partner-form-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 18px;
}

.partner-form-card .section-heading {
    margin-bottom: 16px;
}

.partner-form-card .section-heading p {
    max-width: 38ch;
}

.partner-form {
    margin-top: 18px;
}

.partner-form-side {
    display: grid;
    gap: 18px;
    align-content: start;
}

.partner-form-side .content-card {
    margin: 0;
}

.partner-list-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.partner-link-card {
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.partner-link-visual {
    min-height: 220px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    color: #fff;
    position: relative;
    isolation: isolate;
    background: linear-gradient(135deg, var(--partner-tone-start), var(--partner-tone-end));
}

.partner-link-visual::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
}

.partner-link-visual::before {
    background: linear-gradient(180deg, rgba(7, 15, 24, 0.12), rgba(7, 15, 24, 0.6));
}

.partner-link-cover {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #f2f6f8;
    z-index: 0;
}

.partner-link-visual > * {
    position: relative;
    z-index: 2;
}

.partner-link-visual.tone-1 {
    --partner-tone-start: #1f5c7a;
    --partner-tone-end: #2f8db8;
}

.partner-link-visual.tone-2 {
    --partner-tone-start: #e74b3c;
    --partner-tone-end: #ff8a3d;
}

.partner-link-visual.tone-3 {
    --partner-tone-start: #1d7c3a;
    --partner-tone-end: #33a35a;
}

.partner-link-badge {
    display: inline-flex;
    width: fit-content;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.22);
    font-size: 0.84rem;
    font-weight: 700;
}

.partner-link-visual h3 {
    margin: 0;
    font-family: 'DM Sans', sans-serif;
    font-size: 1.35rem;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.partner-link-visual p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
}

.partner-link-body {
    padding: 20px 22px 22px;
}

.partner-link-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
}

.partner-link-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(31, 92, 122, 0.08);
    color: #1f5c7a;
    font-size: 0.85rem;
    font-weight: 700;
}

.button-sm {
    min-height: 44px;
    padding: 0 14px;
    font-size: 0.95rem;
}

.partner-selected-note {
    margin: -6px 0 16px;
    color: #1f5c7a;
    font-weight: 700;
}

.admin-login-wrap,
.admin-toolbar {
    display: grid;
    gap: 18px;
}

.admin-toolbar {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    padding: 18px 22px;
    border-radius: var(--radius-lg);
    background: var(--card);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}

.admin-toolbar p {
    margin: 6px 0 0;
    color: var(--muted);
}

.price-chip {
    display: inline-flex;
    margin-top: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(31, 92, 122, 0.1);
    color: #1b4d66;
    font-weight: 700;
    font-size: 0.9rem;
}

.card-link {
    display: inline-flex;
    margin-top: 16px;
    font-weight: 700;
    color: #b6382b;
}

.card-link:hover,
.card-link:focus-visible {
    color: #8e2b21;
    outline: none;
}

.qs-values-stack {
    display: grid;
    gap: 18px;
}

.qs-section {
    padding: 0 0 18px;
}

.qs-section.qs-section-top {
    padding-top: 18px;
}

.qs-profile-grid {
    display: grid;
    grid-template-columns: minmax(200px, 0.5fr) minmax(0, 1.5fr);
    gap: 18px;
    align-items: stretch;
}

.qs-profile-photo-card {
    border-radius: var(--radius-xl);
}

.qs-profile-text-card {
    border-radius: var(--radius-xl);
}

.profile-media-card {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.profile-photo-wrap {
    margin: 0;
    width: min(100%, 220px);
    border-radius: 14px;
    overflow: hidden;
    border: 0;
    background: transparent;
}

.profile-photo {
    width: 100%;
    height: auto;
    max-height: 300px;
    object-fit: contain;
    display: block;
}

.studio-overview-grid,
.studio-showcase-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.studio-showcase-stack {
    grid-template-columns: 1fr;
}

.studio-section {
    padding: 18px 0;
}

.studio-section.studio-section-first {
    padding-top: 18px;
}

.studio-section.studio-section-last {
    padding-bottom: 18px;
}

.studio-product-intro,
.studio-media-card {
    padding: 26px;
}

.studio-points {
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: 10px;
}

.studio-points li {
    position: relative;
    padding-left: 22px;
    color: var(--muted);
    line-height: 1.65;
}

.studio-points li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 9px;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.studio-media-card h3 {
    margin: 0;
}

.studio-media-card p {
    margin-top: 10px;
}

.studio-image-compare {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.studio-image-compare figure {
    margin: 0;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(16, 36, 50, 0.12);
    background: #eef3f7;
}

.studio-image-compare img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    display: block;
}

.studio-image-compare figcaption {
    padding: 10px 12px;
    font-size: 0.9rem;
    color: #365165;
    background: #fff;
    border-top: 1px solid rgba(16, 36, 50, 0.08);
}

.studio-video-wrap {
    margin-top: 14px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(16, 36, 50, 0.12);
    background: #0f1d29;
    max-width: 640px;
}

.studio-video-wrap video {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    height: auto;
    background: #0f1d29;
}

.studio-video-wrap iframe {
    width: 100%;
    display: block;
    aspect-ratio: 16 / 9;
    border: 0;
    background: #0f1d29;
}

.values-layout {
    display: grid;
    gap: 18px;
}

.values-pricing-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

.values-card {
    padding: 26px;
    border-radius: var(--radius-xl);
    border: 1px solid #d6e0e6;
    background: linear-gradient(180deg, #ffffff, #f8fbfd);
    box-shadow: var(--shadow);
    text-align: left;
}

.values-card-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 16px;
}

.values-card-copy {
    min-width: 0;
}

.values-card-visual {
    height: clamp(118px, 14vw, 190px);
    width: auto;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: end;
}

.values-card-visual img {
    display: block;
    height: 100%;
    width: auto;
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.values-card h3 {
    margin: 0;
    font-size: clamp(1.5rem, 2.1vw, 2rem);
    letter-spacing: -0.01em;
    color: var(--text);
}

.values-amount {
    margin-top: 8px;
    font-size: clamp(1.9rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #1f5c7a;
}

.values-card p {
    margin: 6px 0 0;
    font-size: 1.02rem;
    color: var(--muted);
    font-style: italic;
}

.values-card .tag {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(31, 92, 122, 0.22);
    background: rgba(31, 92, 122, 0.1);
    color: #1f5c7a;
    font-weight: 700;
    margin-bottom: 12px;
}

.values-card-studio {
    background: linear-gradient(180deg, #ffffff, #f7fbfe);
}

.values-studio-list {
    margin-top: 14px;
    display: grid;
    gap: 12px;
}

.values-studio-item {
    padding: 14px 16px;
    border-radius: 14px;
    border: 1px solid #dbe5ec;
    background: #f8fbfd;
}

.values-studio-item strong {
    display: block;
    font-size: 1.08rem;
    color: var(--text);
}

.values-studio-price {
    display: block;
    margin-top: 5px;
    font-size: 1.5rem;
    font-weight: 800;
    color: #1f5c7a;
}

.values-studio-item small {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-style: italic;
}

.values-note {
    margin: 2px 0 0;
    padding: 16px 20px;
    border-radius: 16px;
    border-left: 4px solid #1f5c7a;
    background: #eef4f8;
    color: #244257;
    font-size: 1.04rem;
    font-style: italic;
}

.values-main-section {
    padding-bottom: 36px;
}

.card-icon,
.metric strong,
.content-card .tag {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 700;
}

.card-icon {
    width: 44px;
    height: 44px;
    background: rgba(231, 75, 60, 0.12);
    border: 1px solid rgba(231, 75, 60, 0.2);
    margin-bottom: 18px;
}

.metric strong {
    padding: 8px 12px;
    background: rgba(31, 92, 122, 0.12);
    color: #1f5c7a;
    margin-bottom: 18px;
}

.metric h3 {
    margin: 0 0 10px;
}

.callout {
    margin-top: 18px;
    padding: 18px 20px;
    border-left: 3px solid var(--accent);
    background: rgba(231, 75, 60, 0.08);
    border-radius: 16px;
    color: #7f2a21;
}

.page-hero {
    padding: 30px;
    margin-top: 32px;
}

.page-hero .tag {
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(16, 36, 50, 0.14);
    background: rgba(16, 36, 50, 0.05);
    color: var(--muted);
    margin-bottom: 16px;
}

.site-footer {
    padding: 28px 0 42px;
    border-top: 1px solid rgba(16, 36, 50, 0.08);
    background: rgba(255, 255, 255, 0.78);
}

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

.footer-inner p {
    max-width: 48ch;
    margin: 10px 0 0;
    color: var(--muted);
    line-height: 1.7;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 12px;
}

.footer-links a {
    color: var(--muted);
}

.footer-links a:hover,
.footer-links a:focus-visible {
    color: var(--text);
}

.reveal {
    animation: reveal-up 0.8s ease both;
}

.delay-1 {
    animation-delay: 0.08s;
}

.delay-2 {
    animation-delay: 0.16s;
}

.delay-3 {
    animation-delay: 0.24s;
}

.delay-4 {
    animation-delay: 0.32s;
}

@keyframes reveal-up {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

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

    .gestao-showcase,
    .gestao-showcase.is-reverse {
        grid-template-columns: 1fr;
    }

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

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

    .partner-top-grid,
    .partner-form-grid {
        grid-template-columns: 1fr;
    }

    .partner-benefits {
        grid-template-columns: 1fr;
    }

    .partner-list-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .home-hero-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .home-hero-copy {
        max-width: 100%;
    }

    .carousel-slide {
        flex-basis: clamp(280px, 58%, 380px);
    }

    .studio-overview-grid,
    .studio-showcase-grid {
        grid-template-columns: 1fr;
    }

    .values-pricing-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .header-inner {
        flex-wrap: wrap;
        padding: 12px 0;
    }

    .menu-toggle {
        display: inline-flex;
        margin-left: auto;
    }

    .site-nav {
        width: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.95);
        border: 1px solid rgba(16, 36, 50, 0.12);
    }

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

    .site-nav a {
        padding: 12px 14px;
    }

    .brand-logo,
    .site-header .brand img {
        height: 60px !important;
        max-height: 60px !important;
        max-width: 260px;
    }

    .hero {
        padding-top: 48px;
    }

    .carousel-shell {
        padding: 0 42px;
    }

    .hero-grid,
    .service-grid,
    .page-grid,
    .feature-grid,
    .trust-grid,
    .catalog-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner,
    .section-heading {
        flex-direction: column;
        align-items: stretch;
    }

    .footer-links {
        justify-content: flex-start;
    }

    .values-group-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .qs-profile-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .qs-profile-photo-card,
    .qs-profile-text-card {
        border-radius: var(--radius-xl);
    }

    .profile-media-card {
        justify-content: center;
    }
}

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

    .hero h1,
    .page-hero h1 {
        font-size: clamp(2.5rem, 15vw, 4rem);
    }

    .brand-logo,
    .site-header .brand img {
        height: 52px !important;
        max-height: 52px !important;
        max-width: 220px;
    }

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

    .panel-top {
        flex-direction: column;
    }

    .hero-actions {
        flex-direction: column;
    }

    .carousel-shell {
        padding: 0 34px;
    }

    .carousel-slide {
        flex-basis: min(84vw, 340px);
    }

    .carousel-media img {
        height: 100%;
    }

    .carousel-slide strong {
        font-size: 1.02rem;
    }

    .carousel-arrow {
        width: 42px;
        height: 42px;
        font-size: 1.6rem;
    }

    .values-card {
        padding: 22px;
    }

    .values-card-head {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .values-card-visual {
        height: min(140px, 34vw);
        justify-self: start;
    }

    .values-card h3 {
        font-size: clamp(1.4rem, 7vw, 1.9rem);
    }

    .values-amount {
        font-size: clamp(1.85rem, 10vw, 2.6rem);
    }

    .studio-product-intro,
    .studio-media-card {
        padding: 20px;
    }

    .studio-image-compare {
        grid-template-columns: 1fr;
    }

    .values-callout {
        padding: 20px;
    }

    .button {
        width: 100%;
    }

    .service-grid,
    .feature-grid,
    .page-grid {
        grid-template-columns: 1fr;
    }

    .partner-top-grid,
    .partner-form-grid,
    .partner-benefits {
        grid-template-columns: 1fr;
    }

    .partner-list-grid {
        grid-template-columns: 1fr;
    }

    .partner-hero-card,
    .partner-side-card,
    .partner-form-card,
    .partner-form-side .content-card {
        padding: 20px;
    }

    .admin-toolbar {
        grid-template-columns: 1fr;
    }

    .gestao-points-grid,
    .gestao-monitor-grid {
        grid-template-columns: 1fr;
    }

    .gestao-card,
    .gestao-side-card {
        padding: 20px;
    }

    .gestao-media-card {
        min-height: 320px;
        padding: 10px;
    }

    .planta-embed-wrap iframe {
        min-height: 520px;
    }

    .planta-embed-wrap.is-phone-preview {
        max-width: 360px;
        height: 660px;
    }

    .planta-embed-wrap.is-phone-preview .planta-embed-frame {
        width: 141%;
        height: 980px;
        transform: scale(0.71);
    }

    .contact-form button {
        width: 100%;
    }
}