/* ========================================
   ETERNISOM - PÁGINA DE CONTATO WHATSAPP
   ======================================== */

:root {
    /* Cores Principais */
    --brand-primary: #CC5500;
    --brand-primary-dark: #B34700;
    --brand-primary-darker: #A03800;

    --brand-secondary: #4A0404;
    --brand-secondary-dark: #360303;

    --brand-accent: #C5A059;

    --brand-light: #FAF5E4;
    --brand-surface: #FFFDF9;

    /* WhatsApp */
    --whatsapp-green: #25D366;
    --whatsapp-green-dark: #128C7E;

    /* Fontes */
    --font-sans: "DM Sans", ui-sans-serif, system-ui, -apple-system, sans-serif;
    --font-serif: "Lora", serif;

    /* Sombras */
    --shadow-sm: 0 2px 8px rgba(74, 4, 4, 0.06);
    --shadow-md: 0 4px 16px rgba(74, 4, 4, 0.08);
    --shadow-lg: 0 8px 32px rgba(74, 4, 4, 0.12);
    --shadow-whatsapp: 0 6px 24px rgba(37, 211, 102, 0.35);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    background-color: var(--brand-light);
    color: var(--brand-secondary);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

body.menu-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* ========================================
   HEADER
   ======================================== */

.header {
    background: var(--brand-surface);
    border-bottom: 1px solid rgba(197, 160, 89, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 22px;
    color: var(--brand-secondary);
}

/* ========================================
   HAMBURGER MENU TOGGLE
   ======================================== */

.menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.menu-toggle:hover {
    background: rgba(197, 160, 89, 0.1);
}

.hamburger-line {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--brand-secondary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========================================
   SIDE MENU
   ======================================== */

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 199;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.side-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    max-width: 100%;
    height: 100vh;
    background: var(--brand-surface);
    z-index: 200;
    transition: right 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.side-menu.active {
    right: 0;
}

.side-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.15);
}

.side-menu-title {
    font-family: var(--font-serif);
    font-size: 20px;
    font-weight: 700;
    color: var(--brand-secondary);
}

.menu-close {
    font-size: 32px;
    color: var(--brand-secondary);
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: background 0.2s ease;
}

.menu-close:hover {
    background: rgba(197, 160, 89, 0.1);
}

.side-menu-section {
    padding: 20px 24px;
    border-bottom: 1px solid rgba(197, 160, 89, 0.1);
}

.side-menu-label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    color: var(--brand-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.side-menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    margin: 0 -16px;
    border-radius: 12px;
    transition: background 0.2s ease;
}

.side-menu-item:hover {
    background: rgba(197, 160, 89, 0.08);
}

.side-menu-icon {
    font-size: 20px;
    width: 24px;
    text-align: center;
}

.side-menu-item-content {
    flex: 1;
}

.side-menu-item-title {
    display: block;
    font-weight: 600;
    color: var(--brand-secondary);
    font-size: 15px;
}

.side-menu-item-subtitle {
    display: block;
    font-size: 13px;
    color: #6B7280;
    margin-top: 2px;
}

.side-menu-arrow {
    font-size: 20px;
    color: #9CA3AF;
}

.side-menu-security {
    margin-top: auto;
    padding: 20px 24px;
    background: rgba(37, 211, 102, 0.08);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.security-icon {
    font-size: 18px;
}

.security-text {
    font-size: 13px;
    color: #6B7280;
    line-height: 1.5;
}

/* ========================================
   MAIN CONTENT
   ======================================== */

.main {
    flex: 1;
    padding: 40px 24px 60px;
}

.container {
    max-width: 720px;
    margin: 0 auto;
}

/* ========================================
   HERO SECTION
   ======================================== */

.hero {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #FFFDF5, #FFF4D6);
    border: 1px solid #EACD98;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #5A2E16;
    margin-bottom: 24px;
}

.badge-icon {
    font-size: 18px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 700;
    color: var(--brand-secondary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.hero-title .highlight {
    color: var(--brand-primary);
}

.hero-subtitle {
    font-size: 18px;
    color: #6B7280;
    max-width: 500px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ========================================
   CONTACT CARD
   ======================================== */

.contact-card {
    background: var(--brand-surface);
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    border: 1px solid rgba(197, 160, 89, 0.15);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.whatsapp-icon {
    margin-bottom: 24px;
    animation: pulse 2s ease-in-out infinite;
}

.contact-title {
    font-family: var(--font-serif);
    font-size: 28px;
    font-weight: 700;
    color: var(--brand-secondary);
    margin-bottom: 12px;
}

.contact-description {
    font-size: 16px;
    color: #6B7280;
    margin-bottom: 28px;
    line-height: 1.7;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background: var(--whatsapp-green);
    color: white;
    font-size: 18px;
    font-weight: 700;
    padding: 18px 36px;
    border-radius: 12px;
    box-shadow: var(--shadow-whatsapp);
    transition: all 0.3s ease;
    margin-bottom: 24px;
}

.btn-whatsapp:hover {
    background: var(--whatsapp-green-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 32px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp:active {
    transform: translateY(-1px);
}

.btn-whatsapp svg {
    flex-shrink: 0;
}

.contact-number {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 14px;
}

.number-label {
    color: #9CA3AF;
}

.number-value {
    font-weight: 600;
    color: var(--brand-secondary);
    font-size: 16px;
}

/* ========================================
   MEMBER ACCESS CARD
   ======================================== */

.member-card {
    background: var(--brand-surface);
    border-radius: 20px;
    padding: 32px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(197, 160, 89, 0.15);
    margin-bottom: 40px;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.member-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #FFF8E7, #FFEFD4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.member-title {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--brand-secondary);
    margin-bottom: 10px;
}

.member-description {
    font-size: 15px;
    color: #6B7280;
    line-height: 1.6;
    margin-bottom: 24px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.btn-member {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--brand-secondary-dark);
    color: white;
    font-size: 16px;
    font-weight: 700;
    padding: 16px 32px;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(54, 3, 3, 0.25);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 320px;
}

.btn-member:hover {
    background: var(--brand-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(54, 3, 3, 0.35);
}

.btn-arrow {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.btn-member:hover .btn-arrow {
    transform: translateX(4px);
}

/* ========================================
   FAQ SECTION
   ======================================== */

.faq-section {
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.faq-title {
    font-family: var(--font-serif);
    font-size: 24px;
    font-weight: 700;
    color: var(--brand-secondary);
    text-align: center;
    margin-bottom: 24px;
}

.faq-item {
    background: var(--brand-surface);
    border-radius: 12px;
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(197, 160, 89, 0.1);
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    font-weight: 600;
    color: var(--brand-secondary);
    cursor: pointer;
    transition: background 0.2s ease;
}

.faq-question:hover {
    background: rgba(197, 160, 89, 0.08);
}

.faq-arrow {
    font-size: 24px;
    color: var(--brand-accent);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-arrow {
    transform: rotate(90deg);
}

.faq-answer {
    display: none;
    padding: 0 20px 18px;
    font-size: 15px;
    color: #6B7280;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer a {
    color: var(--brand-primary);
    text-decoration: underline;
}

.faq-answer a:hover {
    color: var(--brand-primary-dark);
}

/* ========================================
   FOOTER
   ======================================== */

.footer {
    background: var(--brand-secondary-dark);
    color: rgba(255, 255, 255, 0.9);
    padding: 48px 24px 32px;
    margin-top: auto;
}

.footer-container {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.footer-logo-img {
    height: 36px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-logo-text {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 20px;
    color: white;
}

.footer-tagline {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.footer-link {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.2s ease;
}

.footer-link:hover {
    color: var(--brand-accent);
}

.footer-divider {
    color: rgba(255, 255, 255, 0.3);
}

.footer-email {
    margin-bottom: 16px;
}

.footer-email a {
    font-size: 15px;
    color: var(--brand-accent);
    transition: color 0.2s ease;
}

.footer-email a:hover {
    color: white;
    text-decoration: underline;
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

/* ========================================
   ANIMATIONS
   ======================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */

@media (max-width: 640px) {
    .header-container {
        padding: 12px 16px;
    }

    .logo-img {
        height: 32px;
    }

    .logo-text {
        font-size: 18px;
    }

    .main {
        padding: 24px 16px 40px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .contact-card {
        padding: 32px 20px;
        border-radius: 20px;
    }

    .contact-title {
        font-size: 22px;
    }

    .btn-whatsapp {
        width: 100%;
        font-size: 16px;
        padding: 16px 24px;
    }

    .member-card {
        padding: 24px 20px;
    }

    .member-title {
        font-size: 20px;
    }

    .btn-member {
        width: 100%;
        padding: 14px 24px;
        font-size: 15px;
    }

    .faq-question {
        font-size: 15px;
        padding: 16px;
    }

    .footer {
        padding: 32px 16px 24px;
    }

    .footer-links {
        flex-direction: column;
        gap: 12px;
    }

    .footer-divider {
        display: none;
    }

    .side-menu {
        width: 100%;
        right: -100%;
    }
}

/* ========================================
   SCROLLBAR
   ======================================== */

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--brand-light);
}

::-webkit-scrollbar-thumb {
    background: var(--brand-accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--brand-primary);
}