/* ==============================================
   APPLE/iOS STYLE CSS | Encantos da Fé
   Design minimalista e elegante inspirado na Apple
   ============================================== */

:root {
    /* Paleta Equilibrada - Dourado, Branco, Preto e Cinza Grafite */
    --color-black: #0a0a0a;           /* Preto profundo */
    --color-dark: #1d1d1f;            /* Grafite escuro */
    --color-graphite: #2c2c2e;        /* Grafite médio */
    --color-dark-gray: #3a3a3c;       /* Cinza grafite */
    --color-gray: #86868b;             /* Cinza médio */
    --color-light-gray: #d1d1d6;      /* Cinza claro */
    --color-ultra-light: #f2f2f7;     /* Cinza ultra claro */
    --color-white: #ffffff;            /* Branco puro */
    
    /* Dourado (accent principal) */
    --color-gold: #c9a961;            /* Dourado principal */
    --color-gold-dark: #9d7e3a;       /* Dourado escuro */
    --color-gold-light: #e6d4a8;      /* Dourado claro */
    --color-gold-pale: #f5ebd4;       /* Dourado suave */
    
    /* Gradientes Equilibrados */
    --gradient-gold: linear-gradient(135deg, #c9a961 0%, #9d7e3a 100%);
    --gradient-graphite: linear-gradient(135deg, #1d1d1f 0%, #2c2c2e 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    --gradient-gold-subtle: linear-gradient(135deg, rgba(201, 169, 97, 0.1) 0%, rgba(157, 126, 58, 0.05) 100%);
    
    /* Sombras - Estilo iOS */
    --shadow-sm: 0 2px 8px rgba(10, 10, 10, 0.06);
    --shadow-md: 0 4px 16px rgba(10, 10, 10, 0.10);
    --shadow-lg: 0 12px 48px rgba(10, 10, 10, 0.15);
    --shadow-xl: 0 20px 64px rgba(10, 10, 10, 0.20);
    --shadow-gold: 0 8px 24px rgba(201, 169, 97, 0.25);
    
    /* Blur - Estilo iOS */
    --blur-sm: blur(8px);
    --blur-md: blur(16px);
    --blur-lg: blur(24px);
    
    /* Border Radius - Estilo Apple */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    
    /* Transições Suaves */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Espaçamentos */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-2xl: 4rem;
}

/* ==============================================
   RESET E BASE
   ============================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    background: var(--color-white);
    color: var(--color-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ==============================================
   TIPOGRAFIA - Estilo Apple
   ============================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-dark);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    font-size: 1.0625rem;
    line-height: 1.7;
    color: var(--color-dark-gray);
}

/* ==============================================
   HEADER - Estilo iOS
   ============================================== */

.header-component {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
    transition: all var(--transition-base);
    border-bottom: 1px solid transparent;
}

.header-component.header-scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-sm);
    border-bottom-color: rgba(0, 0, 0, 0.05);
}

/* ==============================================
   BUTTONS - Estilo Apple
   ============================================== */

.btn-primary {
    background: var(--gradient-gold);
    color: var(--color-white);
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
    filter: brightness(1.1);
}

.btn-secondary {
    background: transparent;
    color: var(--color-dark);
    padding: 1rem 2rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 1rem;
    border: 2px solid var(--color-graphite);
    cursor: pointer;
    transition: all var(--transition-base);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-secondary:hover {
    background: var(--color-graphite);
    color: var(--color-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ==============================================
   CARDS - Estilo iOS com Glass Effect
   ============================================== */

.card-glass {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: var(--blur-md);
    -webkit-backdrop-filter: var(--blur-md);
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.card-glass:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* ==============================================
   SECTIONS - Espaçamento Generoso
   ============================================== */

section {
    padding: clamp(3rem, 8vw, 6rem) 0;
}

/* Gradientes de fundo cinza suave */
.bg-gradient-gray {
    background: linear-gradient(135deg, #f5f5f7 0%, #ffffff 50%, #fafafa 100%);
}

.section-title {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-gray);
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--spacing-lg);
}

/* Linha decorativa (estilo Apple) */
.section-divider {
    width: 60px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
    margin: var(--spacing-md) auto;
}

/* ==============================================
   FAQ ACCORDION - Estilo Apple
   ============================================== */

.faq-item {
    transition: all var(--transition-base);
}

.faq-item:hover {
    transform: translateX(4px);
}

.faq-question {
    transition: all var(--transition-fast);
}

.faq-question:hover {
    background: rgba(201, 169, 97, 0.05);
}

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

.faq-item.active .faq-answer {
    max-height: 500px !important;
    margin-top: 0.5rem;
}

/* ==============================================
   SHADOW UTILITIES
   ============================================== */

.shadow-gold {
    box-shadow: var(--shadow-gold);
}

.hover\:shadow-gold:hover {
    box-shadow: var(--shadow-gold);
}

/* ==============================================
   FORMULÁRIO - Estilo Apple
   ============================================== */

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    background: var(--color-white);
    transition: all var(--transition-fast);
    appearance: none;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 4px rgba(201, 169, 97, 0.1);
}

input::placeholder,
textarea::placeholder {
    color: var(--color-gray);
}

label {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-dark);
    margin-bottom: var(--spacing-xs);
    letter-spacing: 0.01em;
}

/* Checkbox estilo iOS */
input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: var(--color-gold);
}

/* ==============================================
   WHATSAPP FLOAT - Animações iOS
   ============================================== */

.whatsapp-float-container {
    transition: all var(--transition-base);
}

@keyframes pulse-whatsapp {
    0%, 100% {
        transform: scale(1);
        opacity: 0.2;
    }
    50% {
        transform: scale(1.3);
        opacity: 0;
    }
}

/* ==============================================
   SWIPER CUSTOMIZATION - Estilo Apple
   ============================================== */

.swiper-button-next,
.swiper-button-prev {
    width: 48px !important;
    height: 48px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: var(--blur-sm) !important;
    border-radius: 50% !important;
    box-shadow: var(--shadow-md) !important;
    transition: all var(--transition-base) !important;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
    background: var(--color-white) !important;
    box-shadow: var(--shadow-lg) !important;
    transform: scale(1.1) !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--color-dark) !important;
}

.swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    background: var(--color-gray) !important;
    opacity: 0.4 !important;
    transition: all var(--transition-base) !important;
}

.swiper-pagination-bullet-active {
    background: var(--color-gold) !important;
    opacity: 1 !important;
    width: 24px !important;
    border-radius: 4px !important;
}

/* ==============================================
   ANIMAÇÕES - Estilo iOS
   ============================================== */

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

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

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

.animate-scale-in {
    animation: scaleIn 0.6s ease-out;
}

/* ==============================================
   UTILITY CLASSES
   ============================================== */

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

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

.bg-gold {
    background: var(--gradient-gold);
}

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

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

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

.bg-gradient-glass {
    background: var(--gradient-glass);
}

.bg-gradient-gold-subtle {
    background: var(--gradient-gold-subtle);
}

.border-gold {
    border-color: var(--color-gold);
}

.border-graphite {
    border-color: var(--color-graphite);
}

/* ==============================================
   RESPONSIVE - Mobile First
   ============================================== */

@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
    }
}

/* ==============================================
   SCROLL SMOOTH REVEAL
   ============================================== */

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* ==============================================
   FOOTER STYLING
   ============================================== */

.footer-component {
    background: var(--color-dark);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s ease;
}

.footer-component.footer-visible {
    opacity: 1;
    transform: translateY(0);
}
