/*
Theme Name: Perfil Design
Description: Tema One Page para Perfil Design, convertido de HTML estático.
Author: Soluque Informática
Version: 1.0
*/

@font-face {
    font-family: 'Forma DJR Text';
    src: url('Website/Fontes/FormaDJRText-Regular-Testing.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Forma DJR Text';
    src: url('Website/Fontes/FormaDJRText-Medium-Testing.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Forma DJR Text';
    src: url('Website/Fontes/FormaDJRText-Bold-Testing.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Forma DJR Text';
    src: url('Website/Fontes/FormaDJRText-Black-Testing.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
}

:root {
    --primary-orange: #cc5032;
    --dark-gray: #4a4a4a;
    --light-gray: #eeeeee;
    --red-text: #cc5032;
    --white: #ffffff;
    --text-color: #666666;
    --font-main: 'Forma DJR Text', sans-serif;
}

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

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

body {
    font-family: var(--font-main);
    font-weight: 500;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

@media (max-width: 1000px) {
    .container {
        padding: 0 20px;
    }
}

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

.mt-40 {
    margin-top: 40px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.btn-orange {
    background-color: var(--primary-orange);
    color: var(--white);
    padding: 10px 40px;
}

.btn-gray {
    background-color: #a6a6a6;
    color: var(--white);
}

.btn-wide {
    width: 100%;
    max-width: 400px;
    display: inline-block;
}

.text-orange {
    color: var(--primary-orange);
    font-weight: 600;
    font-size: 22px;
    margin-bottom: 25px;
}

/* Torn edges logic */
.header-wrapper,
.footer-wrapper {
    width: 100%;
    padding: 0;
    /* removed top padding so header sits flush to page top */
}

.header-wrapper {
    padding-bottom: 20px;
    /* keep spacing below header only */
}

.footer-wrapper {
    padding-top: 100px;
}

.header {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    color: var(--white);
    padding: 30px 0;
    z-index: 1;
}

.footer {
    position: relative;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    color: var(--white);
    padding: 30px 0 15px;
    z-index: 1;
}

.header::before,
.footer::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    background-color: var(--primary-orange);
    z-index: -1;
}

/* Header gets rounded only at bottom corners. We push top out of bounds to hide tears. */
.header::before {
    top: -40px;
    bottom: -10px;
    border-radius: 0 0 40px 40px;
    filter: url('#torn-edge');
}

/* Footer gets rounded only at top corners. We push bottom out of bounds to hide tears. */
.footer::before {
    top: -10px;
    bottom: 0px;
    border-radius: 40px 40px 0 0;
    filter: url('#torn-edge');
}

/* Header */
.header-inner,
.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    /* Direct padding instead of double-centering with max-width */
}

.header-logo-img {
    height: 48px;
    width: auto;
    display: block;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -1px;
}

.logo-e {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    border: 2px solid white;
    border-radius: 50%;
    font-size: 20px;
    margin-right: 8px;
    font-weight: 400;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
    padding: 0;
    margin: 0;
}

.nav-menu a {
    color: var(--white);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}

.nav-menu a:hover {
    transform: scale(1.15);
    /* Zoom effect requested by user */
    color: var(--white);
}

/* Hero */
.hero {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
    gap: 40px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.hero-content {
    flex: 1;
}

.hero-content h1 {
    font-size: clamp(32px, 5vw, 48px);
    color: #5f5f5f;
    line-height: 1.1;
    margin-bottom: 15px;
    font-weight: 700;
    letter-spacing: -1.5px;
}

.hero-content p {
    font-size: 15px;
    margin-bottom: 20px;
    color: #4a4a4a;
    max-width: 400px;
}

.hero-content p.text-orange {
    color: var(--primary-orange);
    font-weight: 600;
    max-width: none;
}

.hero-slider-placeholder {
    position: relative;
    flex: 1;
    background-color: #0d0d0d;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #555;
    border-radius: 12px;
    font-size: 20px;
    overflow: hidden;
}

.hero-slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    pointer-events: none;
}

.hero-slide-img.active {
    opacity: 1;
    pointer-events: auto;
}

/* Banner 25 anos */
.banner-25-anos {
    position: relative;
    padding: 60px 0;
    background-image: url('test.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.banner-25-anos2 {
    margin-top: 5px;
    position: relative;
    padding: 60px 0;
    background-image: url('upload/Camada76.png');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

/* A tag img só aparece no mobile; no desktop fica escondida */
.banner-mobile-img {
    display: none;
}

.banner-inner {
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* push content to right side */
    position: relative;
}

.logo-25 {
    display: flex;
    align-items: center;
    gap: 15px;
    color: var(--dark-gray);
}

.logo-25-number {
    font-size: 80px;
    font-weight: 800;
    line-height: 0.8;
    color: var(--primary-orange);
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.1);
}

.logo-25-text {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.1;
    text-align: left;
}

.banner-right {
    position: relative;
    padding: 0 20px;
    max-width: 440px;
}

.whatsapp-float-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.btn-whatsapp-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #25D366;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
    transition: transform 0.3s;
}

.btn-whatsapp-icon:hover {
    transform: scale(1.1);
}

.banner-right h3 {
    font-size: 28px;
    color: var(--dark-gray);
    margin-bottom: 14px;
    font-weight: 700;
    line-height: 1.2;
}

.banner-right p {
    font-size: 16px;
    margin-bottom: 16px;
    line-height: 1.5;
}

.orange-text.bold {
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 0;
}

/* Portfolio Grid */
.portfolio {
    padding: 40px 20px 20px;
}

.section-title {
    font-size: clamp(20px, 4vw, 28px);
    color: var(--dark-gray);
    margin-bottom: 50px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.3;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.portfolio-image-placeholder {
    background-color: #0d0d0d;
    height: 300px;
    border-radius: 12px;
    margin-bottom: 15px;
}

.portfolio-item {
    display: block;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    cursor: pointer;
}

.portfolio-item img,
.trabalhos-page-item img {
    transition: all 0.4s ease;
}

.portfolio-item:hover img,
.trabalhos-page-item:hover img {
    transform: scale(1.04);
    filter: brightness(1.08);
}

.portfolio-item p {
    color: var(--text-color);
    font-size: 14px;
    line-height: 1.4;
    padding: 0 5px;
    font-weight: 500;
    text-shadow: none;
    margin-top: 10px;
}

/* Services */
.services {
    padding: 10px 20px 30px;
}

.orange-line {
    border: none;
    height: 1px;
    background-color: rgba(242, 91, 62, 0.2);
    margin: 40px 0;
}

.grid-2-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    width: 100%;
    max-width: 960px;
    margin: 0 auto;
}

.orange-text-list {
    list-style: none;
}

.orange-text-list li {
    color: var(--primary-orange);
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 15px;
}

/* Testimonials */
.testimonials {
    padding: 20px 20px 40px;
}

.testimonials .section-title {
    margin-bottom: 30px;
    font-size: 24px;
}

.testimonials-slider {
    display: flex;
    align-items: center;
    gap: 12px;
    max-width: 960px;
    margin: 0 auto;
}

.testimonial-card {
    display: flex;
    align-items: flex-start;
    /* align photo top with text top */
    background-color: #f2f2f2;
    padding: 30px;
    border-radius: 20px;
    gap: 24px;
    flex: 1;
    /* take available space between arrows */
}

.slider-arrow {
    background: none;
    border: none;
    color: var(--primary-orange);
    cursor: pointer;
    transition: transform 0.2s;
    flex-shrink: 0;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    transform: scale(1.15);
}

.author-photo-placeholder {
    width: 180px;
    height: 200px;
    border-radius: 12px;
    background-color: #f0573e;
    flex-shrink: 0;
    background-image: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.2) 50%, rgba(255, 255, 255, 0.2) 75%, transparent 75%, transparent);
    background-size: 20px 20px;
}

.testimonial-content {
    flex: 1;
}

.testimonial-content p {
    font-size: 14px;
    color: var(--dark-gray);
    line-height: 1.5;
    margin-bottom: 15px;
}

.testimonial-author-name {
    color: var(--primary-orange) !important;
    font-weight: 600;
    margin-bottom: 0 !important;
}

/* Footer */
.footer {
    padding: 40px 0;
}

.footer-logo-img {
    height: 120px;
    width: auto;
    display: block;
}

.footer-right {
    text-align: right;
}

.social-links {
    margin-bottom: 15px;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    /* Reduced gap to bring icons closer */
}

.social-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: auto;
    height: auto;
    background-color: transparent !important;
    background: none !important;
    border: none;
    padding: 0;
    color: var(--primary-orange);
    text-decoration: none;
    margin-left: 0;
    /* Removed margin-left in favor of gap */
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.15);
}

