/* Globals & Variables */
:root {
    --color-primary: #154235;
    --color-primary-light: #c1ebb4;
    --color-bg: #f7f9ec;
    --color-accent-purple: #e6dbfc;
    --color-accent-peach: #fed4ae;
    --color-accent-coral: #ea6948;
    
    --color-text-main: #2a3b35; /* Slightly tinted for better harmony */
    --color-text-muted: #5c6e68;
    --color-white: #ffffff;
    
    --font-heading: 'Georama', sans-serif;
    --font-body: 'Crimson Pro', serif;
    
    --border-radius-sm: 12px;
    --border-radius-md: 20px;
    --border-radius-lg: 32px;
    --border-radius-full: 9999px;
    
    --transition-fast: 0.25s ease;
    --transition-base: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-main);
    background-color: var(--color-bg);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.25;
    margin-bottom: 1rem;
    font-weight: 700;
}

p {
    margin-bottom: 1rem;
    font-size: 1.2rem; /* Crimson pro should be slightly larger */
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.text-center { text-align: center; }
.bg-light { background-color: var(--color-white); }
.section-padding { padding: 7rem 0; }

.section-title {
    font-size: 2.8rem;
    font-weight: 800;
}
.section-subtitle {
    font-size: 1.35rem;
    color: var(--color-text-muted);
    margin-bottom: 3.5rem;
}

/* Base Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.2rem;
    border-radius: var(--border-radius-full);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.125rem;
    cursor: pointer;
    border: none;
    outline: none;
    text-align: center;
    transition: var(--transition-base);
}

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

.btn-primary:hover {
    background-color: #0c2b22;
    color: var(--color-white);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(21, 66, 53, 0.25);
}

.btn-secondary {
    background-color: var(--color-primary-light);
    color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: #a5d896;
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(193, 235, 180, 0.4);
}

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

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

.btn-text {
    padding: 0;
    background: none;
    color: var(--color-accent-coral);
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}
.btn-text:hover {
    color: var(--color-primary);
    transform: translateX(8px);
}

/* Animations (Animate on Scroll) */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp var(--transition-slow) forwards;
}

.animate-fade-in {
    opacity: 0;
    animation: fadeIn var(--transition-slow) forwards;
}

.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    to { opacity: 1; }
}

/* Fade in Section triggered by JS */
.fade-in-section {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
    will-change: opacity, visibility;
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: none;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.2rem 0;
    background-color: rgba(247, 249, 236, 0.95);
    backdrop-filter: blur(12px);
    transition: background-color 0.4s, padding 0.4s, box-shadow 0.4s;
}

.navbar.scrolled {
    padding: 0.7rem 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 48px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-links a {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1.05rem;
    position: relative;
    padding: 0.2rem 0;
}

.nav-links a:not(.btn)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-accent-coral);
    transition: width var(--transition-fast);
}

.nav-links a:not(.btn):hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
}
.mobile-toggle span {
    width: 28px;
    height: 3px;
    background-color: var(--color-primary);
    border-radius: 3px;
    transition: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Hero Section */
.hero {
    padding-top: 130px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--color-primary-light) 0%, transparent 70%);
    opacity: 0.4;
    z-index: 0;
    border-radius: 50%;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
    z-index: 1;
}

.hero-title {
    font-size: 5rem;
    color: var(--color-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 520px;
}

.hero-buttons {
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    z-index: 1;
}

.floating-img {
    border-radius: var(--border-radius-lg);
    box-shadow: 0 25px 50px rgba(21, 66, 53, 0.15);
    animation: float 6s ease-in-out infinite;
    max-height: 500px;
    width: 100%;
    object-fit: cover;
}

@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Sobre */
.auto-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 5rem;
    align-items: center;
}

.sobre-text p {
    margin-bottom: 1.5rem;
}

.sobre-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.organic-shape {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1;
    background: linear-gradient(135deg, var(--color-accent-purple), var(--color-accent-peach));
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    animation: shapeShift 12s ease-in-out infinite alternate;
    box-shadow: 0 20px 40px rgba(116, 85, 230, 0.1);
}

@keyframes shapeShift {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
    100% { border-radius: 40% 60% 70% 30% / 40% 40% 60% 50%; }
}

/* Serviços */
.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.card {
    background: var(--color-white);
    padding: 3.5rem 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 10px 40px rgba(0,0,0,0.04);
    border-top: 8px solid var(--color-primary-light);
    transition: var(--transition-base);
}

.card:nth-child(2) {
    border-top-color: var(--color-accent-coral);
}

.card:hover {
    transform: translateY(-12px);
    box-shadow: 0 25px 50px rgba(0,0,0,0.08);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    padding: 1rem;
    background: var(--color-bg);
    border-radius: var(--border-radius-md);
}

.feature-list {
    list-style: none;
    margin-bottom: 2.5rem;
}

.feature-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.15rem;
}

.feature-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--color-accent-coral);
    font-weight: bold;
    font-size: 1.2rem;
    font-family: var(--font-heading);
}

