/* =========================================================
   SETE BARBEARIA - PRÓTESE CAPILAR
   ========================================================= */

:root {
    --gold: #ffb400;
    --gold-soft: #e0a526;
    --gold-dim: rgba(255, 180, 0, 0.12);
    --bg: #0b0b0b;
    --bg-2: #121212;
    --bg-3: #1a1a1a;
    --line: rgba(255, 255, 255, 0.08);
    --text: #f2f2f2;
    --muted: #b3b3b3;
    --radius: 14px;
    --header-h: 76px;
    --font-title: "Oswald", sans-serif;
    --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: var(--header-h);
}

body {
    font-family: var(--font-body);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.65;
    overflow-x: hidden;
    overflow-x: clip;
    -webkit-font-smoothing: antialiased;
}

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

img {
    height: auto;
}

a {
    color: inherit;
}

h1,
h2,
h3 {
    font-family: var(--font-title);
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: .5px;
    text-transform: uppercase;
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    margin-bottom: 20px;
}

h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
}

p+p {
    margin-top: 16px;
}

strong {
    color: #fff;
    font-weight: 600;
}

.gold {
    color: var(--gold);
}

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

.skip-link {
    position: absolute;
    left: -999px;
    top: 10px;
    background: var(--gold);
    color: #111;
    padding: 8px 14px;
    border-radius: 6px;
    z-index: 2000;
}

.skip-link:focus {
    left: 10px;
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

.eyebrow {
    display: inline-block;
    font-family: var(--font-title);
    font-size: .85rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 12px;
}

.eyebrow::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 2px;
    background: var(--gold);
    vertical-align: middle;
    margin-right: 10px;
}

/* ---------- Botões ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-title);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    color: #111;
    background: linear-gradient(135deg, #ffc93c, var(--gold) 50%, #e89f00);
    padding: 15px 30px;
    border: 2px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(255, 180, 0, .25);
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(255, 180, 0, .38);
}

.btn .icon {
    width: 20px;
    height: 20px;
}

.btn-ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, .5);
    box-shadow: none;
}

.btn-ghost:hover {
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: none;
}

.btn-dark {
    background: #111;
    color: var(--gold);
    box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
}

.btn-dark:hover {
    background: #000;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
}

.btn-sm {
    padding: 9px 20px;
    font-size: .9rem;
    box-shadow: none;
}

/* ---------- Header ---------- */
.header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    height: var(--header-h);
    display: flex;
    align-items: center;
    background: linear-gradient(to bottom, rgba(0, 0, 0, .75), transparent);
    transition: background .3s, box-shadow .3s, backdrop-filter .3s;
}

.header.scrolled {
    background: rgba(8, 8, 8, .88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 1px 0 var(--line), 0 10px 30px rgba(0, 0, 0, .35);
}

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

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand-logo {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid rgba(255, 180, 0, .35);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    font-family: var(--font-title);
    text-transform: uppercase;
}

.brand-text strong {
    color: #fff;
    font-size: 1.1rem;
    letter-spacing: 1px;
}

.brand-text small {
    color: var(--gold);
    font-size: .78rem;
    letter-spacing: 3px;
}

.menu {
    display: flex;
    align-items: center;
    gap: 6px;
}

.menu a:not(.btn) {
    white-space: nowrap;
    position: relative;
    font-family: var(--font-title);
    font-size: .95rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    color: #ddd;
    padding: 8px 12px;
    transition: color .2s;
}

.menu a:not(.btn)::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 2px;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s var(--ease);
}

.menu a:not(.btn):hover,
.menu a.active {
    color: var(--gold);
}

.menu a:not(.btn):hover::after,
.menu a.active::after {
    transform: scaleX(1);
}

.menu-cta {
    margin-left: 10px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 6px;
    width: 44px;
    height: 44px;
    padding: 9px;
    background: none;
    border: 1px solid rgba(255, 180, 0, .35);
    border-radius: 10px;
    cursor: pointer;
}

