/* ===== DESIGN TOKENS ===== */
:root {
    --green-dark:    #080F09;
    --green-mid:     #0E1A10;
    --green-card:    #141F16;
    --green-light:   #8CB880;
    --green-accent:  #3D7A3F;
    --terracota:     #9A7A5A;
    --gold:          #C4A96A;
    --cream:         #F0EBE3;
    --text-primary:  #F0EDE8;
    --text-muted:    rgba(240,237,232,0.55);
    --card-border:   rgba(140,184,128,0.12);
    --glass-bg:      rgba(14,26,16,0.65);
    --font-title:    'Cormorant Garamond', serif;
    --font-body:     'Inter', sans-serif;
    --font-ui:       'Montserrat', sans-serif;
    --radius-lg:     16px;
    --radius-md:     12px;
    --radius-sm:     8px;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background-color: var(--green-dark);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
    transition: background-color 1.2s ease;
}

/* ===== FUNDO ANIMADO ===== */
.silk-container {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.7;
}

/* ===== FOLHAS FLUTUANTES ===== */
.leaves-container {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.leaf {
    position: absolute;
    opacity: 0;
    animation: floatLeaf linear infinite;
    user-select: none;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--green-light);
}

@keyframes floatLeaf {
    0%   { transform: translateY(100vh); opacity: 0; }
    10%  { opacity: 0.15; }
    90%  { opacity: 0.06; }
    100% { transform: translateY(-20px); opacity: 0; }
}

/* ===== CONTAINER ===== */
.app-container {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 500px;
    padding: 50px 20px 40px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* ===== HEADER ===== */
.header {
    text-align: center;
    animation: fadeInDown 0.9s ease;
}

.profile-ring {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 16px;
    border-radius: 50%;
    padding: 2px;
    background: linear-gradient(135deg, var(--gold), var(--green-light));
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--green-dark);
}

.hero-name {
    font-family: var(--font-title);
    font-size: 32px;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.hero-title {
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.hero-tagline {
    font-family: var(--font-title);
    font-size: 15px;
    font-weight: 400;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 24px;
}

/* ===== REDES SOCIAIS ===== */
.social-row {
    display: flex;
    justify-content: center;
    gap: 14px;
}

.social-btn {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--card-border);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-primary);
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
}
.social-btn svg { width: 20px; height: 20px; }
.social-btn:hover {
    background: rgba(196,169,106,0.2);
    border-color: var(--gold);
    color: var(--gold);
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* ===== CARDS INFO ===== */
.cards-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.info-card {
    background: var(--glass-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-md);
    padding: 16px 14px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    backdrop-filter: blur(12px);
    transition: all 0.3s ease;
}
.info-card:hover {
    border-color: var(--green-light);
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.4);
}

.info-icon { flex-shrink: 0; margin-top: 2px; width: 22px; height: 22px; color: var(--gold); }
.info-icon svg { width: 100%; height: 100%; }

.info-text h4 {
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 600;
    color: var(--cream);
    margin-bottom: 4px;
    line-height: 1.3;
    letter-spacing: 0.3px;
}
.info-text p {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
}

/* ===== BOTÕES DE AÇÃO ===== */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: fadeInUp 0.8s ease 0.15s both;
}

.btn-primary, .btn-secondary, .btn-outline {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    font-family: var(--font-ui);
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--green-accent), #2e7d32);
    color: white;
    box-shadow: 0 6px 24px rgba(76,175,80,0.35);
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg,rgba(255,255,255,0.12),transparent);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(76,175,80,0.5); }

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
    backdrop-filter: blur(12px);
}
.btn-secondary:hover { border-color: var(--green-light); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.4); }

.btn-outline {
    background: transparent;
    color: var(--green-light);
    border: 1px solid var(--green-light);
}
.btn-outline:hover { background: rgba(126,200,90,0.1); transform: translateY(-3px); }

.btn-arrow { width: 16px; height: 16px; margin-left: auto; opacity: 0.5; flex-shrink: 0; }

/* ===== QUIZ ===== */
.quiz-section {
    animation: fadeInUp 0.8s ease 0.2s both;
}

.quiz-header {
    text-align: center;
    margin-bottom: 20px;
}
.quiz-badge {
    display: inline-block;
    background: transparent;
    color: var(--gold);
    font-family: var(--font-ui);
    font-size: 9px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 2px;
    letter-spacing: 2.5px;
    margin-bottom: 12px;
    border: 1px solid var(--gold);
}
.quiz-header h2 {
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 6px;
}
.quiz-header p {
    font-size: 13px;
    color: var(--text-muted);
}

