@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
    --primary-color: #dcd7f8;
    --text-dark: #3f3b57;
    --text-light: #908ca3;
    --white: #ffffff;
    --max-width: 1200px;
}

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

.section__container {
    max-width: var(--max-width);
    padding: 5rem 1rem;
    margin: auto;
}

.section__subheader {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-light);
    text-align: center;
}

.section__header {
    font-size: 2.5rem;
    font-weight: 500;
    color: var(--text-dark);
    text-align: center;
    line-height: 3.5rem;
}

img {
    display: flex;
    width: 100%;
}

a {
    text-decoration: none;
    transition: 0.3s;
}

ul {
    list-style: none;
}

html,
body {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
}

nav {
    position: fixed;
    isolation: isolate;
    width: 100%;
    z-index: 9;
}

.nav__header {
    padding: 1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: var(--white);
}

.nav__logo a {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-dark);
}

.nav__menu__btn {
    font-size: 1.5rem;
    color: var(--text-dark);
    cursor: pointer;
}

.nav__links {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 2rem;
    background-color: var(--white);
    transition: transform 0.5s;
    z-index: -1;
}

.nav__links.open {
    transform: translateY(100%);
}

.nav__links a {
    font-weight: 500;
    color: var(--text-dark);
}

.nav__links a:hover {
    color: var(--primary-color);
}

header {
    padding-top: 5rem;
    position: relative;
    isolation: isolate;
    background-color: #2fe6d0;
}

.header__bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3rem;
    background-color: var(--white);
    z-index: -1;
}

.header__container {
    padding-block: 2rem 0;
    display: grid;
    gap: 2rem;
}

.header__content h4 {
    max-width: fit-content;
    margin-inline: auto;
    margin-bottom: 1rem;
    padding: 5px 15px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 5rem;
}

.header__content h1 {
    margin-bottom: 1rem;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 4.5rem;
    color: var(--text-dark);
    text-align: center;
}

.header__content h1 span {
    font-size: 5rem;
}

.header__content h2 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    text-align: center;
}

.header__content p {
    margin-bottom: 2rem;
    color: var(--text-light);
    text-align: center;
}

.header__btn button {
    padding-block: 0.5rem;
    padding-inline: 1.5rem 0.5rem;
    margin-inline: auto;
    outline: none;
    border: none;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 5rem;
    transition: 0.3s;
    cursor: pointer;
}

.header__btn button span {
    padding: 5px 7px;
    font-size: 1.5rem;
    background-color: rgba(0, 0, 0, 0.1);
    border-radius: 100%;
}

.header__btn button:hover {
    color: var(--white);
    background-color: rgba(0, 0, 0, 0.4);
}

.header__btn button:hover span {
    background-color: rgba(0, 0, 0, 0.4);
}

.header__image {
    position: relative;
    isolation: isolate;
}

.header__image img {
    max-width: 400px;
    margin-inline: auto;
}

img.header__image-bg {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    max-width: 300px !important;
    z-index: -1;
}

.intro__grid {
    margin-top: 4rem;
    display: grid;
    gap: 2rem;
}

.intro__card {
    text-align: center;
}

.intro__card div {
    max-width: fit-content;
    margin-inline: auto;
    margin-bottom: 1rem;
    padding: 2rem;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
}

.intro__card:nth-child(1) div {
    background-image: url("assets/intro-1-bg.png");
}

.intro__card:nth-child(2) div {
    background-image: url("assets/intro-2-bg.png");
}

.intro__card:nth-child(3) div {
    background-image: url("assets/intro-3-bg.png");
}

.intro__card div img {
    width: unset;
    height: 75px;
}

.intro__card h4 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.intro__card p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.intro__card a {
    display: inline-block;
    padding: 0.5rem 2rem;
    border: 2px solid;
    border-radius: 5rem;
    transition: 0.3s;
}

.intro__card:nth-child(1) a {
    color: #ffc737;
    border-color: #ffc737;
}

.intro__card:nth-child(1) a:hover {
    color: var(--white);
    background-color: #ffc737;
}

.intro__card:nth-child(2) a {
    color: #257ae7;
    border-color: #257ae7;
}

.intro__card:nth-child(2) a:hover {
    color: var(--white);
    background-color: #257ae7;
}

.intro__card:nth-child(3) a {
    color: #cba9b6;
    border-color: #cba9b6;
}

.intro__card:nth-child(3) a:hover {
    color: var(--white);
    background-color: #cba9b6;
}

.about__row {
    margin-top: 2rem;
    display: flex;
    gap: 2rem;
    flex-direction: column;
    overflow: hidden;
}

