@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;500;600;700&family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* =========================================
   1. Design Tokens & Variables
   ========================================= */
:root {
    /* Color Palette */
    --primary-green: #2E7D32;
    /* Lush Forest Green */
    --primary-dark: #1B5E20;
    /* Deep Forest */
    --primary-light: #E8F5E9;
    /* Very Pale Green */

    --accent-orange: #FF7043;
    /* Warm Coral */
    --accent-yellow: #FFF176;
    /* Sunshine */
    --accent-blue: #81D4FA;
    /* Sky Blue */

    --bg-cream: #FFFDE7;
    /* Warm Off-White */
    --bg-white: #FFFFFF;

    --text-dark: #263238;
    /* Blue Grey Dark */
    --text-medium: #546E7A;
    /* Blue Grey Medium */
    --text-light: #FFFFFF;

    /* Typography */
    --font-heading: 'Fredoka', sans-serif;
    /* Friendly, Rounded */
    --font-body: 'Outfit', sans-serif;
    /* Modern, Clean */

    /* Shadows & Effects */
    --shadow-soft: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 20px 50px -10px rgba(0, 0, 0, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.85);
    --glass-border: 1px solid rgba(255, 255, 255, 0.5);
    --glass-blur: blur(12px);

    /* Transitions */
    --transition-bounce: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --transition-smooth: all 0.3s ease-in-out;
}

/* =========================================
   2. Reset & Base Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-cream);
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
}

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

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

/* =========================================
   3. Header & Navigation
   ========================================= */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    z-index: 1000;
    background: var(--glass-bg);
    backdrop-filter: var(--glass-blur);
    border-bottom: var(--glass-border);
    transition: var(--transition-smooth);
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.main-logo {
    height: 70px;
    width: auto;
    filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
    transition: var(--transition-bounce);
}

.main-logo:hover {
    transform: scale(1.05) rotate(-2deg);
}

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

.nav-links a {
    font-family: var(--font-body);
    font-weight: 700;
    color: var(--primary-green);
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    position: relative;
    padding: 5px 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background-color: var(--accent-orange);
    transition: width 0.3s ease;
    border-radius: 2px;
}

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

.hamburger {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-green);
    cursor: pointer;
}

/* =========================================
   4. Hero Section
   ========================================= */
#hero {
    position: relative;
    min-height: 0 !important;
    height: auto !important;
    padding: 120px 0 60px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    margin-top: 0;
}

.sky-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Modern Mesh Gradient */
    background: radial-gradient(circle at 10% 10%, #E0F7FA 0%, transparent 40%),
        radial-gradient(circle at 90% 90%, #F1F8E9 0%, transparent 40%),
        linear-gradient(180deg, #B2EBF2 0%, #E8F5E9 100%);
    z-index: 1;
}

.hero-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    /* Center horizontally */
    justify-content: center;
}

.hero-content {
    max-width: 800px;
    /* Limit width for readability */
    color: var(--primary-dark);
    text-align: center;
    /* Center text */
}

.main-title {
    font-size: 5rem;
    /* Responsive typography */
    color: var(--primary-green);
    margin-bottom: 2rem;
    text-shadow: 3px 3px 0px rgba(255, 255, 255, 0.4);
    animation: fadeInDown 1s ease-out;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero-content p {
    font-size: 1.8rem !important;
    color: var(--text-dark);
    margin-bottom: 30px;
    font-weight: 600;
}

.hero-image-container {
    position: absolute;
    bottom: -50px;
    /* Slight overlap */
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 900px;
    height: auto;
    z-index: 5;
    animation: slideUpHero 1s ease-out 0.5s backwards;
    pointer-events: none;
    /* Let clicks pass through if needed */
}

.hero-bg-img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.15));
}



/* =========================================
   5. Promo Section (Wave + Cards)
   ========================================= */
#promo {
    position: relative;
    z-index: 20;
    margin-top: 0;
    /* Removed negative overlap */
    padding-bottom: 50px;
}

