
/* Fontes*/

@font-face {
    /* O nome que você usará no CSS */
    font-family: "Serifa BT Bold"; 

    /* O caminho para o arquivo da fonte no seu projeto */
    src: url('../fontes/SerifaBT-Bold.woff2') format('woff2'),
         url('../fontes/SerifaBT-Bold.woff') format('woff');
    
    /* Especifica o peso da fonte que está sendo carregada */
    font-weight: 800; /* Ou 'bold' */
    font-style: normal;
}


@font-face {
    font-family: "SerifaBQ-Light"; 

    /* CORRIGIDO: O caminho deve apontar para o arquivo da fonte Light */
    src: url('../fontes/SerifaBQ-Light.woff2') format('woff2'),
         url('../fontes/SerifaBQ-Light.otf') format('opentype'); /* CORRIGIDO: formato 'opentype' */
    
    /* CORRIGIDO: O peso para uma fonte "Light" é 300 */
    font-weight: 300; 
    font-style: normal;
}












/* Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a365d;
    --secondary-color: #2d3748;
    --accent-color: #3182ce;
    --text-color: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-dark: #1a202c;
    --white: #ffffff;
    --border-color: #e2e8f0;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    font-size: 16px;
}

.btn-primary {
    background: var(--accent-color);
    color: var(--white);
}

.btn-primary:hover {
    background: #2c5aa0;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
}

.btn-outline:hover {
    background: var(--accent-color);
    color: var(--white);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow);
}

.header-top {
    background: var(--primary-color);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 24px;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.social-links {
    display: flex;
    gap: 12px;
}

.social-links a {
    color: var(--white);
    font-size: 16px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent-color);
    transform: scale(1.1);
}

.header-main {
    padding: 16px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
    width: auto;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--accent-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent-color);
    transition: var(--transition);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-link.active {
    color: var(--accent-color);
    font-weight: 600;
}

.nav-link.active::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-color);
    transition: var(--transition);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    margin-top: 120px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(50, 50, 50, 0.9) 0%, rgba(0, 0, 0, 1) 100%);
}

.hero {
    position: relative;
    
    /* CORREÇÃO IMPORTANTE: troque max-height por min-height */
    min-height: 750px; /* Ou o valor que desejar, ex: 80vh */

    display: flex;
    align-items: flex-start;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--white);
    margin-top: 100px;

    /* AJUSTE PARA DESCER O TEXTO: Aumente este valor */
    padding-top: 150px; 
}

/* Ajustado o transform para o texto ir mais para a direita */
.hero-content {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
    padding-top: 10px;

    /* AJUSTE PARA MOVER PARA A DIREITA: Diminua o valor negativo */
    transform: translateX(-100px); 
}

/* 2. Limpe os estilos dos elementos de texto */
/* Remova as propriedades 'top' e 'margin-left' que estavam incorretas */
.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 24px;
    font-family: "Serifa BT Bold", serif;
    font-weight: 800; /* Importante para corresponder ao @font-face */
}

/* Remova o padding negativo e a margem incorreta */
.hero-subtitle {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 16px;
    color: rgba(255, 255, 255, 0.9);
}

/* Remova o padding negativo e a margem incorreta */
.hero-description {
    font-size: 1.1rem;
    margin-bottom: 32px; /* Revertido para positivo para dar espaço aos botões abaixo */
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6; /* Valor mais legível */
    font-family: ""SerifaBQ-Light"", serif;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

/* Contêiner da imagem com tamanho fixo */
.hero-image {
    position: absolute;
    top: -115px;
    left: 60%; /* Ponto de início que você definiu */
    
    /* Tamanho fixo para o contêiner */
    width: 930px;  /* Defina a largura exata que desejar */
    height: 710px;/* Defina a altura exata que desejar */
    
    overflow: hidden; /* Garante que a imagem não vaze para fora */
    border-radius: 16px; /* Pode manter o raio da borda se quiser */
    box-shadow: var(--shadow-lg); /* Pode manter a sombra */
}

/* Imagem que preenche o contêiner fixo */
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* A imagem cobre o espaço, mantendo a proporção e cortando o excesso */
}
/* Metrics Section */
.metrics {
    padding: 80px 0;
    background: var(--bg-light);
}

