/*
 * Flock Theme — main.css
 */
/* ── RESET ────────────────────────────────────────────────── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── VARS FALLBACK (sobrescritas pelo Customizer) ─────────── */
:root {
    --green-deep:             #30493a;
    --green-mid:              #2d6b4a;
    --green-fresh:            #6abd73;
    --green-light:            #81c784;
    --green-pale:             #e8f5e9;
    --cream:                  #f8f7f4;
    --white:                  #ffffff;
    --ink:                    #1a1f1c;
    --ink-mid:                #3d4a38;
    --ink-light:              #6b7c65;
    --border:                 rgba(45,106,53,0.15);
    --shadow:                 0 8px 40px rgba(26,61,31,0.12);
    --shadow-sm:              0 2px 12px rgba(26,61,31,0.08);

    /* Tipografia — valores por defeito (Customizer sobrescreve) */
    --font-body:              'Rubik', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    --font-display:           'Rubik', 'SF Pro Display', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Arial, sans-serif;
    --font-size-menu:         15px;
    --font-size-h1:           36px;
    --font-size-h2:           28px;
    --font-size-h3:           24px;
    --font-size-h4:           20px;
    --font-size-h5:           16px;
    --font-size-h6:           14px;
    --font-size-body:         18px;
    --font-size-footer-title: 14px;
    --font-size-footer-text:  14px;

    /* Footer */
    --footer-bg:              #1a3d1f;
    --footer-text:            #ffffff;
    --card-bg:                #ffffff;
    --card-border:            #e0ede0;
    --icon-bg:                #e8f5e9;
    --btn-secondary:          #2d6a35;
    --btn-secondary-hover:    #e8f5e9;
}

html { scroll-behavior: smooth; }
body {
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    background: var(--cream);
    color: var(--ink);
    overflow-x: hidden;
    line-height: 1.7;
}

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.2;
    color: var(--ink);
}
h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }
h5 { font-size: var(--font-size-h5); }
h6 { font-size: var(--font-size-h6); }
p  { font-size: var(--font-size-body); line-height: 1.75; color: var(--ink-mid); }

/* ── WORDPRESS ADMIN BAR ──────────────────────────────────── */
.admin-bar .site-header         { top: 32px; }
.admin-bar .hero--split         { padding-top: 152px; }
.admin-bar .hero--full,
.admin-bar .hero--video        { margin-top: 32px; height: calc(100vh - 32px); height: calc(100dvh - 32px); }
@media screen and (max-width: 782px) {
    .admin-bar .site-header     { top: 46px; }
    .admin-bar .hero--split     { padding-top: 134px !important; }
    .admin-bar .hero--full,
    .admin-bar .hero--video     { margin-top: 46px; height: calc(100vh - 46px); height: calc(100dvh - 46px); }
}

/* ── SITE HEADER & NAV ────────────────────────────────────── */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    transition: box-shadow 0.3s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 72px;
    background: #31493a9e;
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
}

.nav-logo { flex-shrink: 0; line-height: 0; }
.nav-logo .custom-logo-link { display: block; line-height: 0; }
.nav-logo .custom-logo,
.nav-logo img { height: 44px; width: auto; display: block; }

.nav-links {
    display: flex; gap: 2rem; list-style: none; margin: 0; padding: 0;
}
.nav-links a,
.nav-links .menu-item a {
    text-decoration: none;
    color: rgba(255,255,255,0.85);
    font-family: var(--font-body);
    font-size: var(--font-size-menu);
    font-weight: 400;
    transition: color 0.2s;
}
.nav-links a:hover,
.nav-links .menu-item a:hover { color: #fff; }
.nav-links li { list-style: none; }

.nav-cta {
    background: var(--green-mid); color: white !important;
    padding: 8px 20px; border-radius: 6px;
    font-size: var(--font-size-menu); font-weight: 600;
    text-decoration: none; white-space: nowrap;
    transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--green-deep) !important; }

.nav-hamburger {
    display: none;
    background: none; border: none; cursor: pointer;
    padding: 0.25rem; color: #fff;
    align-items: center; justify-content: center;
}

/* ── MOBILE OVERLAY ───────────────────────────────────────── */
.nav-overlay {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.55); z-index: 998;
    opacity: 0; transition: opacity 0.3s ease;
}
.nav-overlay.is-open { display: block; opacity: 1; }

/* ── MOBILE DRAWER ────────────────────────────────────────── */
.nav-mobile {
    position: fixed; top: 0; left: 0;
    width: 80%; max-width: 320px; height: 100%;
    background: var(--green-mid); z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex; flex-direction: column;
    padding: 2rem 1.5rem; overflow-y: auto;
}
.nav-mobile.is-open { transform: translateX(0); }

.nav-mobile__logo { margin-bottom: 2.5rem; }
.nav-mobile__logo img,
.nav-mobile__logo .custom-logo { height: 36px; width: auto; display: block; }
.nav-mobile__logo .custom-logo-link { display: block; line-height: 0; }

