/* --- Reset & Global Styles --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* Example font stack */
}

:root {
    --navy-blue: #0a192f; /* Dark Navy Blue */
    --tiffany-green: #0abab5; /* Tiffany Green */
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --medium-gray: #cccccc;
    --dark-gray: #333333;
    --hero-gradient: linear-gradient(135deg, #0a192f, #0abab5); /* Ajuste 1 & Último Ajuste: Hero Gradient */
    /* --value-prop-gradient: linear-gradient(135deg, rgba(10, 25, 47, 0.95), rgba(10, 25, 47, 0.85)); /* Removed */ */
}

html {
    scroll-behavior: smooth;
}

body {
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--white);
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 0;
}

h1, h2, h3 {
    color: var(--navy-blue);
    margin-bottom: 15px;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem; /* Responsive font size */
}

h2 {
    font-size: 2rem;
    text-align: center;
    margin-bottom: 30px;
}

h3 {
    font-size: 1.5rem;
    color: var(--tiffany-green);
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--tiffany-green);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

section {
    padding: 60px 0;
}

section:nth-child(even) {
    background-color: var(--light-gray);
}

.cta-button {
    display: inline-block;
    background-color: var(--tiffany-green);
    color: var(--white) !important; /* Ensure high contrast */
    padding: 12px 25px;
    border-radius: 5px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    margin-bottom: 15px; /* Add margin below button */
}

.cta-button:hover {
    background-color: #089a95; /* Darker Tiffany Green */
    text-decoration: none;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--dark-gray);
    margin-bottom: 25px;
}

.subtext {
    font-size: 0.9rem;
    color: var(--medium-gray);
    margin-top: 10px;
}

/* --- Animations --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Hero Section --- */
#hero {
    background: var(--hero-gradient); /* Ajuste 1: Use only gradient */
    color: var(--white);
    text-align: center;
    padding: 100px 0;
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative; /* Needed for absolute positioning of Instagram handle */
}

/* Ajuste 1: Instagram na Hero */
.instagram-hero {
    position: absolute;
    top: 20px;
    left: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.9rem;
    font-weight: bold;
}

.instagram-hero a {
    color: var(--white);
    text-decoration: none;
}

.instagram-hero a:hover {
    text-decoration: underline;
}

#hero h1 {
    color: var(--white);
    font-size: 2.8rem;
    margin-top: 30px; /* Add margin to avoid overlap with Instagram handle */
}

#hero .subtitle {
    color: var(--light-gray);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

#hero .subtext {
    color: var(--medium-gray);
}

/* --- Benefits Section --- */
#benefits .benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

#benefits .benefit-item {
    background-color: var(--white);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

#benefits .benefit-item h3 {
    margin-top: 10px; /* Space for icon */
}

/* --- Comparison Section --- */
#comparison .table-responsive {
    overflow-x: auto;
    margin-top: 20px;
}

#comparison table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Ensure table readability on small screens */
}

#comparison th, #comparison td {
    border: 1px solid var(--medium-gray);
    padding: 12px;
    text-align: left;
}

#comparison th {
    background-color: var(--navy-blue);
    color: var(--white);
    font-weight: bold;
}

#comparison tbody tr:nth-child(odd) {
    background-color: var(--white);
}

#comparison tbody tr:nth-child(even) {
    background-color: var(--light-gray);
}

#comparison td:nth-child(3) {
    font-weight: bold;
    color: var(--tiffany-green);
}

/* Ajuste 2: Intermediate CTA Section */
.cta-section-intermedio {
    background-color: var(--white); /* Or choose another background */
    padding: 40px 0;
    text-align: center;
}

/* --- Use Cases Section --- */
#use-cases .use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    text-align: center;
}

#use-cases .use-case-item {
    padding: 20px;
}

#use-cases .use-case-item h3 {
    margin-top: 10px; /* Space for icon */
}

/* --- Testimonials Section --- */
#testimonials {
    background-color: var(--navy-blue);
    color: var(--white);
}

#testimonials h2 {
    color: var(--white);
}

#testimonials .testimonial-item {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 5px solid var(--tiffany-green);
}

#testimonials blockquote {
    font-style: italic;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

#testimonials cite {
    font-weight: bold;
    color: var(--tiffany-green);
}

/* --- Expertise Section --- */
#expertise ul {
    list-style: none;
    padding-left: 0;
    margin-bottom: 30px;
}

#expertise li {
    padding-left: 25px;
    position: relative;
    margin-bottom: 10px;
}

#expertise li::before {
    content: '\2713'; /* Checkmark */
    color: var(--tiffany-green);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Último Ajuste: Value Proposition Box Styling */
#expertise .value-proposition {
    background: var(--hero-gradient); /* Use hero gradient */
    padding: 40px 30px;
    border-radius: 8px;
    margin-top: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center; /* Center text */
}

/* Remove pseudo-element gradient overlay */
/* #expertise .value-proposition::before { ... } */

/* Ensure content is visible */
#expertise .value-proposition > * { 
    position: relative; 
    z-index: 2;
}

