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

body {
    font-family: 'Manrope', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

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

.container .perg{
    z-index: 99999;
}

.fa-phone:before,
.fa-envelope:before,
.fa-map-marker-alt:before {
    margin-right: 6px;
}

a {
    color: #ffae00;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #ffae00;
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/fundo-topo-03.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
}

.logo {
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.logo img {
    height: 80px;
    width: auto;
    /* filter: brightness(0) invert(1); */
}

.hero-content h1 {
    font-size: 5rem;
    letter-spacing: -4px;
    line-height: 5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
}

h1 > span {
    font-size: 5.5rem;
    color: #ffae00;
}

.hero-content p {
    font-size: 1.3rem;
    margin: 0 auto 30px;
    max-width: 600px;
    /* text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); */
    text-align: center;
}

.cta-button {
    background: #ffffff;
    color: black;
    padding: 16px 50px;
    font-size: 1.1rem;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.cta-button:hover {
    background: #ffae00;
    color: black;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.rd-button {
    transition: all 0.3s ease;
}

.rd-button:hover {
    background: #000000 !important;
    color: #ffae00 !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 150px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 12px;
    position: relative;
    margin-bottom: 8px;
}

.wheel {
    width: 3px;
    height: 6px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

.scroll-text {
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    font-weight: 300;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@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 scroll {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(-8px);
    }
    50% {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateX(-50%) translateY(8px);
    }
}

/* Services Section */
.services {
    padding: 60px 0 80px;
    background: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    /* margin-bottom: 20px; */
    color: #000000;
    letter-spacing: -1px;
}

.section-title.perg,
.section-subtitle.perg {
    text-align: left !important;
    max-width: 100% !important;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #000000;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 50px;
}

.service-card {
    background: #ffae00;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    /* border: 1px solid #f0f0f0; */
    transition: all 0.3s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: #000000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.3s ease;
}

.service-icon i {
    font-size: 2.2rem;
    color: white;
}

.service-card:hover .service-icon {
    background: #000000;
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000000;
    line-height: 1.3;
}

.service-card p {
    color: #000000;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Highlight Quote */
.highlight-quote {
    padding: 0 0 60px;
    background: #ffffff;
    text-align: center;
}

.highlight-quote h2 {
    font-size: 3rem;
    color: #ffae00;
    font-weight: 700;
    font-style: italic;
}

.highlight-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Clients Section */
.clients {
    padding: 60px 0 50px;
    background: white;
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    align-items: center;
    margin-top: 50px;
}

.client-logo {
    background: #f8f9fa;
    height: 100px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: #666;
    transition: all 0.3s ease;
}

.client-logo:hover {
    background: #e9ecef;
    transform: scale(1.05);
}

.client-logo-image {
    max-width: 80%;
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Cases Section */
.cases {
    padding: 60px 0 80px;
    background: #f8f9fa;
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.case-card {
    background: white;
    border-radius: 20px;
    padding: 40px 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.case-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
}

/* .case-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #ffae00, #f4d03f);
} */

.case-icon {
    width: 80px;
    height: 80px;
    background: #ffae00;
    border-radius: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.case-icon i {
    font-size: 2.2rem;
    color: rgb(0, 0, 0);
}

.case-category {
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffae00;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.case-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
    line-height: 1.3;
}

.case-metric {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffae00;
    margin-bottom: 8px;
    line-height: 1;
    letter-spacing: -1px;
}

.case-metric-label {
    font-size: 0.95rem;
    color: #ffae00;
    font-weight: 500;
    margin-bottom: 20px;
}

.case-description {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.case-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.case-stat {
    display: flex;
    align-items: center;
    font-size: 0.9rem;
    color: #555;
}

.case-stat i {
    color: #ffae00;
    margin-right: 8px;
    width: 16px;
}

/* Testimonials */
.testimonials {
    padding: 60px 0 100px;
    background: #ffae00;
    position: relative;
    z-index: 1;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ffae00, #f4d03f);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 15px;
    flex-shrink: 0;
}

.testimonial-info {
    flex: 1;
}

.testimonial-author {
    font-weight: 700;
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-role {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.testimonial-rating {
    display: flex;
    gap: 2px;
}

.testimonial-rating i {
    color: #ffae00;
    font-size: 0.9rem;
}

.testimonial-text {
    color: #555;
    line-height: 1.6;
    font-style: italic;
    position: relative;
}

/* .testimonial-text::before {
    content: '"';
    font-size: 3rem;
    color: #ffae00;
    position: absolute;
    top: -15px;
    left: -10px;
    opacity: 0.3;
} */

/* FAQ Section */
.faq {
    background: #f8f9fa;
    padding: 60px 0 0;
    position: relative;
    z-index: 100;
    overflow: visible;
}

.faq::before {
    content: '';
    position: absolute;
    top: -75px;
    /* right: 0; */
    width: 100%;
    height: 110%;
    background-image: url('images/advogada.png');
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: auto 100%;
    background-position-x: 80%;
    /* background-position-y: -100px; */
    z-index: auto;
    pointer-events: none;
}

.faq-wrapper {
    position: relative;
    margin-top: 50px;
    min-height: 540px;
}

.faq-background {
    display: none;
}

.faq-background-image {
    display: none;
}

.faq-content {
    position: relative;
    z-index: 2;
    width: 85%;
    padding-right: 40px;
}

.faq-container {
    max-width: none;
}

.faq-item {
    background: rgba(255, 255, 255, 0.98);
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    background: rgba(255, 255, 255, 1);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: none;
    border: none;
    text-align: left;
    font-size: 18px;
    font-weight: 600;
    color: #2c3e50;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: rgba(248, 249, 250, 0.8);
    color: #f39c12;
}

.faq-question i {
    transition: transform 0.3s ease;
    color: #f39c12;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 30px 25px;
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Responsive Design for FAQ */
@media (max-width: 768px) {
    .faq {
        background-image: none;
    }
    
    .faq-wrapper {
        min-height: auto;
    }
    
    .faq-content {
        width: 100%;
        padding-right: 0;
    }
    
    .faq-item {
        background: rgba(255, 255, 255, 0.98);
    }
}

/* Contact Section */
.contact {
    padding: 60px 0 80px;
    background: white;
}

.contact-form-container {
    max-width: 600px;
    margin: 0 auto;
    /* text-align: center; */
}

.iframe-placeholder {
    width: 100%;
    height: 500px;
    background: #f8f9fa;
    border: 2px dashed #ddd;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 1.1rem;
    margin-top: 30px;
}

/* Footer */
.footer {
    background: #000000;
    color: white;
    padding: 100px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 80px;
}

.footer-section h3 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #ffae00;
}

.footer-section p, .footer-section a {
    color: #bbb;
    text-decoration: none;
    margin-bottom: 10px;
    display: block;
}

.footer-section.redes {
    display: inline-flex;
    justify-content: space-between;
}

.footer-section a:hover {
    color: #ffae00;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo-image {
    max-width: 200px;
    max-height: 140px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.footer-bottom {
    border-top: 1px solid #444;
    padding-top: 30px;
    text-align: center;
    color: #bbb;
}

.fa-brands, .fab {
    font-weight: 400;
    font-size: 28px;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(120%);
    max-width: 80%;
    width: 80%;
    background: #302003cf;
    color: white;
    padding: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.cookie-banner.show {
    transform: translateX(-50%) translateY(0);
}

.cookie-text {
    flex: 1;
    margin-right: 20px;
    font-weight: 100;
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
}

.cookie-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
}

.cookie-accept {
    background: #ffae00;
    color: black;
}

.cookie-decline {
    background: transparent;
    color: white;
    border: 1px solid #666;
}

@media (max-width: 1400px) {

.scroll-indicator {
    bottom: 80px;
}
.hero-content h1 {
    font-size: 4rem;
    line-height: 4rem;
}
h1 > span {
    font-size: 4.5rem;
    color: #ffae00;
}
.hero-content p {
    font-size: 1.1rem;
}
}

/* Tablet (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        padding: 0 30px;
    }

    .hero-content h1 {
        font-size: 3.5rem;
        line-height: 3.5rem;
    }

    h1 > span {
        font-size: 4rem;
    }

    .hero-content p {
        font-size: 1.2rem;
        max-width: 500px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .clients-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
}

/* Mobile Large (até 768px) */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        height: 100vh;
        padding: 0 15px;
        background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('images/fundo-topo-cel.jpg');
        background-size: cover;
        background-position: center;
    }

    .hero-content h1 {
        font-size: 2.8rem;
        line-height: 2.8rem;
        letter-spacing: -2px;
        margin-bottom: 15px;
    }

    .section-title.perg, .section-subtitle.perg {
    text-align: center !important;
    max-width: 100% !important;
}

    h1 > span {
        font-size: 3.2rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 25px;
        padding: 0 10px;
    }

    .logo {
        left: 50%;
        transform: translateX(-50%);
        top: 20px;
    }

    .logo img {
        height: 60px;
    }

    .cta-button {
        padding: 14px 40px;
        font-size: 1rem;
    }

    .scroll-indicator {
        display: none;
    }

    .section-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }

    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Trocar imagem frase.png por frasecel.png no mobile */
    .highlight-image {
        content: url('images/frasecel.png');
    }

    .service-card {
        padding: 25px 20px;
    }

    .highlight-quote h2 {
        font-size: 1.8rem;
        padding: 0 15px;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .faq-item {
        margin-bottom: 20px;
        border-radius: 12px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.1);
        background: rgba(255, 255, 255, 0.98);
    }

    .faq-question {
        padding: 20px 18px 15px;
        font-size: 16px;
        font-weight: 600;
        line-height: 1.4;
        color: #2c3e50;
        cursor: default;
        border: none;
        background: none;
        width: 100%;
        text-align: left;
    }

    .faq-question:hover {
        background: none;
        color: #2c3e50;
    }

    .faq-question i {
        display: none;
    }

    .faq-answer {
        max-height: none !important;
        overflow: visible;
        padding: 0 18px 20px;
        display: block;
    }

    .faq-answer p {
        padding: 0;
        margin: 0;
        font-size: 15px;
        line-height: 1.6;
        color: #555;
    }

    /* Melhorar o espaçamento geral da seção FAQ no mobile */
    .faq-container {
        padding: 0 10px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .footer-section h3 {
        margin-bottom: 15px;
    }

    .footer-section.redes {
        justify-content: center;
        gap: 20px;
    }

    .cookie-banner {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .cookie-text {
        margin-right: 0;
        margin-bottom: 15px;
        font-size: 0.9rem;
    }

    .cookie-buttons {
        justify-content: center;
    }

    /* Formulário de contato mobile */
    .contact {
        padding: 40px 0;
    }

    .contact-form-container {
        padding: 0 10px;
    }

    /* RD Station form adjustments */
    .rd-form {
        max-width: 100% !important;
    }

    .rd-form input,
    .rd-form textarea,
    .rd-form select {
        /* width: 100% !important; */
        padding: 12px !important;
        font-size: 16px !important;
        margin-bottom: 15px !important;
        border-radius: 8px !important;
    }

    .rd-form button {
        width: 100% !important;
        padding: 15px !important;
        font-size: 16px !important;
        border-radius: 50px !important;
    }

    /* Ajustes para seções específicas */
    .services {
        padding: 40px 0 60px;
    }

    .testimonials {
        padding: 40px 0;
    }

    .faq {
        padding: 40px 0;
    }

    .faq::before {
        display: none;
    }

    /* Melhorias para navegação mobile */
    .hero {
        min-height: 100vh;
        padding-top: 80px;
    }
}

/* Mobile Medium (até 480px) */
@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2.2rem;
        line-height: 2.2rem;
        letter-spacing: -1px;
    }

    h1 > span {
        font-size: 2.6rem;
    }

    .hero-content p {
        font-size: 1rem;
        padding: 0 5px;
    }

    .cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(110%);
    max-width: 90%;
    width: 90%;
    background: #ffffff;
    color: rgb(0, 0, 0);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

#rd-column-mfmjw91q > div {
    padding-top: 0px !important;
    padding-right: 0px !important;
    padding-bottom: 0px !important;
    padding-left: 0px !important;
}


    .cta-button {
        padding: 12px 30px;
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .service-card h3 {
        font-size: 1.3rem;
    }

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

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .client-logo {
        height: 80px;
        font-size: 0.9rem;
    }

    .highlight-quote h2 {
        font-size: 1.5rem;
        padding: 0 10px;
    }

    .faq-question {
        font-size: 1rem;
        padding: 12px;
    }

    .faq-answer {
        font-size: 0.9rem;
        max-height: 300px;
        /* padding: 12px; */
    }

    .cases-grid {
    grid-template-columns: none;
}
}

/* Mobile Small (até 360px) */
@media (max-width: 360px) {
    .hero-content h1 {
        font-size: 1.9rem;
        line-height: 1.9rem;
    }

    h1 > span {
        font-size: 2.2rem;
    }

    .hero-content p {
        font-size: 0.95rem;
    }

    .cta-button {
        padding: 10px 25px;
        font-size: 0.9rem;
    }

    .logo img {
        height: 50px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .service-card {
        padding: 20px 15px;
    }

    .highlight-quote h2 {
        font-size: 1.3rem;
    }

    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .client-logo {
        height: 70px;
        font-size: 0.8rem;
    }
}