.nav-mobile__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.25rem; }
.nav-mobile__links a {
    display: block; padding: 0.75rem 0.5rem;
    color: rgba(255,255,255,0.9); text-decoration: none;
    font-family: var(--font-body); font-size: 1rem; font-weight: 400;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    transition: color 0.2s ease, padding-left 0.2s ease;
}
.nav-mobile__links a:hover { color: #4a9b6f; padding-left: 1rem; }
.nav-mobile__links li { list-style: none; }

.nav-mobile__cta { margin-top: 2rem; }
.nav-mobile__cta a {
    display: block; text-align: center; padding: 0.85rem 1.5rem;
    background: var(--green-mid); color: #fff;
    border-radius: 6px; font-weight: 600; text-decoration: none;
    transition: background 0.2s ease;
}
.nav-mobile__cta a:hover { background: var(--green-fresh); }

.nav-mobile__social { margin-top: auto; padding-top: 2rem; display: flex; gap: 1rem; }
.nav-mobile__social a { color: rgba(255,255,255,0.6); transition: color 0.2s ease; }
.nav-mobile__social a:hover { color: #fff; }

.nav-mobile__close {
    position: absolute; top: 1.25rem; right: 1.25rem;
    background: none; border: none; cursor: pointer;
    color: rgba(255,255,255,0.7); padding: 0.25rem; line-height: 1;
    transition: color 0.2s ease;
}
.nav-mobile__close:hover { color: #fff; }

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn-primary {
    background: var(--green-mid); color: white;
    padding: 14px 32px; border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem; font-weight: 600; text-decoration: none;
    border: none; cursor: pointer; display: inline-block;
    transition: background 0.2s, transform 0.1s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(45,106,53,0.3);
}
.btn-primary:hover {
    background: var(--green-deep);
    box-shadow: 0 6px 24px rgba(45,106,53,0.4);
    transform: translateY(-1px);
}
.btn-secondary {
    background: transparent; color: var(--green-mid);
    padding: 14px 32px; border-radius: 8px;
    font-family: var(--font-body);
    font-size: 1rem; font-weight: 600; text-decoration: none;
    border: 2px solid var(--green-mid); cursor: pointer;
    display: inline-block; transition: all 0.2s;
}
.btn-secondary:hover { background: var(--green-mid); color: #fff; }
.btn-secondary--light { color: #fff; border-color: rgba(255,255,255,0.6); }
.btn-secondary--light:hover { background: rgba(255,255,255,0.15); }

/* ── SECTION CTA ──────────────────────────────────────────── */
.section-cta {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    margin-top: 48px;
    flex-wrap: wrap;
}

/* ── HERO SPLIT ───────────────────────────────────────────── */
.hero--split {
    padding-top: 120px; padding-bottom: 80px;
    padding-left: 5%; padding-right: 5%;
    min-height: 100vh;
    display: grid; grid-template-columns: 1fr 1fr;
    align-items: center; gap: 60px;
}
.hero--split .hero__media:empty { display: none; }

.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--green-pale); border: 1px solid var(--green-light);
    color: var(--green-deep); font-size: 0.8rem; font-weight: 600;
    padding: 6px 14px; border-radius: 20px; margin-bottom: 24px;
    letter-spacing: 0.05em; text-transform: uppercase;
}
.hero-badge-dot {
    width: 7px; height: 7px; background: var(--green-fresh);
    border-radius: 50%; animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.5; transform: scale(1.4); }
}
.hero__text h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 20px; color: var(--green-deep); }
.hero__text p, .hero__text .hero__sub p  { font-size: clamp(1rem, 1.5vw, 1.15rem); margin-bottom: 16px; max-width: 500px; }
.hero__text .hero__sub p:first-child { font-size: clamp(1.1rem, 1.8vw, 1.35rem); font-weight: 500; }
.hero__text .hero__sub p:last-child { margin-bottom: 0; }
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 56px; }