.whatsapp-contact {
    font-size: 20px;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
}

.phone-icon,
.whatsapp-icon-circle {
    width: 54px;
    height: 54px;
    background-color: transparent;
    color: var(--primary-orange);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    flex-shrink: 0;
}

/* =====================
   RESPONSIVE - Tablet (≤900px)
   ===================== */
@media (max-width: 900px) {

    .hero {
        flex-direction: column;
        text-align: center;
        padding: 20px;
        gap: 30px;
        margin-top: 10px;
        margin-bottom: 30px;
    }

    .hero-content {
        margin-bottom: 0;
    }

    .hero-content p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-slider-placeholder {
        width: 100%;
        height: 280px;
        flex: none;
    }

    .banner-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 0 20px;
    }

    .banner-right {
        max-width: 100%;
        padding: 0 10px;
        text-align: center;
    }

    .banner-left {
        border-right: none;
        padding-right: 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
        padding-bottom: 20px;
    }

    .testimonial-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .author-photo-placeholder {
        width: 120px;
        height: 130px;
    }

    .grid-2-col {
        grid-template-columns: 1fr;
        text-align: center;
    }

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

    .header {
        padding: 20px 0;
    }

    .header-inner {
        padding: 0 20px;
    }
}

/* =====================
   RESPONSIVE - Mobile (≤600px)
   ===================== */
