/* ===================================
   PURISSIMA-INSPIRED STYLESHEET
   =================================== */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
}

:root {
    /* Cores baseadas no site Purissima */
    --primary-color: #2c2c2c;
    --secondary-color: #E6DDCE;
    --accent-color: #8B7355;
    --text-dark: #2c2c2c;
    --text-light: #6c757d;
    --white: #ffffff;
    --bg-light: #f8f7f5;

    /* Typography */
    --font-primary: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    background:
        radial-gradient(circle at 20% 30%, rgba(0,124,140,0.12) 0%, transparent 40%),
        radial-gradient(circle at 80% 60%, rgba(151,188,98,0.10) 0%, transparent 40%),
        radial-gradient(ellipse at 50% 0%, rgba(232,245,247,0.5) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 100%, rgba(232,245,247,0.4) 0%, transparent 50%),
        #FAFEFE;
    background-attachment: fixed;
    min-height: 100vh;
}

/* Camada de textura/noise */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.06;
    mix-blend-mode: overlay;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.6'/%3E%3C/svg%3E");
    background-size: 300px 300px;
}

/* Garantir que o conteúdo fique acima */
main {
    position: relative;
    z-index: 1;
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* ===================================
   Header
   =================================== */

.header-main {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-main .logo a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 800;
    letter-spacing: -1px;
}

.header-main .logo a:hover {
    color: var(--accent-color);
}

.btn-custom {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
    padding: 10px 24px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-custom:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.btn-custom-outline {
    background-color: transparent;
    color: var(--white);
    border: 2px solid var(--white);
    padding: 12px 30px;
    font-weight: 700;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.btn-custom-outline:hover {
    background-color: var(--white);
    color: var(--primary-color);
}


/* ===================================
   Padrão de Botão CTA Principal
   (Questionário e Home)
   =================================== */
.btn-next,
.btn-finish,
.btn-primary-action {
    background: #007c8c;
    color: #FFFFFF;
    padding: 16px 48px;
    border-radius: 50px;
    border: none;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    white-space: nowrap;
    text-align: center;
}

.btn-next:hover,
.btn-finish:hover,
.btn-primary-action:hover {
    background: #005F6B;
    box-shadow: 0 6px 16px rgba(0, 124, 140, 0.4);
    color: #FFFFFF;
}

.btn-next .btn-text-bold,
.btn-finish .btn-text-bold {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-next .btn-text-normal,
.btn-finish .btn-text-normal {
    font-weight: 400;
    text-transform: uppercase;
}


.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.2) 100%);
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    color: var(--white);
    text-align: center;
}

.carousel-caption h1,
.carousel-caption h2 {
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    margin-bottom: 20px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin: 0 5px;
}

@media (min-width: 768px) {
    .carousel-item {
        height: 700px;
    }
}

/* ===================================
   Products Section
   =================================== */

.products-section {
    background-color: transparent;
    padding: 60px 0;
}

.products-section h2 {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1.3;
}

.products-section h3 {
    font-size: 1.25rem;
    font-weight: 400;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.benefit-item {
    text-align: center;
    padding: 20px;
}

.benefit-item h4 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.benefit-item p {
    font-size: 0.95rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ===================================
   How Works Section
   =================================== */

.how-works-section {
    background-color: transparent;
    padding: 80px 0;
}

.how-card {
    background-color: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.how-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.step-number {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 20px;
}

.how-card h3 {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.how-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* ===================================
   Plans Section
   =================================== */

.plans-section {
    background-color: transparent;
    padding: 80px 0;
}

.badge-zero {
    background-color: var(--secondary-color);
    padding: 20px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.badge-zero:hover {
    background-color: var(--accent-color);
    color: var(--white);
    transform: translateY(-5px);
}

.badge-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.badge-zero h6 {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Plan Cards */
.plan-card {
    background-color: var(--white);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px 30px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.plan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    border-color: var(--accent-color);
}

.plan-essencial {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.plan-avancado {
    background: linear-gradient(135deg, #fff9f0 0%, #ffffff 100%);
    border-color: var(--accent-color);
}

.plan-premium {
    background: linear-gradient(135deg, #2c2c2c 0%, #4a4a4a 100%);
    color: var(--white);
}

.plan-premium h2,
.plan-premium h3,
.plan-premium h4,
.plan-premium p,
.plan-premium li {
    color: var(--white);
}

.plan-card h2 {
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -1px;
}

.plan-card h4 {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-light);
}

.plan-premium h4 {
    color: rgba(255,255,255,0.8);
}

.plan-card h3 {
    font-size: 1.3rem;
    font-weight: 800;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plan-features li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 0.9rem;
}

.plan-features li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.plan-premium .plan-features li:before {
    color: #ffd700;
}

.plan-price h2 {
    font-size: 3rem;
    font-weight: 800;
}

.plan-price h4 {
    font-size: 1.5rem;
}

.plan-price small {
    font-size: 1rem;
    font-weight: 400;
}

/* ===================================
   Contact Section
   =================================== */

.contact-section {
    background-color: transparent;
    padding: 80px 0;
}

.contact-form .form-control {
    border: 2px solid #ddd;
    border-radius: 6px;
    padding: 15px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-form .form-control:focus {
    border-color: var(--accent-color);
    box-shadow: 0 0 0 0.2rem rgba(139, 115, 85, 0.25);
}

/* ===================================
   Footer
   =================================== */

.footer-main {
    background-color: var(--primary-color);
    color: var(--white);
}

.footer-main h4 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer-main p,
.footer-main a {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.footer-main a:hover {
    color: var(--white);
    text-decoration: none;
}

.footer-main ul {
    list-style: none;
    padding: 0;
}

.footer-main ul li {
    margin-bottom: 10px;
}

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

.social-links a {
    padding: 8px 16px;
    background-color: rgba(255,255,255,0.1);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--accent-color);
    color: var(--white);
}

.footer-main hr {
    border-color: rgba(255,255,255,0.2);
}

/* ===================================
   Utility Classes
   =================================== */

.text-uppercase {
    text-transform: uppercase;
}

.btn-lg {
    padding: 15px 30px;
    font-size: 1rem;
}

/* ===================================
   Shake Section
   =================================== */

.shake-section {
    background-color: #F5F2ED;
    padding: 60px 0;
}

.box-shake {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    min-height: 500px;
}

.box-shake picture {
    display: block;
    text-align: center;
    margin-bottom: 2rem;
    order: -1;
}

.box-shake picture img {
    max-width: 143px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.box-shake .row {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.box-shake .box-col {
    background: rgba(230, 221, 206, 0.5);
    padding: 1.75rem 2rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    height: 100%;
}

.box-shake .box-col:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.box-shake .box-col h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.box-shake .box-col p {
    font-size: 0.95rem;
    color: #5a5a5a;
    line-height: 1.6;
}


@media (min-width: 992px) {
    .box-shake {
        min-height: 450px;
        display: flex;
        align-items: flex-end;
    }

    .box-shake picture {
        position: absolute !important;
        bottom: 2.5rem !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        z-index: 10 !important;
        margin-bottom: 0 !important;
        margin-top: 0 !important;
        pointer-events: none !important;
        height: 0 !important;
    }

    .box-shake picture img {
        max-width: 306px !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
        transform: translateY(-100%) !important;
    }

    .box-shake .row {
        min-height: auto !important;
        padding: 2.5rem 0 !important;
        row-gap: 1.5rem !important;
        position: relative !important;
        z-index: 1 !important;
        width: 100% !important;
    }
}

/* ===================================
   Image Accordion Section
   =================================== */

.image-accordion-section {
    background-color: white;
}

.accordion-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.3;
}

.accordion-description {
    font-size: 1.125rem;
    color: #666;
    line-height: 1.6;
}

.btn-accordion-cta {
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0, 124, 140, 0.2);
}

.btn-accordion-cta:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 124, 140, 0.3);
}

.image-accordion-container {
    display: flex;
    gap: 1rem;
    height: 450px;
    overflow: hidden;
}

.image-accordion-item {
    position: relative;
    width: 60px;
    height: 100%;
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    flex-shrink: 0;
}

.image-accordion-item.active {
    width: 400px;
}

.image-accordion-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.image-accordion-item:hover img {
    transform: scale(1.05);
}

.image-accordion-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.5));
    pointer-events: none;
}

.accordion-label {
    position: absolute;
    color: white;
    font-size: 1.125rem;
    font-weight: 600;
    white-space: nowrap;
    z-index: 2;
    transition: all 0.3s ease;
}

.image-accordion-item:not(.active) .accordion-label {
    bottom: 6rem;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
    transform-origin: center;
}

.image-accordion-item.active .accordion-label {
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
}

/* Responsivo */
@media (max-width: 991px) {
    .accordion-subtitle {
        text-align: center;
    }

    .accordion-description {
        text-align: left;
    }

    .image-accordion-section .container > .row {
        flex-direction: column;
    }

    .image-accordion-section .col-lg-5 {
        order: 1;
        text-align: center;
    }

    .image-accordion-section .col-lg-7 {
        order: 2;
    }

    .image-accordion-section .btn-next {
        order: 3;
        display: block;
        width: 100%;
        max-width: 400px;
        margin: 2rem auto 0;
    }

    .btn-accordion-cta {
        display: block;
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

    .image-accordion-container {
        height: 350px;
        justify-content: center;
        gap: 0.6rem;
        margin-bottom: 2rem;
    }

    .image-accordion-item {
        width: 45px;
    }

    .image-accordion-item.active {
        width: 300px;
    }
}

@media (max-width: 576px) {
    .image-accordion-container {
        height: 280px;
        gap: 0.5rem;
    }

    .image-accordion-item {
        width: 30px;
    }

    .image-accordion-item.active {
        width: 200px;
    }
}

/* ===================================
   Responsive Adjustments
   =================================== */

@media (max-width: 992px) {
    .hero-carousel {
        margin-top: 70px;
    }

    .products-section h2 {
        font-size: 2rem;
    }

    .carousel-caption h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .products-section h2 {
        font-size: 1.8rem;
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }

    .plan-card {
        margin-bottom: 20px;
    }

    .how-card {
        min-height: auto;
    }
}

@media (max-width: 576px) {
    .btn-custom {
        font-size: 0.75rem;
        padding: 8px 16px;
    }
.btn-next,    .btn-finish,    .btn-primary-action {        font-size: 14px;        padding: 12px 20px;    }

    .carousel-caption h1 {
        font-size: 1.5rem;
    }

    .products-section h2 {
        font-size: 1.5rem;
    }

    .plan-price h2 {
        font-size: 2.5rem;
    }
}

/* ===================================
   Animations
   =================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading State */
img {
    max-width: 100%;
    height: auto;
}

/* Better focus states for accessibility */
*:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

button:focus,
a:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* ===================================
   Ajustes Mobile - Logo Primeira Seção
   =================================== */
.spiral-logo-image {
    max-width: 400px;
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .spiral-logo-image {
        max-width: none;
        transform: scale(2);
        transform-origin: center;
    }
}
/* Fix: Logo dobro do tamanho em mobile */
.spiral-logo-image {
    max-width: 400px;
    width: 100%;
    height: auto;
}

@media (max-width: 768px) {
    .spiral-logo-image {
        max-width: none;
        transform: scale(2);
        transform-origin: center;
    }
}

/* Fix: Reduzir espaçamento seção Como Funciona em mobile */
@media (max-width: 991px) {
    .image-accordion-section .row.g-5 {
        --bs-gutter-x: 0.5rem !important;
        --bs-gutter-y: 0.5rem !important;
        row-gap: 0.5rem !important;
        column-gap: 0.5rem !important;
    }
    
    .image-accordion-section .col-lg-5 {
        margin-bottom: 0.5rem !important;
    }
    
    .image-accordion-section .col-lg-7 {
        margin-bottom: 0 !important;
    }
    
    .image-accordion-section .image-accordion-container {
        margin-bottom: 0 !important;
    }
    
    .image-accordion-section .row.d-lg-none {
        margin-top: 0 !important;
    }
    
    .image-accordion-section.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    /* Zoom 2x nas imagens de banner - Mobile (reduzido 20% para 2x) */
    /* Largura 2x mantém proporções, altura automática completa, corta APENAS laterais */

    /* Container das seções - esconde overflow lateral */
    .ritual-image-section .col-12 {
        overflow: hidden !important;
        position: relative !important;
    }

    .mobile-zoom-center,
    .mobile-zoom-left {
        width: 200% !important;
        height: auto !important;
        max-width: none !important;
        display: block;
    }

    .mobile-zoom-center {
        position: relative;
        left: 50%;
        transform: translateX(-50%);
    }

    .mobile-zoom-left {
        position: relative;
        float: right;
    }
}

/* ===================================
   SEÇÃO BENEFÍCIOS MÚLTIPLOS
   =================================== */

.beneficios-section {
    background-image: url('/assets/images/beneficios-background-home.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 2rem 0 6rem 0;
    position: relative;
}

.beneficios-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .beneficios-section {
        padding: 3rem 0;
    }
}
