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

:root {
    /* Palette 1: Typography & Accents */
    --clr-light: #EBEBEB;
    --clr-olive: #A8B27D;
    --clr-gold: #C99E52;
    --clr-deep-blue: #0F3866;

    /* Palette 2: Theme */
    --clr-cream: #FEF1E0;
    --clr-orange: #E86537;
    --clr-brown: #5F422D;
    --clr-maroon: #5B0004;

    /* Semantic Mappings */
    --primary: var(--clr-deep-blue);
    --secondary: var(--clr-gold);
    --accent: var(--clr-orange);
    --bg-main: var(--clr-cream);
    --text-main: var(--clr-brown);
    --text-title: var(--clr-deep-blue);

    --font-title: 'Cormorant', serif;
    --font-body: 'Montserrat', sans-serif;

    --container-width: 1200px;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-main);
    background-color: var(--bg-main);
}

h1, h2, h3, h4 {
    font-family: var(--font-title);
    color: var(--text-title);
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; font-weight: 700; }
h2 { font-size: 2.5rem; font-weight: 600; }
h3 { font-size: 1.8rem; font-weight: 600; }

p { margin-bottom: 1rem; }

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

ul { list-style: none; }

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

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

.section-padding {
    padding: 100px 0;
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.center { text-align: center; }

.text-white { color: #fff; }
.text-light { color: var(--clr-light); }
.bg-light { background-color: #fff; }
.bg-light-alt { background-color: #f8f9fa; }
.bg-dark { background-color: var(--primary); }
.bg-accent { background-color: var(--clr-olive); color: #fff; }
.bg-primary { background-color: var(--primary); }

/* Buttons */
.btn-cta, .btn-cta-large, .btn-cta-white, .btn-cta-small {
    display: inline-block;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-cta, .btn-cta-large {
    background-color: var(--secondary);
    color: #fff;
    box-shadow: 0 4px 15px rgba(201, 158, 82, 0.4);
}

.btn-cta:hover, .btn-cta-large:hover {
    background-color: #b08a47;
    transform: translateY(-3px);
}

.btn-cta-large {
    padding: 20px 45px;
    font-size: 1.1rem;
}

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

.btn-cta-white:hover {
    background-color: var(--clr-light);
    transform: translateY(-3px);
}

.btn-cta-small {
    padding: 10px 20px;
    font-size: 0.85rem;
    background-color: var(--secondary);
    color: #fff;
}

.btn-secondary {
    display: inline-block;
    padding: 15px 35px;
    border: 2px solid #fff;
    color: #fff;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
}

.btn-secondary:hover {
    background-color: #fff;
    color: var(--primary);
    transform: translateY(-3px);
}

/* Header & Nav */
header {
    width: 100%;
    position: sticky;
    top: 0;
    background-color: rgba(254, 241, 224, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 10px 0;
}

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

.logo img {
    height: 60px;
    width: auto;
}

#menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

#menu a {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--primary);
}

#menu a:hover {
    color: var(--secondary);
}

#btn-mobile {
    display: none;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(15, 56, 102, 0.9) 0%, rgba(15, 56, 102, 0.4) 100%), url('../img/fundo-hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Efeito Parallax suave */
    display: flex;
    align-items: center;
    color: #fff;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

/* Elemento decorativo sutil para profundidade */
.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 150px;
    background: linear-gradient(to top, var(--bg-main), transparent);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    animation: fadeIn 1.2s ease-out;
}

.hero-text {
    max-width: 850px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 4.8rem); /* Fluidez responsiva */
    line-height: 1.1;
    margin-bottom: 25px;
    color: #fff;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

.hero h1 span {
    color: var(--secondary);
    display: block; /* Dá mais peso visual ao destaque */
    font-style: italic;
}

.hero p {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    max-width: 650px;
    margin-bottom: 50px;
    color: var(--clr-light);
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hero-btns {
    display: flex;
    gap: 25px;
    align-items: center;
}

/* Animação de entrada */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsivo Hero */
@media (max-width: 768px) {
    .hero {
        text-align: center;
        padding-bottom: 100px;
    }
    .hero-content {
        align-items: center;
    }
    .hero-btns {
        flex-direction: column;
        width: 100%;
    }
    .hero-btns a {
        width: 100%;
        max-width: 320px;
    }
}

/* Section Headers */
.section-header {
    margin-bottom: 60px;
}

.subtitle {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.top-tag-alt {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(232, 101, 55, 0.1);
    color: var(--clr-orange);
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}

/* Pain Points */
.pain-points {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 40px;
}

.pain-card {
    background: #fff;
    padding: 50px 35px;
    border-radius: 28px;
    box-shadow: 0 15px 45px rgba(0,0,0,0.05);
    text-align: center;
    border-top: 6px solid var(--clr-orange);
    transition: var(--transition);
    flex: 1 1 300px;
    max-width: 380px;
    width: 100%;
}

.pain-card h3 {
    color: var(--primary);
    margin-bottom: 15px;
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.6rem;
}

.pain-card p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-main);
}

.pain-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(232, 101, 55, 0.1);
}

.icon-pain {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background-color: rgba(232, 101, 55, 0.05);
    color: var(--clr-orange);
    border-radius: 20px;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
    transition: var(--transition);
}

.icon-pain svg {
    width: 35px;
    height: 35px;
}

.pain-card:hover .icon-pain {
    background-color: var(--clr-orange);
    color: #fff;
    transform: scale(1.1) rotate(-5deg);
}

/* Solution Section */
.top-tag {
    display: inline-block;
    padding: 5px 15px;
    background-color: rgba(168, 178, 125, 0.2);
    color: var(--clr-olive);
    border-radius: 5px;
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.check-list {
    margin: 25px 0 40px;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--clr-olive);
    font-weight: 700;
}

/* Rotating the professional image */
.image-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    height: 600px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    background-color: transparent;
    isolation: isolate; /* Garante que o overflow hidden funcione bem com transforms */
}

.img-professional {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 35%;
    transition: transform 0.5s ease;
}

/* Services */
.services-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
}

.service-card {
    background: linear-gradient(145deg, rgba(255,255,255, 0.08), rgba(255,255,255, 0.03));
    padding: 60px 35px;
    border: 1px solid rgba(255,255,255, 0.1);
    border-radius: 32px;
    transition: var(--transition);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    backdrop-filter: blur(12px);
    flex: 1 1 280px;
    max-width: 400px;
    width: 100%;
}

.service-card h3 {
    color: var(--secondary);
    margin-bottom: 22px;
    font-size: 1.7rem;
    line-height: 1.3;
}

.service-card p {
    color: var(--clr-light);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 0;
}

.service-card:hover {
    background: linear-gradient(145deg, rgba(255,255,255, 0.15), rgba(255,255,255, 0.06));
    border-color: var(--secondary);
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0,0,0,0.25);
}

