/* Fonts – Montserrat (Figma) */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0;300;400;500;600;700;800&display=swap');

/* Variables */
:root {
    --purple:           #62368E;
    --purple-light:     #EDE0FF;
    --white:            #fff;
    --gray:             #F3F3F3;
    --shadow:           0 0 28px 0 rgba(0, 0, 0, 0.10);
    --text:             #666666;
    --font-family:      'Montserrat', sans-serif;
    --font-size-body:   16px;
    --font-weight-body: 300;
    --line-height-body: 18px;
    --color-menu:       #666666;
    --title:            #3C3C3C;
    --title-size:       48px;
    --title-weight:     300;
    --padding-section:  100px;
}

.padding-t { padding-top: var(--padding-section); }
.padding-b { padding-bottom: var(--padding-section); }
.padding-tb { padding-top: var(--padding-section); padding-bottom: var(--padding-section); }

.title {
    font-family: var(--font-family);
    color: var(--title);
    font-size: var(--title-size);
    font-weight: var(--title-weight);
    line-height: normal;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-body);
    line-height: var(--line-height-body);
    color: var(--text);
    background-color: var(--white);
}

img {
    max-width: 100%;
    height: auto;
}

strong {
    font-weight: 700;
}

/* Swiper pagination – bullets globais (alinhamento por classe da seção) */
.swiper-pagination-bullet {
    width: 20px;
    height: 20px;
    margin: 0 6px;
    background: var(--purple-light);
    opacity: 1;
    transition: background 0.2s ease;
}

.swiper-pagination-bullet-active {
    background: var(--purple);
}

/* Header */
header {
    background-color: transparent;
    padding: 30px 0;
    margin-bottom: 20px;
    position: relative;
    z-index: 10;
}

header .navbar {
    background-color: var(--white);
    border-radius: 100px;
    padding: 24px 50px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
}

header .navbar-brand {
    padding: 0;
    margin-right: 80px;
}

header .navbar-brand img {
    height: 28px;
    width: auto;
}

header .navbar-nav {
    align-items: center;
    gap: 20px;
}

header .nav-link {
    color: var(--color-menu);
    text-transform: none;
    font-size: 16px;
}

header .nav-link:hover {
    color: var(--purple);
}


/* Global Button Styles */
.button {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    min-width: 160px;
    transition: all 0.3s ease;
    padding: 12px 28px;
    border-radius: 50px;
}

.button.light {
    background-color: var(--purple-light);
    color: var(--purple);
    white-space: nowrap;
}

.button.light:hover {
    background-color: var(--purple);
    color: var(--white);
}

.button.outline {
    background-color: transparent;
    color: var(--title);
    border: 1px solid #C1C1C1;
    white-space: nowrap;
    font-weight: 300;
}

.button.outline:hover {
    border-color: var(--purple);
    color: var(--purple);
}

.button.blue {
    background-color: var(--purple);
    color: var(--white);
}

.button.blue:hover {
    background-color: var(--purple-light);
    color: var(--purple);
}

header .d-flex.gap-3 {
    gap: 15px !important;
}

/* Hero Section – imagem de fundo via inline no .hero-card (WP por página) */
.hero-card {
    height: 468px;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 0;
    padding: 0 40px;
    position: relative;
}
.hero-card.absolute {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 10px 10px;
    border-radius: 36px;
    background-size: cover;
}
.hero-card.absolute:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 36px;
}

/* Specific curve for the bottom right corner if we want to mimic the "cutout" strictly later,
   for now standard rounded corners as per safe implementation */

.hero-card h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    max-width: 1130px;
    line-height: 1.2;
    margin-bottom: 0;
}
.hero-card.absolute h1 {
    color: var(--white);
    font-size: 64px;
    z-index: 1;
}

/* Hero slider (home): fundo imagem ou vídeo por slide */
.hero-swiper {
    width: 100%;
    border-radius: inherit;
}
.hero-swiper .swiper-slide {
    height: 468px;
    border-radius: 36px;
    overflow: hidden;
}
.hero-card.hero-card--slide {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 468px;
}
.hero-card.hero-card--slide:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 36px;
}

