/* Reset e Variáveis */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-main: #050508;
    --bg-section: #0B0B11;
    --gold-primary: #F5C96A;
    --gold-deep: #C89A3C;
    --text-primary: #F5F5F5;
    --text-secondary: #B0A9C0;
    --error-color: #7A1A2F;
    --bg-footer: #030306;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Tipografia */
.heading-gothic {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--gold-primary);
}

.subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
}

.body-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

/* Fog Layer */
.fog-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 1;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(245, 201, 106, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(200, 154, 60, 0.02) 0%, transparent 50%);
    background-size: 200% 200%;
    animation: fogMove 50s linear infinite;
    opacity: 0.6;
}

@keyframes fogMove {
    0% {
        background-position: 0% 0%;
    }
    50% {
        background-position: 100% 100%;
    }
    100% {
        background-position: 0% 0%;
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* Header / Navbar */
.nav-bar {
    position: relative;
    background: var(--bg-main);
    z-index: 1000;
    padding: 1.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-ornament {
    width: 12px;
    height: 12px;
    border: 1px solid var(--gold-primary);
    border-radius: 50%;
    position: relative;
}

.logo-ornament::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: var(--gold-primary);
    border-radius: 50%;
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--gold-primary);
    text-transform: uppercase;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    white-space: nowrap;
    font-size: 0.9rem;
}

.nav-link:hover {
    color: var(--gold-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--gold-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.btn-ghost-small {
    padding: 0.5rem 1rem;
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
    border-radius: 4px;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: 0.85rem;
}

.btn-ghost-small:hover {
    background: rgba(245, 201, 106, 0.1);
}

.nav-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    margin-top: 1rem;
    opacity: 0.3;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 4rem 2rem;
    background: radial-gradient(circle at center, rgba(245, 201, 106, 0.05) 0%, transparent 70%);
}

.hero-content {
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-ornament {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 400px;
    border: 1px solid var(--gold-primary);
    border-radius: 50%;
    opacity: 0.06;
    z-index: -1;
    animation: ornamentPulse 20s ease-in-out infinite;
}

.hero-ornament::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    border: 1px solid var(--gold-primary);
    border-radius: 50%;
    opacity: 0.04;
}

@keyframes ornamentPulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
    }
}

.hero-title {
    font-size: 4.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(245, 201, 106, 0.3);
    animation: fadeInUp 1s ease-out;
    word-break: break-word;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease-out 0.2s both;
    padding: 0 1rem;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

/* Botões */
.btn-primary {
    padding: 1rem 2.5rem;
    background: var(--gold-primary);
    color: var(--bg-main);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(245, 201, 106, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(245, 201, 106, 0.5);
    filter: brightness(1.1);
}

.btn-ghost {
    padding: 1rem 2.5rem;
    background: transparent;
    color: var(--gold-primary);
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    text-decoration: none;
    border: 1px solid var(--gold-primary);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-ghost:hover {
    background: rgba(245, 201, 106, 0.1);
    color: var(--text-primary);
    transform: translateY(-2px);
}

/* Gothic Frame */
.gothic-frame {
    position: relative;
    padding: 3rem;
    border: 1px solid var(--gold-primary);
    border-radius: 0;
    box-shadow: 0 0 30px rgba(245, 201, 106, 0.1);
}

.gothic-frame::before,
.gothic-frame::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    border: 1px solid var(--gold-primary);
}

.gothic-frame::before {
    top: -1px;
    left: -1px;
    border-right: none;
    border-bottom: none;
}

.gothic-frame::after {
    bottom: -1px;
    right: -1px;
    border-left: none;
    border-top: none;
}

/* Gothic Card */
.gothic-card {
    background: var(--bg-section);
    border: 1px solid var(--gold-primary);
    padding: 2rem;
    position: relative;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.gothic-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: -1px;
    width: 15px;
    height: 15px;
    border-top: 1px solid var(--gold-primary);
    border-left: 1px solid var(--gold-primary);
}

.gothic-card::after {
    content: '';
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 15px;
    height: 15px;
    border-bottom: 1px solid var(--gold-primary);
    border-right: 1px solid var(--gold-primary);
}

.gothic-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(245, 201, 106, 0.2);
    border-color: var(--gold-deep);
}

/* Ornament Divider */
.ornament-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-primary), transparent);
    margin: 4rem 0;
    position: relative;
    opacity: 0.5;
}

