
/* =====================================================
   DRA. TÁGILA RIBEIRO - SITE INSTITUCIONAL
   ===================================================== */


/* =====================================================
   1. CORES E CONFIGURAÇÕES GERAIS
   ===================================================== */

@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:wght@400;500;600;700&display=swap');

:root {
    --background: #FCF5F7;
    --white: #FFFFFF;
    --beige: #F6E5EA;
    --gold: #D99AAE;
    --gold-dark: #B96F88;
    --text: #393239;
    --muted: #81747B;
    --dark: #44343D;
    --border: #F0DDE4;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

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

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
}

.container {
    width: min(1160px, 90%);
    margin: auto;
}

.section {
    padding: 100px 0;
}

h1,
h2,
h3 {
    font-family: var(--font-title);
    font-weight: 500;
    line-height: 1.2;
}


/* =====================================================
   2. CABEÇALHO E MENU
   ===================================================== */

.header {
    background: rgba(255, 255, 255, 0.97);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

.nav-container {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.logo-name {
    font-family: var(--font-title);
    font-size: 23px;
    color: var(--gold-dark);
}

.logo-subtitle {
    font-size: 10px;
    letter-spacing: 4px;
    color: var(--muted);
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
    font-size: 13px;
    font-weight: 600;
}

.nav a {
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--gold-dark);
}

.nav-button {
    background: var(--gold);
    color: white !important;
    padding: 12px 20px;
    border-radius: 4px;
    transition: background 0.3s;
}

.nav-button:hover {
    background: var(--gold-dark);
}

.menu-toggle {
    display: none;
    border: 0;
    background: transparent;
    color: var(--text);
    font-size: 27px;
    cursor: pointer;
}


/* =====================================================
   3. PÁGINA INICIAL - FOTO INTEIRA COM DEGRADÊ
   ===================================================== */

.hero {
    position: relative;
    width: 100%;
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 90px 0;
    background: #f8f6f2;
}

/* Fundo ampliado, desfocado e preenchendo toda a seção */

.hero-background-blur {
    position: absolute;
    inset: -30px;
    z-index: 0;

    background-image: url('../imagens/tagila/tagila3.jpeg');
    background-size: cover;
    background-position: center 40%;

    filter: blur(28px);
    opacity: 0.35;
}

/* Fotografia original, inteira e sem cortes */

.hero-background {
    position: absolute;
    top: 0;
    right: 3%;
    z-index: 1;

    width: auto;
    height: 100%;
    max-width: none;
    max-height: 100%;

    object-fit: contain;
    object-position: center;
}

/* Degradê bege integrando fotografia e texto */

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;

    background: linear-gradient(
        90deg,
        #f8f6f2 0%,
        rgba(248, 246, 242, 0.98) 25%,
        rgba(248, 246, 242, 0.91) 38%,
        rgba(248, 246, 242, 0.70) 50%,
        rgba(248, 246, 242, 0.30) 67%,
        rgba(248, 246, 242, 0.05) 85%,
        rgba(248, 246, 242, 0) 100%
    );
}

/* Conteúdo acima das imagens */

.hero-container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 620px;
}

.eyebrow {
    color: var(--gold-dark);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 3px;
    display: block;
    margin-bottom: 20px;
}

.hero h1 {
    font-size: clamp(42px, 5vw, 64px);
    max-width: 600px;
    margin-bottom: 25px;
    color: var(--text);
}

.hero h1 span {
    color: var(--gold-dark);
}