.hero-slide-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.hero-slide-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-slide-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    height: 100%;
}
.hero-pagination {
    position: absolute;
    bottom: 16px;
    left: 0;
    right: 0;
    z-index: 2;
}

/* Header Fixo */
header.fix {
    position: fixed;
    top: -150px;
    left: 0;
    width: 100%;
    max-width: 100%;
    z-index: 1000;
    padding-top: 0;
    padding-bottom: 0;
    transition: top 0.5s ease;
    background-color: var(--white);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
    pointer-events: none;
}

header.fix .navbar {
    background-color: transparent;
    box-shadow: none;
}

header.fix .container {
    pointer-events: auto;
}

header.fix.active {
    top: 0;
}

/* Solutions Section – flip do card todo no hover (sombra gira junto), layout original na frente */
.solutions .col-lg-4 {
    perspective: 1000px;
}

.solutions .solution-card {
    position: relative;
    background: var(--white);
    border-radius: 36px;
    box-shadow: 0 0 28px 0 rgba(0, 0, 0, 0.10);
    height: 100%;
    transition: transform 0.6s ease;
    transform-style: preserve-3d;
    display: block;
    text-decoration: none;
}

.solutions .col-lg-4:hover .solution-card:not(.solution-card--no-back) {
    transform: rotateY(180deg);
}

/* Frente: layout original (imagem + rodapé sobreposto) */
.solutions .solution-card-front {
    position: relative;
    padding: 20px 0 0;
    background: var(--white);
    border-radius: 36px;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.solutions .solution-card-back {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    border-radius: 36px;
    transform: rotateY(180deg);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 50px;
    box-sizing: border-box;
    z-index: 1;
}

.solutions .solution-back-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    width: 100%;
    text-align: center;
}

.solutions .solution-back-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--purple);
    margin: 0;
    line-height: 1.2;
}

.solutions .solution-back-links {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.solutions .solution-back-links li {
    margin-bottom: 20px;
}

.solutions .solution-back-links li:last-child {
    margin-bottom: 0;
}

.solutions .solution-back-links a {
    color: #3c3c3b;
    text-decoration: none;
    font-size: 22px;
    line-height: 1.4;
    transition: color 0.2s ease;
}

.solutions .solution-back-links a:hover {
    color: var(--purple);
}

.solutions .solution-back-content .button {
    display: inline-block;
}

/* Imagem e rodapé na frente – layout original */
.solutions .solution-img-wrapper {
    margin-bottom: 0;
    padding: 0 20px;
}

.solutions .solution-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 36px 36px 0 0;
}

.solutions .solution-card-front .solution-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -28px;
    padding: 20px 24px 24px 40px;
    background-color: var(--white);
    border-radius: 36px;
    position: relative;
    z-index: 1;
}

.solutions .solution-footer h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--purple);
    margin: 0;
    line-height: 1.2;
}

.solutions .solution-footer-icons {
    display: flex;
    align-items: center;
}

.solutions .solution-footer-icons img {
    width: 44px;
    height: 44px;
    transition: transform 0.2s;
}

.solutions .solution-footer-icons img:first-child {
    margin-right: -14px;
    position: relative;
    z-index: 1;
}

.solutions .solution-footer-icons img:last-child {
    position: relative;
    z-index: 2;
}

.solutions .solution-footer-icons img:hover {
    transform: scale(1.1);
}

/* Soluções – seção com tabs (Vitrine, Interatividade, Experiências) */
.solucoes-tabs {
    background-color: var(--white);
}

.solucoes-tabs .solucoes-tabs-title {
    margin-bottom: 48px;
}

.solucoes-tabs-nav-wrap {
    margin-bottom: 48px;
}

.solucoes-tabs-nav {
    display: flex;
    gap: 0;
    border: none;
    margin: 0;
    padding: 0;
    list-style: none;
}

.solucoes-tabs-nav .nav-item {
    margin-bottom: 0;
}