/* Benefits */
.benefits-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: center;
}

.benefit-item {
    background: #fff;
    padding: 60px 40px;
    border-radius: 32px;
    text-align: left;
    position: relative;
    border: 1px solid rgba(15, 56, 102, 0.04);
    box-shadow: 0 12px 35px rgba(15, 56, 102, 0.04);
    transition: var(--transition);
    overflow: hidden;
    flex: 1 1 320px;
    max-width: 450px;
    width: 100%;
}

.benefit-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--secondary);
    opacity: 0.8;
}

.benefit-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px rgba(15, 56, 102, 0.1);
}

.benefit-icon {
    width: 65px;
    height: 65px;
    background-color: rgba(201, 158, 82, 0.1);
    color: var(--secondary);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    transition: var(--transition);
}

.benefit-icon svg {
    width: 35px;
    height: 35px;
    stroke-width: 1.5px;
}

.benefit-item:hover .benefit-icon {
    background-color: var(--secondary);
    color: #fff;
    transform: rotate(10deg);
}

.benefit-item h4 {
    font-size: 1.7rem;
    margin-bottom: 20px;
    color: var(--primary);
    font-family: var(--font-title);
    font-weight: 700;
}

.benefit-item p {
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-main);
    margin: 0;
}

.benefit-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--clr-olive);
    margin-bottom: 12px;
    letter-spacing: 1.2px;
}

