/* 
  🎨 IDENTIDADE VISUAL 
  Branco: #FFFFFF (base e fundo principal)
  Rosa suave: #DDB8D9 (elementos acolhedores, fundos leves)
  Cinza escuro: #002A32 (textos principais e contraste)
  Rosa claro: #FFC6AC (botões, CTAs e destaques)
*/

:root {
    --color-white: #FFFFFF;
    --color-soft-pink: #DDB8D9;
    --color-dark-gray: #002A32;
    --color-light-pink: #FFC6AC;
    --color-light-bg: #FAF3F8;
    /* A very light variation of pink for backgrounds */

    --font-main: 'Outfit', sans-serif;

    --shadow-soft: 0 4px 20px rgba(0, 42, 50, 0.05);
    --shadow-hover: 0 10px 30px rgba(0, 42, 50, 0.1);

    --transition: all 0.3s ease;

    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

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

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 600;
    color: var(--color-dark-gray);
}

.section-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    font-size: 1.1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    font-size: 1rem;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background-color: var(--color-light-pink);
    color: var(--color-dark-gray);
}

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

.btn-secondary {
    background-color: var(--color-dark-gray);
    color: var(--color-white);
}

.btn-secondary:hover {
    background-color: #003a45;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* 1. Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    height: 80px;
    display: flex;
    align-items: center;
}

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

/* Custom Header Button Colors */
.header .btn-primary {
    background-color: #002A32;
    color: #FFFFFF;
    border: 1px solid #002A32;
    /* Ensure clean edges */
}

.header .btn-primary:hover {
    background-color: #3b4485;
    /* Slightly darker */
    color: #fff;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark-gray);
    letter-spacing: -0.5px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    font-weight: 500;
    position: relative;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-soft-pink);
    transition: var(--transition);
}

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-dark-gray);
}

/* 2. Hero Section */
.hero {
    padding-top: 120px;
    /* Space for fixed header */
    padding-bottom: 80px;
    background: linear-gradient(135deg, #fff5f2 0%, #fff 100%);
    overflow: hidden;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    order: 2;
    /* Text on right */
}

.hero-image {
    order: 1;
    /* Image on left */
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.hero-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.hero-image:hover img {
    transform: scale(1.03);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--color-dark-gray);
}

.hero-text {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 500px;
}

/* 3. Areas (Cards) */
.areas {
    background-color: var(--color-white);
}

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid rgba(221, 184, 217, 0.3);
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-soft);
    border-color: var(--color-soft-pink);
}

.card-icon {
    font-size: 2rem;
    color: var(--color-soft-pink);
    margin-bottom: 0.5rem;
}

.card h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

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

/* 4. Methodology */
.methodology {
    background-color: var(--color-light-bg);
}

/* About Image Responsive Logic */
.mobile-only-about-img {
    display: none;
    /* Hidden on desktop */
    width: 100%;
    max-width: 400px;
    /* Prevent it from being too huge */
    height: auto;
    border-radius: 20px;
    margin: 2rem auto;
    box-shadow: var(--shadow-soft);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.step-card {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 16px;
    position: relative;
    box-shadow: var(--shadow-soft);
    border-top: 4px solid var(--color-soft-pink);
}

.step-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: var(--color-soft-pink);
    color: var(--color-dark-gray);
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 1.5rem;
}

.step-card h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.cta-container {
    text-align: center;
    margin-top: 2rem;
}

/* 5. Testimonials (Draggable Slider) */
.testimonials {
    background-color: var(--color-white);
    overflow: hidden;
    /* Prevent body scroll triggers from wide content */
}

.carousel-container {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    cursor: grab;
    /* Hide scrollbar */
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
    padding: 2rem 0 4rem 0;
    /* Space for shadow/hover effects */
    /* Add gradient masks to sides to indicate more content - REMOVED per user request */
    /* mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent); */
    /* -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent); */
}

.carousel-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.carousel-container:active {
    cursor: grabbing;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    padding: 0 5%;
    /* Side padding for visual balance */
}

.testimonial-card {
    background: #fdfdfd;
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid #eee;
    text-align: center;
    width: 350px;
    /* Fixed width */
    flex: 0 0 auto;
    /* Don't shrink */
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    user-select: none;
    /* Prevent text selection while dragging */
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 42, 50, 0.1);
    border-color: var(--color-soft-pink);
}