.quiz-container {
    background: var(--glass-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    backdrop-filter: blur(16px);
    min-height: 260px;
    position: relative;
    overflow: hidden;
}

.quiz-step { display: none; text-align: center; }
.quiz-step.active { display: block; animation: fadeInUp 0.4s ease; }

.quiz-plant-icon { margin-bottom: 20px; }

.quiz-container h3 {
    font-family: var(--font-title);
    font-size: 18px;
    margin-bottom: 10px;
    line-height: 1.3;
}
.quiz-container p { font-size: 13px; color: var(--text-muted); margin-bottom: 24px; line-height: 1.6; }

.quiz-start-btn {
    background: transparent;
    color: var(--cream);
    border: 1px solid var(--gold);
    padding: 13px 36px;
    border-radius: 2px;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}
.quiz-start-btn:hover { background: rgba(196,169,106,0.15); transform: translateY(-2px); }

.quiz-progress {
    height: 4px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    margin-bottom: 16px;
    overflow: hidden;
}
.quiz-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--gold), var(--green-light));
    border-radius: 2px;
    transition: width 0.4s ease;
}

.quiz-question-num {
    font-size: 10px;
    color: var(--gold);
    font-family: var(--font-ui);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px !important;
}

.quiz-options { display: flex; flex-direction: column; gap: 10px; text-align: left; }

.quiz-opt {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(126,200,90,0.2);
    color: var(--text-primary);
    padding: 13px 16px;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.25s;
    text-align: left;
}
.quiz-opt:hover { background: rgba(126,200,90,0.15); border-color: var(--green-light); transform: translateX(4px); }

/* Resultado Quiz */
.quiz-result-line {
    width: 40px;
    height: 1px;
    background: var(--gold);
    margin: 0 auto 20px;
}
.result-desc { text-align: left; }

.quiz-moodboard {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    margin: 16px 0;
}
.moodboard-tag {
    background: rgba(126,200,90,0.15);
    border: 1px solid var(--card-border);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-family: var(--font-ui);
    font-weight: 600;
    color: var(--green-light);
}

.quiz-whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--green-accent);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    margin: 0 auto 12px;
    transition: all 0.3s;
    width: 100%;
}
.quiz-whatsapp-btn:hover { background: #2e7d32; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.3); }

.quiz-restart-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 12px;
    cursor: pointer;
    text-decoration: underline;
    font-family: var(--font-body);
}

/* ===== SLIDER ANTES/DEPOIS ===== */
.before-after-section { animation: fadeInUp 0.8s ease 0.25s both; }

.section-header { margin-bottom: 18px; }
.section-header h2 {
    font-family: var(--font-title);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 4px;
    letter-spacing: 0.5px;
}
.section-header p { font-size: 12px; color: var(--text-muted); font-weight: 300; }

.slider-container {
    position: relative;
    height: 280px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: col-resize;
    border: 1px solid var(--card-border);
    user-select: none;
}

/* Imagem BASE (before) — ocupa tudo */
.slider-img-base {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(60%) brightness(0.65);
}

/* Overlay (after) — máscara que revela DA DIREITA para esquerda */
.slider-overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    overflow: hidden;
}

/* Imagem REVEAL ancorada à DIREITA para alinhar com o container */
.slider-img-reveal {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    object-fit: cover;
}

.slider-label {
    position: absolute;
    bottom: 14px;
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 5px 12px;
    border-radius: 4px;
    z-index: 5;
    backdrop-filter: blur(6px);
}
.label-before { left: 14px; background: rgba(0,0,0,0.7); color: var(--cream); }
.label-after  { right: 14px; background: var(--green-accent); color: white; }

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    cursor: col-resize;
}
.handle-line {
    flex: 1;
    width: 2px;
    background: white;
    opacity: 0.9;
}
.handle-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
    flex-shrink: 0;
}
.handle-circle svg { width: 20px; height: 20px; }

/* ===== PORTFÓLIO ===== */
.portfolio-section { animation: fadeInUp 0.8s ease 0.3s both; }

.portfolio-filters {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}
.portfolio-filters::-webkit-scrollbar { display: none; }

.filter-btn {
    background: var(--glass-bg);
    border: 1px solid var(--card-border);
    color: var(--text-muted);
    padding: 6px 16px;
    border-radius: 50px;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 700;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.25s;
}
.filter-btn:hover, .filter-btn.active {
    background: var(--green-light);
    color: var(--green-dark);
    border-color: var(--green-light);
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.portfolio-item {
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--card-border);
    cursor: pointer;
    transition: all 0.3s ease;
}
.portfolio-item:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,0.5); border-color: var(--green-light); }
.portfolio-item.hidden { display: none; }

.portfolio-thumb {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.port-label {
    font-family: var(--font-title);
    font-size: 28px;
    font-weight: 600;
    color: rgba(255,255,255,0.15);
    letter-spacing: 2px;
}

.portfolio-info {
    padding: 10px 12px;
    background: var(--green-card);
}
.portfolio-info span { font-family: var(--font-ui); font-size: 11px; font-weight: 600; display: block; margin-bottom: 2px; letter-spacing: 0.3px; }
.portfolio-info small { font-size: 10px; color: var(--text-muted); font-weight: 300; }

/* ===== ACORDEÃO SERVIÇOS ===== */
.list-section { animation: fadeInUp 0.8s ease 0.35s both; }

.list-container { display: flex; flex-direction: column; gap: 10px; }

.list-item-wrapper {
    background: transparent;
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
    border: 1px solid transparent;
    cursor: pointer;
}
.list-item-wrapper:hover:not(.active) {
    background: rgba(255,255,255,0.03);
    border-color: rgba(126,200,90,0.1);
}
.list-item-wrapper.active {
    background: var(--glass-bg);
    border-color: var(--card-border);
    box-shadow: 0 10px 28px rgba(0,0,0,0.45);
    backdrop-filter: blur(12px);
}

.list-item-header {
    display: flex;
    align-items: center;
    padding: 14px 12px;
}

.item-avatar {
    width: 44px; height: 44px;
    border-radius: 50%;
    margin-right: 14px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--green-card);
    border: 1px solid var(--card-border);
    transition: all 0.3s;
    color: var(--green-light);
}
.item-avatar svg { width: 20px; height: 20px; }
.list-item-wrapper.active .item-avatar {
    background: rgba(61,122,63,0.3);
    border-color: var(--green-accent);
    color: var(--cream);
}