.hamburguer-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--gold);
    border-radius: 2px;
    transition: transform .3s var(--ease), opacity .2s;
}

.menu-toggle.active .hamburguer-line:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active .hamburguer-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburguer-line:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    padding: calc(var(--header-h) + 40px) 0 80px;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(255, 180, 0, .12), transparent 60%),
        linear-gradient(90deg, rgba(0, 0, 0, .88) 0%, rgba(0, 0, 0, .6) 55%, rgba(0, 0, 0, .35) 100%),
        linear-gradient(to top, var(--bg) 0%, transparent 30%),
        url("img/capa-inicio.jpg") center / cover no-repeat;
}

.hero-inner {
    max-width: 1180px;
}

.hero h1 {
    font-size: clamp(2.3rem, 6.5vw, 4.6rem);
    font-weight: 700;
    max-width: 20ch;
    margin-bottom: 22px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, .5);
}

.hero-sub {
    max-width: 560px;
    font-size: clamp(1rem, 1.6vw, 1.15rem);
    color: #d6d6d6;
    margin-bottom: 34px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 48px;
}

.hero-badges {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 14px 34px;
    color: var(--muted);
    font-size: .95rem;
}

.hero-badges li {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.hero-badges span {
    font-family: var(--font-title);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--gold);
    text-transform: uppercase;
}

/* ---------- Seções ---------- */
.section {
    padding: clamp(70px, 10vw, 120px) 0;
}

.section-dark {
    background: var(--bg);
}

.section-darker {
    background: var(--bg-2);
}

.section-head {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 50px;
}

.section-head .eyebrow::after {
    content: "";
    display: inline-block;
    width: 28px;
    height: 2px;
    background: var(--gold);
    vertical-align: middle;
    margin-left: 10px;
}

.section-head p:not(.eyebrow) {
    color: var(--muted);
}

/* ---------- Diferenciais ---------- */
#DIFERENCIAIS {
    padding-top: 0;
    position: relative;
}

.features {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: -50px;
    position: relative;
    z-index: 2;
}

.feature {
    background: linear-gradient(180deg, var(--bg-3), var(--bg-2));
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 26px;
    transition: transform .3s var(--ease), border-color .3s;
}

.feature:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 180, 0, .4);
}

.feature-icon {
    width: 48px;
    height: 48px;
    padding: 10px;
    color: var(--gold);
    background: var(--gold-dim);
    border-radius: 12px;
    margin-bottom: 18px;
}

.feature p {
    color: var(--muted);
    font-size: .95rem;
}

/* ---------- Split (Sobre / Produtos) ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    align-items: center;
    gap: clamp(40px, 6vw, 90px);
}

.split-reverse {
    grid-template-columns: 1.15fr 1fr;
}

.split-text p:not(.eyebrow) {
    color: #cfcfcf;
}

.split-text .btn {
    margin-top: 30px;
}

.about-photo {
    position: relative;
    max-width: 440px;
    justify-self: center;
}

.about-photo img {
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center 20%;
    border-radius: var(--radius) var(--radius) 90px var(--radius);
    filter: grayscale(.15) contrast(1.05);
}

.about-photo::before {
    content: "";
    position: absolute;
    inset: 18px -18px -18px 18px;
    border: 2px solid var(--gold);
    border-radius: var(--radius) var(--radius) 90px var(--radius);
    z-index: -1;
}

.about-photo {
    z-index: 0;
}

.about-badge {
    position: absolute;
    left: -24px;
    bottom: 40px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 20px;
    background: var(--gold);
    color: #111;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .45);
    font-family: var(--font-title);
    text-transform: uppercase;
    line-height: 1.1;
}

.about-badge strong {
    color: #111;
    font-size: 2.6rem;
    font-weight: 700;
}

.about-badge span {
    font-size: .85rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.quote {
    margin-top: 24px;
    padding: 16px 22px;
    border-left: 3px solid var(--gold);
    background: var(--gold-dim);
    border-radius: 0 10px 10px 0;
    font-family: var(--font-title);
    font-size: 1.15rem;
    letter-spacing: .5px;
    color: #fff;
}

/* ---------- Como funciona ---------- */
.steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    counter-reset: step;
}

