﻿/* ============================================
   Clube da Pata - Perguntas Frequentes
   Design: Minimalist Legal Professional
   Colors: Orange (#ff7a00) + White (#FFFFFF)
   ============================================ */

/* CSS Variables */
:root {
    --primary: #ff7a00;
    --primary-hover: #e66b00;
    --primary-foreground: #FFFFFF;
    --background: #FFFFFF;
    --foreground: #1A1A1A;
    --card: #F5F7FA;
    --card-foreground: #1A1A1A;
    --border: #E8ECEF;
    --muted: #E8ECEF;
    --muted-foreground: #666666;
    --radius: 0.65rem;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}
#duvida{
    width: 100%;
}
/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.3;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    line-height: 1.4;
}

p {
    line-height: 1.6;
    color: var(--foreground);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

/* Layout Utilities */
.min-h-screen {
    min-height: 100vh;
}

.bg-white {
    background-color: #FFFFFF;
}

.bg-card {
    background-color: var(--card);
}

.text-foreground {
    color: var(--foreground);
}

.text-muted-foreground {
    color: var(--muted-foreground);
}

.text-primary {
    color: var(--primary);
}

/* Flexbox Utilities */
.flex {
    display: flex;
    min-width: 0;
    min-height: 0;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.items-baseline {
    align-items: baseline;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.gap-8 {
    gap: 2rem;
}

/* Spacing Utilities */
.px-4 {
    padding-left: 1rem;
    padding-right: 1rem;
}

.py-6 {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
}

.py-8 {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.py-12 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.px-3 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

.py-2 {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.p-4 {
    padding: 1rem;
}

.p-6 {
    padding: 1.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.mt-1 {
    margin-top: 0.25rem;
}

.mt-4 {
    margin-top: 1rem;
}

.mt-8 {
    margin-top: 2rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mt-16 {
    margin-top: 4rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.pb-8 {
    padding-bottom: 2rem;
}

.pt-8 {
    padding-top: 2rem;
}

/* Border Utilities */
.border-b {
    border-bottom: 1px solid var(--border);
}

.border-t {
    border-top: 1px solid var(--border);
}

.border {
    border: 1px solid var(--border);
}

.rounded-md {
    border-radius: calc(var(--radius) - 0.15rem);
}

.rounded-lg {
    border-radius: var(--radius);
}

.rounded-2xl {
    border-radius: 1rem;
}

/* Positioning */
.sticky {
    position: sticky;
}

.top-0 {
    top: 0;
}

.fixed {
    position: fixed;
}

.bottom-8 {
    bottom: 2rem;
}

.right-8 {
    right: 2rem;
}

.z-40 {
    z-index: 40;
}

/* Display Utilities */
.space-y-1 > * + * {
    margin-top: 0.25rem;
}

.space-y-2 > * + * {
    margin-top: 0.5rem;
}

.space-y-3 > * + * {
    margin-top: 0.75rem;
}

.space-y-4 > * + * {
    margin-top: 1rem;
}

.space-y-6 > * + * {
    margin-top: 1.5rem;
}

.space-y-8 > * + * {
    margin-top: 2rem;
}

.space-y-12 > * + * {
    margin-top: 3rem;
}

.flex-shrink-0 {
    flex-shrink: 0;
}

.flex-1 {
    flex: 1 1 0%;
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Text Utilities */
.text-xs {
    font-size: 0.75rem;
}

.text-sm {
    font-size: 0.875rem;
}

.text-base {
    font-size: 1rem;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-3xl {
    font-size: 1.875rem;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

.uppercase {
    text-transform: uppercase;
}

.tracking-wider {
    letter-spacing: 0.05em;
}

.leading-relaxed {
    line-height: 1.625;
}

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

.text-right {
    text-align: right;
}

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

/* Container */
.max-w-7xl {
    max-width: 80rem;
    margin-left: auto;
    margin-right: auto;
}

.max-w-3xl {
    max-width: 48rem;
}

.max-w-2xl {
    max-width: 42rem;
}

/* Buttons and Interactive Elements */
button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

    button:not(:disabled) {
        cursor: pointer;
    }

/* CTA Button */
.cta-button {
    background-color: var(--primary);
    color: white;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
}

    .cta-button:hover {
        background-color: var(--primary-hover);
    }

    .cta-button:active {
        transform: scale(0.98);
    }

/* Accordion Styles */
.faq-item {
    background-color: white;
    border: 1px solid var(--border);
    border-radius: 1rem;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

    .faq-item:hover {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
        border-color: var(--primary);
    }

.faq-question {
    width: 100%;
    padding: 1.5rem;
    background-color: white;
    border: none;
    text-align: left;
    font-size: 1rem;
    font-weight: 600;
    color: var(--foreground);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    transition: background-color 0.2s ease;
}

    .faq-question:hover {
        background-color: rgba(255, 122, 0, 0.05);
    }

    .faq-question.active {
        color: var(--primary);
    }

.faq-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.faq-question.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    background-color: rgba(255, 122, 0, 0.02);
    transition: max-height 0.3s ease, padding 0.3s ease;
}

    .faq-answer.open {
        max-height: 500px;
        padding: 0 1.5rem 1.5rem 1.5rem;
    }

.faq-answer-text {
    color: var(--muted-foreground);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Scroll to Top Button */
#scroll-to-top-button {
    display: none;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: var(--radius);
    background-color: var(--primary);
    color: white;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: background-color 0.2s, opacity 0.3s;
}

    #scroll-to-top-button:hover {
        background-color: var(--primary-hover);
    }

    #scroll-to-top-button.show {
        display: flex;
    }

/* Responsive Design */
@media (max-width: 1023px) {
    h1 {
        font-size: 1.875rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .text-2xl {
        font-size: 1.25rem;
    }

    .text-3xl {
        font-size: 1.5rem;
    }
}

@media (max-width: 640px) {
    .sm\:px-6 {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .sm\:flex-row {
        flex-direction: row;
    }

    .px-4 {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    .text-right {
        text-align: right;
    }

    .flex.items-center.justify-between {
        flex-direction: column;
        align-items: flex-start;
    }

    .text-right {
        text-align: right;
    }

    .faq-question {
        padding: 1rem;
    }

    .faq-answer.open {
        padding: 0 1rem 1rem 1rem;
    }

    .cta-button {
        width: 100%;
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }
}

@media (min-width: 640px) {
    .sm\:px-6 {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

@media (min-width: 1024px) {
    .lg\:px-8 {
        padding-left: 2rem;
        padding-right: 2rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn 0.3s ease-in;
}

/* List Styles */
ul {
    list-style: none;
}

li {
    list-style: none;
}

/* Utility Classes */
.w-10 {
    width: 2.5rem;
}

.h-10 {
    height: 2.5rem;
}

.w-5 {
    width: 1.25rem;
}

.h-5 {
    height: 1.25rem;
}

.w-4 {
    width: 1rem;
}

.h-4 {
    height: 1rem;
}

/* Opacity */
.opacity-10 {
    opacity: 0.1;
}

.opacity-80 {
    opacity: 0.8;
}

/* Hover Effects */
.hover\:bg-card:hover {
    background-color: var(--card);
}

.hover\:text-primary-hover:hover {
    color: var(--primary-hover);
}

.hover\:bg-primary-hover:hover {
    background-color: var(--primary-hover);
}

/* Transition */
.transition-colors {
    transition-property: background-color, border-color, color, fill, stroke;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.2s;
}

.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 0.2s;
}

.duration-200 {
    transition-duration: 0.2s;
}