.solucoes-tabs-nav .nav-link {
    padding: 0 0 8px 0;
    margin-right: 32px;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #DAD9D9;
    font-size: 32px;
    font-weight: 300;
    line-height: 32px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
}

.solucoes-tabs-nav .nav-link:hover {
    color: var(--text);
}

.solucoes-tabs-nav .nav-link.active {
    color: #636363;
    font-weight: 500;
    border-bottom-color: var(--title);
    background: transparent;
}

.solucoes-tabs-nav .nav-item:last-child .nav-link {
    margin-right: 0;
}

.solucoes-tabs .solucoes-tabs-slide {
    position: relative;
    width: 100%;
    max-width: 1119px;
    margin: 0 auto;
}

.solucoes-tabs .solucoes-tabs-img-wrap {
    width: 100%;
    border-radius: 0;
    overflow: hidden;
}

.solucoes-tabs .solucoes-tabs-img-wrap img {
    display: table;
    margin: 0 auto;
}

.solucoes-tabs .solucoes-tabs-text {
    position: absolute;
    right: 0;
    bottom: -1rem;
    max-width: 510px;
    font-size: 20px;
    line-height: 24px;
    color: var(--text);
    margin: 0;
    padding: 0;
}

/* Cases Section */
.cases {
    background-color: var(--white);
}

.cases-header {
    border-bottom: none;
}

.cases .cases-swiper {
    overflow: hidden;
}

.cases .cases-swiper .swiper-slide {
    width: 100%;
}

.cases .cases-swiper .swiper-pagination {
    margin-top: 50px;
    position: relative;
}

.cases-tabs {
    display: flex;
    gap: 0;
    border: none;
    margin-bottom: 40px;
}

.cases-tabs .nav-item {
    margin-bottom: 0;
}

.cases-tabs .nav-link {
    padding: 0 0 8px 0;
    margin-right: 32px;
    border: none;
    border-radius: 0;
    background: transparent;
    color: #DAD9D9;
    font-size: 32px;
    font-weight: var(--font-weight-body);
    line-height: 32px;
    border-bottom: 2px solid transparent;
    transition: color 0.2s ease, border-color 0.2s ease;
    font-weight: 300;
}

.cases-tabs .nav-link:hover {
    color: var(--text);
}

.cases-tabs .nav-link.active {
    color: #636363;
    font-weight: 500;
    border-bottom-color: var(--title);
    background: transparent;
}

.cases-title {
    font-size: var(--title-size);
    font-weight: var(--title-weight);
    color: var(--title);
}

.cases-card {
    display: block;
    text-decoration: none;
    color: inherit;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease;
}

.cases-card:hover {
    transform: translateY(-4px);
}

.cases-card-img {
    border-radius: 28px;
    overflow: hidden;
    position: relative;
}
.cases-card-img:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.20) 40%, rgba(0, 0, 0, 0.00) 100%);
    border-radius: 36px;
}

.cases-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.cases-card-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: 0;
    padding: 20px 24px;
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-body);
    line-height: var(--line-height-body);
    color: var(--white);
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.4) 60%, transparent);
    transition: background 0.3s ease;
}
.cases-cta {
    margin-top: 40px;
}

.cases-card:hover .cases-card-caption {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.5) 60%, transparent);
}

/* Case detail – título + carrossel (ex.: cases-exemplo) */
.case-detail .case-detail-title {
    margin-bottom: 30px;
    font-size: 32px;
    font-weight: 400;
}
.case-detail p {
    line-height: 24px;
}

.case-detail .case-detail-img {
    border-radius: 36px;
    width: 100%;
    display: block;
}

.case-detail .case-detail-slide-link {
    position: relative;
    display: block;
    line-height: 0;
}

.case-detail .case-detail-slide-link--video .case-detail-play {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 1;
    box-sizing: border-box;
    width: 134px;
    height: 134px;
    border: 10px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
}

