/* =========================
   RESET & BASE
   ========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    background-color: #fffbf7;
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: #000000;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =========================
   NAVBAR
   ========================= */
.navbar {
    background-color: #5f0675;
}

.navbar a {
    color: #ffffff;
    
}

.navbar a:hover {
    color: #fdbf21;
}

.navbar .group div a,
.navbar ul li.relative div a {
  color: #000000;   
  display: block;         
}

.navbar .group div a:hover,
.navbar ul li.relative div a:hover {
  background-color: #f3f4f6;
  color: #fdbf21;            
}

.navbar .group div a:first-child:hover {
  border-top-left-radius: 0.5rem;  
  border-top-right-radius: 0.5rem;
}

.navbar .group div a:last-child:hover {
  border-bottom-left-radius: 0.5rem;
  border-bottom-right-radius: 0.5rem;
}

.navbar a.fale-conosco {
  background-color: #ffa500; 
  color: #000000;            
}

.navbar a.fale-conosco:hover {
  color: #3b077d;
}


/* =========================
   WHATSAPP FLOAT
   ========================= */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px rgba(0, 0, 0, .4);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color .3s ease, transform .3s ease;
}

.whatsapp-float:hover {
    background-color: #1DA851;
    transform: scale(1.05);
}

.whatsapp-float i {
    color: #fff;
}

/* =========================
   HERO (principal)
   ========================= */

.hero-main-section {
  min-height: 100%;         
  display: flex;
  justify-content: center;   
  align-items: center;     
}

.hero-main-section .container {
  display: flex;
  align-items: center;
  justify-content: center;     /* mantém o conjunto centralizado */
  gap: 40px;                   /* espaço entre texto e imagem */
  flex-wrap: wrap;             /* no mobile empilha */
  max-width: 1200px;
  margin: 0 auto;
}

.hero-main-content {
  flex: 1;
  max-width: 550px;            /* largura máxima do texto */
}

.hero-main-content .subtitle {
    margin-top: 10px;
    font-size: .9em;
    color: #5f0675;
    margin-bottom: 150px;
    letter-spacing: 1px;
    font-weight: 500;
}

.hero-main-content h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 3.5em;
    color: #5f0675;
    line-height: 1;
    margin-bottom: 20px;
}

.hero-main-content .description {
    font-size: 1.1em;
    color: #000;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-main-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 700px;
    z-index: 1;
    margin-bottom: -18px;
}

.hero-main-image::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 120%;
    background: url('../imagens/consultoria1.png') no-repeat center center / contain;
    top: -60px;
    left: -100px;
    z-index: -1;
    background-position: right 30%;
}

/* =========================
   HERO CARDS (imagem + benefícios)
   ========================= */
.hero-cards-section {
    background-color: #fffbf7;
    padding: 40px 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

.hero-cards-section .container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 40px;
    align-items: flex-start;
}

.hero-image-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 20px;
}

.hero-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

.hero-content-and-services {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding-top: 20px;
}

.strategic-overview .description {
    font-size: 1.1em;
    color: #000;
    margin-bottom: 30px;
    line-height: 1.8;
    text-align: left;
    max-width: 100%;
}

.services-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.service-card {
    background-color: #f0f8ff;
    border-radius: .5rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
    padding: 1.5rem;
    display: flex;
    align-items: flex-start;
    transition: transform .3s ease, box-shadow .3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, .1);
}

.service-card .icon-circle {
    background: #e0f2fe;
    color: #5f0675;
    padding: .75rem;
    border-radius: 9999px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    font-size: 1.5rem;
    width: 3.5rem;
    height: 3.5rem;
    margin-right: 1rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #000;
    margin-bottom: .5rem;
}

.service-card p {
    font-size: 1rem;
    line-height: 1.5;
    color: #000;
    margin-bottom: .75rem;
}

.service-card a {
    color: #000;
    font-weight: 600;
    text-decoration: none;
    transition: color .3s ease;
}

/* =========================
   SEO STRIP
   ========================= */
.seo-section {
    padding: 2rem 1rem;
    background-color: #5f0675;
    text-align: center;
}