@media (max-width: 600px) {

    .container {
        padding: 0 16px;
    }

    /* Header */
    .header-wrapper {
        padding-bottom: 10px;
    }

    .header-inner,
    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 0 16px;
    }

    .header-logo-img {
        height: 38px;
    }

    .nav-menu ul {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px 20px;
    }

    .nav-menu a {
        font-size: 13px;
    }

    /* Hero */
    .hero {
        padding: 0 16px 16px;
        margin-top: 0;
        margin-bottom: 20px;
        gap: 20px;
        width: 100%;
        box-sizing: border-box;
    }

    .hero-content h1 {
        font-size: 32px;
        letter-spacing: -1px;
    }

    .hero-content p {
        font-size: 14px;
    }

    .text-orange {
        font-size: 18px;
    }

    .hero-slider-placeholder {
        width: 100%;
        height: 220px;
        border-radius: 10px;
        overflow: hidden;
        flex: none;
    }

    .btn {
        font-size: 13px;
        padding: 10px 22px;
    }

    .btn-wide {
        max-width: 100%;
        width: 100%;
        display: block;
    }

    /* Banner 25 anos - mobile: imagem em cima, texto em baixo */
    .banner-25-anos {
        padding: 0;
        background-image: none !important;
        display: flex;
        flex-direction: column;
    }

    /* Mostra a imagem real no topo */
    .banner-mobile-img {
        display: block;
        width: 100%;
        height: 220px;
        object-fit: cover;
        object-position: 25% center;
    }

    .banner-inner {
        justify-content: center;
        padding: 0;
        width: 100%;
    }

    .banner-right {
        width: 100%;
        max-width: 100%;
        padding: 32px 24px;
        text-align: center;
        background-color: #fff;
        backdrop-filter: none;
    }

    .banner-right h3 {
        font-size: 20px;
    }

    .banner-right p {
        font-size: 14px;
    }

    /* Portfolio */
    .portfolio {
        padding: 30px 16px 16px;
    }

    .section-title {
        font-size: 20px;
        margin-bottom: 30px;
    }

    .portfolio-image-placeholder {
        height: 200px;
    }

    /* Services */
    .services {
        padding: 10px 16px 24px;
    }

    .orange-text-list li {
        font-size: 20px;
    }

    /* Testimonials */
    .testimonials {
        padding: 16px 16px 32px;
    }

    .testimonials .section-title {
        font-size: 20px;
    }

    .testimonials-slider {
        gap: 6px;
    }

    .testimonial-card {
        padding: 20px 16px;
        border-radius: 14px;
        gap: 16px;
    }

    .author-photo-placeholder {
        width: 90px;
        height: 100px;
    }

    .testimonial-content p {
        font-size: 13px;
    }

    .slider-arrow svg {
        width: 24px;
        height: 24px;
    }

    /* Footer */
    .footer-wrapper {
        padding-top: 60px;
    }

    .footer-inner {
        gap: 24px;
    }

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

    .footer-logo-img {
        height: 80px;
        margin: 0 auto;
    }

    .whatsapp-contact {
        justify-content: center;
    }

    .social-links {
        display: flex;
        justify-content: center;
        gap: 12px;
    }

    .social-icon {
        margin-left: 0;
    }
}

