/* ============================================
   Elo Estratégico - Design System
   Cores: Primary #61634A | Secondary #716952 | Accent #D1AE93 | Ink #4B2F20
   ============================================ */

:root {
    --color-n0: #FFFFFF;
    --color-n50: #EBE7E3;
    --color-n100: #D1CAC4;
    --color-primary: #61634A;
    --color-secondary: #716952;
    --color-accent: #D1AE93;
    --color-ink: #4B2F20;
    --color-ink2: #192018;
    --shadow-s1: 0 2px 8px rgba(0,0,0,0.06);
    --shadow-s2: 0 8px 24px rgba(0,0,0,0.10);
    --radius-card: 12px;
    --radius-btn: 8px;
}

body {
    background-color: var(--color-n50);
    color: var(--color-ink);
}

/* Buttons - DS 2.1 */
.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-n0);
    padding: 0 20px;
    min-height: 44px;
    border-radius: var(--radius-btn);
    transition: all 0.2s ease;
    box-shadow: var(--shadow-s1);
}
.btn-primary:hover,
.btn-primary:focus {
    background-color: #54563f; /* ~8% darker */
    transform: translateY(-1px);
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

.btn-secondary {
    background-color: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 0 20px;
    min-height: 44px;
    border-radius: var(--radius-btn);
    transition: all 0.2s ease;
}
.btn-secondary:hover,
.btn-secondary:focus {
    background-color: rgba(97, 99, 74, 0.07);
    outline: 2px solid var(--color-primary);
    outline-offset: 2px;
}

/* Cards - DS 2.3 */
.card-ds {
    background: var(--color-n0);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-s1);
    padding: 24px;
    border: 1px solid rgba(209, 202, 196, 0.3);
}

/* Badge/Tag - DS 2.4 */
.badge-accent {
    background-color: rgba(209, 174, 147, 0.25);
    color: var(--color-ink);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
}

.badge-etapa {
    background-color: rgba(97, 99, 74, 0.12);
    color: var(--color-primary);
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
}

/* Highlight strip (marca-texto) - DS 2.6 */
.highlight-strip {
    background-color: var(--color-accent);
}

/* Section divider */
.section-divider {
    height: 1px;
    background: rgba(209, 202, 196, 0.3);
}

/* Animation */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Method number */
.method-number {
    -webkit-text-stroke: 1px var(--color-primary);
    color: transparent;
}

/* Scroll progress bar */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
    transform-origin: left;
    transform: scaleX(0);
    z-index: 50;
    transition: transform 0.08s ease-out;
}

/* Glass header */
.glass-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(209, 202, 196, 0.4);
}

/* Hero clip path */
.clip-path-hero {
    clip-path: ellipse(80% 60% at 50% 0%);
}

/* ============================================
   Timeline Stepper - Metodologia
   ============================================ */
.timeline-stepper {
    padding: 0 1rem;
}

.timeline-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    transition: all 0.3s ease;
    font-family: inherit;
    position: relative;
    z-index: 1;
}

.timeline-step:hover {
    transform: translateY(-2px);
}