.seo-section h2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
}

.seo-section p {
    font-size: 1.1rem;
    color: #fff;
    max-width: 800px;
    margin: 0 auto 2.5rem;
    line-height: 1.7;
}

/* =========================
   FOOTER
   ========================= */
.footer-top {
    background: #fffbf7;
    color: #000;
    border-top: 1px solid #e2e8f0;
}

.footer-top .logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.footer-top .contact-info {
    text-align: center;
}

.footer-top .social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    font-size: 1.5rem;
}

.footer-bottom {
    background: #5f0675;
    color: #fff;
}

/* =========================
   PERFORMANCE / PASSOS
   ========================= */
.performance-section {
    padding: 80px 0;
    text-align: center;
    background: #fffbf7;
}

.performance-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.performance-section .performance-title {
    font-size: 2.8em;
    color: #5f0675;
    font-weight: 700;
    margin-bottom: 20px;
}

.performance-section .performance-subtitle {
    font-size: 1.1em;
    color: #000;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    position: relative;
}

.step-item {
    flex: 0 0 calc(25% - 30px);
    max-width: calc(25% - 30px);
    text-align: left;
    margin-bottom: 40px;
    position: relative;
}

.step-number-wrapper {
    width: 40px;
    height: 40px;
    background: #f2c73f;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
    color: #5f0675;
    font-size: 1.2em;
    font-weight: 700;
    margin-left: 0;
}

.step-item .step-title {
    font-size: 1.25em;
    color: #5f0675;
    font-weight: 600;
    margin-bottom: 10px;
}

.step-item .step-description {
    font-size: .95em;
    color: #000;
    line-height: 1.6;
}

.arrow-horizontal {
    flex: 0 0 40px;
    height: 2px;
    background: #5f0675;
    position: relative;
    margin-top: 20px;
    transform: translateY(-50%);
}

.arrow-horizontal::after {
    content: '';
    position: absolute;
    right: -6px;
    top: -4px;
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 6px solid #5f0675;
}

/* =========================
   VANTAGENS
   ========================= */
.vantagens-section {
    padding: 80px 0;
    text-align: center;
    background: #fffbf7;
}

.vantagens-header {
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
}

.vantagens-title {
    font-size: 2.5em;
    color: #5f0675;
    font-weight: 700;
    margin-bottom: 15px;
}

.vantagens-description {
    font-size: 1em;
    color: #000;
    line-height: 1.5;
}

.vantagens-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.vantagem-item {
    background: #5f0675;
    border-radius: 8px;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    height: 200px;
    transition: background-color .3s ease, height .4s ease;
    cursor: pointer;
    position: relative;
}

.vantagem-item .item-title {
    font-size: 1.3em;
    color: #fff;
    font-weight: 600;
    margin-bottom: 0;
    position: relative;
    z-index: 2;
    transition: transform .4s ease;
}

.vantagem-item .item-hidden-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px 20px 30px;
    color: #fff;
    font-size: .9em;
    line-height: 1.5;
    background: #5f0675;
    transform: translateY(100%);
    transition: transform .4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%;
    z-index: 1;
}

.vantagem-item:hover {
    background: #F7B500;
    height: 200px;
}

.vantagem-item:hover .item-title {
    transform: translateY(-50px);
}

.vantagem-item:hover .item-hidden-content {
    transform: translateY(0);
}

/* =========================
   LEFT-IMAGE / RIGHT-CONTENT BANNER
   ========================= */
.left-image-right-content-banner {
    background: #fffbf7;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1rem;
    gap: 2rem;
    max-width: 1600px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.left-image-right-content-banner .banner-image-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: center;
}