/* Hero full width */
.hero--full,
.hero--video {
    position: relative; display: flex;
    align-items: center; justify-content: center;
    overflow: hidden;
    height: 100vh;
    height: 100dvh;
    min-height: var(--hero-height, 100vh);
    background-image: var(--hero-bg, none);
    background-size: cover; background-position: center;
}
.hero__overlay {
    position: absolute; inset: 0;
    background: rgba(0,0,0,var(--overlay-opacity, 0.5)); z-index: 1;
}
.hero__full-content {
    position: relative;
    z-index: 2;
    text-align: var(--text-align, center);
    padding: 120px 6% 80px;
    max-width: 1200px;
    width: 100%;
    color: #fff;
}
.hero__full-content h1 { font-size: clamp(1.8rem, 3.2vw, 2.4rem); color: #fff; margin-bottom: 20px; }
.hero__full-content p, .hero__full-content .hero__sub p  { color: rgba(255,255,255,0.88); margin-bottom: 16px; font-size: clamp(1rem, 1.4vw, 1.2rem); }
.hero__full-content .hero__sub p:first-child { font-size: clamp(1.3rem, 2.2vw, 1.7rem); font-weight: 500; }
.hero__full-content .hero__sub p:last-child { margin-bottom: 0; }
.hero__full-content .hero__actions { justify-content: center; }

.hero__video-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__video-bg iframe,
.hero__video-bg video {
    position: absolute; top: 50%; left: 50%;
    width: 177.78vh; height: 100%;
    min-width: 100%; min-height: 56.25vw;
    transform: translate(-50%, -50%); pointer-events: none;
}
.hero__video-poster {
    display: none; position: absolute; inset: 0;
    background-size: cover; background-position: center; z-index: 0;
}
.hero__video-wrap {
    position: relative; width: 100%; padding-bottom: 56.25%;
    border-radius: 16px; overflow: hidden;
    box-shadow: 0 32px 80px rgba(26,61,31,0.3);
}
.hero__video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__video-overlay { position: absolute; inset: 0; z-index: 2; }
.hero__img {
    width: 100%; height: auto; border-radius: 16px;
    box-shadow: 0 32px 80px rgba(26,61,31,0.3); display: block;
}

/* ── HERO MOCKUP ──────────────────────────────────────────── */
.hero-visual { position: relative; animation: float 6s ease-in-out infinite; }
@keyframes float {
    0%,100% { transform: translateY(0); }
    50%      { transform: translateY(-12px); }
}
.hero-mockup {
    background: var(--green-deep); border-radius: 20px; overflow: hidden;
    box-shadow: 0 32px 80px rgba(26,61,31,0.35);
    border: 1px solid rgba(255,255,255,0.08);
}
.mockup-bar { display: flex; align-items: center; gap: 6px; padding: 12px 16px; background: rgba(0,0,0,0.2); }
.mockup-dot { width: 12px; height: 12px; border-radius: 50%; }
.mockup-title { color: rgba(255,255,255,0.5); font-size: 0.75rem; margin-left: 8px; }
.mockup-body { padding: 20px; }
.mockup-stat-row { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 20px; }
.mockup-stat { background: rgba(255,255,255,0.06); border-radius: 12px; padding: 14px 12px; text-align: center; border: 1px solid rgba(255,255,255,0.08); }
.mockup-stat-num { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: #fff; line-height: 1; }
.mockup-stat-lbl { font-size: 0.7rem; color: rgba(255,255,255,0.5); margin-top: 4px; }
.mockup-chart { display: flex; align-items: flex-end; gap: 6px; height: 80px; margin-bottom: 16px; padding: 0 4px; }
.mockup-bar-item { flex: 1; border-radius: 4px 4px 0 0; background: rgba(255,255,255,0.15); transition: height 0.5s ease; }
.mockup-bar-item:nth-child(5), .mockup-bar-item:nth-child(7) { background: var(--green-fresh); opacity: 0.9; }
.mockup-offline { background: #fff8e1; border-radius: 8px; padding: 10px 14px; display: flex; align-items: center; gap: 10px; font-size: 0.8rem; color: #795548; font-weight: 500; }
.hero-stats-card {
    position: absolute; bottom: -20px; left: -24px;
    background: #fff; border-radius: 14px;
    box-shadow: 0 8px 40px rgba(26,61,31,0.18);
    padding: 14px 18px; display: flex; align-items: center; gap: 12px;
    border: 1px solid rgba(45,106,53,0.12);
    animation: float-card 6s ease-in-out infinite; animation-delay: 1s;
}
@keyframes float-card {
    0%,100% { transform: translateY(0) rotate(-1deg); }
    50%      { transform: translateY(-8px) rotate(-1deg); }
}
.hero-stats-icon { width: 40px; height: 40px; background: var(--green-pale); border-radius: 10px; display: grid; place-items: center; font-size: 1.2rem; flex-shrink: 0; }
.hero-stats-num  { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--green-deep); line-height: 1.1; }
.hero-stats-lbl  { font-size: 0.72rem; color: var(--ink-light); }

/* ── SECTIONS ─────────────────────────────────────────────── */
section { padding: 100px 5%; }
.section-label { font-family: var(--font-body); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--green-mid); margin-bottom: 12px; }
.section-title { color: var(--ink); margin-bottom: 16px; }
.section-sub   { font-size: clamp(1rem, 1.5vw, 1.1rem); color: var(--ink-light); max-width: 600px; margin: 0 auto 60px; text-align: center; }

/* ── FEATURES ─────────────────────────────────────────────── */
.features { background: var(--section-features-bg, var(--cream)); text-align: center; }
.features-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; max-width: 1100px; margin: 0 auto; }
.feature-card { background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 20px; padding: 36px 28px; text-align: left; transition: box-shadow 0.3s, transform 0.3s; }
.feature-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.feature-card.highlight { border-color: var(--green-mid); background: linear-gradient(135deg,rgba(45,106,53,0.03),white); }
.feature-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--icon-bg); display: grid; place-items: center; margin-bottom: 20px; font-size: 1.5rem; }
.feature-card h3 { color: var(--ink); margin-bottom: 10px; }
.feature-card p  { font-size: 0.92rem; color: var(--ink-light); }