@media (max-width: 768px) {
    .benefit-item {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
}

/* Testimonials */
.testimonials-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.testimonial-card {
    background: var(--bg-main);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.testimonial-card p {
    font-style: italic;
    color: var(--text-main);
    margin-bottom: 20px;
}

.author {
    font-weight: 700;
    color: var(--primary);
    font-size: 0.9rem;
}

/* Diferenciais / CTA Box */
.cta-box {
    text-align: center;
    padding: 60px;
    background: linear-gradient(135deg, var(--clr-olive), #8a9460);
    border-radius: 30px;
    color: #fff;
}

.cta-box h2 {
    color: #fff;
}

.cta-box p {
    max-width: 600px;
    margin: 0 auto 30px;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    margin-bottom: 15px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.03);
}

.faq-question {
    width: 100%;
    padding: 20px 30px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--primary);
    cursor: pointer;
    text-align: left;
}

.arrow {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--secondary);
    border-bottom: 2px solid var(--secondary);
    transform: rotate(45deg);
    transition: var(--transition);
}

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

.faq-answer p {
    padding-bottom: 20px;
}

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

.faq-item.active .arrow {
    transform: rotate(-135deg);
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 80px 0 20px;
}

.grid-footer {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 60px;
}

.footer-logo {
    height: 70px;
    margin-bottom: 20px;
    filter: brightness(0) invert(1);
}

.footer h4 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-family: var(--font-body);
}

.footer-contact a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255, 0.1);
    padding-top: 20px;
    font-size: 0.8rem;
    color: #888;
}

/* Responsive */
@media (max-width: 991px) {
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2.2rem; }
    
    .grid-2 { 
        grid-template-columns: 1fr; 
        gap: 40px;
        text-align: center;
    }

    .content-wrapper {
        max-width: 800px;
        margin: 0 auto;
    }

    .check-list {
        display: inline-block;
        text-align: left;
        margin: 20px 0 35px;
    }

    .image-wrapper { 
        order: 2; 
        height: 600px; 
        max-width: 100%;
        margin-top: 40px;
        border-radius: 40px; 
        box-shadow: 0 20px 40px rgba(15, 56, 102, 0.1);
    }

    /* Melhoria do Botão CTA na Seção Sobre */
    .content-wrapper .btn-cta {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 18px 45px;
        font-size: 1.05rem;
        background: var(--secondary);
        border: 2px solid transparent;
        box-shadow: 0 10px 25px rgba(201, 158, 82, 0.3);
    }

    .content-wrapper .btn-cta:hover {
        background: transparent;
        color: var(--secondary);
        border-color: var(--secondary);
        transform: translateY(-5px);
        box-shadow: 0 15px 30px rgba(201, 158, 82, 0.2);
    }

    .grid-footer { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section-padding { padding: 60px 0; }
    .hero { height: auto; padding: 150px 0 100px; text-align: center; }
    .hero p { margin: 0 auto 40px; }
    .hero-btns { flex-direction: column; align-items: center; }
    
    /* Redução dos botões no mobile */
    .btn-cta, .btn-cta-large, .btn-secondary {
        padding: 12px 25px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 300px;
    }

    .image-wrapper { 
        order: 2;
        height: 450px; 
        box-shadow: none;
        border-radius: 30px; 
        margin-top: 30px;
    }

    #menu {
        display: block;
        position: absolute;
        width: 100%;
        top: 80px;
        right: 0;
        background: var(--bg-main);
        height: 0;
        transition: 0.5s;
        z-index: 1000;
        visibility: hidden;
        overflow-y: hidden;
    }

    #nav.active #menu {
        height: calc(100vh - 80px);
        visibility: visible;
        overflow-y: auto;
    }

    #menu li {
        padding: 1rem 0;
        margin: 0 1rem;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        text-align: center;
    }

    #btn-mobile {
        display: flex;
        padding: 0.5rem 1rem;
        font-size: 1rem;
        border: none;
        background: none;
        cursor: pointer;
        gap: 0.5rem;
    }

    #hamburger {
        display: block;
        width: 20px;
        border-top: 2px solid var(--primary);
    }

    #hamburger::after, #hamburger::before {
        content: '';
        display: block;
        width: 20px;
        height: 2px;
        background: currentColor;
        margin-top: 5px;
        transition: 0.3s;
        position: relative;
    }

    #nav.active #hamburger {
        border-top-color: transparent;
    }

    #nav.active #hamburger::before {
        transform: rotate(135deg);
    }

    #nav.active #hamburger::after {
        transform: rotate(-135deg);
        top: -7px;
    }

    .grid-footer { grid-template-columns: 1fr; gap: 30px; }
    .cta-box { padding: 40px 20px; }
}