.left-image-right-content-banner .banner-image-wrapper img {
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

.left-image-right-content-banner .banner-content-wrapper {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.left-image-right-content-banner h2 {
    font-size: 2.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: #000;
}

.left-image-right-content-banner p {
    font-size: 1.1em;
    line-height: 1.7;
    margin-bottom: 1rem;
    color: #000;
}

.left-image-right-content-banner .banner-button {
    display: inline-block;
    background: #fdbf21;
    color: #000;
    padding: .75rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: background-color .3s ease, transform .2s ease;
    border: none;
    cursor: pointer;
    margin-top: 1rem;
}

.left-image-right-content-banner .banner-button:hover {
    background: #e0a01a;
    transform: translateY(-2px);
}

/* =========================
   FORM CONTATO
   ========================= */
.form-contact-section {
    background: #fffbf7;
    padding: 4rem 2rem;
}

.form-contact-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    max-width: 1100px;
    margin: 0 auto;
    align-items: center;
    justify-content: center;
}

.form-contact-text {
    flex: 1;
    min-width: 300px;
    color: #333;
    text-align: left;
}

.form-contact-text h3 {
    font-size: 2.5em;
    color: #1a1a1a;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.form-contact-text p {
    font-size: 1.1em;
    line-height: 1.6;
    margin-bottom: 1rem;
    color: #555;
}

.form-contact-fields {
    flex: 1;
    min-width: 350px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #f9f9f9;
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .08);
}

.form-contact-input {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1em;
    color: #333;
}

.form-contact-input::placeholder {
    color: #888;
}

.form-contact-input:focus {
    outline: none;
    border-color: #5f0675;
    box-shadow: 0 0 0 2px rgba(106, 50, 159, .2);
}

.form-contact-button {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: #fdbf21;
    color: #5f0675;
    border: none;
    border-radius: 4px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .3s ease, color .3s ease;
    text-transform: uppercase;
    letter-spacing: .5px;
    margin-top: 1rem;
}

.form-contact-button:hover {
    background: #e0a01a;
    color: #5f0675;
}

/* =========================
   BANNERS DE FUNDO (IMAGENS DE BG)
   ========================= */
.secondary-banner {
    background-image: url('../imagens/consultoria2.png');
    background-size: cover;
    background-position: center;
    padding: 5rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 450px;
    color: #fff;
    text-align: left;
    position: relative;
}

.secondary-banner .content-wrapper {
    max-width: 100%;
    margin-left: 5%;
    z-index: 2;
}

.secondary-banner h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    max-width: 700px;
}

.secondary-banner p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 900px;
    margin-bottom: 2rem;
}

.secondary-banner .btn-custom {
    background: #fdbf21;
    color: #5f0675;
    padding: .8rem 1.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: background-color .3s ease, color .3s ease;
    display: inline-block;
    margin-top: 1rem;
}

.secondary-banner .btn-custom:hover {
    background: #e0a01a;
}

.secondary-banner-consultoria {
    background-image: url('../imagens/consultoria4.png');
    background-size: cover;
    background-position: center;
    padding: 5rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    min-height: 450px;
    color: #fff;
    text-align: left;
    position: relative;
    padding-top: 0;
}

.secondary-banner-consultoria .content-wrapper {
    max-width: 100%;
    margin-left: 5%;
    z-index: 2;
}

.secondary-banner-consultoria h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    max-width: 700px;
}

.secondary-banner-consultoria p {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 900px;
    margin-bottom: 2rem;
}

.secondary-banner-consultoria .btn-custom {
    background: #fdbf21;
    color: #5f0675;
    padding: .8rem 1.8rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1em;
    transition: background-color .3s ease, color .3s ease;
    display: inline-block;
    margin-top: 1rem;
}

.secondary-banner-consultoria .btn-custom:hover {
    background: #e0a01a;
}

/* Banner com texto centralizado (mova o inline do HTML pra cá) */
.banner-com-texto-centralizado {
    position: relative;
    width: 100%;
    min-height: 500px;
    background-image: url('../imagens/consultoria7.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
    box-sizing: border-box;
}

.banner-conteudo-sobreposto {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 2rem;
}

.banner-conteudo-sobreposto h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: #fff;
}

.banner-conteudo-sobreposto p {
    font-size: 2.2rem;
    line-height: 1;
    margin-bottom: 2rem;
    color: #fff;
}

.botao-banner-sobreposto {
    background: #fdbf21;
    color: #5f0675;
    padding: 1rem 2.5rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2em;
    transition: background-color .3s ease;
    display: inline-block;
}