.testimonial-card p {
    font-style: italic;
    font-size: 1.05rem;
    margin-bottom: 1.5rem;
    color: var(--color-dark-gray);
    pointer-events: none;
    /* Pass clicks through text to card for dragging */
    text-align: justify;
}

.testimonial-card .author {
    font-weight: 600;
    color: var(--color-soft-pink);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonial-card {
        width: 300px;
        padding: 2rem;
    }

    .carousel-container {
        mask-image: none;
        /* Remove masks on mobile to use full width */
        -webkit-mask-image: none;
    }
}

/* 6. Video Section */
.video-section {
    background-color: var(--color-dark-gray);
    color: var(--color-white);
    text-align: center;
}

.video-title {
    color: var(--color-white);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.video-wrapper {
    max-width: 800px;
    margin: 0 auto 3rem;
    aspect-ratio: 16/9;
    background-color: #000;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
}

.video-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
    cursor: pointer;
    transition: var(--transition);
}

.video-placeholder:hover {
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
}

.play-icon {
    font-size: 4rem;
    color: var(--color-white);
    margin-bottom: 1rem;
    opacity: 0.9;
}

/* 7. About Me */
.about {
    background-color: var(--color-light-bg);
    /* Slight background variation */
}

.about-container {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    /* Ensures both sides are equal height */
    background-color: var(--color-white);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    padding: 0;
}

.about-image {
    width: 40%;
    /* Fixed width proportion */
    position: relative;
    overflow: hidden;
}

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

.about-content {
    width: 60%;
    /* Takes remaining space */
    padding: 4rem;
    background: var(--color-white);
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Vertically center text if content is shorter than image */
}

.about-content h3 {
    font-size: 2rem;
    margin-bottom: 0.2rem;
    color: var(--color-dark-gray);
}

.crp {
    display: block;
    font-weight: 600;
    color: var(--color-soft-pink);
    margin-bottom: 2rem;
}

.about-content p {
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
    text-align: justify;
}

.differentials-list {
    margin: 2rem 0;
}

.differentials-list li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.differentials-list i {
    color: var(--color-soft-pink);
}

/* 8. FAQ */
.faq {
    background-color: var(--color-light-bg);
}

.accordion {
    max-width: 800px;
    margin: 0 auto 3rem;
}

.accordion-item {
    background: var(--color-white);
    margin-bottom: 1rem;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--color-dark-gray);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.accordion-header:hover {
    background-color: #fffcf8;
}

.accordion-header i {
    color: var(--color-soft-pink);
    transition: transform 0.3s ease;
}

.accordion-header.active i {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 1.5rem;
}

.accordion-content p {
    padding-bottom: 1.5rem;
    opacity: 0.85;
}

/* 9. Footer */
.footer {
    background-color: var(--color-dark-gray);
    color: var(--color-white);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

/* Subtle background decoration */
.footer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(221, 184, 217, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    position: relative;
    z-index: 1;
}

/* Left Side: Quotes & Info */
.footer-left {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-info h3 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, #fff, #DDB8D9);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-info p {
    opacity: 0.8;
}

.contact-details p {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 0.5rem;
    font-size: 1.05rem;
}

.contact-details i {
    color: var(--color-soft-pink);
}

/* Quote Carousel - Clean Dark Style */
.quote-carousel {
    margin-top: 1rem;
    max-width: 500px;
    position: relative;
    padding-left: 1.5rem;
    border-left: 3px solid var(--color-soft-pink);
}

.quote-content {
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.quote-content.fade-out {
    opacity: 0;
    transform: translateY(10px);
}

.quote-text {
    font-style: italic;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.8rem;
    display: block;
    line-height: 1.6;
}

.quote-author {
    font-size: 0.95rem;
    color: var(--color-soft-pink);
    font-weight: 500;
    display: block;
}

.quote-controls {
    margin-top: 1rem;
    display: flex;
    gap: 1rem;
}

.quote-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-btn:hover {
    background: var(--color-soft-pink);
    color: var(--color-dark-gray);
    border-color: var(--color-soft-pink);
}

/* Right Side: Header Items Card */
.footer-nav-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-nav-card h4 {
    font-size: 1.2rem;
    color: var(--color-soft-pink);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-nav-card h4::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--color-soft-pink);
    margin-top: 0.5rem;
}

.footer-nav-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    color: white;
    font-weight: 500;
    transition: var(--transition);
    border: 1px solid transparent;
}