.case-detail .case-detail-slide-link--video .case-detail-play::after {
    content: '';
    width: 0;
    height: 0;
    margin-left: 4px;
    border-style: solid;
    border-width: 24px 0 24px 30px;
    border-color: transparent transparent transparent #fff;
}

.case-detail .case-detail-slide-link--video:hover .case-detail-play {
    transform: translate(-50%, -50%) scale(1.06);
}

.case-detail .case-detail-pagination {
    margin-top: 50px;
    position: relative;
    text-align: center;
}

.case-detail--intro-expandable .case-detail-intro-expand {
    margin-bottom: 60px;
}

.case-detail--intro-expandable .case-detail-content--collapsible {
    position: relative;
    max-height: 111px;
    overflow: hidden;
    text-align: center;
    transition: max-height 0.5s ease;
}

.case-detail--intro-expandable .case-detail-content--collapsible.needs-toggle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,1));
    pointer-events: none;
    transition: opacity 0.4s ease;
    opacity: 1;
}

.case-detail--intro-expandable .case-detail-content--collapsible.is-expanded {
    max-height: none;
    overflow: visible;
}

.case-detail--intro-expandable .case-detail-content--collapsible.is-expanded::after {
    opacity: 0;
    pointer-events: none;
}

.case-detail--intro-expandable .case-detail-intro-more {
    margin-top: 16px;
    padding: 8px 16px;
    border: none;
    border-radius: 999px;
    background: transparent;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
    position: relative;
}
.case-detail--intro-expandable .case-detail-intro-more:after {
    content: '';
    width: 100%;
    height: 1px;
    background: #000;
    display: block;
}
/*
.case-detail--intro-expandable .case-detail-intro-more:hover {
    background: none;
    color: var(--white, #fff);
} */

/* Cases semelhantes (ex.: abaixo do case detail, sem tabs) */
.cases-similar {
    background-color: var(--white);
}

.cases-similar .cases-similar-title {
    margin-bottom: 40px;
}
.cases-similar .row {
    max-width: 1119px;
    margin: 0 auto;
}

/* Services Carousel */
.services {
    background-color: var(--white);
    overflow: hidden;
}

/* Alinha o início do carrossel com o conteúdo do .container em cada breakpoint (gutter = 12px) */
.services-inner {
    padding-left: 12px;
    overflow: visible;
}

.services .services-swiper {
    overflow: visible;
}

.services .services-swiper .swiper-wrapper {
    align-items: stretch;
}

.services .swiper-slide {
    height: auto;
    width: 404px;
    box-sizing: border-box;
}

.service-card {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
    background: var(--white);
    border-radius: 40px;
    box-shadow: 0 0 28px 0 rgba(0, 0, 0, 0.10);
    transition: transform 0.3s ease;
    padding: 18px 0;
}

.service-card:hover {
    transform: translateY(-6px);
}

.service-card-img-wrapper {
    overflow: hidden;
    margin-bottom: 0;
    padding: 0 18px;
}

.service-card-img-wrapper img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 36px 36px 0 0;
}

.service-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: -28px;
    padding: 20px 24px 24px 40px;
    background-color: var(--white);
    border-radius: 24px;
    position: relative;
    z-index: 1;
}

.service-card-footer h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--purple);
    margin: 0;
    line-height: 1.2;
}

.service-card-footer-icons {
    display: flex;
    align-items: center;
}

.service-card-footer-icons img {
    width: 44px;
    height: 44px;
    transition: transform 0.2s;
}

.service-card-footer-icons img:first-child {
    margin-right: -14px;
    position: relative;
    z-index: 2;
}

.service-card-footer-icons img:last-child {
    position: relative;
    z-index: 1;
}

.service-card-footer-icons img:hover {
    transform: scale(1.1);
}

.services-pagination {
    position: relative;
    margin-top: 50px;
    margin-left: -6px;
}

/* Instalação – intro texto + imagem (duas colunas) */
.instalacao-intro {
    background-color: var(--white);
    min-height: 480px;
}

.instalacao-intro .row {
    min-height: 480px;
}