.metrics-header {
    text-align: center;
    margin-bottom: 60px;
}

.metrics-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.metric-item {
    text-align: center;
    padding: 40px 20px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.metric-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.metric-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 8px;
}

.metric-label {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.metric-description {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials {
    padding: 80px 0;
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--text-light);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 32px;
    margin-bottom: 40px;
}

.testimonial-item {
    background: var(--bg-light);
    padding: 32px;
    border-radius: 16px;
    transition: var(--transition);
}

.testimonial-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-rating {
    margin-bottom: 16px;
}

.testimonial-rating .fas.fa-star {
    color: #e2e8f0;
    font-size: 18px;
}

.testimonial-rating .fas.fa-star.active {
    color: #fbbf24;
}

.testimonial-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 24px;
    color: var(--text-color);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    font-weight: 600;
    color: var(--primary-color);
}

.testimonials-actions {
    text-align: center;
}

/* About Section */
.about {
    padding: 80px 0;
    background: var(--bg-light);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.about-text p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.7;
}

/* Online Service Section */
.online-service {
    padding: 80px 0;
    background: var(--white);
    position: relative;
    overflow: hidden;
    min-height: 1000px; /* Adicione uma altura mínima para comportar a imagem */
}
.service-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;

    /* ADICIONE ESTA LINHA para mover o texto para a esquerda */
    transform: translateX(-150px); 
}

.service-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #dcfce7;
    color: #166534;
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
}

.service-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 32px;
}

.service-steps {
    margin-bottom: 32px;
}

.step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.step-content p {
    color: var(--text-light);
}

.service-image {
    position: absolute;
    top: -10; /* Ajuste a posição vertical conforme necessário */
    left: 60%; /* Ajuste a posição horizontal */
    
    /* CORREÇÃO: Use width e height fixos, não min- */
    width: 950px; 
    height: 600px;
    
    /* Propriedades para igualar ao estilo da hero-image */
    overflow: hidden; 
    border-radius: 16px; 
    box-shadow: var(--shadow-lg); 
}
.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Essencial para a imagem preencher sem distorcer */
}

/* Services Section */
.services {
    padding: 80px 0;
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.service-item {
    background: var(--white);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.service-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.service-icon i {
    font-size: 32px;
    color: var(--white);
}

.service-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.service-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* FAQ Section */
.faq {
    padding: 80px 0;
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 16px;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--accent-color);
}

.faq-question h3 {
    font-size: 1.2rem;
    font-weight: 600;
}

.faq-question i {
    transition: var(--transition);
}

.faq-question.active i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 200px;
}

.faq-answer p {
    padding-bottom: 24px;
    color: var(--text-light);
    line-height: 1.6;
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.contact-info p {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 32px;
}

.contact-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 40px;
}

.contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
}