/* =====================
   PÁGINA SOBRE
   ===================== */
.sobre-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    margin-bottom: 80px;
}

.sobre-intro-img {
    width: 100%;
    height: 340px;
    border-radius: 12px;
    overflow: hidden;
}

.sobre-intro-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}


.sobre-intro-text p {
    font-size: 18px;
    color: #555;
    margin-bottom: 25px;
    font-weight: 500;
}

.sobre-missao-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 100px;
    align-items: center;
    margin-top: -20px;
    margin-bottom: 40px;
}

.missao-logo-img {
    max-width: 45%;
    height: auto;
    display: block;
    margin: 0 auto;
    /* Reverted to center-ish (as it was before) */
}

.emocao-title {
    font-size: clamp(30px, 5vw, 50px);
    color: var(--primary-orange);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -1.5px;
}

.emocao-subtitle {
    font-size: clamp(18px, 3vw, 30px);
    display: block;
    margin-top: 10px;
}

.heart-o {
    position: relative;
    display: inline-block;
}

.missao-right {
    margin-top: 30px;
}

.missao-right p {
    font-size: 16px;
    color: #4a4a4a;
    line-height: 1.6;
}

.mb-0 {
    margin-bottom: 0 !important;
}

.sobre-metodologia {
    padding: 0 0 60px;
}

.metodologia-header p {
    font-size: 20px;
    color: #333;
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.4;
}

.metodologia-list {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 800px;
    margin: 0;
    /* Align left edge of circles with the container/text edge */
}

.custom-hr {
    border: none;
    border-top: 1px solid #b83a1d;
    max-width: 800px;
    margin: 0 auto;
}

.mb-40 {
    margin-bottom: 40px !important;
}

.mt-40 {
    margin-top: 40px !important;
}

.met-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
    margin-left: -5px;
    /* Slight offset to align the circle's visual edge with the text above */
}

.met-icon {
    flex-shrink: 0;
    width: 50px;
    /* Reverting to 50px to keep it contained but clear */
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
    /* Ensure the image starts at the very left edge of its box */
    margin-top: -8px;
}

.met-icon img {
    max-width: 100%;
    height: auto;
    display: block;
}

.met-number {
    display: none;
}

.met-content h4 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
}