.footer-nav-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(221, 184, 217, 0.3);
    transform: translateX(5px);
}

.footer-nav-link i {
    color: var(--color-soft-pink);
    opacity: 0;
    transform: translateX(-10px);
    transition: var(--transition);
}

.footer-nav-link:hover i {
    opacity: 1;
    transform: translateX(0);
}

/* Special styling for CTA link */
.footer-nav-link.highlight {
    background: var(--color-soft-pink);
    color: var(--color-dark-gray);
    font-weight: 600;
    justify-content: center;
    gap: 10px;
}

.footer-nav-link.highlight:hover {
    background: #ffc6ac;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(221, 184, 217, 0.2);
    border-color: transparent;
}

.footer-nav-link.highlight i {
    opacity: 1;
    transform: none;
    color: var(--color-dark-gray);
}

.footer-copy {
    grid-column: 1 / -1;
    text-align: center;
    padding-top: 2rem;
    margin-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.5;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 992px) {
    .header-container {
        padding: 0 2rem;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 2;
        max-width: 500px;
        margin: 0 auto;
    }

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

    .about-container {
        flex-direction: column;
    }

    .desktop-only-about-img {
        display: none;
        /* Hide desktop image on mobile */
    }

    .mobile-only-about-img {
        display: block;
        /* Show mobile image */
    }

    .about-content {
        width: 100%;
        order: 1;
        /* Text first */
        padding: 3rem 2rem;
    }

    /* .about-image rule no longer needed for ordering since we hide it, but good to keep clean if it existed */
}

@media (max-width: 768px) {

    .nav,
    .header-cta-group {
        display: none;
    }

    .mobile-toggle {
        display: block;
    }

    .nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--color-white);
        padding: 2rem;
        box-shadow: var(--shadow-hover);
        text-align: center;
    }

    .header-cta-group.active {
        display: flex;
        justify-content: center;
        position: absolute;
        top: 250px;
        /* Adjust based on nav items */
        left: 0;
        width: 100%;
    }

    .hero-title {
        font-size: 2rem;
        /* Reduced from 2.5rem */
    }

    .section-title {
        font-size: 1.8rem;
        /* Reduced from 2.5rem */
        margin-bottom: 2rem;
    }

    .video-title {
        font-size: 1.5rem;
        /* Reduced from 1.8rem */
    }

    .about-container {
        flex-direction: column;
    }

    .about-content h3 {
        font-size: 1.6rem;
        /* Reduced from 2rem */
    }

    .about-content {
        width: 100%;
        padding: 2rem;
        min-height: auto;
    }


    /* 9. Rodapé (Responsive) */
    .footer {
        padding: 3rem 0;
        text-align: center;
        background-color: var(--color-dark-gray);
        /* Force dark background */
        border-top: none;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .footer-left {
        align-items: center;
        text-align: center;
    }

    .footer-info h3 {
        font-size: 1.5rem;
    }

    .footer-info p {
        color: rgba(255, 255, 255, 0.8);
    }

    /* Reset Quote Carousel for Mobile (Remove card look if it was there, conform to dark theme) */
    .quote-carousel {
        max-width: 100%;
        margin: 2rem auto 0;
        background: transparent;
        padding: 0;
        border: none;
        box-shadow: none;
        border-top: 2px solid var(--color-soft-pink);
        padding-top: 2rem;
        min-height: auto;
    }

    .quote-text {
        font-size: 1rem;
        color: rgba(255, 255, 255, 0.9);
    }

    .quote-author {
        color: var(--color-soft-pink);
    }

    .quote-controls {
        justify-content: center;
    }

    .quote-btn {
        background: rgba(255, 255, 255, 0.1);
        color: white;
    }

    .contact-details p {
        justify-content: center;
        color: rgba(255, 255, 255, 0.9);
    }

    .footer-nav-card {
        padding: 2rem;
        width: 100%;
        background: rgba(255, 255, 255, 0.05);
        /* Slightly more visible on mobile */
    }

    .footer-nav-link {
        justify-content: center;
    }

    .footer-nav-link i {
        opacity: 1;
        transform: none;
        margin-left: 10px;
        /* Reset absolute positioning if any */
        position: static;
    }

    .footer-copy {
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        padding-top: 1.5rem;
        width: 100%;
        margin-top: 2rem;
        font-size: 0.85rem;
        color: rgba(255, 255, 255, 0.5);
    }
}