/* Adjust button style if needed */
#expertise .value-proposition .cta-button {
    /* background-color: var(--white); /* Example: White button */
    /* color: var(--navy-blue) !important; /* Example: Dark text */
    margin-bottom: 20px; /* Space between button and text */
}

#expertise .value-proposition p {
    color: var(--light-gray); /* High contrast text */
    margin-bottom: 0;
}

/* --- FAQ Section --- */
#faq .faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid var(--medium-gray);
    padding-bottom: 15px;
}

#faq .faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

#faq .faq-item h3 {
    cursor: pointer;
    color: var(--navy-blue);
    font-size: 1.2rem;
    position: relative;
    padding-right: 25px; /* Space for toggle icon */
}

/* Ajuste 7: FAQ Accordion Arrow */
#faq .faq-item h3::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: var(--tiffany-green);
    transition: transform 0.3s ease;
}

#faq .faq-item.active h3::after {
    content: '−'; /* Minus sign when active */
}

#faq .faq-item p {
    margin-top: 10px;
    display: none; /* Hidden by default for accordion */
    padding-left: 10px; /* Indent answer slightly */
    max-height: 0; /* For transition */
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding-top 0.3s ease-out, margin-top 0.3s ease-out; /* Smooth transition */
}

#faq .faq-item.active p {
    display: block;
    max-height: 300px; /* Adjust as needed */
    padding-top: 10px;
    margin-top: 10px;
}

/* --- CTA Final Section --- */
#cta-final {
    background-color: var(--navy-blue);
    color: var(--white);
    text-align: center;
}

#cta-final h2 {
    color: var(--white);
}

#cta-final .subtitle {
    color: var(--light-gray);
}

#cta-final form {
    max-width: 500px;
    margin: 30px auto 0;
    background-color: var(--white);
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    text-align: left;
}

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

#cta-final label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: var(--dark-gray);
}

#cta-final input[type="text"],
#cta-final input[type="email"],
#cta-final input[type="tel"] {
    width: 100%;
    padding: 10px;
    border: 1px solid var(--medium-gray);
    border-radius: 4px;
    font-size: 1rem;
}

#cta-final button[type="submit"] {
    width: 100%;
    padding: 15px;
    font-size: 1.1rem;
}

#cta-final .subtext {
    margin-top: 20px;
    color: var(--medium-gray);
}

/* --- Footer --- */
footer {
    background-color: var(--dark-gray);
    color: var(--light-gray);
    text-align: center;
    padding: 20px 0; /* Reduced padding slightly */
    font-size: 0.9rem;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px; /* Reduced gap */
    padding: 15px 0;
}

footer a {
    color: var(--tiffany-green);
    display: inline-flex; /* Align icon and text */
    align-items: center;
    gap: 8px; /* Space between icon and text */
    transition: opacity 0.3s ease;
}

footer a:hover {
    opacity: 0.8;
    text-decoration: none;
}

/* Ajuste 8: Footer Icons */
footer .footer-contact {
    display: flex;
    justify-content: center; /* Center items horizontally */
    align-items: center;
    gap: 25px; /* Increased gap between icons/links */
    margin-top: 10px;
}

footer .footer-contact img {
    width: 28px; /* Slightly larger icons */
    height: 28px;
    vertical-align: middle;
    filter: brightness(0) invert(1); /* Make icons white */
    opacity: 0.9;
}

footer .footer-contact span {
    color: var(--light-gray);
    font-size: 1rem; /* Match icon size better */
}

/* --- WhatsApp Float Button --- */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366; /* WhatsApp Green */
    color: var(--white);
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
}

.whatsapp-float img {
    width: 35px; /* Adjust icon size */
    height: auto;
}

.whatsapp-float:hover {
    background-color: #1ebe57;
    text-decoration: none;
}

/* --- Responsive Design --- */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    #hero h1 {
        font-size: 2.2rem;
        margin-top: 50px; /* Adjust margin for smaller screens */
    }
    h2 {
        font-size: 1.8rem;
    }
    h3 {
        font-size: 1.3rem;
    }
    .container {
        width: 95%;
    }
    #hero {
        padding: 80px 0;
        min-height: 60vh;
    }
    .instagram-hero {
        top: 10px;
        left: 10px;
        font-size: 0.8rem;
    }
    .benefits-grid,
    .use-cases-grid {
        grid-template-columns: 1fr; /* Stack items on smaller screens */
    }
    #cta-final form {
        padding: 20px;
    }
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-float img {
        width: 30px;
    }
    footer .footer-contact {
        /* Keep flex-direction row, adjust gap if needed */
        gap: 20px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 1.8rem;
    }
    #hero h1 {
        font-size: 2rem;
    }
    h2 {
        font-size: 1.6rem;
    }
    .cta-button {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    #cta-final button[type="submit"] {
        padding: 12px;
        font-size: 1rem;
    }
    footer .footer-contact {
        gap: 15px; /* Reduce gap further on very small screens */
    }
    footer .footer-contact img {
        width: 24px;
        height: 24px;
    }
    footer .footer-contact span {
        font-size: 0.9rem;
    }
}
