/* ===================================
   ACANTO CONTABILIDADE - STYLES
   =================================== */

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: #fafaf8;
    color: #3a3a38;
    line-height: 1.6;
}

/* ===================================
   NAVIGATION
   =================================== */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.nav.scrolled {
    background: rgba(61, 90, 61, 0.98);
    padding: 15px 50px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.nav-logo svg {
    width: 45px;
    height: 45px;
}

.nav-logo span {
    font-family: 'Playfair Display', serif;
    font-size: 1.6em;
    color: white;
    font-weight: 700;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 40px;
    list-style: none;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 400;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: #c9a961;
    transition: width 0.3s ease;
}

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

.nav-links a:hover {
    color: #c9a961;
}

.nav-cta {
    padding: 12px 30px;
    border: 1px solid rgba(255,255,255,0.5);
    color: white;
    text-decoration: none;
    font-size: 0.85em;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-cta:hover {
    background: #c9a961;
    border-color: #c9a961;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.mobile-menu-btn span {
    width: 25px;
    height: 2px;
    background: white;
    transition: all 0.3s ease;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #3d5a3d 0%, #4a6b4a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -30%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.15) 0%, transparent 70%);
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

.hero svg {
    width: 150px;
    height: 150px;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5em;
    color: white;
    font-weight: 700;
    letter-spacing: 3px;
    margin-bottom: 15px;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero .tagline {
    font-size: 1.2em;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 6px;
    text-transform: uppercase;
    font-weight: 300;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero .gold-line {
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, #c9a961 50%, transparent 100%);
    margin: 40px auto;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero .subtitle {
    font-size: 1.3em;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 300;
    line-height: 1.8;
    font-style: italic;
    margin-bottom: 50px;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-cta {
    display: inline-block;
    padding: 18px 50px;
    border: 1px solid rgba(255,255,255,0.6);
    color: white;
    text-decoration: none;
    font-size: 0.9em;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    animation: fadeInUp 1s ease-out 1s both;
}

.hero-cta:hover {
    background: #c9a961;
    border-color: #c9a961;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.scroll-indicator svg {
    width: 30px;
    height: 30px;
    stroke: rgba(255,255,255,0.5);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

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

/* ===================================
   CONTAINER & SECTIONS
   =================================== */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

.section {
    margin-bottom: 100px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 3em;
    color: #3d5a3d;
    margin-bottom: 20px;
    font-weight: 700;
}

.section-subtitle {
    font-size: 1.1em;
    color: #6b7b6b;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    font-weight: 300;
}

.gold-accent {
    width: 60px;
    height: 2px;
    background: #c9a961;
    margin: 25px auto 0;
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2em;
    color: #3d5a3d;
    margin-bottom: 25px;
    font-weight: 700;
}

.about-content p {
    color: #5a6a5a;
    line-height: 2;
    margin-bottom: 20px;
    font-size: 1.05em;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px;
}

.about-image svg {
    width: 300px;
    height: 300px;
}

.highlight-box {
    background: linear-gradient(135deg, #f9f9f7 0%, #f0f0ea 100%);
    padding: 40px;
    border-radius: 8px;
    border-left: 4px solid #c9a961;
    margin: 40px 0;
}

.highlight-box h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5em;
    color: #3d5a3d;
    margin-bottom: 15px;
    font-weight: 600;
}

.highlight-box p {
    font-size: 1em;
    color: #5a6a5a;
    line-height: 1.9;
}

/* ===================================
   SERVICES SECTION
   =================================== */

.services-section {
    background: #f5f5f2;
    padding: 100px 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.service-card {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.service-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, #3d5a3d 0%, #4a6b4a 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.service-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5em;
    color: #3d5a3d;
    margin-bottom: 15px;
    font-weight: 700;
}

.service-card p {
    color: #6b7b6b;
    line-height: 1.8;
    font-size: 0.95em;
}

/* ===================================
   TIMELINE SECTION
   =================================== */

.timeline {
    position: relative;
    padding: 40px 0;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, #3d5a3d 0%, #c9a961 100%);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    position: relative;
}

.timeline-content {
    width: 45%;
    background: white;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 18px;
    height: 18px;
    background: #c9a961;
    border: 4px solid #fafaf8;
    border-radius: 50%;
    z-index: 2;
}

.timeline-year {
    font-family: 'Playfair Display', serif;
    font-size: 1.5em;
    color: #3d5a3d;
    font-weight: 700;
    margin-bottom: 10px;
}

.timeline-text {
    color: #5a6a5a;
    line-height: 1.7;
    font-size: 0.95em;
}

/* ===================================
   WHY CHOOSE SECTION
   =================================== */

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

.why-card {
    background: white;
    padding: 35px;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.why-card:hover {
    transform: translateY(-3px);
}

.why-card h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.3em;
    color: #3d5a3d;
    margin-bottom: 15px;
    font-weight: 700;
}

.why-card p {
    color: #6b7b6b;
    line-height: 1.8;
    font-size: 0.95em;
}

/* ===================================
   CONTACT SECTION
   =================================== */

.contact-section {
    background: linear-gradient(135deg, #3d5a3d 0%, #4a6b4a 100%);
    padding: 100px 20px;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.15) 0%, transparent 70%);
}

.contact-container {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.8em;
    color: white;
    margin-bottom: 25px;
    font-weight: 700;
}

.contact-info p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.9;
    margin-bottom: 35px;
    font-size: 1.1em;
}

.contact-details {
    color: rgba(255, 255, 255, 0.9);
    line-height: 2.2;
}

.contact-details strong {
    color: #c9a961;
}

.contact-form {
    background: white;
    padding: 45px;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

.contact-form h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8em;
    color: #3d5a3d;
    margin-bottom: 25px;
    font-weight: 700;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #5a6a5a;
    margin-bottom: 8px;
    font-size: 0.9em;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select,
.form-control {
    width: 100%;
    padding: 15px;
    border: 1px solid #e5e5e0;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus,
.form-control:focus {
    outline: none;
    border-color: #3d5a3d;
}

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

.submit-btn {
    width: 100%;
    padding: 16px;
    background: #3d5a3d;
    color: white;
    border: none;
    border-radius: 4px;
    font-family: 'Inter', sans-serif;
    font-size: 0.95em;
    letter-spacing: 1px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.submit-btn:hover {
    background: #4a6b4a;
}

/* Messages */
.messages {
    margin-bottom: 20px;
}

.alert {
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

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

.footer {
    background: #2d3d2d;
    padding: 60px 20px 30px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 50px;
}

.footer-brand svg {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.footer-brand p {
    line-height: 1.8;
    font-size: 0.95em;
}

.footer h5 {
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 1.2em;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.95em;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #c9a961;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85em;
}

/* ===================================
   RESPONSIVE STYLES
   =================================== */

@media (max-width: 1024px) {
    .about-grid,
    .contact-container {
        grid-template-columns: 1fr;
    }

    .about-image {
        order: -1;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
    }

    .timeline-dot {
        left: 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .nav {
        padding: 15px 20px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(61, 90, 61, 0.98);
        flex-direction: column;
        padding: 20px;
        gap: 20px;
    }

    .nav-links.active {
        display: flex;
    }

    .nav-cta {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero h1 {
        font-size: 2.8em;
    }

    .hero .tagline {
        font-size: 0.9em;
        letter-spacing: 4px;
    }

    .hero .subtitle {
        font-size: 1.1em;
    }

    .section-title {
        font-size: 2.2em;
    }

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

    .contact-info h2 {
        font-size: 2.2em;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