.item-info { flex-grow: 1; }
.item-info h4 { font-family: var(--font-ui); font-size: 13px; font-weight: 600; margin-bottom: 3px; letter-spacing: 0.3px; }
.item-info p  { font-size: 11px; color: var(--text-muted); line-height: 1.4; font-weight: 300; }

.action-text {
    font-family: var(--font-ui);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--green-light);
    margin-top: 6px;
    display: inline-block;
    opacity: 0.6;
    transition: all 0.3s;
}
.list-item-wrapper:hover .action-text { opacity: 1; }
.action-text svg { transition: transform 0.4s ease; }
.list-item-wrapper.active .action-text svg { transform: rotate(180deg); }

.list-item-content { max-height: 0; opacity: 0; overflow: hidden; transition: all 0.4s cubic-bezier(0.4,0,0.2,1); }
.list-item-wrapper.active .list-item-content { max-height: 300px; opacity: 1; }

.content-inner { padding: 0 16px 20px 70px; }
.content-inner p { font-size: 13px; color: rgba(255,255,255,0.85); line-height: 1.65; margin-bottom: 16px; }

.contact-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--green-accent), #2e7d32);
    color: white;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.25s;
}
.contact-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 18px rgba(76,175,80,0.4); }

/* ===== STORIES ===== */
.stories-section { animation: fadeInUp 0.8s ease 0.4s both; }

.stories-track {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding-bottom: 4px;
}
.stories-track::-webkit-scrollbar { display: none; }

.story-card {
    min-width: 90%;
    background: var(--glass-bg);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    backdrop-filter: blur(12px);
    display: flex;
    gap: 14px;
    align-items: flex-start;
    scroll-snap-align: start;
    transition: all 0.3s;
}
.story-card:hover { border-color: var(--green-light); transform: translateY(-2px); }

.story-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: rgba(196,169,106,0.15);
    border: 1px solid rgba(196,169,106,0.3);
}
.avatar-initial {
    font-family: var(--font-title);
    font-size: 18px;
    font-weight: 600;
    color: var(--gold);
}

.story-content { flex: 1; }
.story-text { font-size: 13px; line-height: 1.7; color: rgba(240,237,232,0.8); margin-bottom: 10px; font-family: var(--font-title); font-style: italic; }
.story-author { font-family: var(--font-ui); font-size: 10px; font-weight: 500; color: var(--gold); margin-bottom: 6px; letter-spacing: 0.5px; }
.story-rating { display: flex; gap: 2px; }

.stories-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
}
.story-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s;
}
.story-dot.active { background: var(--green-light); width: 18px; border-radius: 3px; }

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    border-top: 1px solid var(--card-border);
    padding-top: 24px;
    animation: fadeInUp 0.8s ease 0.5s both;
}
.footer-brand { margin-bottom: 8px; }
.footer-name { font-family: var(--font-title); font-size: 18px; color: var(--gold); letter-spacing: 1px; }
.footer-cred { font-size: 10px; color: var(--text-muted); margin-top: 4px; letter-spacing: 0.5px; }
.footer-address { font-size: 11px; color: var(--text-muted); margin: 10px 0; font-weight: 300; }
.footer-dev { font-size: 10px; color: rgba(255,255,255,0.25); margin-top: 10px; letter-spacing: 0.3px; }
.footer-dev strong { color: rgba(255,255,255,0.4); }

/* ===== MODAL ===== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(6px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 100;
    padding: 20px;
}
.modal-overlay.open { display: flex; animation: fadeInUp 0.3s ease; }

.modal-content {
    background: var(--green-mid);
    border: 1px solid var(--card-border);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    width: 100%;
    max-width: 380px;
    position: relative;
    max-height: 85vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 4px;
    transition: color 0.2s;
}
.close-modal:hover { color: white; }

.guide-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.guide-list li {
    background: rgba(126,200,90,0.08);
    border: 1px solid var(--card-border);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    line-height: 1.5;
}
.guide-list li strong { color: var(--green-light); }

/* ===== ANIMAÇÕES ===== */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ===== HOVER SENSORIAL NO BODY ===== */
body.section-piscina    { --green-dark: #0B1F20; }
body.section-vertical   { --green-dark: #0D1F0B; }
body.section-iluminacao { --green-dark: #1F1A0B; }
body.section-irrigacao  { --green-dark: #0B1520; }