.curve-top svg {
    display: block;
    width: 100%;
    height: 150px;
    fill: var(--accent-yellow);
}

.promo-container {
    background: var(--accent-yellow);
    padding: 20px 0 80px 0;
}

.promo-content-grid {
    max-width: 1100px;
    margin: 0 auto;
    background: var(--bg-white);
    padding: 60px;
    border-radius: 40px;
    box-shadow: var(--shadow-soft);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    overflow: hidden;
}

/* Decorative circle in promo card */
.promo-content-grid::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 250px;
    height: 250px;
    background: var(--accent-orange);
    opacity: 0.08;
    border-radius: 50%;
}

.promo-text-side {
    flex: 1;
}

.promo-title {
    font-size: 3rem;
    /* Increased from 2rem */
    color: var(--primary-dark);
    margin-bottom: 5px;
    font-weight: 800;
}

.huge-text {
    font-size: 6.5rem;
    /* Increased from 5rem */
    color: #FF5722;
    /* Stronger Orange manually set for max contrast */
    font-family: var(--font-heading);
    line-height: 0.9;
    font-weight: 800;
    display: block;
    margin: 15px 0;
    text-shadow: 4px 4px 0px rgba(0, 0, 0, 0.08);
    /* Better pop */
}

.highlight-text {
    font-size: 3.2rem;
    /* Increased from 2.5rem */
    color: var(--primary-green);
    display: block;
    font-weight: 700;
    margin-bottom: 25px;
}

.btn-cta-main {
    display: inline-block;
    background: var(--accent-orange);
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    padding: 16px 45px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(255, 112, 67, 0.3);
    transition: var(--transition-bounce);
    margin-top: 25px;
    border: 4px solid rgba(255, 255, 255, 0.2);
}

.btn-cta-main:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 30px rgba(255, 112, 67, 0.4);
    background: #FF8A65;
}

.promo-details-side {
    flex: 0 0 320px;
    padding-left: 40px;
    border-left: 2px solid var(--primary-light);
}

.promo-desc {
    color: #37474F;
    /* Darker Slate Grey for better legibility than var(--text-medium) */
    margin-bottom: 25px;
    font-size: 1.25rem;
    /* Increased from 1.1rem */
    font-weight: 600;
    /* Bolder */
    line-height: 1.5;
}

.line-separator {
    width: 60px;
    height: 4px;
    background: var(--primary-green);
    margin: 20px 0;
    border-radius: 4px;
}

.saiba-mais {
    font-weight: 800;
    color: var(--primary-green);
    border-bottom: 2px solid transparent;
    font-size: 1.1rem;
}

.saiba-mais:hover {
    border-bottom-color: var(--primary-green);
}

/* =========================================
   6. About Section (Sobre)
   ========================================= */
#sobre {
    padding: 100px 0;
    background: linear-gradient(to bottom, var(--bg-cream) 0%, #fff 100%);
}

.section-title-large {
    font-size: 4rem;
    color: var(--accent-orange);
    text-align: center;
    margin-bottom: 10px;
}

.title-underline {
    width: 100px;
    height: 6px;
    background: var(--primary-green);
    margin: 0 auto 60px auto;
    border-radius: 10px;
}

.sobre-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.sobre-text h2 {
    font-size: 3rem;
    color: var(--primary-dark);
    margin-bottom: 30px;
}

.sobre-text p {
    font-size: 1.15rem;
    color: var(--text-medium);
    margin-bottom: 30px;
    line-height: 1.8;
}

.btn-secondary {
    display: inline-block;
    padding: 12px 35px;
    border: 2px solid var(--accent-orange);
    color: var(--accent-orange);
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 30px;
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background: var(--accent-orange);
    color: white;
}

.frame-image {
    padding: 15px;
    background: white;
    box-shadow: var(--shadow-hover);
    transform: rotate(3deg);
    transition: var(--transition-bounce);
    border-radius: 10px;
    /* Slight subtle roundness for paper feel */
}