.ornament-divider::before {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--gold-primary);
    font-size: 1.2rem;
    background: var(--bg-main);
    padding: 0 1rem;
}

/* Sections */
.section {
    padding: 6rem 0;
    position: relative;
    z-index: 2;
}

.section-dark {
    background: var(--bg-section);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    word-break: break-word;
    line-height: 1.3;
    padding: 0 1rem;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.about-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

/* Tarot Card Flip Animation */
.tarot-card-wrapper {
    perspective: 1200px;
    perspective-origin: center center;
    width: 250px;
    height: 400px;
    margin: 0 auto;
    cursor: pointer;
}

.tarot-card-frame {
    width: 100%;
    height: 100%;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    animation: cardFlip 6s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.tarot-card-frame.flipped {
    transform: rotateY(180deg);
}

.tarot-card-front,
.tarot-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border: 2px solid var(--gold-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 30px rgba(245, 201, 106, 0.2);
    transform-style: preserve-3d;
}

.tarot-card-front {
    background: var(--bg-main);
    padding: 2rem;
    transform: rotateY(0deg) translateZ(0px);
}

.tarot-card-back {
    background: linear-gradient(135deg, #F5C96A 0%, #C89A3C 100%);
    transform: rotateY(180deg) translateZ(0px);
    padding: 2rem;
    position: relative;
}

.tarot-card-back::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid var(--gold-deep);
    border-radius: 4px;
    opacity: 0.3;
}

.tarot-card-back-pattern {
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(5, 5, 8, 0.15) 10px, rgba(5, 5, 8, 0.15) 20px),
        repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(5, 5, 8, 0.15) 10px, rgba(5, 5, 8, 0.15) 20px);
    border-radius: 4px;
    position: relative;
}

.tarot-card-back-pattern::before {
    content: '✦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: var(--bg-main);
    opacity: 0.3;
}

@keyframes cardFlip {
    0% {
        transform: rotateY(0deg);
    }
    15% {
        transform: rotateY(0deg);
    }
    20% {
        transform: rotateY(90deg);
    }
    25% {
        transform: rotateY(180deg);
    }
    45% {
        transform: rotateY(180deg);
    }
    50% {
        transform: rotateY(270deg);
    }
    55% {
        transform: rotateY(360deg);
    }
    100% {
        transform: rotateY(360deg);
    }
}

.tarot-card-inner {
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tarot-card-front::before {
    content: '';
    position: absolute;
    inset: 10px;
    border: 1px solid var(--gold-deep);
    border-radius: 4px;
    opacity: 0.5;
}

.tarot-symbol {
    font-size: 4rem;
    opacity: 0.8;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.services-grid .service-card:nth-child(4) {
    grid-column: 2;
    justify-self: center;
}

.service-card {
    text-align: center;
    padding: 2.5rem 2rem;
}

.card-ornament-top {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    opacity: 0.6;
}

.ornament-star {
    color: var(--gold-primary);
    font-size: 0.8rem;
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.service-card:hover .service-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 10px rgba(245, 201, 106, 0.5));
}

.service-title {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    color: var(--gold-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.service-description {
    margin-bottom: 1.5rem;
    min-height: 80px;
}

.service-price {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--gold-primary);
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
}

.service-btn {
    width: 100%;
}

/* Testimonials */
.testimonial-section {
    background: var(--bg-section);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    padding: 2.5rem;
    position: relative;
}

.quote-icon {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    color: var(--gold-primary);
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.testimonial-text {
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-author {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--gold-primary);
    text-align: right;
}

/* Timeline */
.timeline {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    padding: 2rem 0;
    flex-wrap: wrap;
    gap: 2rem;
}

.timeline-step {
    flex: 1;
    min-width: 200px;
    text-align: center;
    position: relative;
}

.timeline-icon-circle {
    width: 80px;
    height: 80px;
    border: 2px solid var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    position: relative;
    background: var(--bg-section);
    box-shadow: 0 0 20px rgba(245, 201, 106, 0.2);
}

.timeline-icon-circle::before {
    content: '';
    position: absolute;
    inset: -4px;
    border: 1px solid var(--gold-deep);
    border-radius: 50%;
    opacity: 0.3;
}

.timeline-icon {
    font-size: 2rem;
}

.timeline-title {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--gold-primary);
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.timeline-description {
    font-size: 0.95rem;
}

.timeline-connector {
    flex: 0 0 40px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-deep));
    margin-top: 40px;
    opacity: 0.5;
    position: relative;
}

.timeline-connector::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--gold-primary);
    border-radius: 50%;
}

