@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');

/* ==================== VARIÁVEIS ==================== */
:root {
  --primary-color: #007BFF;
  --text-dark: #003E7E;
  --white: #FFFFFF;
  --max-width: 1200px;
}

/* ==================== RESET GLOBAL ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans', sans-serif;
  background-color: var(--white);
}

/* ==================== ANIMAÇÕES DE FUNDO ==================== */
body::after {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  width: 0;
  height: 100%;
  background-color: var(--text-dark);
  z-index:-1;
  animation: body-bg 1s ease-in-out forwards;
}

@keyframes body-bg {
  0% { width: 0vw; }
  100% { width: 50vw; }
}

body::before {
  content: "0";
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  font-size: 70rem;
  font-weight: 200;
  color: var(--primary-color);
  z-index: -1;
  opacity: 0.05;
}

/* ==================== CONTAINER ==================== */
.container{
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  max-width: var(--max-width);
  margin-inline: auto;
  overflow: hidden;
  padding: 0 1rem;
  padding-top: 140px; /* Espaço para a navbar fixa */
  z-index: auto;
}

/* ==================== PREVENÇÃO DE FLASH DAS ANIMAÇÕES ==================== */
.title__left, .title__right, 
.text__left, .text__right, 
.left__msg, .right__msg, 
.saiba {
  visibility: hidden;
}

/* Esconde elementos da navbar apenas em desktop para animação */
@media (min-width: 769px) {
  .nav__left, .nav__right, .nav-logo {
    visibility: hidden;
  }
}

/* ==================== NAVBAR ==================== */
nav {
  padding: 2rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
  background: transparent;
}

/* Navbar com fundo quando rola a tela */
nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 2rem;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

/* Ajuste na cor dos links quando a navbar tem fundo */
nav.scrolled .nav__left a {
  color: var(--text-dark);
}

nav.scrolled .nav__right a {
  color: var(--text-dark);
}

nav.scrolled .menu-toggle .dot {
  background-color: var(--text-dark);
}

nav.scrolled .menu-text {
  color: var(--text-dark);
}

/* Logo */
.nav-logo {
  z-index: 1001;
}

.logo-mundial{
  height: 60px;
  width: auto;
}

/* Botão de menu mobile - ícone de grade com texto */
.menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1002;
  position: relative;
  min-width: 60px;
  min-height: 50px;
  background: transparent;
  border: none;
  outline: none;
  gap: 4px;
  padding: 8px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.menu-icon {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 3px;
  width: 24px;
  height: 24px;
  padding: 2px;
}

.menu-toggle .dot {
  width: 10px;
  height: 10px;
  background-color: var(--white);
  border-radius: 2px;
  display: block;
  pointer-events: none;
  transition: all 0.3s ease;
}

.menu-text {
  font-size: 10px;
  color: var(--white);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 2px;
  pointer-events: none;
}

/* Menu de navegação */
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.nav__links{
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav__links a{
  font-weight: 500;
  text-decoration: none;
  transition: 0.3s;
}

.nav__left a{
  color: var(--text-dark);
}

.nav__right a{
  color: var(--white);
}

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

/* ==================== TITULOS E TEXTOS ==================== */
/* Mantemos o posicionamento original com calc() */
.container span{
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 5rem;
}

.container h1{
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 5rem;
}

.container h5 {
  position: absolute;
  top: 68%;
  left: 50%;
  font-size: 2rem;
  font-weight: 500;
}

.title__left{
  transform: translate(calc(-50% - 111px), -80%);
  color: var(--text-dark);
}
.title__right{
  transform: translate(calc(-50% + 97px), -80%);
  color: var(--white);
}

.text__left{
  transform: translate(calc(-50% - 168px), -5%);
  color: var(--text-dark);
}

.text__right{
  transform: translate(calc(-50% + 190px), -5%);
  color: var(--white);
}

.left__msg{
  transform: translate(calc(-50% - 110px), -50%);
  color: var(--text-dark);
}

.right__msg{
  transform: translate(calc(-50% + 100px), -50%);
  color: var(--white);
}

/* ==================== BOTÃO SAIBA MAIS ==================== */
.container .saiba{
  top: 50%;
  left: 50%;
  transform: translate(-50%, calc(-50% + 225px));
  color: var(--text-dark);
  background-color: var(--white);
  padding: 1rem 2rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  box-shadow: 0 0 50px rgba(0,0,0,0.4);
  border-radius: 10px;
  position: absolute;
}

/* ==================== SEÇÕES ==================== */
.section {
  min-height: 70vh;
  max-width: 1000px;
  margin: 5rem auto;
  padding: 3rem 2.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
  background: rgba(255,255,255,0.85);
  border-radius: 60px;
  box-shadow: 0 8px 32px rgba(21, 101, 192, 0.10), 0 1.5px 8px rgba(33,150,243,0.08);
  backdrop-filter: blur(2px);
  border: 1.5px solid rgba(33,150,243,0.08);
  opacity: 0;
  transform: translateY(80px);
  transition: all 0.8s cubic-bezier(0.215, 0.61, 0.355, 1);
  z-index: 1;
}

.section::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color), var(--text-dark));
  filter: blur(80px);
  opacity: 0.15;
  z-index: -1;
}