.frame-image:hover {
    transform: rotate(0deg) scale(1.02);
    z-index: 5;
}

/* =========================================
   7. Services Section (Redesigned)
   ========================================= */
#servicos {
    padding: 100px 0;
    background: var(--bg-white);
}

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

.section-header h2 {
    font-size: 3.5rem;
    color: var(--primary-green);
}

.services-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.service-card {
    background: white;
    border-radius: 30px;
    padding: 50px 30px;
    width: 340px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--primary-light);
    transition: var(--transition-bounce);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: var(--primary-green);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.icon-box {
    width: 100px;
    height: 100px;
    background: var(--primary-light);
    border-radius: 50%;
    /* Circle */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-green);
    margin: 0 auto 30px auto;
    transition: var(--transition-bounce);
}

.service-card:hover .icon-box {
    background: var(--primary-green);
    color: white;
    transform: rotate(15deg);
}

.service-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-medium);
    font-size: 1.05rem;
}

/* =========================================
   8. Testimonials Section
   ========================================= */
#depoimentos {
    padding: 120px 0;
    background: linear-gradient(135deg, #E8F5E9 0%, #F1F8E9 100%);
    position: relative;
}

#depoimentos h2 {
    font-size: 3.5rem;
    text-align: center;
    margin-bottom: 60px;
    color: var(--primary-dark);
}

.testimonials-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 50px;
    border-radius: 40px;
    width: 100%;
    max-width: 500px;
    box-shadow: var(--shadow-soft);
    position: relative;
    transition: var(--transition-bounce);
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

.testimonial-card::after {
    content: '❝';
    position: absolute;
    top: -30px;
    left: 40px;
    font-size: 8rem;
    color: var(--primary-green);
    opacity: 0.15;
    font-family: serif;
    height: 60px;
    line-height: 1;
}

.quote {
    font-style: italic;
    font-size: 1.3rem;
    color: var(--text-dark);
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
}

.author .name {
    font-weight: 800;
    color: var(--primary-green);
    text-transform: uppercase;
    font-size: 1rem;
    letter-spacing: 1px;
}

/* =========================================
   9. Footer & CTA
   ========================================= */
#cta-footer {
    position: relative;
    padding: 150px 0 100px 0;
    background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('../assets/grass_texture.png') no-repeat center center;
    background-size: cover;
    background-color: var(--primary-light);
    /* Fallback/Blend */
    margin-top: 0;
}

.cta-content {
    background: var(--bg-white);
    padding: 70px;
    border-radius: 50px;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.12);
    position: relative;
    z-index: 10;
}

.cta-content h2 {
    font-size: 3.5rem;
    color: var(--primary-green);
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 1.3rem;
    color: var(--text-medium);
    margin-bottom: 35px;
}

.btn-orange-large {
    background: var(--accent-orange);
    color: white;
    padding: 20px 60px;
    border-radius: 60px;
    font-size: 1.6rem;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(255, 112, 67, 0.3);
    border: none;
    cursor: pointer;
    transition: var(--transition-bounce);
    display: inline-block;
}

.btn-orange-large:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 20px 40px rgba(255, 112, 67, 0.4);
    background: #FF8A65;
}

footer {
    background: var(--primary-dark);
    color: white;
    padding: 80px 0 40px 0;
    text-align: center;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.social-icons a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.8rem;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--accent-yellow);
    transform: scale(1.1);
}