.about__row:nth-child(3) {
    margin-top: 4rem;
}

.about__image {
    flex: 1;
    max-width: 400px;
    margin-inline: auto;
}

.about__content {
    flex: 1;
    text-align: center;
}

.about__content span {
    margin-inline: auto;
    margin-bottom: 1rem;
    width: 80px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 100%;
}

.about__content span img {
    max-width: 40px;
}

.about__row:nth-child(3) .about__content span {
    background-color: #fdf2d9;
}

.about__row:nth-child(4) .about__content span {
    background-color: #94fde3;
}

.about__row:nth-child(5) .about__content span {
    background-color: #fbebf1;
}

.about__content h4 {
    max-width: 450px;
    margin-inline: auto;
    margin-bottom: 1rem;
    font-size: 2rem;
    font-weight: 500;
    color: var(--text-dark);
    line-height: 3rem;
}

.about__content p {
    max-width: 450px;
    margin-inline: auto;
    color: var(--text-light);
}

.product {
    position: relative;
    isolation: isolate;
}

.product::before {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    width: 100%;
    height: 30%; /* faixa superior */
    background-color: #2fe6d0;
    z-index: -1;
}




.product__grid {
    margin-top: 4rem;
    display: grid;
    gap: 2rem;
}

.product__card h4 {
    margin-block: 1rem 5px;
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--text-dark);
}

.product__card p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.product__card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.service__flex {
    margin-top: 4rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 2rem;
    flex-wrap: wrap;
}
.service__card:nth-child(n+6) {
  margin-top: 30px; /* ajuste o valor conforme o desejado */
}

.service__card div {
    margin-bottom: 2rem;
    margin-inline: auto;
    width: 120px;
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #dff3fd;
    border-radius: 100%;
}

.service__card img {
    max-width: 45px;
}

.service__card p {
    font-weight: 500;
    color: var(--text-light);
}

.client {
    background-color: var(--primary-color);
}

.swiper {
    margin-top: 4rem;
    width: 100%;
}

.swiper-slide {
    min-width: 375px;
}

.client__card {
    padding: 1.5rem;
    background-color: var(--white);
    border-radius: 1rem;
    transition: 0.3s;
}

.client__details {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.client__details img {
    max-width: 50px;
    border-radius: 100%;
}

.client__details h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-dark);
}

.client__details h5 {
    font-weight: 500;
    color: var(--text-light);
}

.client__card p {
    color: var(--text-dark);
}

.instagram__container p {
    max-width: fit-content;
    margin-bottom: 1rem;
    padding: 6px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-dark);
    background-color: #e6e3fa;
    border-radius: 5rem;
}

.instagram__container .section__header {
    padding-bottom: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--text-light);
}

.instagram__grid {
    margin-top: 2rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.footer__container {
    display: grid;
    gap: 4rem 2rem;
}

.footer__logo a {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-dark);
}

.footer__col h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
}

.footer__links {
    display: grid;
    gap: 1rem;
}

.footer__links a {
    font-weight: 500;
    color: var(--text-dark);
}

.footer__links a:hover {
    color: var(--primary-color);
}