.timeline-step__dot {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    background: var(--color-n0);
    border: 2px solid rgba(97, 99, 74, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-secondary);
    transition: border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.timeline-step:hover .timeline-step__dot {
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.timeline-step-active .timeline-step__dot {
    background: var(--color-primary);
    color: var(--color-n0);
    border-color: var(--color-primary);
    box-shadow: 0 4px 12px rgba(97, 99, 74, 0.35);
}

.timeline-step__label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (max-width: 480px) {
    .timeline-step__label {
        display: none;
    }
}

.timeline-step-active .timeline-step__label {
    color: var(--color-primary);
}

.timeline-step__line {
    height: 2px;
    background: linear-gradient(90deg, rgba(97, 99, 74, 0.3), rgba(97, 99, 74, 0.15));
    margin-top: -1.5rem;
}

/* Timeline Cards */
.timeline-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}

@media (max-width: 1023px) {
    .timeline-cards-wrapper {
        display: flex;
        flex-wrap: nowrap;
        gap: 1rem;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .timeline-cards-wrapper::-webkit-scrollbar {
        height: 6px;
    }

    .timeline-cards-wrapper::-webkit-scrollbar-track {
        background: rgba(209, 202, 196, 0.3);
        border-radius: 3px;
    }

    .timeline-cards-wrapper::-webkit-scrollbar-thumb {
        background: rgba(97, 99, 74, 0.4);
        border-radius: 3px;
    }
}

.timeline-card {
    background: var(--color-n0);
    padding: 1.5rem;
    border-radius: var(--radius-card);
    border: 1px solid rgba(209, 202, 196, 0.4);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 0.7;
    transform: scale(0.97);
}

@media (max-width: 1023px) {
    .timeline-card {
        min-width: 85vw;
        max-width: 85vw;
        flex-shrink: 0;
        scroll-snap-align: start;
        scroll-snap-stop: normal;
        opacity: 1;
        transform: none;
    }
}

.timeline-card:hover {
    opacity: 0.9;
}

@media (max-width: 1023px) {
    .timeline-card:hover {
        opacity: 1;
    }
}

.timeline-card-active {
    opacity: 1;
    transform: scale(1);
    border-color: var(--color-primary);
    box-shadow: 0 8px 32px rgba(97, 99, 74, 0.15);
}

@media (max-width: 1023px) {
    .timeline-card-active {
        transform: none;
        box-shadow: 0 4px 20px rgba(97, 99, 74, 0.12);
    }
}

/* ============================================
   Vertical Stepper - Como funciona
   ============================================ */
.vertical-stepper {
    position: relative;
}

.vertical-stepper__item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
    padding-bottom: 2rem;
    position: relative;
}

.vertical-stepper__item:last-child {
    padding-bottom: 0;
}

.vertical-stepper__item:last-child .vertical-stepper__connector {
    display: none;
}

.vertical-stepper__connector {
    position: absolute;
    left: calc(1.25rem - 1px);
    top: 2.5rem;
    bottom: -0.5rem;
    width: 2px;
    background: linear-gradient(180deg, var(--color-primary), rgba(97, 99, 74, 0.2));
    transform-origin: top;
    transform: scaleY(0);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.vertical-stepper.visible .vertical-stepper__connector {
    transform: scaleY(1);
}

.vertical-stepper__item:nth-child(1) .vertical-stepper__connector { transition-delay: 0.1s; }
.vertical-stepper__item:nth-child(2) .vertical-stepper__connector { transition-delay: 0.25s; }
.vertical-stepper__item:nth-child(3) .vertical-stepper__connector { transition-delay: 0.4s; }

.vertical-stepper__dot {
    width: 2.5rem;
    height: 2.5rem;
    min-width: 2.5rem;
    border-radius: 50%;
    background: rgba(209, 174, 147, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Cormorant Garamond', serif;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-secondary);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.vertical-stepper__item:hover .vertical-stepper__dot {
    background: var(--color-primary);
    color: var(--color-n0);
    transform: scale(1.08);
}

.vertical-stepper__content {
    flex: 1;
    padding: 1rem 1.25rem;
    background: var(--color-n0);
    border-radius: var(--radius-card);
    border: 1px solid rgba(209, 202, 196, 0.3);
    transition: all 0.3s ease;
}

.vertical-stepper__item:hover .vertical-stepper__content {
    border-color: rgba(97, 99, 74, 0.25);
    box-shadow: var(--shadow-s1);
}

/* ============================================
   Depoimentos - Scroll horizontal no mobile
   ============================================ */
.depoimentos-scroll-wrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    justify-items: center;
}

@media (max-width: 1023px) {
    .depoimentos-scroll-wrapper {
        display: flex;
        flex-wrap: nowrap;
        gap: 1rem;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        justify-items: stretch;
    }

    .depoimentos-scroll-wrapper::-webkit-scrollbar {
        height: 6px;
    }

    .depoimentos-scroll-wrapper::-webkit-scrollbar-track {
        background: rgba(209, 202, 196, 0.3);
        border-radius: 3px;
    }

    .depoimentos-scroll-wrapper::-webkit-scrollbar-thumb {
        background: rgba(97, 99, 74, 0.4);
        border-radius: 3px;
    }
}

.depoimentos-card {
    width: 100%;
    max-width: 280px;
}

@media (max-width: 1023px) {
    .depoimentos-card {
        min-width: 85vw;
        max-width: 85vw;
        flex-shrink: 0;
        scroll-snap-align: start;
        scroll-snap-stop: normal;
    }
}

/* Scroll Nav - Botões de navegação */
.scroll-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.scroll-nav__btn {
    width: 2.75rem;
    height: 2.75rem;
    min-width: 2.75rem;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    background: var(--color-n0);
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.scroll-nav__btn:hover {
    background: var(--color-primary);
    color: var(--color-n0);
}

.scroll-nav__btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.scroll-nav__btn:disabled:hover {
    background: var(--color-n0);
    color: var(--color-primary);
}

.scroll-nav__indicator {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-secondary);
}

.scroll-nav__current {
    color: var(--color-primary);
}

/* ============================================
   Cases de Sucesso - Scroll horizontal no mobile
   ============================================ */
.cases-scroll-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

@media (min-width: 1024px) {
    .cases-scroll-wrapper {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1023px) {
    .cases-scroll-wrapper {
        display: flex;
        flex-wrap: nowrap;
        gap: 1rem;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.5rem;
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .cases-scroll-wrapper::-webkit-scrollbar {
        height: 6px;
    }

    .cases-scroll-wrapper::-webkit-scrollbar-track {
        background: rgba(209, 202, 196, 0.3);
        border-radius: 3px;
    }

    .cases-scroll-wrapper::-webkit-scrollbar-thumb {
        background: rgba(97, 99, 74, 0.4);
        border-radius: 3px;
    }
}

.cases-card {
    display: block;
}

@media (max-width: 1023px) {
    .cases-card {
        min-width: 75vw;
        max-width: 75vw;
        flex-shrink: 0;
        scroll-snap-align: start;
        scroll-snap-stop: normal;
    }
}

/* ============================================
   Efeitos Interativos - Charm & Micro-interações
   ============================================ */

/* Hero - Imagem com parallax e hover colorido */
.hero-image-container {
    perspective: 1000px;
}

.hero-image {
    filter: grayscale(20%) sepia(10%);
    transition: filter 0.6s ease, transform 0.5s ease;
}

.hero-image-wrap:hover .hero-image {
    filter: grayscale(0%) sepia(0%);
}

/* Pull Quote - Linha decorativa anima ao entrar */
.pull-quote-content.visible .line-reveal {
    animation: lineExpand 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    transform-origin: center;
}

@keyframes lineExpand {
    from { transform: scaleX(0); opacity: 0.5; }
    to { transform: scaleX(1); opacity: 1; }
}

/* Card Tilt - Efeito 3D sutil no hover */
.card-tilt {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.5s ease;
    transform-style: preserve-3d;
}

.card-tilt:hover {
    transform: translateY(-4px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* Bônus Cards - Hover com ícone bounce */
.bonus-card {
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.bonus-card:hover {
    border-color: var(--color-accent);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}

.bonus-icon {
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.bonus-card:hover .bonus-icon {
    transform: scale(1.15) rotate(-5deg);
}

/* Resultados - Stagger na lista */
.resultado-item {
    opacity: 0;
    transform: translateX(-10px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.resultados-list.visible .resultado-item {
    opacity: 1;
    transform: translateX(0);
}

.resultados-list.visible .resultado-item:nth-child(1) { transition-delay: 0.1s; }
.resultados-list.visible .resultado-item:nth-child(2) { transition-delay: 0.2s; }
.resultados-list.visible .resultado-item:nth-child(3) { transition-delay: 0.3s; }

/* Cases - Zoom na foto no hover */
.cases-card-inner {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

a.cases-card:hover .cases-card-inner {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.cases-card-img-wrap {
    overflow: hidden;
}

.cases-card-img {
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

a.cases-card:hover .cases-card-img {
    transform: scale(1.08);
}

/* Sobre - Imagem coloriza ao entrar na viewport */
.sobre-image {
    filter: grayscale(100%);
    transition: filter 1.2s ease;
}

.sobre-image.visible {
    filter: grayscale(0%);
}

/* Urgência - Pulse sutil */
.urgency-card {
    animation: urgencyGlow 3s ease-in-out infinite;
}

@keyframes urgencyGlow {
    0%, 100% { box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15); }
    50% { box-shadow: 0 8px 32px rgba(97, 99, 74, 0.25); }
}

/* CTA - Botão principal com glow no hover */
.cta-primary {
    position: relative;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.cta-primary:hover {
    box-shadow: 0 0 28px rgba(209, 174, 147, 0.5);
    transform: translateY(-2px);
}

/* Footer - Links com underline animado */
footer a:not([href*="instagram"]) {
    position: relative;
}

footer a:not([href*="instagram"])::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

footer a:not([href*="instagram"]):hover::after {
    width: 100%;
}

/* Depoimento destaque - Shine passando */
.depoimento-destaque {
    position: relative;
    overflow: hidden;
}

.depoimento-destaque::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
    transition: left 0.8s ease;
}

.depoimento-destaque:hover::before {
    left: 100%;
}