.section.active {
  opacity: 1;
  transform: translateY(0);
}

.section h2 {
  font-size: 3rem;
  margin-bottom: 2.5rem;
  margin-top: 0;
  position: relative;
  display: inline-block;
  flex-shrink: 0;
}

.section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--text-dark));
}
/* Efeito de destaque alternado para os títulos das seções */
.section:nth-child(even) h2 {
  color: var(--primary-color); /* azul */
}

.section:nth-child(odd) h2 {
  color: var(--text-dark); /* azul mais escuro */
}

/* ==================== TEXTO DAS SEÇÕES ==================== */
.section p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto 1.5rem auto;
  text-align: justify;
  text-justify: inter-word;
  padding: 0 1rem;
}

.section p:last-child {
  margin-bottom: 0;
}

/* Destaque para textos em negrito */
.section p strong {
  color: var(--primary-color);
  font-weight: 600;
}

/* Espaçamento entre parágrafos */
.section p + p {
  margin-top: 1.5rem;
}

/* Estilo especial para primeira linha de parágrafos */
.section p:first-of-type::first-line {
  font-weight: 500;
}

/* Container para conteúdo das sections */
.section-content {
  width: 100%;
  max-width: 750px;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


/* ==================== CARDS DE SERVIÇOS ==================== */
#servicos ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 900px;
  margin-top: 2rem;
}

#servicos li {
  background: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

#servicos li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--text-dark));
}

#servicos li:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

/* ==================== BOTÕES DE CONTATO ==================== */
.contato-buttons {
  display: flex;
  gap: 30px;
  margin-top: 30px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.whatsapp, .email {
  padding: 15px 35px;
  text-decoration: none;
  color: white;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
  text-align: center;
  min-width: 200px;
  display: inline-block;
}

.whatsapp {
  background-color: #25D366;
}

.whatsapp:hover {
  background-color: #1ebe5d;
  box-shadow: 0 8px 25px rgba(30, 190, 93, 0.4);
  transform: translateY(-3px);
}

.email {
  background-color: #0072C6;
}

.email:hover {
  background-color: #005a9e;
  box-shadow: 0 8px 25px rgba(0, 90, 158, 0.4);
  transform: translateY(-3px);
}

/* ==================== SEÇÃO DE ORÇAMENTO ==================== */
#contrato {
  text-align: center;
}

#contrato .section-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

#contrato h2 {
  margin-bottom: 1.5rem;
}

/* ==================== SEÇÃO DE FEEDBACKS ==================== */
.feedbacks-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  width: 100%;
  max-width: 1000px;
  margin-top: 2rem;
}

.feedback-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: auto;
}

.feedback-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(to bottom, var(--primary-color), var(--text-dark));
}

.feedback-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feedback-stars {
  display: flex;
  gap: 5px;
  margin-bottom: 1rem;
  color: #FFD700;
  font-size: 1.2rem;
}

.feedback-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1.5rem;
  font-style: italic;
  position: relative;
}