.step {
    position: relative;
    padding: 30px 26px;
    border-top: 2px solid var(--line);
}

.step::before {
    content: "";
    position: absolute;
    top: -2px;
    left: 0;
    width: 50px;
    height: 2px;
    background: var(--gold);
    transition: width .5s var(--ease);
}

.step:hover::before {
    width: 100%;
}

.step-num {
    display: block;
    font-family: var(--font-title);
    font-size: 3rem;
    font-weight: 700;
    line-height: 1;
    color: transparent;
    -webkit-text-stroke: 1px var(--gold);
    margin-bottom: 14px;
}

.step p {
    color: var(--muted);
    font-size: .95rem;
}

/* ---------- Carrossel ---------- */
.carousel {
    position: relative;
    width: 100%;
    max-width: 480px;
    justify-self: center;
}

.carousel-viewport {
    overflow: hidden;
    border-radius: var(--radius);
    background: #f4f4f4;
    aspect-ratio: 1 / 1;
    box-shadow: 0 25px 60px rgba(0, 0, 0, .5);
    touch-action: pan-y;
}

.carousel-track {
    display: flex;
    height: 100%;
    transition: transform .6s var(--ease);
    will-change: transform;
}

.carousel-img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    user-select: none;
    -webkit-user-drag: none;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    font-size: 1.1rem;
    color: #fff;
    background: rgba(0, 0, 0, .55);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 50%;
    cursor: pointer;
    z-index: 2;
    backdrop-filter: blur(4px);
    transition: background .25s, color .25s, transform .25s;
}

.carousel-control:hover {
    background: var(--gold);
    color: #111;
    transform: translateY(-50%) scale(1.08);
}

.carousel-control.prev {
    left: -23px;
}

.carousel-control.next {
    right: -23px;
}

.carousel-dots {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    margin-top: 10px;
}

.dot {
    /* bolinha de 9px, mas área de toque de 25px */
    box-sizing: content-box;
    width: 9px;
    height: 9px;
    padding: 8px 4px;
    border: none;
    border-radius: 999px;
    background: rgba(255, 255, 255, .25);
    background-clip: content-box;
    cursor: pointer;
    transition: width .3s var(--ease), background .3s;
}

.dot.active {
    width: 26px;
    background: var(--gold);
}

/* ---------- Resultados / vídeo ---------- */
.results {
    position: relative;
    overflow: hidden;
    isolation: isolate;
    border-block: 1px solid rgba(255, 180, 0, .3);
}

.results::before {
    content: "";
    position: absolute;
    inset: -20px;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, .95) 0%, rgba(0, 0, 0, .82) 60%, rgba(0, 0, 0, .7) 100%),
        url("img/resultados-bg.jpg") center / 420px repeat;
    filter: blur(3px);
}

.results-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: clamp(40px, 6vw, 90px);
}

.results-text p:not(.eyebrow) {
    color: #cfcfcf;
    max-width: 520px;
}

.results-text .btn {
    margin-top: 30px;
}

.video-frame {
    position: relative;
    /* respeita a proporção 9:16 também em telas baixas (celular deitado) */
    width: min(360px, 80vw, calc(80vh * 9 / 16));
    min-width: 200px;
    aspect-ratio: 9 / 16;
    border-radius: 26px;
    overflow: hidden;
    background: #000;
    border: 6px solid #1c1c1c;
    box-shadow: 0 0 0 1px rgba(255, 180, 0, .35), 0 30px 70px rgba(0, 0, 0, .6);
}