.hero-content > p {
    color: var(--text);
    max-width: 500px;
    margin-bottom: 30px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.hero-location {
    margin-top: 30px;
    color: var(--text);
    font-size: 13px;
}


/* =====================================================
   4. BOTÕES
   ===================================================== */

.btn {
    display: inline-block;
    padding: 14px 23px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary {
    background: var(--gold);
    color: white;
}

.btn-primary:hover {
    background: var(--gold-dark);
    transform: translateY(-2px);
}

.btn-outline {
    border: 1px solid var(--gold);
    color: var(--gold-dark);
    background: rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
    background: white;
}

.btn-light {
    background: #e8d8bf;
    color: #393630;
}

.btn-light:hover {
    background: white;
    transform: translateY(-2px);
}


/* =====================================================
   5. TÍTULOS DAS SEÇÕES
   ===================================================== */

.section-heading {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-heading h2 {
    font-size: 44px;
    margin-bottom: 15px;
}

.section-heading p {
    color: var(--muted);
}


/* =====================================================
   6. SOBRE A PROFISSIONAL
   ===================================================== */

.about {
    background: var(--background);
}

.about-description {
    max-width: 760px;
    margin: 55px auto 0;
    text-align: center;
}

.about-description h3 {
    font-size: 30px;
    margin-bottom: 20px;
}

.about-description p {
    color: var(--muted);
    margin-bottom: 15px;
}

.professional-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    border-top: 2px solid var(--gold);
    padding: 20px 0 0;
    margin: 30px auto;
}

.professional-info strong {
    font-family: var(--font-title);
    font-size: 22px;
}

.professional-info span {
    color: var(--muted);
    font-size: 13px;
}

.text-link {
    color: var(--gold-dark);
    font-weight: 700;
}

.text-link:hover {
    text-decoration: underline;
}


/* =====================================================
   7. GALERIA - FOTOS 4 E 5
   ===================================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    max-width: 900px;
    margin: 40px auto 0;
    align-items: stretch;
}

.gallery-item {
    width: 100%;
    height: 520px;
    overflow: hidden;
    border-radius: 6px;
    background: var(--beige);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);

    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;

    object-fit: contain;
    object-position: center;

    transition: transform 0.4s ease;
}

/* Foto 4 */

.foto-tagila-4 img {
    object-fit: contain;
    object-position: center;
}

/* Foto 5 */

.foto-tagila-5 img {
    object-fit: contain;
    object-position: center;
}

.gallery-item:hover img {
    transform: scale(1.01);
}


/* =====================================================
   8. TRATAMENTOS ODONTOLÓGICOS
   ===================================================== */

.services {
    background: #eee9e1;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background: white;
    padding: 35px 25px;
    min-height: 245px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.06);
}

.service-icon {
    color: var(--gold);
    font-size: 34px;
    margin-bottom: 18px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 13px;
}

.service-card p {
    color: var(--muted);
    font-size: 13px;
}


/* =====================================================
   9. ESTRUTURA E CONSULTÓRIO
   ===================================================== */

.structure {
    background: var(--background);
}

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

.structure-content h2 {
    font-size: 42px;
    margin-bottom: 25px;
}

.structure-content p {
    color: var(--muted);
    margin-bottom: 25px;
}

.structure-photo {
    min-height: 380px;
}

.photo-placeholder {
    width: 100%;
    height: 380px;
    background: var(--beige);
    border: 1px dashed #bba98e;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    color: var(--gold-dark);
    text-align: center;
    padding: 20px;
}

.photo-placeholder span {
    font-family: var(--font-title);
    font-size: 26px;
}

.photo-placeholder small {
    margin-top: 8px;
    color: var(--muted);
}


/* =====================================================
   10. CONTATO
   ===================================================== */

.contact {
    background: var(--dark);
    color: white;
    text-align: center;
}

.contact-content {
    max-width: 750px;
}

.contact .eyebrow {
    color: #d8bd94;
}

.contact h2 {
    font-size: 45px;
    margin-bottom: 20px;
}

.contact p {
    color: #d2d0ca;
    margin-bottom: 30px;
}


/* =====================================================
   11. LOCALIZAÇÃO
   ===================================================== */

.location {
    background: var(--background);
}

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

.location h2 {
    font-size: 42px;
    margin-bottom: 25px;
}

.location-grid > div > p {
    color: var(--muted);
}

.location-card {
    background: white;
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: 5px;
}

.location-card > span {
    font-size: 30px;
}

.location-card strong {
    display: block;
    margin: 12px 0;
    font-family: var(--font-title);
    font-size: 23px;
}

.location-card p {
    color: var(--muted);
    margin-bottom: 15px;
}

.location-card a {
    color: var(--gold-dark);
    font-weight: 700;
    font-size: 13px;
}


/* =====================================================
   12. RODAPÉ
   ===================================================== */

.footer {
    background: #292a26;
    color: white;
    padding: 30px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-content strong {
    font-family: var(--font-title);
    font-size: 20px;
}

.footer p {
    font-size: 12px;
    color: #c4c1b9;
}


/* =====================================================
   13. BOTÃO FLUTUANTE WHATSAPP
   ===================================================== */

.whatsapp-float {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 99;

    background: #218c55;
    color: white;

    padding: 14px 20px;
    border-radius: 50px;

    font-size: 13px;
    font-weight: 700;

    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.18);

    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background: #176d41;
    transform: translateY(-3px);
}


/* =====================================================
   14. TABLETS
   ===================================================== */

@media (max-width: 900px) {

    .nav {
        gap: 15px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        gap: 20px;
    }

    .gallery-item {
        height: 420px;
    }

    .structure-grid {
        gap: 35px;
    }

}


/* =====================================================
   15. CELULARES
   ===================================================== */

@media (max-width: 700px) {

    .section {
        padding: 70px 0;
    }

    /* MENU */

    .nav-container {
        min-height: 72px;
    }

    .menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;

        background: white;
        padding: 25px;

        flex-direction: column;
        align-items: stretch;
        gap: 20px;

        border-top: 1px solid var(--border);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

    .nav.active {
        display: flex;
    }

    /* HERO */

    .hero {
        min-height: 760px;
        align-items: flex-start;
        padding: 55px 0;
    }

    .hero-background-blur {
        background-position: center;
        opacity: 0.30;
    }

    .hero-background {
        top: auto;
        bottom: 0;
        right: 0;

        width: auto;
        height: 48%;
        max-width: 100%;

        object-fit: contain;
        object-position: right bottom;
    }

    .hero-overlay {
        background: linear-gradient(
            180deg,
            #f8f6f2 0%,
            rgba(248, 246, 242, 0.97) 30%,
            rgba(248, 246, 242, 0.82) 52%,
            rgba(248, 246, 242, 0.20) 100%
        );
    }

    .hero-content {
        max-width: 100%;
    }

    .hero h1 {
        font-size: 42px;
    }

    .hero-content > p {
        max-width: 100%;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    /* GALERIA */

    .gallery-grid {
        grid-template-columns: 1fr;
        max-width: 430px;
        gap: 22px;
    }

    .gallery-item {
        height: 480px;
    }

    .gallery-item img {
        object-fit: contain;
    }

    .foto-tagila-4 img,
    .foto-tagila-5 img {
        object-fit: contain;
        object-position: center;
    }

    .about-description {
        margin-top: 35px;
    }

    .about-description h3 {
        font-size: 27px;
    }

    /* TÍTULOS */

    .section-heading h2 {
        font-size: 36px;
    }

    /* TRATAMENTOS */

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

    /* ESTRUTURA */

    .structure-grid {
        grid-template-columns: 1fr;
        gap: 35px;
    }

    .structure-content h2,
    .location h2 {
        font-size: 34px;
    }

    .structure-photo,
    .photo-placeholder {
        min-height: 300px;
        height: 300px;
    }

    /* CONTATO */

    .contact h2 {
        font-size: 35px;
    }

    /* LOCALIZAÇÃO */

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

    /* RODAPÉ */

    .footer-content {
        flex-direction: column;
        align-items: flex-start;
    }

    /* WHATSAPP */

    .whatsapp-float {
        bottom: 15px;
        right: 15px;
        padding: 12px 17px;
    }

}


/* =====================================================
   16. CELULARES PEQUENOS
   ===================================================== */

@media (max-width: 380px) {

    .hero h1 {
        font-size: 36px;
    }

    .logo-name {
        font-size: 20px;
    }

    .gallery-item {
        height: 360px;
    }

    .btn {
        width: 100%;
    }

}

/* =====================================================
   17. COMPARADOR ANTES E DEPOIS
   ===================================================== */

.before-after {
    background: #F8EDF1;
}

/* Cartão principal */

/* Cartões dos três comparadores */

.before-after .comparison-card {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 10px;
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(80, 45, 60, 0.08);
}

.before-after .comparison-card:last-child {
    margin-bottom: 0;
}

/* Área das fotografias */

.comparison-slider {
    position: relative;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 8px;
    background: #eee;
    --position: 50%;
}

/* Imagens */

.comparison-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Camada da imagem ANTES */

.comparison-before {
    position: absolute;
    inset: 0;

    clip-path: polygon(
        0 0,
        var(--position) 0,
        var(--position) 100%,
        0 100%
    );
}

/* Linha divisória */

.comparison-divider {
    position: absolute;
    top: 0;
    bottom: 0;
    left: var(--position);

    width: 3px;
    background: #FFFFFF;

    transform: translateX(-50%);
    pointer-events: none;

    box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
}

/* Botão central da divisória */

.comparison-divider span {
    position: absolute;
    top: 50%;
    left: 50%;

    transform: translate(-50%, -50%);

    width: 48px;
    height: 48px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #FFFFFF;
    color: var(--gold-dark);

    font-size: 26px;
    font-weight: bold;

    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.18);
}

/* Controle deslizante */

.comparison-range {
    position: absolute;
    inset: 0;

    width: 100%;
    height: 100%;
    margin: 0;

    opacity: 0.001;
    cursor: ew-resize;

    touch-action: pan-y;
}

/* Identificação ANTES e DEPOIS */

.comparison-label {
    position: absolute;
    top: 15px;

    padding: 7px 15px;

    background: rgba(68, 52, 61, 0.88);
    color: #FFFFFF;

    border-radius: 30px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;

    pointer-events: none;
}

.label-before {
    left: 15px;
}

.label-after {
    right: 15px;
}

/* Texto abaixo das imagens */

.comparison-caption {
    margin-top: 15px;

    color: var(--muted);
    text-align: center;

    font-size: 13px;
}

/* =====================================================
   RESPONSIVIDADE DO COMPARADOR
   ===================================================== */

@media (max-width: 700px) {

    .comparison-card {
        padding: 10px;
    }

    .comparison-slider {
        aspect-ratio: 3 / 4;
    }

    .comparison-divider span {
        width: 42px;
        height: 42px;
        font-size: 23px;
    }

    .comparison-label {
        top: 10px;
        padding: 6px 12px;
        font-size: 10px;
    }

}

/* Celulares pequenos */

@media (max-width: 380px) {

    .comparison-card {
        padding: 7px;
    }

    .comparison-divider span {
        width: 38px;
        height: 38px;
    }

}
/* =========================================
   ORGANIZAÇÃO DOS 3 COMPARADORES
========================================= */

.before-after .container {
    max-width: 1100px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 25px;
}

.before-after .section-heading {
    grid-column: 1 / -1;
    width: 100%;
}

.comparison-slider {
    aspect-ratio: 4 / 3;
}

.comparison-caption {
    font-size: 12px;
    line-height: 1.4;
    margin-top: 10px;
}

/* TABLETS */

@media (max-width: 900px) {
    .before-after .container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* CELULARES */

@media (max-width: 600px) {
    .before-after .container {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .before-after .section-heading {
        margin-bottom: 25px;
    }
}


/* =========================================
   GALERIA DO CONSULTÓRIO
========================================= */

.structure-photo {
    width: 100%;
    min-width: 0;
}

.clinic-gallery {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;
}

.clinic-gallery img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(80, 45, 60, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.clinic-gallery img:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 35px rgba(80, 45, 60, 0.16);
}

/* FOTO PRINCIPAL */

.clinic-gallery .clinic-main {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

/* FOTO COMPLEMENTAR */

.clinic-gallery .clinic-secondary {
    width: 85%;
    margin-left: auto;
    margin-right: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

/* TABLETS */

@media (max-width: 900px) {
    .clinic-gallery {
        gap: 14px;
    }

    .clinic-gallery .clinic-secondary {
        width: 92%;
    }
}

/* CELULARES */

@media (max-width: 600px) {
    .clinic-gallery {
        gap: 12px;
    }

    .clinic-gallery .clinic-main,
    .clinic-gallery .clinic-secondary {
        width: 100%;
        aspect-ratio: 4 / 3;
    }

    .clinic-gallery img {
        border-radius: 12px;
    }
}


/* =========================================
   AJUSTE DAS FOTOS - SOBRE A PROFISSIONAL
========================================= */

.gallery-grid {
    align-items: stretch;
}

.gallery-item {
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 520px;
    border-radius: 12px;
}

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

/* PRIMEIRA FOTO */
.foto-tagila-4 img {
    object-position: center 30%;
}

/* SEGUNDA FOTO: RETIRAR O EXCESSO DE ESPAÇO SUPERIOR */
.foto-tagila-5 img {
    object-position: center 70%;
}

/* CELULARES */
@media (max-width: 700px) {
    .gallery-item {
        height: 430px;
    }
}

/* =========================================
   FORMAÇÃO E EXPERIÊNCIA PROFISSIONAL
========================================= */

.professional-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin: 30px 0;
}

.professional-detail {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 20px;
    background: #FFFFFF;
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(80, 45, 60, 0.05);
}

.detail-icon {
    font-size: 25px;
    color: #B58A70;
    flex-shrink: 0;
}

.professional-detail h4 {
    margin: 0 0 10px;
    color: var(--text);
    font-size: 16px;
}

.professional-detail p {
    margin: 0 0 7px;
    line-height: 1.5;
    font-size: 14px;
}

.detail-year {
    display: block;
    margin-top: 8px;
    color: #98765F;
    font-size: 13px;
}

@media (max-width: 700px) {
    .professional-details {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   TRATAMENTOS COM FOTO DA PROFISSIONAL
========================================= */

.services-layout {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 30px;
    align-items: center;
    max-width: 1050px;
    margin: 0 auto;
}
.services-layout .services-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    align-content: center;
}

.services-layout .service-card {
    height: 100%;
    min-height: 190px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 24px;
    border-radius: 14px;
}

/* FOTOGRAFIA DO ATENDIMENTO */

.treatment-image {
    width: 100%;
    max-width: 420px;
    aspect-ratio: 1026 / 1600;
    height: auto;
    justify-self: center;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 12px 30px rgba(80, 45, 60, 0.12);
}

.treatment-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 16px;
}

.treatment-image:hover img {
    transform: scale(1.025);
}

/* TABLETS */

@media (max-width: 900px) {

    .services-layout {
        grid-template-columns: 1fr;
    }

    .treatment-image {
        max-width: 380px;
        height: 380px;
        justify-self: center;
    }

}

/* CELULARES */

@media (max-width: 600px) {

    .services-layout .services-grid {
        gap: 12px;
    }

    .services-layout .service-card {
        min-height: 170px;
        padding: 16px;
    }

.treatment-image {
    max-width: 100%;
    height: auto;
}
}
/* CENTRALIZAR O QUINTO COMPARATIVO */

.before-after .comparison-card:last-child {
    grid-column: 1 / -1;
    width: calc((100% - 25px) / 2);
    justify-self: center;
}

/* CELULARES */

@media (max-width: 600px) {
    .before-after .comparison-card:last-child {
        grid-column: auto;
        width: 100%;
    }
}