.feedback-text::before {
  content: '"';
  font-size: 3rem;
  color: var(--primary-color);
  position: absolute;
  top: -10px;
  left: -10px;
  font-family: serif;
  opacity: 0.3;
}

.feedback-author {
  border-top: 1px solid #eee;
  padding-top: 1rem;
}

.feedback-author strong {
  display: block;
  color: var(--primary-color);
  font-size: 1.1rem;
  margin-bottom: 5px;
}

.feedback-author span {
  color: #666;
  font-size: 0.9rem;
}

/* ==================== MEDIA QUERIES PARA TABLETS GENÉRICOS ==================== */
@media (min-width: 769px) and (max-width: 1024px) and (not (-webkit-min-device-pixel-ratio: 2)) {
  /* Ajustes para tablets genéricos (não iPad) */
  nav {
    padding: 1.8rem 1.5rem;
  }
  
  nav.scrolled {
    padding: 1rem 1.5rem;
  }
  
  /* Ajustes no container para tablets */
  .container {
    padding-top: 120px;
  }
  
  /* Ajustes nos títulos para tablets */
  .container h1 {
    font-size: 4rem;
  }
  
  .container span {
    font-size: 3rem;
  }
  
  .container h5 {
    font-size: 1.4rem;
    top: 62%;
  }
  
  /* Layout dos títulos para tablets */
  .title__left {
    transform: translate(calc(-50% - 80px), -80%);
  }
  
  .title__right {
    transform: translate(calc(-50% + 80px), -80%);
  }
  
  .text__left {
    transform: translate(calc(-50% - 120px), -5%);
  }
  
  .text__right {
    transform: translate(calc(-50% + 130px), -5%);
  }
  
  .left__msg {
    transform: translate(calc(-50% - 85px), -70%);
  }
  
  .right__msg {
    transform: translate(calc(-50% + 88px), -70%);
  }
  
  /* Botão para tablets */
  .container .saiba {
    transform: translate(-50%, calc(-50% + 200px));
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  
  /* Ajustes nos links da navegação para tablets */
  .nav__links {
    gap: 1.5rem;
  }
  
  .nav__links a {
    font-size: 0.95rem;
    padding: 0.8rem 1.2rem;
  }
  
  /* Ajustes nos feedbacks para tablets */
  .feedbacks-container {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.8rem;
  }
  
  .feedback-card {
    padding: 1.8rem;
  }
}

/* ==================== MEDIA QUERIES ESPECÍFICAS PARA IPAD ==================== */
/* iPad Pro 12.9" (1024x1366) */
@media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1366px) 
  and (-webkit-min-device-pixel-ratio: 2) {
  
  nav {
    padding: 2rem 2rem;
  }
  
  nav.scrolled {
    padding: 1.2rem 2rem;
  }
  
  .container {
    padding-top: 130px;
  }
  
  .container h1 {
    font-size: 4.2rem;
  }
  
  .container span {
    font-size: 3.2rem;
  }
  
  .container h5 {
    font-size: 1.4rem;
    top: 62%;
  }
  
  .title__left {
    transform: translate(calc(-50% - 85px), -80%);
  }
  
  .title__right {
    transform: translate(calc(-50% + 85px), -80%);
  }
  
  .text__left {
    transform: translate(calc(-50% - 125px), -5%);
  }
  
  .text__right {
    transform: translate(calc(-50% + 135px), -5%);
  }
  
  .left__msg {
    transform: translate(calc(-50% - 90px), -70%);
  }
  
  .right__msg {
    transform: translate(calc(-50% + 93px), -70%);
  }
  
  .container .saiba {
    transform: translate(-50%, calc(-50% + 200px));
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  
  .nav__links {
    gap: 1.8rem;
  }
  
  .nav__links a {
    font-size: 0.95rem;
    padding: 0.8rem 1.3rem;
  }
}

/* iPad Air/Pro 11" e iPad 10.9" (820x1180) */
@media only screen 
  and (min-device-width: 820px) 
  and (max-device-width: 1180px) 
  and (-webkit-min-device-pixel-ratio: 2) {
  
  nav {
    padding: 1.8rem 1.8rem;
  }
  
  nav.scrolled {
    padding: 1rem 1.8rem;
  }
  
  .container {
    padding-top: 110px;
  }
  
  .container h1 {
    font-size: 3.8rem;
  }
  
  .container span {
    font-size: 2.9rem;
  }
  
  .container h5 {
    font-size: 1.3rem;
    top: 61%;
  }
  
  .title__left {
    transform: translate(calc(-50% - 75px), -80%);
  }
  
  .title__right {
    transform: translate(calc(-50% + 75px), -80%);
  }
  
  .text__left {
    transform: translate(calc(-50% - 115px), -5%);
  }
  
  .text__right {
    transform: translate(calc(-50% + 125px), -5%);
  }
  
  .left__msg {
    transform: translate(calc(-50% - 80px), -70%);
  }
  
  .right__msg {
    transform: translate(calc(-50% + 83px), -70%);
  }
  
  .container .saiba {
    transform: translate(-50%, calc(-50% + 180px));
    padding: 0.9rem 1.8rem;
    font-size: 0.95rem;
  }
  
  .nav__links {
    gap: 1.5rem;
  }
  
  .nav__links a {
    font-size: 0.9rem;
    padding: 0.7rem 1.2rem;
  }
}

/* iPad regular (768x1024) */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 2) {
  
  nav {
    padding: 1.6rem 1.5rem;
  }
  
  nav.scrolled {
    padding: 0.9rem 1.5rem;
  }
  
  .container {
    padding-top: 100px;
  }
  
  .container h1 {
    font-size: 3.5rem;
  }
  
  .container span {
    font-size: 2.7rem;
  }
  
  .container h5 {
    font-size: 1.2rem;
    top: 60%;
  }
  
  .title__left {
    transform: translate(calc(-50% - 70px), -80%);
  }
  
  .title__right {
    transform: translate(calc(-50% + 70px), -80%);
  }
  
  .text__left {
    transform: translate(calc(-50% - 105px), -5%);
  }
  
  .text__right {
    transform: translate(calc(-50% + 115px), -5%);
  }
  
  .left__msg {
    transform: translate(calc(-50% - 75px), -70%);
  }
  
  .right__msg {
    transform: translate(calc(-50% + 78px), -70%);
  }
  
  .container .saiba {
    transform: translate(-50%, calc(-50% + 160px));
    padding: 0.8rem 1.6rem;
    font-size: 0.9rem;
  }
  
  .nav__links {
    gap: 1.3rem;
  }
  
  .nav__links a {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }
}