.video-frame video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- FAQ ---------- */
.faq-container {
    max-width: 820px;
    margin: 0 auto;
    display: grid;
    gap: 12px;
}

.faq-item {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--bg-2);
    overflow: hidden;
    transition: border-color .3s;
}

.faq-item:has(.faq-question.active) {
    border-color: rgba(255, 180, 0, .45);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px 24px;
    background: none;
    border: none;
    color: #fff;
    font-family: var(--font-body);
    font-size: 1.02rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: color .2s;
}

.faq-question:hover,
.faq-question.active {
    color: var(--gold);
}

.faq-question::after {
    content: "";
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    border-right: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
    transform: translateY(-3px) rotate(45deg);
    transition: transform .3s var(--ease);
}

.faq-question.active::after {
    transform: translateY(3px) rotate(-135deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s var(--ease);
}

.faq-answer p {
    padding: 0 24px 22px;
    color: var(--muted);
}

.faq-answer a {
    color: var(--gold);
}

/* ---------- CTA final ---------- */
.cta-band {
    background: linear-gradient(135deg, #ffc93c, var(--gold) 45%, #d99400);
    color: #111;
    padding: 60px 0;
}

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

.cta-inner h2 {
    margin: 0;
    max-width: 640px;
    font-size: clamp(1.6rem, 3.4vw, 2.4rem);
}

.cta-inner .btn {
    flex-shrink: 0;
}

/* ---------- Contato ---------- */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 30px;
    align-items: start;
}

.contact-list {
    list-style: none;
    display: grid;
    gap: 14px;
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 18px 20px;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: 12px;
}

.contact-list li > div:not(.social-links) {
    display: flex;
    flex-direction: column;
    line-height: 1.45;
}

.contact-list a {
    display: inline-block;
    padding: 4px 0;
    text-decoration: none;
    word-break: break-word;
    transition: color .2s;
}

.contact-list a:hover {
    color: var(--gold);
}

.contact-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 11px;
    color: var(--gold);
    background: var(--gold-dim);
    border-radius: 10px;
}

.label {
    font-family: var(--font-title);
    font-size: .8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
}

.contact-list li.social {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

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

.social-links a {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 1px solid rgba(255, 180, 0, .4);
    color: var(--gold);
    transition: background .25s, color .25s, transform .25s;
}

.social-links a:hover {
    background: var(--gold);
    color: #111;
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
}

/* ---------- Formulário ---------- */
.contact-form {
    display: grid;
    gap: 16px;
    align-content: start;
    padding: clamp(24px, 4vw, 36px);
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: var(--radius);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin: 0;
}

.form-intro {
    color: var(--muted);
    font-size: .95rem;
    margin: -8px 0 4px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.field {
    display: grid;
    gap: 6px;
}

.field label {
    font-family: var(--font-title);
    font-size: .8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--muted);
}

.field input,
.field select,
.field textarea {
    width: 100%;
    font: inherit;
    font-size: 1rem;
    color: var(--text);
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 10px;
    padding: 13px 15px;
    transition: border-color .2s, box-shadow .2s;
}

.field textarea {
    resize: vertical;
    min-height: 120px;
}

.field select {
    appearance: none;
    cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);
    background-position: calc(100% - 20px) 50%, calc(100% - 15px) 50%;
    background-size: 5px 5px;
    background-repeat: no-repeat;
}

.field ::placeholder {
    color: #6d6d6d;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(255, 180, 0, .18);
}

.field.invalid input,
.field.invalid textarea {
    border-color: #ff5f56;
}

.field .error-msg {
    color: #ff7b73;
    font-size: .85rem;
}

.honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}

.btn-block {
    width: 100%;
    margin-top: 4px;
}

.btn[disabled] {
    opacity: .7;
    cursor: wait;
    transform: none;
}

.form-status {
    min-height: 1.4em;
    font-size: .95rem;
    text-align: center;
}

