/* ============================================
   Sertão Contábil - Styles
   Design Philosophy: Minimalismo Orgânico Japonês
   ============================================ */

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

:root {
    --primary: #4A5D3F;
    --primary-light: #6B7F5A;
    --background: #F5F1E8;
    --foreground: #3F3F3F;
    --foreground-light: #6B6B6B;
    --secondary: #D9C8BA;
    --secondary-light: #E8E3D6;
    --border: #E0D5C7;
    --shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 12px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Georgia', 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--foreground);
}

h1 {
    font-size: 3.5rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--foreground-light);
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--primary-light);
}

/* Container */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 2rem;
    }
}

/* Paper Texture */
.paper-texture {
    position: relative;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(74, 93, 63, 0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(217, 200, 186, 0.02) 0%, transparent 50%);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background-color: var(--primary-light);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.btn-full {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #F5F1E8 0%, #E8E3D6 50%, #D9C8BA 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><linearGradient id="grad1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" style="stop-color:rgba(74,93,63,0.1);stop-opacity:1" /><stop offset="100%" style="stop-color:rgba(217,200,186,0.1);stop-opacity:1" /></linearGradient></linearGradient><path d="M0,300 Q300,200 600,300 T1200,300 L1200,600 L0,600 Z" fill="url(%23grad1)" opacity="0.3"/></defs></svg>');
    background-size: cover;
    background-position: center;
    opacity: 0.5;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    animation: slideUp 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.logo-container {
    margin-bottom: 2rem;
    display: flex;
    justify-content: center;
}

.logo {
    max-width: 100%;
    height: auto;
    width: 100%;
    max-width: 500px;
    object-fit: contain;
}

.logo-small {
    width: 120px;
    height: auto;
    object-fit: contain;
}

.hero-title {
    font-size: clamp(1.75rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    color: var(--foreground);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--foreground-light);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px) {
    .hero-buttons {
        flex-direction: row;
    }
}

/* Services Section */
.services {
    padding: 6rem 0;
    background-color: var(--background);
}

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--primary);
}

.section-subtitle {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
    color: var(--foreground-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
}

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

.service-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(74, 93, 63, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin-bottom: 1rem;
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background-color: rgba(74, 93, 63, 0.2);
}

.service-card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.service-card p {
    font-size: 0.95rem;
    color: var(--foreground-light);
}

/* Moments Section */
.moments {
    padding: 6rem 0;
    background-color: rgba(217, 200, 186, 0.15);
}

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

.moment-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    text-align: center;
}

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

.moment-icon {
    width: 64px;
    height: 64px;
    background-color: rgba(74, 93, 63, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.moment-card:hover .moment-icon {
    background-color: rgba(74, 93, 63, 0.2);
}

.moment-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.moment-card p {
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 6rem 0;
    background-color: var(--background);
}

.about-content {
    max-width: 800px;
    margin: 2rem auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--foreground-light);
}

.about-content strong {
    color: var(--primary);
    font-weight: 600;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.value-item {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.value-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-family: 'Georgia', serif;
}

.value-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--foreground-light);
}

/* Contact Section */
.contact {
    padding: 6rem 0;
    background-color: var(--background);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    display: flex;
    gap: 1rem;
    transition: var(--transition);
}

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

.contact-icon {
    width: 48px;
    height: 48px;
    background-color: rgba(74, 93, 63, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.contact-card p,
.contact-card a {
    font-size: 0.95rem;
    color: var(--foreground-light);
}

.contact-card a {
    font-weight: 600;
    color: var(--primary);
}

/* Contact Form */
.contact-form {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--foreground);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    background-color: rgba(245, 241, 232, 0.5);
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(74, 93, 63, 0.1);
}

.form-group textarea {
    resize: vertical;
}

/* Footer */
.footer {
    background-color: rgba(74, 93, 63, 0.05);
    padding: 3rem 0;
    border-top: 1px solid var(--border);
}

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

.footer-logo {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.footer-text {
    font-size: 0.95rem;
    color: var(--foreground-light);
    margin-bottom: 1.5rem;
}

.footer-copyright {
    font-size: 0.85rem;
    color: var(--foreground-light);
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
}

/* WhatsApp Floating Button */
.whatsapp-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 60px;
    height: 60px;
    background-color: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    z-index: 999;
    animation: slideIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.whatsapp-button:hover {
    background-color: var(--primary-light);
    transform: scale(1.1);
    box-shadow: 0 16px 32px rgba(74, 93, 63, 0.3);
}

@media (max-width: 640px) {
    .whatsapp-button {
        bottom: 1.5rem;
        right: 1.5rem;
        width: 56px;
        height: 56px;
    }
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

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

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .services-grid,
    .moments-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    .btn {
        padding: 0.875rem 1.5rem;
        font-size: 0.95rem;
    }

    .hero {
        min-height: 80vh;
        padding: 2rem 0;
    }

    .logo {
        max-width: 300px;
    }

    .services,
    .moments,
    .about,
    .contact {
        padding: 3rem 0;
    }

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

    .section-subtitle {
        font-size: 0.95rem;
    }
}
/* ===== Ajuste fino para Desktop ===== */
@media (min-width: 1024px) {
  .hero {
    min-height: 78vh;
    display: flex;
    align-items: center;
  }

  .hero-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
  }

  .logo {
    max-width: 360px;
    margin-bottom: 1.25rem;
  }
}