/* iPad Mini (744x1133) */
@media only screen 
  and (min-device-width: 744px) 
  and (max-device-width: 1133px) 
  and (-webkit-min-device-pixel-ratio: 2) {
  
  nav {
    padding: 1.5rem 1.3rem;
  }
  
  nav.scrolled {
    padding: 0.8rem 1.3rem;
  }
  
  .container {
    padding-top: 95px;
  }
  
  .container h1 {
    font-size: 3.3rem;
  }
  
  .container span {
    font-size: 2.5rem;
  }
  
  .container h5 {
    font-size: 1.1rem;
    top: 59%;
  }
  
  .title__left {
    transform: translate(calc(-50% - 65px), -80%);
  }
  
  .title__right {
    transform: translate(calc(-50% + 65px), -80%);
  }
  
  .text__left {
    transform: translate(calc(-50% - 95px), -5%);
  }
  
  .text__right {
    transform: translate(calc(-50% + 105px), -5%);
  }
  
  .left__msg {
    transform: translate(calc(-50% - 68px), -70%);
  }
  
  .right__msg {
    transform: translate(calc(-50% + 71px), -70%);
  }
  
  .container .saiba {
    transform: translate(-50%, calc(-50% + 150px));
    padding: 0.7rem 1.4rem;
    font-size: 0.85rem;
  }
  
  .nav__links {
    gap: 1.2rem;
  }
  
  .nav__links a {
    font-size: 0.8rem;
    padding: 0.5rem 0.9rem;
  }
}