.form-status.ok {
    color: #4ade80;
}

.form-status.erro {
    color: #ff7b73;
}

.form-status a {
    color: var(--gold);
}

/* ---------- Localização ---------- */
.location {
    margin-top: 30px;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    background: var(--bg-3);
}

.map iframe {
    width: 100%;
    height: 400px;
    border: 0;
}

.location-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
    padding: 18px 20px;
}

.location-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.location-info > div {
    display: flex;
    flex-direction: column;
}

.location-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

/* ---------- Rodapé ---------- */
.footer {
    background: #000;
    border-top: 1px solid var(--line);
    padding: 34px 0;
    color: var(--muted);
    font-size: .9rem;
}

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

.footer img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
}

.back-top {
    display: inline-block;
    padding: 10px 4px;
    color: var(--gold);
    text-decoration: none;
    font-family: var(--font-title);
    letter-spacing: 1px;
    text-transform: uppercase;
    white-space: nowrap;
}

/* ---------- WhatsApp flutuante ---------- */
.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1000;
    display: grid;
    place-items: center;
    width: 60px;
    height: 60px;
    color: #fff;
    background-color: #25d366;
    border-radius: 50%;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .45);
    transition: transform .3s var(--ease);
}

.whatsapp-float::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25d366;
    z-index: -1;
    animation: pulse 2.4s infinite;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

@keyframes pulse {
    0% { transform: scale(1); opacity: .6; }
    100% { transform: scale(1.7); opacity: 0; }
}

/* ---------- Animação de entrada ---------- */
.js .reveal {
    opacity: 0;
    transform: translateY(50px);
    filter: blur(6px);
    transition: opacity .9s var(--ease), transform .9s var(--ease), filter .9s var(--ease);
    transition-delay: var(--delay, 0ms);
}

.js .reveal-left {
    transform: translateX(-70px);
}

.js .reveal-right {
    transform: translateX(70px);
}

.js .reveal-zoom {
    transform: scale(.88);
}

.js .reveal.visible {
    opacity: 1;
    transform: none;
    filter: none;
}

/* depois de aparecer, devolve as transições normais (hover dos cards) */
.js .reveal.done {
    transition-delay: 0ms;
}

.js .feature.reveal.done {
    transition: transform .3s var(--ease), border-color .3s;
}

/* Títulos: linha dourada que "desenha" ao aparecer */
.js .section-head h2,
.js .split-text h2,
.js .results-text h2 {
    position: relative;
    padding-bottom: 14px;
}

.js .section-head h2::after,
.js .split-text h2::after,
.js .results-text h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 3px;
    border-radius: 3px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .9s var(--ease) .35s;
}

.js .section-head h2::after {
    left: 50%;
    margin-left: -35px;
    transform-origin: center;
}

.js .visible h2::after {
    transform: scaleX(1);
}

/* Entrada do topo (hero) ao carregar a página */
.js .hero-inner > * {
    opacity: 0;
    animation: hero-in 1s var(--ease) forwards;
}

.js .hero-inner > :nth-child(1) { animation-delay: .15s; }
.js .hero-inner > :nth-child(2) { animation-delay: .3s; }
.js .hero-inner > :nth-child(3) { animation-delay: .5s; }
.js .hero-inner > :nth-child(4) { animation-delay: .65s; }
.js .hero-inner > :nth-child(5) { animation-delay: .8s; }

@keyframes hero-in {
    from { opacity: 0; transform: translateY(40px); filter: blur(8px); }
    to { opacity: 1; transform: none; filter: none; }
}

/* Barra de progresso de leitura */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    z-index: 200;
    background: linear-gradient(90deg, #ffc93c, var(--gold), #e89f00);
    transform: scaleX(0);
    transform-origin: left;
    pointer-events: none;
}

/* ---------- Depoimentos ---------- */
.testimonials {
    position: relative;
}