.instalacao-intro-content {
    padding: 60px 24px 60px 0;
    max-width: 560px;
}

.instalacao-intro-title {
    font-weight: 400;
    color: var(--title);
    margin: 0 0 24px;
    line-height: 1.2;
    font-size: 48px;
}

.instalacao-intro-text {
    font-size: 24px;
    line-height: 32px;
    color: var(--title);
    margin: 0 0 32px;
}

.instalacao-intro-img-wrap {
    height: 100%;
    min-height: 480px;
    overflow: hidden;
    text-align: right;
}

.instalacao-intro-img-wrap img {
    border-radius: 36px;
}

/* Nossos Clientes */
.clients {
    background-color: var(--white);
}

.clients-title {
    margin-bottom: 3.5rem;
}

.clients-logo {
    height: 70px;
    width: auto;
    max-width: 140px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.85;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.clients-logo:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Swiper Clients (Crawler Effect) */
.clients-swiper {
    overflow: hidden;
    padding: 20px 0; /* Espaço para shadow/hover se necessário */
}

.clients-swiper .swiper-wrapper {
    transition-timing-function: linear; /* Fundamental para o efeito contínuo */
}

/* w-auto já está no bootstrap (ou adicionamos) para garantir que o slide tenha o tamanho do conteúdo */
.w-auto {
    width: auto !important;
}

/* Nossos Números */
.numbers {
    background-color: var(--white);
}

.numbers .numbers-wrapper {
    position: relative;
}

.numbers .numbers-card {
    position: absolute;
    max-width: 280px;
    text-align: center;
}

.numbers .numbers-card--top {
    top: 0;
    left: 2% ;
    position: absolute;
}

.numbers .numbers-cards-bottom {
    position: absolute;
    bottom: 4px;
    right: 0;
    left: auto;
    display: flex;
    justify-content: space-between;
    width: 74%;
}

.numbers .numbers-cards-bottom .numbers-card {
    position: relative;
    width: 33%;
    min-width: 300px;
}

.numbers .numbers-stat {
    display: block;
    font-size: 64px;
    font-weight: 300;
    color: #000;
    line-height: .9;
    margin-bottom: 8px;
    text-align: center;
}

.numbers .numbers-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #000;
    margin: 0 0 0 0;
    line-height: 1.3;
    text-align: center;
}