/* ==================== MEDIA QUERIES PARA LAPTOPS HIGH-DPI (ASUS ZenBook, MacBook, etc.) ==================== */
@media (min-width: 1281px) and (max-width: 1440px) and (-webkit-min-device-pixel-ratio: 1.5) {
  /* Ajustes para laptops com alta densidade de pixels */
  nav {
    padding: 2.2rem 3rem;
  }
  
  nav.scrolled {
    padding: 1.3rem 3rem;
  }
  
  .container {
    padding-top: 160px;
  }
  
  /* Títulos para laptops high-DPI */
  .container h1 {
    font-size: 5rem;
  }
  
  .container span {
    font-size: 4rem;
  }
  
  .container h5 {
    font-size: 1.6rem;
    top: 64%;
  }
  
  /* Layout para alta resolução */
  .title__left {
    transform: translate(calc(-50% - 110px), -80%);
  }
  
  .title__right {
    transform: translate(calc(-50% + 110px), -80%);
  }
  
  .text__left {
    transform: translate(calc(-50% - 160px), -5%);
  }
  
  .text__right {
    transform: translate(calc(-50% + 170px), -5%);
  }
  
  .left__msg {
    transform: translate(calc(-50% - 115px), -70%);
  }
  
  .right__msg {
    transform: translate(calc(-50% + 120px), -70%);
  }
  
  .container .saiba {
    transform: translate(-50%, calc(-50% + 240px));
    padding: 1.2rem 2.5rem;
    font-size: 1.2rem;
  }
  
  /* Navegação para laptops high-DPI */
  .nav__links {
    gap: 2.5rem;
  }
  
  .nav__links a {
    font-size: 1.1rem;
    padding: 1rem 1.8rem;
  }
}