.met-content p {
    font-size: 15px;
    color: #555;
    line-height: 1.5;
}

.sobre-cta {
    background-color: var(--primary-orange);
    padding: 60px 0;
    width: 100%;
}

.cta-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
    padding: 0 30px;
}

.cta-text h2 {
    color: var(--white);
    font-size: 32px;
    line-height: 1.2;
    font-weight: 700;
}

/* Responsive updates for Sobre page */
@media (max-width: 900px) {

    .sobre-intro-grid,
    .sobre-missao-grid,
    .cta-inner {
        grid-template-columns: 1fr;
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .missao-logo-img {
        max-width: 80%;
        margin: 0 auto;
        /* Center on mobile where it breaks to column */
    }

    .met-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
}

@media (max-width: 600px) {
    .emocao-title {
        font-size: 40px;
    }

    .emocao-subtitle {
        font-size: 24px;
    }

    .sobre-intro-text p {
        font-size: 16px;
    }

    .metodologia-header p {
        font-size: 18px;
    }

    .cta-text h2 {
        font-size: 26px;
    }
}

.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    border-radius: 12px;
    margin-bottom: 40px;
}

.video-responsive iframe,
.video-responsive object,
.video-responsive embed,
.video-responsive video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}


/* =====================
   RESPONSIVE - Small Mobile (≤380px)
   ===================== */
@media (max-width: 380px) {

    .hero-content h1 {
        font-size: 26px;
    }

    .nav-menu ul {
        gap: 8px;
    }

    .nav-menu a {
        font-size: 12px;
    }

    .banner-right h3 {
        font-size: 17px;
    }

    .section-title {
        font-size: 18px;
    }
}

/* =====================
   SERVICOS PAGE
   ===================== */
.servicos-intro-text {
    font-size: 22px;
    color: var(--dark-gray);
    line-height: 1.4;
    max-width: 800px;
    margin: 0 auto 50px auto;
}

.servicos-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px 40px;
}

.servicos-item {
    display: flex;
    flex-direction: column;
}

.servicos-header-flex {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    margin-bottom: 25px;
}

.servicos-icon-side img {
    width: 140px;
    max-width: 100%;
    height: 140px;
    border-radius: 50%;
    border: 1px solid var(--primary-orange);
    padding: 6px;
    object-fit: cover;
}

.servicos-content-side {
    flex: 1;
}

.servicos-title {
    color: var(--primary-orange);
    font-size: clamp(24px, 4vw, 32px);
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.1;
    letter-spacing: -1px;
}

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

.servicos-list li {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 8px;
    line-height: 1.3;
}

.servicos-btn-case {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    background-color: #a6a6a6;
    color: var(--white);
    padding: 12px 15px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.servicos-btn-case:hover {
    background-color: #8c8c8c;
}

.arrow-circle {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border: 1px solid var(--white);
    border-radius: 50%;
    font-size: 12px;
    margin-right: 8px;
    line-height: 1;
}

.servicos-img-placeholder {
    width: 100%;
    height: 220px;
    background-color: #f2f2f2;
    border-radius: 20px;
}

.servicos-cta {
    margin-bottom: 40px;
}

/* Trabalhos Page */
.trabalhos-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    /* Clean spacing between cards */
}

.trabalhos-page-item {
    position: relative;
    border-radius: 12px;
    /* Modern rounded corners */
    overflow: hidden;
    background-color: #0d0d0d;
    cursor: pointer;
    display: block;
}

.trabalhos-page-item img {
    width: 100%;
    height: 100%;
    aspect-ratio: 4/5;
    /* Ensure tall cards like reference image */
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: block;
}

.trabalhos-page-item:hover img {
    transform: scale(1.05);
    /* Slower, elegant zoom */
}

.trabalhos-page-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
    color: #fff;
    opacity: 1;
    /* Always visible to ensure text legibility */
    display: flex;
    align-items: flex-end;
    /* Text sits at bottom */
    justify-content: flex-start;
    padding: 30px;
    text-align: left;
}