/* =========================================
   10. WhatsApp Float
   ========================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 700;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.4);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 2000;
    transition: var(--transition-bounce);
    text-decoration: none;
}

.whatsapp-float:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 15px 35px rgba(37, 211, 102, 0.5);
}

/* =========================================
   11. Modal Styles
   ========================================= */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    overflow: auto;
    opacity: 0;
    transition: opacity 0.3s;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background: white;
    padding: 60px;
    border-radius: 40px;
    width: 90%;
    max-width: 600px;
    position: relative;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.4);
    animation: zoomIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes zoomIn {
    from {
        transform: scale(0.8) translateY(20px);
        opacity: 0;
    }

    to {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.close-modal {
    position: absolute;
    top: 25px;
    right: 35px;
    font-size: 2.5rem;
    color: #ccc;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 25px;
}

.close-modal:hover {
    color: var(--accent-orange);
}

.modal-header {
    text-align: center;
    margin-bottom: 30px;
}

.modal-header h2 {
    font-size: 2.5rem;
    color: var(--primary-green);
}

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

.form-group label {
    display: block;
    margin-bottom: 12px;
    font-weight: 700;
    color: var(--text-dark);
    font-size: 1.1rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 18px;
    border: 2px solid #EEE;
    border-radius: 15px;
    background: #FAFAFA;
    font-family: var(--font-body);
    font-size: 1.1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary-green);
    background: white;
    outline: none;
    box-shadow: 0 0 0 5px rgba(46, 125, 50, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 20px;
    background: var(--primary-green);
    color: white;
    font-weight: 800;
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    cursor: pointer;
    transition: var(--transition-bounce);
    margin-top: 10px;
}

.btn-submit:hover {
    background: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(27, 94, 32, 0.3);
}

/* =========================================
   12. Services Page Specifics (from original file)
   ========================================= */

.services-hero-section {
    padding-top: 90px;
    /* Header space */
    background-color: var(--bg-cream);
}

.services-main-title {
    font-size: 5rem;
    line-height: 0.9;
    color: var(--primary-green);
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 40px;
    font-family: 'Fredoka', sans-serif;
    /* Fonte arredondada grossa */
}

/* ... (Keep existing layout structure for services if needed but apply new variables) ... */
.services-layout-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
    max-width: 100%;
    /* Full width strip */
    margin: 0;
    min-height: 500px;
    align-items: stretch;
}

.service-content-block {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 80px 60px;
}

.intro-grid .service-content-block {
    padding: 80px 60px;
}

.service-image-block {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 500px;
    overflow: hidden;
}

.service-image-block img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-title {
    font-family: var(--font-body);
    font-size: 3.5rem;
    font-weight: 400;
    color: #000;
    margin-bottom: 30px;
}

.service-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-medium);
    margin-bottom: 30px;
    max-width: 500px;
}


/* =========================================
   13. Animations
   ========================================= */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUpHero {
    from {
        opacity: 0;
        transform: translate(-50%, 50px);
    }

    to {
        opacity: 1;
        transform: translate(-50%, 0);
    }
}

/* =========================================
   14. Responsive Styles
   ========================================= */
@media (max-width: 900px) {
    .header-container {
        padding: 0 20px;
    }

    .nav-links {
        display: none;
        /* JS Toggle needed */
        position: absolute;
        top: 90px;
        left: 0;
        width: 100%;
        background: white;
        flex-direction: column;
        padding: 40px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        text-align: center;
        border-bottom: 1px solid #EEE;
    }

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

    .hamburger {
        display: block;
    }

    .hero-image-container {
        width: 100%;
        max-width: 100%;
        position: relative;
        transform: none;
        left: 0;
        bottom: 0;
        margin-top: 40px;
        animation: none;
    }

    #hero {
        flex-direction: column;
        padding-top: 140px;
        height: auto;
        min-height: auto;
    }

    .promo-content-grid {
        flex-direction: column;
        padding: 40px 30px;
        gap: 40px;
        text-align: center;
    }

    .promo-details-side {
        padding-left: 0;
        border-left: none;
        border-top: 2px solid var(--primary-light);
        padding-top: 30px;
        width: 100%;
        border-color: #EEE;
        /* Softer border */
    }

    .sobre-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .title-underline {
        margin: 0 auto 40px auto;
    }

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

    .modal-content {
        padding: 30px;
        width: 95%;
    }

    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float {
        padding: 15px;
        border-radius: 50%;
    }
}