/* ==================== MEDIA QUERIES PARA NEST HUB ==================== */
@media (min-width: 1024px) and (max-height: 600px) and (orientation: landscape) {
  /* Otimizações específicas para Nest Hub (1024x600) */
  nav {
    padding: 1rem 2rem;
  }
  
  nav.scrolled {
    padding: 0.8rem 2rem;
  }
  
  .container {
    padding-top: 90px;
    min-height: 85vh;
  }
  
  /* Títulos compactos para Nest Hub */
  .container h1 {
    font-size: 3rem;
  }
  
  .container span {
    font-size: 2.3rem;
  }
  
  .container h5 {
    font-size: 1.1rem;
    top: 65%;
  }
  
  /* Layout compacto vertical */
  .title__left {
    transform: translate(calc(-50% - 60px), -70%);
  }
  
  .title__right {
    transform: translate(calc(-50% + 60px), -70%);
  }
  
  .text__left {
    transform: translate(calc(-50% - 90px), 10%);
  }
  
  .text__right {
    transform: translate(calc(-50% + 100px), 10%);
  }
  
  .left__msg {
    transform: translate(calc(-50% - 65px), -55%);
  }
  
  .right__msg {
    transform: translate(calc(-50% + 68px), -55%);
  }
  
  .container .saiba {
    transform: translate(-50%, calc(-50% + 140px));
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
  
  /* Navegação compacta para Nest Hub */
  .nav__links {
    gap: 1rem;
  }
  
  .nav__links a {
    font-size: 0.85rem;
    padding: 0.6rem 1rem;
  }
}

/* ==================== MEDIA QUERIES PARA DISPOSITIVOS MÉDIOS (Surface, Nest Hub) ==================== */
@media (min-width: 1025px) and (max-width: 1280px) {
  /* Ajustes para Surface Pro, Nest Hub Max, notebooks pequenos */
  nav {
    padding: 2rem 2.5rem;
  }
  
  nav.scrolled {
    padding: 1.2rem 2.5rem;
  }
  
  .container {
    padding-top: 150px;
  }
  
  /* Títulos para telas médias */
  .container h1 {
    font-size: 4.5rem;
  }
  
  .container span {
    font-size: 3.5rem;
  }
  
  .container h5 {
    font-size: 1.5rem;
    top: 63%;
  }
  
  /* Layout para dispositivos médios */
  .title__left {
    transform: translate(calc(-50% - 95px), -80%);
  }
  
  .title__right {
    transform: translate(calc(-50% + 95px), -80%);
  }
  
  .text__left {
    transform: translate(calc(-50% - 140px), -5%);
  }
  
  .text__right {
    transform: translate(calc(-50% + 150px), -5%);
  }
  
  .left__msg {
    transform: translate(calc(-50% - 100px), -70%);
  }
  
  .right__msg {
    transform: translate(calc(-50% + 105px), -70%);
  }
  
  .container .saiba {
    transform: translate(-50%, calc(-50% + 220px));
    padding: 1.1rem 2.2rem;
    font-size: 1.1rem;
  }
  
  /* Navegação para dispositivos médios */
  .nav__links {
    gap: 2rem;
  }
  
  .nav__links a {
    font-size: 1rem;
    padding: 0.9rem 1.5rem;
  }
}

/* ==================== MEDIA QUERIES PARA TABLETS PORTRAIT ==================== */
@media (min-width: 601px) and (max-width: 768px) and (orientation: portrait) {
  /* Ajustes específicos para tablets em portrait (iPad portrait, etc.) */
  nav {
    padding: 1.6rem 1.2rem;
  }
  
  nav.scrolled {
    padding: 0.8rem 1.2rem;
  }
  
  .container {
    padding-top: 100px;
  }
  
  /* Títulos otimizados para tablet portrait */
  .container h1 {
    font-size: 3.5rem;
  }
  
  .container span {
    font-size: 2.8rem;
  }
  
  .container h5 {
    font-size: 1.3rem;
    top: 61%;
  }
  
  /* Layout compacto para portrait */
  .title__left {
    transform: translate(calc(-50% - 70px), -80%);
  }
  
  .title__right {
    transform: translate(calc(-50% + 70px), -80%);
  }
  
  .text__left {
    transform: translate(calc(-50% - 110px), -5%);
  }
  
  .text__right {
    transform: translate(calc(-50% + 120px), -5%);
  }
  
  .left__msg {
    transform: translate(calc(-50% - 75px), -70%);
  }
  
  .right__msg {
    transform: translate(calc(-50% + 78px), -70%);
  }
  
  .container .saiba {
    transform: translate(-50%, calc(-50% + 180px));
    padding: 0.9rem 1.8rem;
    font-size: 0.95rem;
  }
  
  /* Navegação para tablet portrait */
  .nav__links {
    gap: 1.2rem;
  }
  
  .nav__links a {
    font-size: 0.9rem;
    padding: 0.7rem 1rem;
  }
}

/* ==================== MEDIA QUERIES ==================== */
@media (max-width: 768px) {
  /* Ajuste no padding da navbar para mobile */
  nav {
    padding: 2rem 1rem;
  }
  
  nav.scrolled {
    padding: 1rem 1rem;
  }
  
  /* Mostra o botão de menu mobile */
  .menu-toggle {
    display: flex;
    margin-right: 1rem;
  }
  
  /* Garante que os pontos e texto sejam visíveis */
  .menu-toggle .dot {
    background-color: var(--white);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
  }
  
  .menu-text {
    color: var(--white);
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
  }
  
  /* Esconde o menu por padrão no mobile */
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 0;
    flex-direction: column;
    background: linear-gradient(135deg, var(--primary-color), var(--text-dark));
    width: 100%;
    height: 100vh;
    text-align: center;
    transition: 0.3s;
    justify-content: center;
    align-items: center;
    z-index: 999;
  }
  
  /* Menu ativo - visível */
  .nav-menu.active {
    left: 0;
  }
  
  /* Estilização dos links no mobile */
  .nav__links {
    flex-direction: column;
    gap: 2rem;
    margin: 2rem 0;
  }
  
  .nav__links a {
    color: var(--white) !important;
    font-size: 1.2rem;
    font-weight: 600;
    padding: 1rem;
    display: block;
    border-radius: 5px;
    transition: all 0.3s ease;
  }
  
  .nav__links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
  }
  
  /* Ajustes no container para mobile */
  .container {
    padding-top: 80px;
  }
  
  .container nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  
  /* Ajustes nos títulos para mobile */
  .container h1 {
    font-size: 3.2rem;
  }
  
  .container span {
    font-size: 2.5rem;
  }
  
  .container h5 {
    font-size: 1.2rem;
    top: 60%;
  }
  
  /* Layout mobile - reorganiza os títulos */
  .title__left {
    transform: translate(calc(-50% - 65px), -60%);
  }
  
  .title__right {
    transform: translate(calc(-50% + 65px), -60%);
  }
  
  .text__left {
    transform: translate(calc(-50% - 105px), -5%);
  }
  
  .text__right {
    transform: translate(calc(-50% + 115px), -5%);
  }
  
  .left__msg {
    transform: translate(calc(-50% - 68px), -70%);
  }
  
  .right__msg {
    transform: translate(calc(-50% + 70px), -70%);
  }
  
  /* Botão alinhado com o H5 */
  .container .saiba {
    transform: translate(-50%, calc(-50% + 180px));
    padding: 0.8rem 1.5rem;
    font-size: 0.9rem;
  }
  
  /* Ajustes nas seções para mobile */
  .section {
    margin: 3rem 1rem;
    padding: 2rem 1.5rem;
    border-radius: 30px;
  }
  
  .section h2 {
    font-size: 2rem;
  }
  
  /* Ajustes no texto das sections para mobile */
  .section p {
    font-size: 1rem;
    line-height: 1.7;
    text-align: left;
    padding: 0 0.5rem;
  }
  
  .section-content {
    max-width: 100%;
  }
  
  /* Ajustes nos botões de contato para mobile */
  .contato-buttons {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 25px;
  }
  
  .whatsapp, .email {
    width: 90%;
    max-width: 300px;
    text-align: center;
    padding: 18px 25px;
    font-size: 1.1rem;
  }
  
  /* Centralização da seção de orçamento no mobile */
  #contrato .section-content {
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  /* Ajustes nos feedbacks para mobile */
  .feedbacks-container {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .feedback-card {
    padding: 1.5rem;
  }
  
  .feedback-text {
    font-size: 0.95rem;
  }
}