/* Form */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-section);
}

.consultation-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-label {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.form-input {
    padding: 0.75rem 1rem;
    background: var(--bg-main);
    border: 1px solid rgba(176, 169, 192, 0.3);
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--gold-primary);
    box-shadow: 0 0 10px rgba(245, 201, 106, 0.2);
}

.form-input::placeholder {
    color: var(--text-secondary);
    opacity: 0.5;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-submit {
    margin-top: 1rem;
    width: 100%;
    font-size: 1.1rem;
    padding: 1.25rem;
}

.form-message {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 4px;
    text-align: center;
    font-family: 'Inter', sans-serif;
    display: none;
}

.form-message.success {
    display: block;
    background: rgba(245, 201, 106, 0.1);
    border: 1px solid var(--gold-primary);
    color: var(--gold-primary);
}

.form-message.error {
    display: block;
    background: rgba(122, 26, 47, 0.2);
    border: 1px solid var(--error-color);
    color: var(--error-color);
}

/* Footer */
.footer {
    background: var(--bg-footer);
    padding: 4rem 0 2rem;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--gold-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
}

.footer-title {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    color: var(--gold-primary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-text {
    color: var(--text-secondary);
    line-height: 1.8;
}

.footer-link {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--gold-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(245, 201, 106, 0.1);
}

.footer-copyright {
    font-family: 'Inter', sans-serif;
    color: var(--text-secondary);
    font-size: 0.9rem;
    opacity: 0.7;
}

.copyright-ornament {
    color: var(--gold-primary);
    margin-right: 0.5rem;
    opacity: 0.5;
}

/* Fade In Animation */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

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

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

    .nav-bar {
        padding: 1rem 0;
    }

    .nav-container {
        padding: 0 1rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .logo-text {
        font-size: 1.2rem;
        letter-spacing: 0.15em;
    }

    .nav-menu {
        width: 100%;
        justify-content: flex-start;
        gap: 0.75rem;
        margin-top: 0.5rem;
    }

    .nav-link {
        font-size: 0.85rem;
        padding: 0.25rem 0;
    }

    .btn-ghost-small {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }

    .hero {
        padding: 2rem 1rem;
        min-height: auto;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 0.1em;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
        padding: 0;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }

    .btn-primary,
    .btn-ghost {
        width: 100%;
        padding: 0.9rem 2rem;
        text-align: center;
    }

    .section {
        padding: 3rem 0;
    }

    .section-title {
        font-size: 1.8rem;
        letter-spacing: 0.1em;
        margin-bottom: 2.5rem;
        padding: 0;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-card {
        min-height: auto;
        padding: 1.5rem;
    }

    .tarot-card-wrapper {
        width: 200px;
        height: 320px;
    }

    .tarot-card-back-pattern::before {
        font-size: 3rem;
    }

    .tarot-symbol {
        font-size: 3rem;
    }

    .body-text {
        font-size: 0.95rem;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .form-container {
        padding: 2rem 1.5rem;
    }

    .gothic-frame {
        padding: 2rem 1.5rem;
    }

    .timeline {
        flex-direction: column;
        gap: 2rem;
    }

    .timeline-connector {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .services-grid .service-card:nth-child(4) {
        grid-column: 1;
        max-width: 100%;
    }

    .service-card {
        padding: 2rem 1.5rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .testimonial-card {
        padding: 2rem 1.5rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-logo {
        font-size: 1.5rem;
    }

    .ornament-divider {
        margin: 3rem 0;
    }

    .ornament-divider::before {
        background: var(--bg-section);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .tarot-card-wrapper {
        width: 180px;
        height: 280px;
    }

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

    .nav-link {
        font-size: 0.8rem;
    }
}