.footer__col p {
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.footer__col form {
    width: 100%;
    display: flex;
    align-items: center;
    border: 2px solid var(--primary-color);
    border-radius: 5rem;
}

.footer__col form input {
    padding-inline: 0.5rem;
    width: 100%;
    outline: none;
    border: none;
    font-size: 1rem;
    color: var(--text-dark);
    background-color: transparent;
}

.footer__col form button {
    padding: 0.25rem 1.5rem;
    outline: none;
    border: none;
    color: var(--text-dark);
    font-size: 2rem;
    background-color: var(--primary-color);
    border-radius: 5rem;
    cursor: pointer;
}

.footer__socials {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.footer__socials a {
    display: inline-block;
    padding: 5px 8px;
    font-size: 1.125rem;
    color: var(--text-dark);
    background-color: var(--primary-color);
    border-radius: 100%;
}

.footer__bar {
    padding: 1rem;
    font-size: 0.9rem;
    color: var(--text-light);
    text-align: center;
}

@media (width > 540px) {
    .header__content h1 {
        font-size: 4.5rem;
        line-height: 5rem;
    }

    .header__content h1 span {
        font-size: 6rem;
    }

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

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

    .instagram__grid {
        grid-template-columns: repeat(4, 1fr);
    }

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

@media (width > 768px) {
    nav {
        position: static;
        padding: 2rem 1rem;
        max-width: var(--max-width);
        margin-inline: auto;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 2rem;
    }

    .nav__header {
        padding: 0;
        background-color: transparent;
    }

    .nav__logo a {
        font-size: 1.5rem;
    }

    .nav__menu__btn {
        display: none;
    }

    .nav__links {
        position: static;
        padding: 0;
        flex-direction: row;
        justify-content: flex-end;
        background-color: transparent;
        transform: none;
    }

    header {
        padding-top: 0;
    }

    .header__container {
        grid-template-columns: repeat(2, 1fr);
        align-items: center;
    }

    .header__content {
        grid-area: 1/2/2/3;
    }

    .header__content :is(h4, .header__btn button) {
        margin-inline-start: unset;
    }

    .header__content :is(h1, h2) {
        text-align: left;
    }

    .header__content p {
        max-width: 400px;
        text-align: left;
    }

    .header__image img {
        max-width: 500px;
    }

    .intro__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .about__row {
        flex-direction: row;
        align-items: center;
    }

    .about__row:nth-child(4) {
        flex-direction: row-reverse;
    }

    .about__image {
        max-width: unset;
        margin-inline: auto;
    }

    .about__content {
        text-align: left;
    }

    .product__grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer__container {
        grid-template-columns: repeat(4, 1fr);
    }
}
#Gato {
    width: 600px;
    height: 600px;
    object-fit: cover;
    border-radius: 0;
}

#golden {
    width: 600px;
    height: 600px;
    object-fit: cover;
    border-radius: 0;
}

.mapa-quadrado {
    width: 200px;
    height: 200px;
    border: 0;
    border-radius: 10px; /* opcional, deixa com cantos arredondados */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* opcional, sombra suave */
}

#carro {
    width: 350px;
    height: 350px;
}

#carro1 {
    width: 310px;
    height: 290px;
}

.insta-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}


/* ===== Sobre Nós ===== */
.sobre {
    background-color: #ffffff;
    padding: 80px 20px;
}

.container-sobre {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    gap: 40px;
}

.imagem-sobre img {
    width: 500px;
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.texto-sobre {
    flex: 1;
    min-width: 300px;
}

.texto-sobre h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.texto-sobre p {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 20px;
    line-height: 1.8rem;
}


/* ==== Nossa Veterinária ==== */
.team__container {
    text-align: center;
}

.team__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    background-color: var(--white);
    padding: 2rem;
    border-radius: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    max-width: 1000px;
    margin: auto;
    transition: transform 0.3s;
}

.team__card:hover {
    transform: translateY(-5px);
}

.team__image img {
    width: 300px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.team__content {
    max-width: 600px;
    text-align: center;
}

.team__content h3 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.team__content h4 {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.team__content p {
    color: var(--text-light);
    line-height: 1.8rem;
    font-size: 1.05rem;
}


/* ==== Bordas arredondadas para todas as imagens ==== */
img {
    border-radius: 20px;
}

/* Ajustes para carrossel Nosso Espaço */
#store .swiper-slide img {
  width: 100%;
  height: auto;
}
#store .swiper-slide h4 {
  text-align: center;
  margin-top: 0.5rem;
}


/* ===== Carrossel Nosso Espaço ===== */
.mySwiper {
  width: 100%;
  max-width: 1000px;
  margin: 50px auto;
}

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

.swiper-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
}

/* Espaçamento entre linhas de serviços */
.service__card:nth-child(n+6) {
  margin-top: 40px; /* pode ajustar para mais/menos conforme visual */
}

/* Fundo ciano na seção de avaliações dos clientes */
.client {
  background-color: #2fe6d0; /* mesmo tom usado no header e faixa */
}

.client .section__subheader,
.client .section__header {
  color: var(--text-dark); /* mantém texto legível no fundo claro */
}

.client .elfsight-app {
  margin-top: 2rem;
}
.whatsapp-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s;
}
.whatsapp-float:hover {
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  background: #1ebe57;
}
.whatsapp-float img {
  width: 34px;
  height: 34px;
  filter: invert(1);
}
.top-float {
  position: fixed;
  width: 48px;
  height: 48px;
  bottom: 100px;
  right: 30px;
  z-index: 998;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border-radius: 50%;
  cursor: pointer;
  transition: box-shadow 0.2s, background 0.2s;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}
.top-float:hover {
  background: #dcd7f8;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.top-float svg {
  display: block;
}

/* === RESPONSIVIDADE GERAL === */
* {
  box-sizing: border-box;
}

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

.container {
  width: 100%;
  padding: 1rem;
  margin: auto;
}