.botao-banner-sobreposto:hover {
    background: #e0a01a;
}

/* Títulos gerais */
.secao-beneficios h2 {
    color: #5f0675;
    font-size: 3em;
}

/* =========================
   MOBILE — ÚNICA MEDIA QUERY
   ========================= */
@media (max-width: 768px) {

    /* WhatsApp */
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 25px;
    }

    /* Hero principal */
    .hero-main-section {
        padding: 60px 0;
    }

    .hero-main-section .container {
        flex-direction: column;
        text-align: center;
        gap: 24px;
    }

    .hero-main-content {
        max-width: 100%;
        margin-bottom: 0;
    }

    .hero-main-content h1 {
        font-size: 2.2em;
    }

    .hero-main-content .description {
        font-size: 1em;
    }

    .hero-main-image {
        min-height: 300px;
        order: -1;
    }

    .hero-main-image::before {
        content: none;
    }

    /* Hero cards */
    .hero-cards-section {
        min-height: auto;
        padding: 40px 0;
    }

    .hero-cards-section .container {
        display: block;
    }

    .hero-image-container {
        padding-top: 0;
        margin-bottom: 20px;
    }

    .hero-content-and-services {
        align-items: center;
        text-align: center;
        padding-top: 0;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    /* SEO strip */
    .seo-section h2 {
        font-size: 2rem;
    }

    .seo-section p {
        font-size: 1rem;
    }

    /* Performance / Passos */
    .performance-section .performance-title {
        font-size: 2.2em;
    }

    .performance-section .performance-subtitle {
        font-size: 1em;
        margin-bottom: 40px;
    }

    .step-item {
        flex: 0 0 100%;
        max-width: 100%;
        text-align: center;
    }

    .step-number-wrapper {
        margin-left: auto;
        margin-right: auto;
    }

    .arrow-horizontal {
        display: none;
    }

    /* Vantagens */
    .vantagens-title {
        font-size: 2em;
    }

    .vantagens-grid {
        grid-template-columns: 1fr;
    }

    .vantagem-item {
        height: 170px;
    }

    .vantagem-item:hover {
        height: 230px;
    }

    .vantagem-item:hover .item-title {
        transform: translateY(-35px);
    }

    /* Banner imagem + texto */
    .left-image-right-content-banner {
        flex-direction: column;
        padding: 3rem 1.5rem;
        gap: 2rem;
    }

    .left-image-right-content-banner .banner-content-wrapper {
        text-align: center;
    }

    .left-image-right-content-banner h2 {
        font-size: 2rem;
    }

    .left-image-right-content-banner p {
        font-size: 1em;
    }

    /* Formulário */
    .form-contact-section {
        padding: 3rem 1.5rem;
    }

    .form-contact-wrapper {
        flex-direction: column;
        gap: 2rem;
    }

    .form-contact-text {
        text-align: center;
    }

    .form-contact-text h3 {
        font-size: 2rem;
    }

    .form-contact-fields {
        padding: 1.5rem;
    }

    .form-contact-input,
    .form-contact-button {
        padding: 1rem;
        font-size: .95em;
    }

    /* Banners com background */
    .secondary-banner .content-wrapper,
    .secondary-banner-consultoria .content-wrapper {
        margin-left: 20px;
        margin-right: 20px;
    }

    .secondary-banner h2,
    .secondary-banner-consultoria h2 {
        font-size: 2rem;
    }

    .secondary-banner p,
    .secondary-banner-consultoria p {
        font-size: 1rem;
    }

    /* Banner centralizado */
    .banner-com-texto-centralizado {
        min-height: 400px;
        padding: 2rem 1rem;
    }

    .banner-conteudo-sobreposto h1 {
        font-size: 2.5rem;
    }

    .banner-conteudo-sobreposto p {
        font-size: 1rem;
    }

    .botao-banner-sobreposto {
        padding: .8rem 2rem;
        font-size: 1em;
    }

    /* Títulos gerais */
    .secao-beneficios h2 {
        font-size: 2rem;
    }
}