.numbers .numbers-card-text {
    font-size: 14px;
    font-weight: 300;
    color: #000;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

/* Contato / Vamos conversar
   Estilos pensados para migração ao Contact Form 7: use os mesmos seletores
   em .contact form e, quando usar CF7, os inputs terão .wpcf7-form-control
   e o botão .wpcf7-submit — os estilos abaixo já contemplam isso. */
.contact {
    background-color: var(--white);
}

.contact .contact-wrapper {
    background-color: var(--purple);
    border-radius: 32px;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    min-height: 520px;
}

.contact .contact-left {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 48px 40px 48px 48px;
}

.contact .title {
    color: var(--white);
}

.contact .contact-image-wrapper {
    margin-top: -30px;
    border-radius: 0 0 0 24px;
    overflow: hidden;
    align-self: flex-start;
}

.contact .contact-image {
    display: block;
    width: 100%;
    height: auto;
}

.contact .contact-right {
    flex: 1;
    padding: 136px 48px 48px 40px;
    display: flex;
    align-items: flex-start;
}

.contact .contact-form {
    width: 100%;
    max-width: 518px;
}

/* Campos: underline only — funciona com input/textarea nativos e com .wpcf7-form-control */
.contact .contact-field {
    margin-bottom: 24px;
}

.contact .contact-field--message {
    margin-bottom: 28px;
}
span.wpcf7-form-control.wpcf7-acceptance {
    border: none !important;
}
.wpcf7 form .wpcf7-response-output {
    border: none !important;
    color: #fff !important;
}
.contact .contact-form input[type="text"],
.contact .contact-form input[type="email"],
.contact .contact-form input[type="tel"],
.contact .contact-form textarea,
.contact .contact-form .wpcf7-form-control:not(.wpcf7-submit):not([type="checkbox"]):not([type="radio"]),
.contact .contact-form .wpcf7-form-control:not(.wpcf7-submit):not([type="checkbox"]):not([type="checkbox"]) {
    display: block;
    width: 100%;
    padding: 12px 0 12px;
    font-family: var(--font-family);
    font-size: 24px;
    font-weight: 400;
    color: #fff;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 0;
    outline: none;
    transition: border-color 0.2s ease;
}

.contact .contact-form input::placeholder,
.contact .contact-form textarea::placeholder,
.contact .contact-form .wpcf7-form-control::placeholder {
    font-size: 24px;
    font-weight: 400;
    color: #fff;
}

.contact .contact-form input:focus,
.contact .contact-form textarea:focus,
.contact .contact-form .wpcf7-form-control:focus {
    border-bottom-color: var(--white);
}

.contact .contact-form .contact-textarea,
.contact .contact-form textarea.wpcf7-form-control {
    resize: vertical;
    min-height: 80px;
}

/* Botão — também .wpcf7-submit no WordPress */
.contact .contact-submit-wrap {
    margin-bottom: 24px;
}

.contact .contact-form button[type="submit"],
.contact .contact-form input[type="submit"],
.contact .contact-form .wpcf7-submit {
    display: inline-block;
    padding: 14px 32px;
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 700;
    color: var(--purple);
    background-color: var(--white);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.contact .contact-form button[type="submit"]:hover,
.contact .contact-form input[type="submit"]:hover,
.contact .contact-form .wpcf7-submit:hover {
    opacity: 0.95;
    transform: translateY(-1px);
}

/* Consentimento: checkbox customizada */
.contact .contact-consent {
    border: none;
    padding: 0;
    margin: 0;
}

.contact .contact-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    position: relative;
}

/* .contact .contact-checkbox {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
} */

.contact .contact-checkbox-box {
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border: 2px solid var(--white);
    border-radius: 4px;
    background: transparent;
    position: relative;
    transition: background 0.2s ease, border-color 0.2s ease;
}

.contact .contact-checkbox:checked + .contact-checkbox-box {
    background-color: var(--white);
}

.contact .contact-checkbox:checked + .contact-checkbox-box::after {
    content: "";
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid var(--purple);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.contact .contact-checkbox-text {
    font-size: 14px;
    font-weight: 300;
    color: var(--white);
    line-height: 1.4;
}

.contact .contact-terms {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 8px;
    text-decoration: underline;
}

.contact .contact-terms:hover {
    color: var(--white);
}

/* Ajustes para CF7: wrapper de campos (wpcf7-form-control-wrap) */
.contact .wpcf7-form-control-wrap {
    display: block;
    margin-bottom: 24px;
}

.contact .wpcf7-form-control-wrap .wpcf7-form-control {
    margin-bottom: 0;
}

.contact .wpcf7-list-item {
    margin: 0;
}

/* Footer — box cinza 36px, logo à esquerda, 4 colunas */
.footer {
    padding: 60px 0 80px;
}

.footer .footer-box {
    background-color: #f8f8f8;
    border-radius: 36px;
    padding: 96px 80px 40px;
}

.footer .footer-top {
    margin-bottom: 48px;
    row-gap: 32px;
    align-items: flex-start;
}

.footer .footer-brand-col {
    text-align: left;
    flex-shrink: 0;
}

.footer .footer-cols-right {
    display: flex;
    flex-wrap: wrap;
    gap: 40px 56px;
    margin-left: 0;
}

.footer .footer-logo-link {
    display: inline-block;
    margin-bottom: 8px;
}

.footer .footer-logo {
    display: block;
    max-width: 280px;
    width: auto;
    height: auto;
}

.footer .footer-tagline {
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 400;
    color: var(--purple);
    margin: 0;
    line-height: 1.3;
}

.footer .footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer .footer-list li {
    margin-bottom: 12px;
}

.footer .footer-list a {
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 400;
    color: #333;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: color 0.2s ease;
}

.footer .footer-list a:hover {
    color: var(--purple);
}

.footer .footer-list--icons a img {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    object-fit: contain;
}

.footer .footer-bottom {
    padding-top: 32px;
    row-gap: 24px;
}

.footer .footer-copy-text {
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: 400;
    color: #555;
    margin: 0;
    line-height: 1.5;
}

.footer .footer-bottom-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 16px;
}

.footer .footer-badges-social {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.footer .footer-badge-img {
    display: block;
    max-height: 40px;
    width: auto;
}

.footer .footer-badges-social .footer-social-link {
    flex-shrink: 0;
}

.footer .footer-social-link {
    display: inline-block;
    transition: opacity 0.2s ease;
}

.footer .footer-social-link:hover {
    opacity: 0.7;
}

.footer .footer-social-link img {
    width: 20px;
    height: 20px;
    display: block;
}

.footer .footer-privacy {
    font-family: var(--font-family);
    font-size: 12px;
    font-weight: 400;
    color: #555;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer .footer-privacy:hover {
    color: var(--purple);
}

/* Floating Buttons */
.floating-buttons {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-buttons a {
    display: block;
    transition: transform 0.3s ease;
}

.floating-buttons a:hover {
    transform: translateY(-5px);
}

.btn-scroll-top {
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(20px);
}

.btn-scroll-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.btn-scroll-top img {
    width: 40px;
    height: 40px;
}

.btn-whatsapp img {
    width: 44px;
    height: 45px;
}

/* ========== Responsivo (todos os @media concentrados ao final) ========== */

@media (max-width: 1399px) {
    .hero-card.absolute h1 {
        font-size: 56px;
    }
    .hero-card.absolute {
        padding: 0 14px 28px;
    }
}

@media (max-width: 991px) {
    .numbers .numbers-wrapper {
        min-height: auto;
        padding: 40px 24px 32px;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 32px;
    }

    .numbers .numbers-card,
    .numbers .numbers-card--top {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        max-width: 320px;
        width: 100%;
    }

    .numbers .numbers-cards-bottom {
        position: relative;
        bottom: auto;
        left: auto;
        right: auto;
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
    }

    .numbers .numbers-cards-bottom .numbers-card {
        flex: 0 1 240px;
    }

    .contact .contact-wrapper {
        flex-direction: column;
        min-height: auto;
    }

    .contact .contact-left {
        flex: none;
        max-width: none;
        padding: 40px 24px 24px;
        gap: 24px;
    }

    .contact .contact-left h2.title {
        font-size: 36px;
    }

    .contact .contact-image-wrapper {
        border-radius: 0 0 24px 24px;
        max-height: 320px;
        overflow: hidden;
    }

    .contact .contact-image {
        max-height: 320px;
    }

    .contact .contact-right {
        padding: 32px 24px 48px;
    }

    .contact .contact-form {
        max-width: none;
    }

    .footer .footer-box {
        padding: 40px 24px 32px;
    }

    .footer .footer-bottom-right {
        align-items: flex-start;
    }

    .instalacao-intro .row {
        min-height: auto;
    }

    .instalacao-intro-content {
        padding: 40px 24px;
        max-width: none;
    }

    .instalacao-intro-img-wrap {
        min-height: 320px;
    }
}

@media (max-width: 767px) {
    .numbers .numbers-wrapper {
        border-radius: 32px;
        padding: 32px 20px 28px;
    }

    .numbers .numbers-stat {
        font-size: 32px;
    }

    .contact .contact-wrapper {
        border-radius: 24px;
    }

    .contact .contact-left,
    .contact .contact-right {
        padding-left: 24px;
        padding-right: 24px;
    }

    .contact .contact-left h2.title {
        font-size: 32px;
    }

    .footer {
        padding: 40px 0 60px;
    }

    .footer .footer-box {
        border-radius: 24px;
        padding: 32px 20px 28px;
    }

    .footer .footer-top {
        margin-bottom: 40px;
    }

    .footer .footer-bottom {
        padding-top: 28px;
    }

    .footer .footer-bottom-right {
        align-items: center;
    }

    .footer .footer-copy-text {
        text-align: center;
    }
}

@media (min-width: 576px) {
    .services-inner {
        padding-left: calc((100vw - 540px) / 2 + 12px);
    }
    .services-pagination {
        margin-left: calc((100vw - 540px) / -4 - 12px);
    }
}

@media (min-width: 768px) {
    .services-inner {
        padding-left: calc((100vw - 720px) / 2 + 12px);
    }
    .services-pagination {
        margin-left: calc((100vw - 720px) / -4 - 12px);
    }
}

@media (min-width: 992px) {
    .footer .footer-cols-right {
        margin-left: auto;
    }
    .services-inner {
        padding-left: calc((100vw - 960px) / 2 + 12px);
    }
    .services-pagination {
        margin-left: calc((100vw - 960px) / -4 - 12px);
    }
}

@media (min-width: 1200px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1280px;
    }
    .services-inner {
        padding-left: calc((100vw - 1280px) / 2 + 12px);
    }
    .services-pagination {
        margin-left: calc((100vw - 1280px) / -4 - 12px);
    }
}

@media (min-width: 1400px) {
    .container,
    .container-lg,
    .container-md,
    .container-sm,
    .container-xl {
        max-width: 1384px;
    }
    .services-inner {
        padding-left: calc((100vw - 1384px) / 2 + 12px);
    }
    .services-pagination {
        margin-left: calc((100vw - 1384px) / -4 - 12px);
    }
}
@media (max-width: 1199px) {
    .padding-tb {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .numbers .numbers-stat {
        font-size: 32px;
    }
    .numbers .numbers-cards-bottom {
        width: 73%;
        max-width: 100%;
        gap: 8px;
        left: unset;
    }
    .numbers .numbers-cards-bottom .numbers-card {
        min-width: 0;
    }


    header .button {
        font-size: 14px;
        padding: 10px;
    }
    .cases-header {
        flex-direction: column-reverse;
        gap: 43px !important;
    }
    .contact .contact-image-wrapper {
        max-height: 514px;
    }
    .contact .contact-image {
        object-fit: cover;
        object-position: top;
        max-height: none;
    }
}

@media (max-width: 991px) {
    :root {
        --title-size: 32px;
    }
    header .container {
        padding: 18px 20px;
    }
    header .d-flex.gap-3 {
        flex-direction: column;
        align-items: flex-start !important;
        margin-top: 14px;
    }
    header .navbar-nav {
        align-items: flex-start;
        gap: 10px;
        padding: 20px 0 0 20px;
    }
    header {
        padding: 20px 0 10px;
    }
    header .container {
        background: #fff;
        box-shadow: var(--shadow);
        border-radius: 16px;
        max-width: 90%;
        margin: 0 auto;
        padding: 30px 20px;
    }
    header .navbar {
        padding: 0;
        border-radius: 0;
        box-shadow: none;
    }
    header .navbar-brand {
        margin-right: 14px;
    }
    .hero-card {
        padding: 0 20px;
    }
    .hero-card h1 {
        font-size: 20px;
    }
    .cases-tabs {
        gap: 20px;
        justify-content: center;
    }
    .cases-tabs .nav-link {
        font-size: 26px;
    }
    .services .swiper-slide {
        width: 300px;
    }
    .contact .contact-form input[type="text"], .contact .contact-form input[type="email"], .contact .contact-form input[type="tel"], .contact .contact-form textarea, .contact .contact-form .wpcf7-form-control:not(.wpcf7-submit):not([type="checkbox"]):not([type="radio"]), .contact .contact-form input::placeholder, .contact .contact-form textarea::placeholder, .contact .contact-form .wpcf7-form-control::placeholder {
        font-size: 18px;
    }
    .hero-card.absolute h1 {
        font-size: 24px;
    }
    .hero-card.absolute {
        background-size: cover;
    }
    .case-detail .case-detail-title {
        font-size: 24px;
    }
}