/* === LAYOUT FLEXÍVEL === */
.flex {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.flex-center {
  justify-content: center;
  align-items: center;
}

/* === MEDIA QUERIES === */
@media (max-width: 768px) {
  header nav ul {
    flex-direction: column;
    text-align: center;
  }

  .grid, .flex {
    flex-direction: column;
  }

  h1, h2, h3, p {
    font-size: 1rem;
  }

  .hide-mobile {
    display: none;
  }
}


/* === SEÇÃO DE SERVIÇOS ORGANIZADA === */
.secao-servicos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2rem;
  justify-items: center;
  text-align: center;
  padding: 2rem 1rem;
}

.secao-servicos .servico {
  max-width: 200px;
}

.secao-servicos img, 
.secao-servicos svg {
  max-width: 80px;
  margin-bottom: 1rem;
}


/* === SEÇÃO DE SERVIÇOS (CORRIGIDA E ALINHADA) === */
.secao-servicos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  justify-items: center;
  text-align: center;
  padding: 2rem 1rem;
}

.servico {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #f8f8f8;
  padding: 1rem;
  border-radius: 12px;
  min-height: 180px;
  width: 100%;
  max-width: 200px;
  box-shadow: 0 0 10px #00000010;
}

.servico img {
  width: 64px;
  height: 64px;
  margin-bottom: 0.75rem;
}

.servico p {
  margin: 0;
  font-size: 0.95rem;
  color: #333;
}


/* === RESPONSIVIDADE REFORÇADA === */
body {
  overflow-x: hidden;
}

section, header, footer, .container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  padding: 1rem;
}

/* Corrige problemas de padding/margem em telas pequenas */
@media (max-width: 480px) {
  h1, h2, h3 {
    font-size: 1.1rem;
  }

  p {
    font-size: 0.95rem;
  }

  .servico {
    padding: 1rem 0.5rem;
    min-height: auto;
  }

  .secao-servicos {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding: 1rem 0.5rem;
  }

  nav ul {
    flex-direction: column;
    gap: 0.5rem;
  }
}


/* === RESPONSIVIDADE FINAL - AJUSTES DETALHADOS === */

body {
  margin: 0;
  padding: 0;
  font-family: 'Arial', sans-serif;
  overflow-x: hidden;
}

section, header, footer {
  width: 100%;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

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

/* Tamanhos de fontes ajustáveis com clamp */
h1, h2, h3 {
  font-size: clamp(1.5rem, 2.5vw, 3rem);
  line-height: 1.2;
  word-break: break-word;
  text-align: center;
}

p {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  line-height: 1.6;
  text-align: center;
}

/* Seção personalizada tipo banner */
.section-color {
  background-color: #3fe0cf;
  padding: 2rem 1rem;
  text-align: center;
}

/* Menu hamburguer responsivo */
@media (max-width: 768px) {
  nav ul {
    flex-direction: column;
    background-color: #fff;
    width: 100%;
    position: absolute;
    top: 60px;
    left: 0;
    display: none;
  }

  nav ul.active {
    display: flex;
  }

  .menu-btn {
    display: block;
    cursor: pointer;
  }
}

/* Corrige o carrossel para caber na tela */
.swiper-container {
  width: 100%;
  overflow: hidden;
  padding: 1rem 0;
}

.swiper-slide img {
  border-radius: 12px;
  width: 100% !important;
  height: auto !important;
}

/* Garante responsividade de imagem na seção "leva e trás" */
#levaetras img {
  max-width: 100%;
  height: auto;
  margin: auto;
  border-radius: 10px;
}


/* === CORREÇÃO DE TEXTO PRINCIPAL === */
.titulo-principal, .hero h1 {
  font-size: clamp(1.8rem, 6vw, 3rem);
  line-height: 1.1;
  word-break: break-word;
  hyphens: auto;
  text-wrap: balance;
  text-align: center;
  padding: 0 1rem;
}

/* Garante que o header/menu não sobreponha o conteúdo */
header, nav {
  position: relative;
  z-index: 1000;
}

/* Ajuste no botão flutuante do WhatsApp */
.whatsapp-button, .btn-whatsapp {
  position: fixed;
  bottom: 2rem !important;
  right: 1rem !important;
  z-index: 999;
}


/* === AJUSTES FINAIS DE RESPONSIVIDADE === */

/* Título principal mais controlado */
.hero h1, .hero-title, .hero-text h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.2;
  word-break: break-word;
  margin-bottom: 1rem;
  text-align: center;
}