.t-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 2 * 24px) / 3);
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 6px 2px 20px;
    scrollbar-width: none;
    outline-offset: 6px;
}

.t-track::-webkit-scrollbar {
    display: none;
}

.testimonial {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    background: var(--bg-3);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}

.testimonial:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 180, 0, .45);
    box-shadow: 0 20px 40px rgba(0, 0, 0, .45);
}

.t-photo {
    position: relative;
    display: block;
    padding: 0;
    border: 0;
    background: #000;
    cursor: zoom-in;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.t-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.testimonial:hover .t-photo img {
    transform: scale(1.05);
}

.t-photo::after {
    content: "+";
    position: absolute;
    right: 12px;
    top: 12px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    font-size: 1.4rem;
    line-height: 1;
    color: #111;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    transform: scale(.7);
    transition: opacity .3s, transform .3s var(--ease);
}

.testimonial:hover .t-photo::after,
.t-photo:focus-visible::after {
    opacity: 1;
    transform: none;
}

.t-body {
    display: flex;
    flex-direction: column;
    gap: 12px;
    padding: 20px 22px 22px;
    flex: 1;
}

.t-stars {
    color: var(--gold);
    letter-spacing: 3px;
    font-size: 1rem;
}

.t-quote {
    position: relative;
    color: #dcdcdc;
    font-size: .98rem;
    font-style: italic;
    padding-left: 26px;
}

.t-quote::before {
    content: "\201C";
    position: absolute;
    left: -2px;
    top: -14px;
    font-family: Georgia, serif;
    font-size: 3rem;
    font-style: normal;
    color: var(--gold);
    opacity: .7;
}

/* Sem texto ainda: esconde aspas e estrelas */
.t-quote:empty,
.t-body:has(.t-quote:empty) .t-stars {
    display: none;
}

.t-author {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    line-height: 1.35;
}

.t-author span {
    color: var(--muted);
    font-size: .85rem;
}

.t-nav {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 10px;
}

.t-arrow {
    flex: 0 0 auto;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: var(--gold);
    background: transparent;
    border: 1px solid rgba(255, 180, 0, .45);
    border-radius: 50%;
    cursor: pointer;
    transition: background .25s, color .25s, opacity .25s;
}

.t-arrow:hover:not(:disabled) {
    background: var(--gold);
    color: #111;
}

.t-arrow:disabled {
    opacity: .3;
    cursor: default;
}

.t-progress {
    flex: 1;
    height: 3px;
    background: var(--line);
    border-radius: 3px;
    overflow: hidden;
}

.t-progress span {
    display: block;
    height: 100%;
    width: 30%;
    background: var(--gold);
    border-radius: 3px;
    transition: transform .3s var(--ease), width .3s;
}

.t-cta {
    text-align: center;
    margin-top: 40px;
}

/* Lightbox */
.lightbox {
    margin: auto;
    padding: 0;
    border: 0;
    background: transparent;
    max-width: min(92vw, 820px);
    max-height: 90vh;
    overflow: visible;
}

.lightbox::backdrop {
    background: rgba(0, 0, 0, .88);
    backdrop-filter: blur(4px);
}

.lightbox[open] {
    animation: lb-in .35s var(--ease);
}

.lightbox img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: var(--radius);
    box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
}

.lightbox-close {
    position: absolute;
    top: -16px;
    right: -16px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    font-size: 1.6rem;
    line-height: 1;
    color: #111;
    background: var(--gold);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    z-index: 1;
}

@keyframes lb-in {
    from { opacity: 0; transform: scale(.92); }
    to { opacity: 1; transform: none; }
}

/* =========================================================
   RESPONSIVO
   ========================================================= */