.trabalhos-card-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    /* Spacing between lines */
}

.trabalhos-card-category {
    font-size: 13px;
    font-weight: 500;
    color: #e0e0e0;
    /* Light gray */
    letter-spacing: 0.5px;
}

.trabalhos-page-item-overlay h3 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    margin-bottom: 10px;
    /* Space before button */
    line-height: 1.25;
}

.trabalhos-card-btn {
    display: inline-block;
    padding: 8px 18px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    background: transparent;
    transition: background 0.3s, border-color 0.3s;
}

.trabalhos-page-item:hover .trabalhos-card-btn {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.9);
}

@media (max-width: 900px) {
    .trabalhos-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .trabalhos-page-grid {
        grid-template-columns: 1fr;
    }
}

/* Single Trabalho Page */
.single-trabalho-hero {
    width: 100%;
    height: 70vh;
    min-height: 400px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    display: flex;
    align-items: flex-end;
}

.single-trabalho-hero-overlay {
    width: 100%;
    padding: 60px 20px 40px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    text-align: center;
}

.single-trabalho-title {
    font-size: clamp(22px, 3.5vw, 38px);
    font-weight: 600;
    margin: 0;
    line-height: 1.2;
    text-shadow: 1px 1px 6px rgba(0, 0, 0, 0.35);
    letter-spacing: -0.5px;
}

.single-trabalho-content {
    font-size: 18px;
    line-height: 1.8;
    color: #4a4a4a;
    max-width: 960px;
    margin: 0 auto;
}

.single-trabalho-content img,
.single-trabalho-content video,
.single-trabalho-content iframe,
.single-trabalho-content .wp-block-image,
.single-trabalho-content .wp-block-gallery {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    /* Soft rounded corners */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    /* Modern subtle shadow */
    margin: 40px 0;
    display: block;
}

/* Ensure galleries look good natively */
.single-trabalho-content .wp-block-gallery {
    gap: 20px;
}

/* Extra custom gallery styling */
.single-trabalho-gallery-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    /* More pronounced rounded corners for hero-level gallery items */
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    /* Premium soft shadow */
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.single-trabalho-gallery-img:hover {
    transform: translateY(-4px);
    /* Slight floating effect */
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
    /* Enhanced shadow on hover */
}

.single-trabalho-content h2,
.single-trabalho-content h3 {
    color: var(--dark-gray);
    margin-top: 50px;
    margin-bottom: 25px;
    font-weight: 700;
}