/* Subtítulo */
.hero h2, .hero-subtitle {
  font-size: clamp(1rem, 3vw, 1.5rem);
  text-align: center;
  margin-bottom: 1rem;
}

/* Corrige botões sobrepostos */
.floating-whatsapp,
.scroll-to-top {
  z-index: 999;
}

/* Evita sobreposição de links no topo */
nav ul li a {
  position: relative;
  z-index: 10;
}

/* Garante que o header e o menu não invadam o conteúdo */
header, nav {
  position: relative;
  z-index: 20;
}


/* === AJUSTE DO CARROSSEL === */
.swiper-container {
  width: 100%;
  padding: 1rem 0;
  box-sizing: border-box;
}

.swiper-slide {
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-slide img {
  border-radius: 12px;
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 400px;
}

/* === AJUSTE DO TÍTULO PRINCIPAL === */
.hero h1, .hero-title, .hero-text h1 {
  font-size: clamp(1.8rem, 6vw, 2.5rem);
  line-height: 1.1;
  word-break: break-word;
  text-align: center;
  margin-bottom: 1rem;
}

.hero h2, .hero-subtitle {
  font-size: clamp(1rem, 4vw, 1.5rem);
  text-align: center;
  margin-bottom: 1rem;
}


/* === AJUSTE FINAL PARA CELULAR COM ZOOM 100% === */
@media (max-width: 480px) {
  body {
    font-size: 100%;
    zoom: 1;
  }

  .hero {
    padding: 1rem 1rem;
    flex-direction: column;
    text-align: center;
  }

  .hero h1,
  .hero p {
    text-align: center;
    font-size: 1.25rem;
    line-height: 1.4;
  }

  .hero .coluna {
    flex: 1 1 100%;
  }

  .swiper-slide img {
    max-height: 250px;
    object-fit: cover;
  }

  section,
  header,
  footer {
    padding: 1rem;
  }

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


/* === LAYOUT GERAL COM EQUILÍBRIO ENTRE PC E CELULAR === */

/* Layout centralizado no PC */
.container,
section,
header,
footer {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1rem 2rem;
  box-sizing: border-box;
}

/* HERO em duas colunas no PC */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}
.hero .coluna {
  flex: 1 1 48%;
  min-width: 300px;
}
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  text-align: left;
}
.hero p {
  text-align: left;
  font-size: clamp(1rem, 2vw, 1.3rem);
}

/* Carrossel no desktop */
.swiper-container {
  width: 100%;
  padding: 1rem 0;
}
.swiper-slide img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
}

/* === RESPONSIVO PARA CELULAR === */
@media (max-width: 768px) {
  body {
    font-size: 100%;
    zoom: 1;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .hero .coluna {
    flex: 1 1 100%;
  }

  .hero h1,
  .hero p {
    text-align: center;
    font-size: 1.2rem;
  }

  .swiper-slide img {
    max-height: 240px;
  }

  section,
  header,
  footer {
    padding: 1rem;
  }

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


/* === TELA CHEIA NO PC === */
.container,
section,
header,
footer {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 1rem 2rem;
  box-sizing: border-box;
}

/* HERO preenchendo largura total */
.hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  width: 100%;
}
.hero .coluna {
  flex: 1 1 50%;
  min-width: 280px;
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  text-align: left;
}
.hero p {
  text-align: left;
  font-size: clamp(1rem, 2vw, 1.3rem);
}

/* CARROSSEL total */
.swiper-container {
  width: 100%;
  padding: 1rem 0;
}
.swiper-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-height: 450px;
  border-radius: 0;
}

/* === MOBILE === */
@media (max-width: 768px) {
  body {
    font-size: 100%;
    zoom: 1;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
  }

  .hero .coluna {
    flex: 1 1 100%;
  }

  .hero h1,
  .hero p {
    text-align: center;
    font-size: 1.2rem;
  }

  .swiper-slide img {
    max-height: 240px;
  }

  section,
  header,
  footer {
    padding: 1rem;
  }

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


/* === SIMULAÇÃO DE ZOOM 75% NO CELULAR === */
@media (max-width: 480px) {
  body {
    font-size: 87.5%; /* Aproximadamente 75% da base de 16px */
  }

  .hero h1 {
    font-size: 1.6rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero {
    padding: 0.5rem;
  }

  .swiper-slide img {
    max-height: 200px;
  }

  header,
  footer,
  section {
    padding: 0.75rem;
  }

  nav ul li a {
    font-size: 0.9rem;
  }

  .servico p {
    font-size: 0.85rem;
  }
}