@media (max-width: 1100px) {
    .menu a:not(.btn) {
        padding: 8px 8px;
        font-size: .88rem;
    }

    .menu a:not(.btn)::after {
        left: 8px;
        right: 8px;
    }

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

/* Menu hambúrguer abaixo de 1240px (o menu completo não cabe em uma linha) */
@media (max-width: 1240px) {
    :root {
        --header-h: 68px;
    }

    .brand-logo {
        width: 46px;
        height: 46px;
    }

    .menu-toggle {
        display: flex;
    }

    .menu {
        position: fixed;
        top: var(--header-h);
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 10px 20px 24px;
        background: rgba(8, 8, 8, .97);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border-bottom: 1px solid var(--line);
        box-shadow: 0 20px 40px rgba(0, 0, 0, .5);
        transform: translateY(-12px);
        opacity: 0;
        visibility: hidden;
        /* celular deitado: o menu rola se não couber na tela */
        max-height: calc(100vh - var(--header-h));
        max-height: calc(100dvh - var(--header-h));
        overflow-y: auto;
        overscroll-behavior: contain;
        transition: opacity .25s, transform .25s var(--ease), visibility .25s;
    }

    .menu.active {
        transform: none;
        opacity: 1;
        visibility: visible;
    }

    .menu a:not(.btn) {
        padding: 14px 4px;
        font-size: 1rem;
        border-bottom: 1px solid var(--line);
    }

    .menu a:not(.btn)::after {
        display: none;
    }

    .menu-cta {
        margin: 18px 0 0;
    }

    .header.menu-open {
        background: rgba(8, 8, 8, .97);
    }

    /* setas e selo dentro da tela em tablets/notebooks pequenos */
    .carousel-control.prev {
        left: 10px;
    }

    .carousel-control.next {
        right: 10px;
    }

    .about-badge {
        left: -10px;
    }
}

@media (max-width: 900px) {
    .split,
    .split-reverse,
    .results-inner,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .split-reverse .split-text {
        order: 0;
    }

    .about-photo {
        max-width: 380px;
        margin-right: 18px;
    }

    .about-badge {
        left: -10px;
    }

    .results-inner {
        text-align: center;
    }

    .results-text p:not(.eyebrow) {
        margin-inline: auto;
    }

    .video-frame {
        justify-self: center;
    }

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .carousel-control.prev {
        left: 10px;
    }

    .carousel-control.next {
        right: 10px;
    }
}

@media (max-width: 900px) {
    .t-track {
        grid-auto-columns: calc((100% - 24px) / 2);
    }
}

@media (max-width: 600px) {
    .container {
        width: calc(100% - 32px);
    }

    .t-track {
        grid-auto-columns: 84%;
        gap: 16px;
    }

    /* no celular, deslocamentos laterais menores para não "vazar" da tela */
    .js .reveal-left {
        transform: translateX(-30px);
    }

    .js .reveal-right {
        transform: translateX(30px);
    }

    .lightbox-close {
        top: -50px;
        right: 0;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .map iframe {
        height: 300px;
    }

    .location-actions,
    .location-actions .btn {
        width: 100%;
    }

    .hero {
        align-items: flex-end;
        padding-bottom: 90px;
        background-position: 65% center;
    }

    .hero-actions .btn {
        flex: 1 1 100%;
    }

    .hero-badges {
        gap: 10px 22px;
        font-size: .85rem;
    }

    .hero-badges span {
        font-size: 1.1rem;
    }

    .features,
    .steps {
        grid-template-columns: 1fr;
    }

    .features {
        margin-top: 0;
        padding-top: 50px;
    }

    .brand-text strong {
        font-size: .95rem;
    }

    .brand-text small {
        font-size: .75rem;
        letter-spacing: 1.5px;
    }

    .split-text .btn,
    .results-text .btn {
        width: 100%;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        right: 16px;
        bottom: 16px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }

    .js .reveal,
    .js .hero-inner > * {
        opacity: 1;
        transform: none;
        filter: none;
    }

    .js h2::after {
        transform: scaleX(1) !important;
    }
}