/* ── CASES ────────────────────────────────────────────────── */
@keyframes case-slide-left {
    from { opacity: 0; transform: translateX(-40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes case-slide-right {
    from { opacity: 0; transform: translateX(40px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes case-fade-up {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
.cases {
    background: #4a9b6f;
    padding: 80px 0;
}
.cases__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}
.cases__header {
    text-align: center;
    margin-bottom: 56px;
}
.cases__header .section-label,
.cases__header .section-title {
    color: #fff;
}

/* Feature case */
.case-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 48px;
}
.case-feature + .case-feature {
    padding-top: 48px;
    border-top: 1px solid rgba(255,255,255,.1);
}

/* Animações de entrada */
.case-feature__left,
.case-feature__stats,
.case-stat {
    opacity: 0;
}
.case-feature.visible .case-feature__left {
    animation: case-slide-left .6s cubic-bezier(0.22, 1, 0.36, 1) .1s both;
}
.case-feature.visible .case-feature__stats {
    animation: case-slide-right .6s cubic-bezier(0.22, 1, 0.36, 1) .2s both;
}
.case-feature.visible .case-stat:nth-child(1) { animation: case-fade-up .5s ease .3s both; }
.case-feature.visible .case-stat:nth-child(2) { animation: case-fade-up .5s ease .4s both; }
.case-feature.visible .case-stat:nth-child(3) { animation: case-fade-up .5s ease .5s both; }
.case-feature.visible .case-stat:nth-child(4) { animation: case-fade-up .5s ease .6s both; }

/* Esquerda */
.case-feature__badge {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.3);
    color: rgba(255,255,255,.8);
    margin-bottom: 20px;
}
.case-feature__title {
    font-size: clamp(1.6rem, 2.8vw, 2.4rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 24px;
}
.case-feature__subtitle {
    font-size: 1.4rem;
    font-weight: 600;
    color: rgba(255,255,255,.75);
    margin-bottom: 20px;
}
.case-feature__quote {
    font-size: .95rem;
    color: rgba(255,255,255,.8);
    font-style: italic;
    line-height: 1.7;
    margin-bottom: 28px;
    border-left: 3px solid #4a9b6f;
    padding-left: 16px;
}
.case-feature__author {
    display: flex;
    align-items: center;
    gap: 14px;
}
.case-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--green-deep, #30493a);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: .85rem;
    font-weight: 700;
    flex-shrink: 0;
}
.case-avatar--photo { object-fit: cover; background: none; display: block; }
.case-name { font-size: .9rem; font-weight: 600; color: #fff; }
.case-role { font-size: .8rem; color: rgba(255,255,255,.6); }

/* Direita — grid de estatísticas */
.case-feature__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.case-stat {
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 24px 20px;
}
.case-stat__val {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--green-deep, #30493a);
    line-height: 1;
    margin-bottom: 8px;
}
.case-stat__lbl {
    font-size: .85rem;
    color: rgba(255,255,255,.85);
    font-weight: 500;
    margin-bottom: 4px;
}
.case-stat__sub {
    font-size: .78rem;
    color: rgba(255,255,255,.5);
}

/* CTA */
.cases .section-cta { margin-top: 8px; }
.btn-primary--light {
    background: #fff;
    color: var(--green-deep, #30493a);
}
.btn-primary--light:hover {
    background: var(--green-pale, #e8f5e9);
}

/* ── PLANS ────────────────────────────────────────────────── */
.plans { position: relative; z-index: 1; background: var(--section-plans-bg, var(--cream)); text-align: center; padding-top: 180px; }
.plans-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 2rem; max-width: 1200px; margin: 0 auto; padding: 0; }
.plan-card { flex: 0 1 300px; min-width: 260px; background: var(--card-bg); border: 1px solid var(--card-border); border-radius: 24px; padding: 36px 28px; text-align: left; position: relative; transition: box-shadow 0.3s, transform 0.3s; }
.plan-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.plan-card.featured { border-color: var(--green-mid); border-width: 2px; }
.plans-grid--1 .plan-card { flex: 0 1 360px; }
.plans-grid--2 .plan-card { flex: 0 1 340px; }
.plans-grid--3 .plan-card { flex: 0 1 360px; }
.plan-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--green-mid); color: white; font-size: 0.75rem; font-weight: 700; padding: 4px 16px; border-radius: 20px; white-space: nowrap; }
.plan-name { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.plan-desc    { font-size: 0.88rem; color: var(--ink-light); margin: 6px 0 12px; line-height: 1.5; }
.plan-animals { font-size: 0.85rem; color: var(--ink-light); margin-bottom: 16px; }
.plan-price { margin-bottom: 20px; }
.plan-price strong { font-family: var(--font-display); font-size: 2.2rem; font-weight: 700; color: var(--green-deep); }
.plan-price span { font-size: 0.9rem; color: var(--ink-light); margin-left: 4px; }
.plan-divider { border: none; border-top: 1px solid var(--card-border); margin-bottom: 20px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 28px; }
.plan-feature { font-size: 0.88rem; color: var(--ink-mid); padding-left: 20px; position: relative; }
.plan-feature::before { content: '✓'; position: absolute; left: 0; color: var(--green-fresh); font-weight: 700; }
.plan-feature.off { color: var(--ink-light); text-decoration: line-through; }
.plan-feature.off::before { content: '✕'; color: #ccc; }
.plan-btn { display: block; text-align: center; padding: 12px 24px; border-radius: 8px; font-weight: 600; font-size: 0.95rem; text-decoration: none; background: var(--green-pale); color: var(--green-deep); transition: all 0.2s; }
.plan-card.featured .plan-btn { background: var(--green-mid); color: white; }
.plan-btn:hover { background: var(--green-mid); color: white; }

/* ── TESTIMONIALS ─────────────────────────────────────────── */
.testimonials { background: var(--section-testimonials-bg, white); text-align: center; }
.testimonials-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 24px; max-width: 960px; margin: 0 auto; }
.testimonial-card { background: var(--cream); border: 1px solid var(--border); border-radius: 20px; padding: 32px 28px; text-align: left; }
.testimonial-stars { color: #f59e0b; font-size: 1rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text  { font-size: 0.95rem; color: var(--ink-mid); font-style: italic; line-height: 1.7; margin-bottom: 24px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--green-mid); color: white; display: grid; place-items: center; font-size: 0.8rem; font-weight: 700; flex-shrink: 0; }
.testimonial-name   { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.testimonial-role   { font-size: 0.8rem; color: var(--ink-light); }

/* ── METRICS ──────────────────────────────────────────────── */
.metrics {
    position: relative;
    z-index: 2;
    background: var(--green-deep) center / cover no-repeat;
    padding: 0;
}
.metrics__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
}
.metrics__hero-text {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 80px 5% 56px;
    color: #fff;
}
.metrics__supra {
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 14px;
}
.metrics__title {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.25;
}
.metrics__painel {
    transform: translateY(80px);
    margin: 0 5%;
    border-radius: 16px;
}
.metrics__inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 52px 40px;
}
.metrics__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0;
}
.metric-item {
    text-align: center;
    padding: 20px 24px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}
.metric-item:last-child {
    border-right: none;
}
.metric-item.is-visible {
    opacity: 1;
    transform: translateY(0);
}
.metric-item__value {
    font-family: var(--font-display);
    font-size: var(--font-size-h3);
    font-weight: 700;
    color: #ffffff;
    line-height: 1;
    margin-bottom: 8px;
}
.metric-item__label {
    font-size: 0.95rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}
.metric-item__sub {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 6px;
}

@media (max-width: 1024px) {
    .metrics__painel { margin: 0 3%; }
}
@media (max-width: 768px) {
    .metrics__hero-text { padding: 56px 5% 40px; }
    .metrics__painel { transform: translateY(60px); margin: 0; border-radius: 0; }
    .metrics__inner { padding: 40px 5%; }
    .metrics__grid { grid-template-columns: 1fr; gap: 0; }
    .metric-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); padding: 16px 0; }
    .metric-item:last-child { border-bottom: none; }
    .plans { padding-top: 160px; }
}
@media (max-width: 480px) {
    .metric-item__value { font-size: 1.4rem; }
}

/* ── INNER HERO (páginas internas) ───────────────────────── */
.inner-hero {
    background: var(--green-deep);
    display: flex;
    align-items: flex-end;
    overflow: hidden;
    min-height: 260px;
}
.inner-hero__content {
    flex: 1;
    padding: 60px 5% 60px;
    min-width: 0;
}
.inner-hero__label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 12px;
}
.inner-hero__title {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 12px;
    line-height: 1.2;
}
.inner-hero__sub {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    line-height: 1.6;
    max-width: 520px;
}
.inner-hero__image {
    flex-shrink: 0;
    align-self: flex-end;
    line-height: 0;
}
.inner-hero__image img {
    display: block;
    height: auto;
    max-height: 280px;
    width: auto;
}

@media (max-width: 768px) {
    .inner-hero { min-height: 0; }
    .inner-hero__image { display: none; }
    .inner-hero__content { padding: 56px 5% 48px; }
}

/* ── CONTACT ──────────────────────────────────────────────── */
.contact { background: var(--section-contact-bg, var(--cream)); color: var(--ink); }
.contact-wrapper { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; max-width: 1100px; margin: 0 auto; align-items: start; }

/* Widget area no lado esquerdo */
.contact-info { color: var(--ink); }
.contact-widget { color: var(--ink); }
.contact-widget__title { color: var(--ink); margin-bottom: 16px; }
.contact-widget p  { color: var(--ink-mid); }
.contact-widget ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.contact-widget ul li { display: flex; align-items: flex-start; gap: 10px; color: var(--ink-mid); font-size: 0.95rem; line-height: 1.5; }
.contact-widget a { color: var(--ink-mid); text-decoration: none; transition: color 0.2s; }
.contact-widget a:hover { color: var(--ink); }

/* Fallback quando widget area está vazia */
.contact-info .section-label { color: var(--green-fresh); }
.contact-info h2 { color: var(--ink); margin-bottom: 16px; }
.contact-info p  { color: var(--ink-mid); }

.contact-details { list-style: none; display: flex; flex-direction: column; gap: 16px; margin-top: 32px; }
.contact-detail { display: flex; align-items: flex-start; gap: 14px; }
.contact-detail__icon { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; stroke: var(--green-mid, #2d6b4a); stroke-width: 2; }
.contact-detail__value { font-size: .95rem; color: var(--ink-mid); line-height: 1.5; }
a.contact-detail__value { text-decoration: none; }
a.contact-detail__value:hover { color: var(--green-mid, #2d6b4a); }
.contact-form-wrap { background: white; border-radius: 24px; padding: 40px; box-shadow: var(--shadow-sm); }
.contact-form-wrap h3 { color: var(--ink); margin-bottom: 28px; }
.form-row   { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 16px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 0.85rem; font-weight: 600; color: var(--ink-mid); }
.form-field input,
.form-field select,
.form-field textarea {
    padding: 10px 14px; border: 1.5px solid var(--border);
    border-radius: 8px; font-family: var(--font-body);
    font-size: 0.95rem; color: var(--ink); background: white;
    transition: border-color 0.2s; width: 100%;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus { outline: none; border-color: var(--green-mid); }
.form-field textarea { resize: vertical; min-height: 100px; }
.form-submit {
    width: 100%; padding: 14px; background: var(--green-mid);
    color: white; border: none; border-radius: 8px;
    font-family: var(--font-body); font-size: 1rem; font-weight: 600;
    cursor: pointer; transition: background 0.2s; margin-top: 8px;
}
.form-submit:hover { background: var(--green-deep); }
#flock-form-feedback { margin-top: 12px; padding: 12px 16px; border-radius: 8px; font-size: 0.88rem; }
#flock-form-feedback.success { background: var(--green-pale); color: var(--green-deep); border: 1px solid #81c784; }
#flock-form-feedback.error   { background: #ffebee; color: #c62828; border: 1px solid #ef9a9a; }

/* ── FOOTER ───────────────────────────────────────────────── */
.site-footer { background: var(--footer-bg); color: var(--footer-text); font-family: var(--font-body); }
.footer-inner {
    max-width: 1200px; margin: 0 auto;
    padding: 4rem 5% 2rem;
    display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem;
}
.footer-col--1 { padding-right: 1rem; }
.footer-widget { color: var(--footer-text); }
.footer-widget__title {
    font-family: var(--font-display);
    font-size: 18px !important;
    font-weight: 600;
    color: #cccccc54;
    margin: 0 0 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.footer-widget .wp-block-heading {
    padding-bottom: 30px;
}
h2.wp-block-heading {
    padding-bottom: 2px;
    color: #1a3c2e;
    font-size: 20px;
    font-family: var(--font-display);
}
h4.wp-block-heading {
    color: #cccccc87;
}
.footer-widget p,
.footer-widget li,
.footer-widget a {
    font-size: var(--font-size-footer-text) !important;
    line-height: 1.7; color: rgba(255,255,255,0.7);
}
.footer-widget a { text-decoration: none; transition: color 0.2s ease; }
.footer-widget a:hover { color: var(--footer-text); }
.footer-widget ul { list-style: none; margin: 0; padding: 0; }
.footer-widget .menu { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 0.5rem; }
.footer-widget .menu li a { display: inline-block; padding: 0.15rem 0; transition: color 0.2s ease; }
.footer-widget .menu li a:hover { color: #fff; }
.footer-col__placeholder { font-size: 0.8rem; opacity: 0.35; font-style: italic; }
.footer-bar { border-top: 1px solid rgba(255,255,255,0.1); text-align: center; padding: 1.25rem 5%; }
.footer-bar p { margin: 0; font-size: 0.82rem; color: rgba(255,255,255,0.45); }
.footer-bar a { color: rgba(255,255,255,0.45); text-decoration: underline; transition: color 0.2s; }
.footer-bar a:hover { color: rgba(255,255,255,0.8); }

/* ── CONTEÚDO DE PÁGINA GENÉRICA (page.php) ──────────────────── */
.page-content { background: var(--cream, #f8f7f4); padding: 4rem 5% 5rem; }
.page-content__inner { max-width: 780px; margin: 0 auto; }
.page-content__body h2 { font-family: var(--font-display); font-size: var(--font-size-h3); color: var(--green-mid, #2d6b4a); margin: 2.5rem 0 0.75rem; }
.page-content__body h2:first-child { margin-top: 0; }
.page-content__body p { font-size: var(--font-size-body); line-height: 1.75; color: var(--ink, #1a1f1c); margin: 0 0 1.25rem; }
.page-content__body ul { padding-left: 1.5rem; margin: 0 0 1.25rem; }
.page-content__body li { font-size: var(--font-size-body); line-height: 1.75; color: var(--ink, #1a1f1c); margin-bottom: 0.4rem; }
.page-content__body a { color: var(--green-mid, #2d6b4a); text-decoration: underline; }
.page-content__body a:hover { color: var(--green-fresh, #4a9b6f); }

/* Footer col-4 — As nossas marcas: logos ao fundo, mesmo tamanho */
.footer-col--4 {
    display: flex;
    flex-direction: column;
    padding-bottom: 30px;
}
.footer-col--4 .wp-block-spacer { display: none; }
.footer-col--4 > *:nth-child(3) { margin-top: auto; margin-bottom: 16px; }
.footer-col--4 .wp-block-image img {
    width: 60% !important;
    max-width: 60%;
    height: auto !important;
    display: block;
}

/* ── HERO PÁGINAS INTERIORES (unificado) ─────────────────── */
.page-hero {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 140px 5% 88px;
    position: relative;
    overflow: hidden;
}
/* Overlay escuro quando há imagem */
.page-hero--has-image::before {
    content: '';
    position: absolute; inset: 0;
    background: rgba(15, 30, 20, 0.55);
    z-index: 0;
}
/* Blob decorativo */
.page-hero::after {
    content: '';
    position: absolute; top: -160px; right: -160px;
    width: 520px; height: 520px; border-radius: 50%;
    background: rgba(74, 155, 111, 0.07);
    pointer-events: none; z-index: 0;
}
.page-hero__inner {
    max-width: 860px; margin: 0 auto;
    position: relative; z-index: 1;
}
.page-hero__label {
    font-size: 0.75rem; font-weight: 700;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: #e1e4cb; margin-bottom: 16px;
}
.page-hero__title {
    font-size: clamp(1.9rem, 3.8vw, 2.9rem);
    color: #fff; font-weight: 700; line-height: 1.15;
    margin: 0 0 16px; max-width: 700px;
}
.page-hero__sub {
    font-size: 1.05rem; color: rgba(255, 255, 255, 0.75);
    max-width: 580px; line-height: 1.7; margin: 0;
}

@media (max-width: 768px) {
    .page-hero { padding: 110px 5% 60px; }
    .page-hero__title { font-size: 1.75rem; }
}
@media (max-width: 480px) {
    .page-hero { padding: 100px 5% 48px; }
}

/* ── SCROLL ANIMATIONS ────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ── CUSTOMIZER PREVIEW ────────────────────────────────────── */
.wp-customizer .hero--split,
.customize-preview-iframe .hero--split { padding-top: 100px; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════════════════════════ */

/* ── Tablet grande — 1024px ───────────────────────────────── */
@media (max-width: 1024px) {
    /* Nav */
    .nav-inner { padding: 0 4%; }

    /* Features */
    .features-grid { grid-template-columns: repeat(2,1fr); gap: 20px; }

    /* Testimonials */
    .testimonials-grid { grid-template-columns: 1fr; max-width: 600px; }

    /* Contact */
    .contact-wrapper { gap: 48px; }

    /* Footer */
    .footer-inner { grid-template-columns: 1fr 1fr; gap: 2.5rem; }

    /* Plans */
    .plan-card { flex: 0 1 280px; }

    /* Cases */
    .case-feature { gap: 40px; }
}

/* ── Tablet — 900px ───────────────────────────────────────── */
@media (max-width: 900px) {
    /* Hero split — colapsa para coluna única */
    .hero--split {
        grid-template-columns: 1fr !important;
        padding-top: 108px !important;
        padding-bottom: 64px !important;
        min-height: auto !important;
        gap: 40px !important;
    }
    .hero--split .hero__media { display: block; width: 100%; opacity: 1 !important; transform: none !important; }
    .hero--split .hero__video-wrap { width: 100%; min-height: 220px; }
    .hero--split .hero__video-overlay { display: none; }
    .hero--split .hero__img { display: none; }
    .hero-visual { display: none; }

    /* Contact */
    .contact-wrapper { grid-template-columns: 1fr; gap: 40px; }
    .contact-form-wrap { max-width: 600px; width: 100%; margin: 0 auto; }
}

/* ── Mobile — 768px ───────────────────────────────────────── */
@media (max-width: 768px) {

    /* ── Nav ── */
    .nav-links     { display: none; }
    .nav-cta       { display: none; }
    .nav-hamburger { display: flex; }
    .nav-logo .custom-logo,
    .nav-logo img  { height: 36px; }

    /* ── Sections ── */
    section { padding: 64px 5%; }
    .section-sub   { margin-bottom: 40px; font-size: 1rem; }
    .section-title { font-size: clamp(1.4rem, 5vw, 1.8rem); }

    /* ── Hero split ── */
    .hero--split {
        grid-template-columns: 1fr !important;
        padding-top: 96px !important;
        padding-left: 5% !important;
        padding-right: 5% !important;
        gap: 32px !important;
        min-height: auto !important;
    }
    .hero--split .hero__media { display: block !important; width: 100%; opacity: 1 !important; transform: none !important; }
    .hero--split .hero__video-wrap { width: 100%; min-height: 220px; }
    .hero--split .hero__video-overlay { display: none; }
    .hero--split .hero__img { display: none; }
    .hero__text h1 { font-size: clamp(1.75rem, 7vw, 2.2rem); }
    .hero__text p  { font-size: 1rem; margin-bottom: 28px; }
    .hero__actions {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    .hero__actions .btn-primary,
    .hero__actions .btn-secondary {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }
    .hero-badge { font-size: 0.7rem; padding: 5px 10px; }

    /* ── Hero full / video ── */
    .hero__full-content {
        padding: 108px 5% 64px;
        max-width: 100%;
    }
    .hero__full-content h1 { font-size: clamp(1.75rem, 6.5vw, 2.2rem); }
    .hero__full-content p  { font-size: 1rem; }
    .hero__full-content .hero__actions {
        flex-direction: column;
        gap: 12px;
        align-items: center;
    }
    .hero__full-content .btn-primary,
    .hero__full-content .btn-secondary {
        width: 100%;
        max-width: 340px;
        text-align: center;
    }
    /* Vídeo de fundo — manter visível em mobile */
    .hero--video .hero__video-poster { display: none; }

    /* ── Features ── */
    .features-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        max-width: 480px;
        margin: 0 auto;
    }
    .feature-card { padding: 28px 20px; }
    .feature-icon { width: 48px; height: 48px; font-size: 1.25rem; }

    /* ── Cases ── */
    .case-feature {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .case-feature__stats {
        grid-template-columns: 1fr 1fr;
    }

    /* ── Plans ── */
    .plans-grid {
        flex-direction: column;
        align-items: center;
    }
    .plan-card {
        flex: none;
        width: 100%;
        max-width: 420px;
    }
    .plans-grid--1 .plan-card,
    .plans-grid--2 .plan-card,
    .plans-grid--3 .plan-card { flex: none; width: 100%; max-width: 420px; }
    .plan-price strong { font-size: 1.8rem; }

    /* ── Testimonials ── */
    .testimonials-grid { grid-template-columns: 1fr; }
    .testimonial-card  { padding: 24px 20px; }

    /* ── Contact ── */
    .contact-wrapper   { grid-template-columns: 1fr; gap: 32px; }
    .contact-form-wrap { padding: 28px 20px; border-radius: 16px; }
    .form-row          { grid-template-columns: 1fr; gap: 12px; }
    .contact-widget ul li { font-size: 0.9rem; }
    .contact-info h2   { font-size: clamp(1.3rem, 5vw, 1.8rem); }

    /* ── Footer ── */
    .footer-inner {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 3rem 5% 1.5rem;
    }
    .footer-col--1 { padding-right: 0; }
    .footer-bar p  { font-size: 0.78rem; }
}

/* ── Mobile pequeno — 480px ───────────────────────────────── */
@media (max-width: 480px) {
    /* Nav */
    .nav-inner {
        padding: 0 4%;
        height: 64px;
    }
    .nav-logo .custom-logo,
    .nav-logo img { height: 30px; }

    /* Hero */
    .hero--split { padding-top: 84px !important; }
    .hero__text h1 { font-size: clamp(1.55rem, 8vw, 1.9rem); }
    .hero-badge { display: none; }

    /* Sections */
    section { padding: 52px 4%; }
    .section-sub { font-size: 0.95rem; }

    /* Features */
    .features-grid { max-width: 100%; }
    .feature-card { padding: 24px 16px; }

    /* Cases */
    .case-card { padding: 24px 20px; }

    /* Plans */
    .plan-card { padding: 28px 20px; }

    /* Contact */
    .contact-form-wrap { padding: 24px 16px; border-radius: 12px; }
    .form-field input,
    .form-field select,
    .form-field textarea { font-size: 16px; } /* evita zoom iOS */

    /* Footer */
    .footer-inner { padding: 2.5rem 4% 1.5rem; gap: 1.75rem; }
    .footer-bar   { padding: 1rem 4%; }
}

/* ── HIGHLIGHTS SLIDER ────────────────────────────────────── */
.highlights {
    position: relative;
    padding: 100px 5%;
    overflow: hidden;
}
.highlights__overlay {
    position: absolute; inset: 0;
    background: #000; z-index: 0; pointer-events: none;
}
.highlights__inner {
    position: relative; z-index: 1;
    max-width: 1200px; margin: 0 auto;
}
.highlights__header {
    text-align: center; margin-bottom: 64px;
}
.highlights__header .section-title { margin-bottom: 0; }

/* ── Slider container ── */
.highlights__slider { position: relative; }
.highlights__track  { position: relative; min-height: 420px; }
@media (max-width: 900px) {
    .highlights__track { min-height: 0 !important; }
}

/* ── Slides ── */
.highlights__slide {
    position: absolute;
    top: 0; left: 0; width: 100%;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 60px;
    align-items: center;
    transition: opacity 0.5s ease, transform 0.5s ease;
    transform: translateX(40px);
}
.highlights__slide.is-leaving {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.35s ease, transform 0.35s ease;
}
.highlights__slide.is-active {
    position: relative;
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateX(0);
}

/* ── Entrada em stagger do conteúdo ── */
.highlights__slide.is-active .highlights__step,
.highlights__slide.is-active .highlights__content > * {
    animation: hl-stagger 0.5s ease both;
}
.highlights__slide.is-active .highlights__content > *:nth-child(1) { animation-delay: 0.05s; }
.highlights__slide.is-active .highlights__content > *:nth-child(2) { animation-delay: 0.15s; }
.highlights__slide.is-active .highlights__content > *:nth-child(3) { animation-delay: 0.25s; }
.highlights__slide.is-active .highlights__content > *:nth-child(4) { animation-delay: 0.35s; }
.highlights__slide.is-active .highlights__media {
    animation: hl-img-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.1s both;
}

@keyframes hl-stagger {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: none; }
}
@keyframes hl-img-in {
    from { opacity: 0; transform: scale(0.96) translateX(20px); }
    to   { opacity: 1; transform: scale(1) translateX(0); }
}

/* ── Conteúdo ── */
.highlights__content { display: flex; flex-direction: column; gap: 20px; }
.highlights__content .section-label { margin-bottom: 0; }
.highlights__title {
    font-family: var(--font-display);
    font-size: var(--font-size-h2);
    font-weight: 600;
    color: var(--ink);
    line-height: 1.2;
}
.highlights__text {
    font-size: 1rem;
    color: var(--ink-light);
    line-height: 1.75;
    max-width: 480px;
}
.highlights__cta { align-self: flex-start; }

/* ── Imagem ── */
.highlights__media {
    display: flex; justify-content: center; align-items: center;
    position: relative;
}
.highlights__img {
    width: 100%; height: auto;
    display: block;
    box-shadow: var(--shadow);
}
.highlights__img--rounded { border-radius: 20px; }
.highlights__img--circle  { border-radius: 50%; aspect-ratio: 1; object-fit: cover; }
.highlights__img--full    { border-radius: 0; box-shadow: none; }

/* ── Setas ── */
.highlights__arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    width: 48px; height: 48px; border-radius: 50%;
    background: var(--card-bg); border: 1px solid var(--card-border);
    color: var(--ink); cursor: pointer; z-index: 10;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, box-shadow 0.2s, transform 0.2s;
    box-shadow: var(--shadow-sm);
}
.highlights__arrow:hover {
    background: var(--green-pale);
    box-shadow: var(--shadow);
}
.highlights__arrow--prev:hover { transform: translateY(-50%) translateX(-3px); }
.highlights__arrow--next:hover { transform: translateY(-50%) translateX(3px); }
.highlights__arrow--prev { left: -28px; }
.highlights__arrow--next { right: -28px; }

/* ── Progress dots + bar ── */
.highlights__controls {
    display: flex; align-items: center; justify-content: center;
    gap: 20px; margin-top: 48px;
}
.highlights__dots {
    display: flex; align-items: center; gap: 10px;
}
.highlights__dot {
    width: 8px; height: 8px; border-radius: 20px;
    background: var(--border); border: none; cursor: pointer;
    transition: background 0.3s, width 0.3s, transform 0.2s;
    padding: 0; flex-shrink: 0; position: relative; overflow: hidden;
}
.highlights__dot.is-active {
    background: var(--green-mid);
    width: 28px;
}
/* Progress fill dentro do dot activo */
.highlights__dot.is-active::after {
    content: '';
    position: absolute; top: 0; left: 0; height: 100%;
    background: var(--green-deep); border-radius: 20px;
    width: 0%;
    animation: dot-progress var(--hl-speed, 5000ms) linear forwards;
}
@keyframes dot-progress {
    from { width: 0%; }
    to   { width: 100%; }
}

/* ── Highlights — Tablet 900px ── */
@media (max-width: 900px) {
    .highlights__track { min-height: 0; }
    .highlights__slide {
        position: absolute;
        top: 0; left: 0; width: 100%;
        grid-template-columns: 1fr;
        gap: 32px;
        transform: translateY(20px);
    }
    .highlights__slide.is-leaving { transform: translateY(-20px); }
    .highlights__slide.is-active  { position: relative; transform: translateY(0); }
    .highlights__media { order: -1; }
    .highlights__arrow--prev { left: 0; }
    .highlights__arrow--next { right: 0; }
    .highlights__img { max-width: 420px; margin: 0 auto; }
    .highlights__step-num { font-size: 1.4rem; }
}

/* ── Highlights — Mobile 768px ── */
@media (max-width: 768px) {
    .highlights { padding: 64px 5%; }
    .highlights__header { margin-bottom: 40px; }
    .highlights__title  { font-size: var(--font-size-h3); }
    .highlights__text   { font-size: 0.95rem; }
    .highlights__arrow  { width: 40px; height: 40px; }
    .highlights__arrow--prev { left: -4px; }
    .highlights__arrow--next { right: -4px; }
    .highlights__controls { margin-top: 28px; }
}

/* ── Highlights — Mobile pequeno 480px ── */
@media (max-width: 480px) {
    .highlights { padding: 52px 4%; }
    .highlights__arrow { display: none; }
    .highlights__controls { margin-top: 24px; }
    .highlights__dot  { width: 7px; height: 7px; }
    .highlights__dot.is-active { width: 22px; }
}