/* Diferenciais */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}
.feature-item {
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--color-white);
    border-radius: var(--border-radius-md);
    box-shadow: 0 5px 25px rgba(0,0,0,0.03);
    transition: transform var(--transition-base);
}
.feature-item:hover {
    transform: translateY(-8px);
}
.feature-item h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}
.feature-item p {
    font-size: 1.1rem;
    color: var(--color-text-muted);
}

/* Parceiros */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
}
.team-card {
    background: var(--color-bg);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    transition: var(--transition-base);
}
.team-card:hover {
    transform: translateY(-10px);
}
.team-photo {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-bottom: 4px solid var(--color-accent-purple);
}
.team-info {
    padding: 2rem;
}
.team-info h4 {
    font-size: 1.4rem;
    margin-bottom: 0.3rem;
}
.team-info span {
    display: inline-block;
    color: var(--color-primary);
    background: var(--color-primary-light);
    padding: 0.3rem 1rem;
    border-radius: var(--border-radius-full);
    font-family: var(--font-heading);
    font-size: 0.85rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
}

/* Depoimentos */
.testimonial-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
}
.testimonial-item {
    background: var(--color-white);
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius-lg);
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}
.testimonial-item::before {
    content: '"';
    position: absolute;
    top: 1rem;
    left: 2rem;
    font-size: 6rem;
    color: var(--color-primary-light);
    font-family: var(--font-heading);
    opacity: 0.8;
    line-height: 1;
}
.quote {
    font-size: 1.2rem;
    font-style: italic;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
    color: #444;
}
.testimonial-author strong {
    display: block;
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
}
.testimonial-author span {
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

/* FAQ */
.accordion {
    max-width: 850px;
    margin: 0 auto;
}
.accordion-item {
    margin-bottom: 1.2rem;
    border-radius: var(--border-radius-md);
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.03);
    background: var(--color-white);
    border: 1px solid transparent;
    transition: var(--transition-fast);
}
.accordion-item.active {
    border-color: var(--color-primary-light);
    box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}
.accordion-header {
    width: 100%;
    text-align: left;
    padding: 1.8rem 2.5rem;
    background: var(--color-white);
    border: none;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.accordion-header::after {
    content: '+';
    font-size: 1.8rem;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    color: var(--color-accent-coral);
}
.accordion-header.active::after {
    transform: rotate(45deg);
}
.accordion-content {
    background: var(--color-white);
    padding: 0 2.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease;
}
.accordion-item.active .accordion-content {
    padding: 0 2.5rem 1.8rem;
}
.accordion-content p {
    color: var(--color-text-muted);
}

/* Contato */
.contato-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
}
.contato-info p {
    font-size: 1.2rem;
}
.form-group {
    margin-bottom: 1.8rem;
}
.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-primary);
}
.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 2px solid transparent;
    background-color: var(--color-white);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1.1rem;
    transition: var(--transition-fast);
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-primary);
    background-color: var(--color-white);
    outline: none;
    box-shadow: 0 4px 15px rgba(21, 66, 53, 0.1);
}
.w-100 { width: 100%; }

/* Footer */
.footer {
    background: var(--color-primary);
    color: var(--color-white);
    padding: 5rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 5rem;
    margin-bottom: 4rem;
}
.footer-logo {
    height: 55px;
    margin-bottom: 1.5rem;
    filter: brightness(0) invert(1);
}
.footer h4 {
    color: var(--color-primary-light);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}
.footer-links ul {
    list-style: none;
}
.footer-links li {
    margin-bottom: 0.8rem;
}
.footer-links a {
    color: #cbd5d1;
    font-family: var(--font-heading);
    font-size: 1.1rem;
}
.footer-links a:hover {
    color: var(--color-white);
    padding-left: 8px;
}
.social-icons {
    display: flex;
    gap: 1rem;
}
.social-icons a {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    color: var(--color-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-family: var(--font-heading);
    font-weight: 600;
}
.social-icons a:hover {
    background: var(--color-accent-coral);
    transform: translateY(-4px);
}
.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 1rem;
    color: #cbd5d1;
    font-family: var(--font-heading);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: var(--transition-base);
}
.whatsapp-float:hover {
    transform: scale(1.1) rotate(-10deg);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.4);
    color: white;
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .hero-title { font-size: 4rem; }
    .hero-subtitle { margin: 0 auto 2.5rem; }
    .hero-buttons { justify-content: center; }
    .hero::before { display: none; }
    
    .auto-grid { grid-template-columns: 1fr; text-align: center; }
    .sobre-visual { order: -1; }
    .contato-grid { grid-template-columns: 1fr; gap: 3rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
}

@media (max-width: 768px) {

.hero-image {
    display: none;
}
    .nav-links {
        position: fixed;
        top: 75px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 75px);
        background: var(--color-bg);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 3rem;
        transition: 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    }
    .nav-links.active { left: 0; }
    .mobile-toggle { display: flex; }
    .mobile-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(6px, 6px); }
    .mobile-toggle.active span:nth-child(2) { opacity: 0; }
    .mobile-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(6px, -6px); }
    
    .section-padding { padding: 5rem 0; }
    .section-title { font-size: 2.2rem; }
    .cards-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-icons { justify-content: center; }
    
    .hero-title { font-size: 3.2rem; }
}