/* ==================== MEDIA QUERIES PARA TELAS MUITO PEQUENAS ==================== */
@media (max-width: 480px) {
  /* Títulos ainda menores para telas muito pequenas */
  .container h1 {
    font-size: 2.8rem;
  }
  
  .container span {
    font-size: 2rem;
  }
  
  .container h5 {
    font-size: 1rem;
    top: 60%;
  }
  
  /* Layout compacto para telas pequenas */
  .title__left {
    transform: translate(calc(-50% - 55px), -80%);
  }
  
  .title__right {
    transform: translate(calc(-50% + 55px), -80%);
  }
  
  .text__left {
    transform: translate(calc(-50% - 70px), -5%);
  }
  
  .text__right {
    transform: translate(calc(-50% + 80px), -5%);
  }
  
  .left__msg {
    transform: translate(calc(-50% - 50px), -70%);
  }
  
  .right__msg {
    transform: translate(calc(-50% + 55px), -70%);
  }
  
  /* Botão centralizado com H5 em telas pequenas */
  .container .saiba {
    transform: translate(-50%, calc(-50% + 140px));
    padding: 0.7rem 1.2rem;
    font-size: 0.8rem;
  }
  
  /* Container com padding reduzido mas mantendo o espaço para navbar */
  .container {
    padding: 80px 0.5rem 0 0.5rem;
  }
  
  /* Seções mais compactas */
  .section {
    margin: 2rem 0.5rem;
    padding: 1.5rem 1rem;
  }
  
  /* Força visibilidade apenas dos elementos da navbar no mobile */
  /* Os elementos principais (.title, .text, etc) ficam com visibility: hidden para a animação funcionar */
  
  /* Navbar no mobile - elementos sempre visíveis */
  .nav-logo {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
  }
  
  .menu-toggle {
    visibility: visible !important;
    opacity: 1 !important;
    transform: none !important;
    display: flex !important;
  }
}