.contact-item i {
    width: 60px;
    height: 60px;
    background: var(--accent-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 900 !important;
    margin-bottom: 16px;
}

.contact-item div {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Padronizar espessura dos ícones específicos */
.contact-item i.fa-phone,
.contact-item i.fa-envelope,
.contact-item i.fa-map-marker-alt {
    font-weight: 900 !important;
}

.contact-item h4 {
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--text-light);
    margin: 0;
}

.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 24px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(49, 130, 206, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
    width: auto;
    margin-bottom: 16px;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    color: var(--white);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.footer-map iframe {
    border-radius: 8px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}
/* Adiciona estilos para o iframe do mapa */
.footer-map iframe {
    width: 100%;
    height: 200px; /* Ajusta a altura para caber na coluna */
    border-radius: 8px;
}
/* Estilos para o container que agrupa o mapa e os reviews */
.map-and-reviews-wrapper {
    display: flex;
    flex-direction: column; /* Padrão em telas pequenas */
    gap: 15px; /* Espaço entre o mapa e o widget */
}

/* Garante que o iframe do mapa se ajuste corretamente */
.footer-map-reviews iframe {
    width: 100%;
    height: 200px;
    border-radius: 8px;
}

/* Ajusta o layout em telas maiores */
@media (min-width: 992px) {
    .map-and-reviews-wrapper {
        flex-direction: row; /* Coloca o mapa e os reviews lado a lado */
        align-items: center; /* Alinha verticalmente no centro */
    }
    
    .map-and-reviews-wrapper iframe {
        width: 60%; /* Ocupa 60% do espaço na horizontal */
    }
    
    .map-and-reviews-wrapper .review-widget_net {
        width: 40%; /* Ocupa 40% do espaço na horizontal */
    }
}

/* Garante o comportamento em telas menores */
@media (max-width: 767px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}
/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Scroll Animations */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.scroll-animate.animate {
    opacity: 1;
    transform: translateY(0);
}


/* Trabalhe Conosco Section */
.trabalhe-conosco {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.trabalhe-conosco-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-top: 40px;
    align-items: start;
}

.trabalhe-conosco-info {
    padding: 40px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.trabalhe-conosco-info .content-text {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
}

.trabalhe-conosco-info .content-text p {
    margin-bottom: 20px;
}

.trabalhe-conosco-form {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.trabalhe-conosco-form .form-group {
    margin-bottom: 25px;
}

.trabalhe-conosco-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.trabalhe-conosco-form input,
.trabalhe-conosco-form select,
.trabalhe-conosco-form textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    font-family: inherit;
}

.trabalhe-conosco-form input:focus,
.trabalhe-conosco-form select:focus,
.trabalhe-conosco-form textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

.trabalhe-conosco-form input[type="file"] {
    padding: 8px 15px;
    background: #f8f9fa;
}

.trabalhe-conosco-form small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 12px;
}

.trabalhe-conosco-form .btn-submit {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.trabalhe-conosco-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.trabalhe-conosco-form .btn-submit:active {
    transform: translateY(0);
}

/* Mensagens de feedback */
.message {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-weight: 500;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Responsivo */
@media (max-width: 992px) {

    /* === Ajustes na Seção Hero === */

    .hero {
        /* Permite que a altura se ajuste ao conteúdo */
        min-height: auto; 
        padding-top: 80px;
        padding-bottom: 60px;
        margin-top: 80px; /* Reduz a margem do topo */
    }

    .hero-content {
        /* Reseta o layout do grid para uma única coluna (empilhado) */
        grid-template-columns: 1fr;
        /* Remove o deslocamento para a esquerda */
        transform: none;
    }

    .hero-image {
        /* Faz a imagem voltar ao fluxo normal da página */
        position: relative; 
        /* Reseta o posicionamento */
        top: auto;
        left: auto;
        /* Ajusta o tamanho da imagem para telas menores */
        width: 100%;
        height: 300px; /* Altura fixa para a imagem no mobile */
        margin-top: 40px; /* Espaço entre o texto e a imagem */
        order: -1;
    }

    .hero-title {
        /* Reduz o tamanho da fonte do título */
        font-size: 2.5rem; 
    }


    /* === Ajustes na Seção de Serviços Online === */

    .online-service {
        /* Permite que a altura se ajuste ao conteúdo */
        min-height: auto;
        padding-bottom: 60px;
    }
    
    .service-content {
        /* Reseta o layout do grid para uma única coluna (empilhado) */
        grid-template-columns: 1fr;
        /* Remove o deslocamento para a esquerda */
        transform: none;
    }

    .service-image {
        /* Faz a imagem voltar ao fluxo normal da página */
        position: relative;
        /* Reseta o posicionamento */
        top: auto;
        left: auto;
        /* Ajusta o tamanho da imagem para telas menores */
        width: 100%;
        height: 400px; /* Altura fixa para a imagem no mobile */
        margin-top: 40px; /* Espaço entre o texto e a imagem */
        box-shadow: var(--shadow); /* Sombra mais suave para o mobile */
        order: -1;
    }

    .service-text h2 {
        /* Reduz o tamanho da fonte do título */
        font-size: 2rem;
    }
}