/* LIGHTBOX STYLES */
.pfd-lightbox {
    display: none;
    position: fixed;
    z-index: 999999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    cursor: default;
    overflow: auto;
    /* Allows scrolling when zoomed */
    text-align: center;
    /* Centers inline children horizontally */

    /* Hide scrollbar for clean app-like dragging */
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.pfd-lightbox::-webkit-scrollbar {
    display: none;
}

.pfd-lightbox::before {
    content: "";
    display: inline-block;
    height: 100%;
    vertical-align: middle;
}

.pfd-lightbox-content {
    display: inline-block;
    vertical-align: middle;
    margin: 40px auto;
    max-width: 80%;
    /* Slightly smaller for a more refined look */
    max-height: 80vh;
    animation-name: pfdzoom;
    animation-duration: 0.3s;
    border-radius: 8px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    transition: max-width 0.3s ease, max-height 0.3s ease;

    /* Prevent Native Browser Ghost Dragging */
    user-select: none;
    -moz-user-select: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
}

.pfd-lightbox.is-zoomed .pfd-lightbox-content {
    max-width: none;
    max-height: none;
    cursor: grab;
}

.pfd-lightbox.is-zoomed .pfd-lightbox-content.is-dragging {
    cursor: grabbing;
}

@keyframes pfdzoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.pfd-lightbox-close {
    position: fixed;
    z-index: 1000000;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    line-height: 1;
}

.pfd-lightbox-close:hover {
    color: #cc5032;
    /* matches primary orange */
}

@media (max-width: 768px) {
    .single-trabalho-hero {
        height: 50vh;
        min-height: 300px;
    }

    .single-trabalho-title {
        font-size: 36px;
    }
}

/* Responsividade Servicos */
@media (max-width: 900px) {
    .servicos-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }

    .servicos-intro-text {
        font-size: 18px;
    }

    .servicos-header-flex {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

/* Custom Global Font Overrides */
h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.servicos-title {
    font-family: var(--font-titles, var(--font-main));
}

.btn,
.btn-orange,
.btn-gray,
.servicos-btn,
.servicos-btn-case {
    font-family: var(--font-buttons, var(--font-main));
}

/* =====================
   CONTATO PAGE STYLES
   ===================== */
.contato-section {
    padding: 60px 20px 40px;
}

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

.contato-title {
    font-size: clamp(28px, 5vw, 36px);
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.contato-desc {
    font-size: 16px;
    color: var(--dark-gray);
    margin-bottom: 30px;
    line-height: 1.5;
    max-width: 450px;
}

.btn-whatsapp-gray {
    display: inline-flex;
    align-items: center;
    background-color: #a6a6a6;
    color: var(--white);
    padding: 12px 30px 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 15px;
    margin-bottom: 40px;
    transition: all 0.3s ease;
}

.btn-whatsapp-gray:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.wa-icon-gray {
    background: transparent;
    display: inline-flex;
    margin-right: 10px;
}

.contato-info-blocks {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-block {
    display: flex;
    align-items: center;
    gap: 15px;
}

.circle-orange {
    background-color: var(--primary-orange);
    color: var(--white);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.info-text {
    font-size: 18px;
    color: var(--dark-gray);
}

.orange-number {
    color: var(--primary-orange);
    font-size: 24px;
    font-weight: 700;
}

/* Formulário Direita */
.contato-right {
    display: flex;
    flex-direction: column;
}

.contato-form {
    width: 100%;
}

.form-group {
    margin-bottom: 15px;
    display: flex;
}

.row-inline {
    flex-direction: row;
    align-items: center;
    background: #dddddd;
    border-radius: 8px;
    padding: 0 15px 0 0;
}

.row-col {
    flex-direction: column;
    background: #dddddd;
    border-radius: 8px;
    padding: 15px;
}

.form-label-inline {
    font-weight: 700;
    color: var(--dark-gray);
    width: 80px;
    padding-left: 15px;
    font-size: 15px;
}

.form-label-top {
    font-weight: 700;
    color: var(--dark-gray);
    margin-bottom: 5px;
    font-size: 15px;
}

.contato-form input[type="text"],
.contato-form input[type="email"] {
    flex: 1;
    background: transparent;
    border: none;
    padding: 12px 10px;
    font-size: 15px;
    color: var(--dark-gray);
    font-family: var(--font-main);
}

.contato-form input:focus,
.contato-form textarea:focus {
    outline: none;
}

.contato-form textarea {
    width: 100%;
    background: transparent;
    border: none;
    resize: vertical;
    font-size: 15px;
    color: var(--dark-gray);
    font-family: var(--font-main);
}

.form-submit-row {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-top: 15px;
}

.btn-submit-gray {
    background-color: #d6d6d6;
    color: #4a4a4a;
    border: none;
    padding: 10px 40px;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit-gray:hover {
    background-color: #c0c0c0;
}

.contato-photo-rectangle {
    width: 100%;
    height: 400px;
    background-color: #cccccc;
    border-radius: 0;
    margin-top: 20px;
}

@media (max-width: 900px) {
    .contato-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contato-title {
        text-align: center;
    }

    .contato-desc {
        text-align: center;
        margin: 0 auto 30px;
    }

    .contato-left {
        text-align: center;
    }

    .info-block {
        justify-content: center;
    }
}