/* --- ESTILOS GERAIS E VARIÁVEIS --- */
:root {
    --azul-escuro: #012942;
    --amarelo-destaque: #f8b800;
    --fundo-claro: #f7f5f2;
    --texto-padrao: #333;
    --branco: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

html, body {
    width: 100%;
    position: relative;
    overflow-x: hidden;
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--azul-escuro);
    background-color: var(--fundo-claro);
    font-size: 1rem; /* ✅ Base para unidades 'rem' (1rem = 16px) */
}

.container {
    width: 100%;
    max-width: 87.5rem; /* 1400px */
    margin: 0 auto;
    padding: 0 2.5rem; /* 40px */
}

/* --- ESTILOS GERAIS DE SEÇÃO E TÍTULOS --- */
section {
    padding: clamp(5rem, 10vh, 8rem) 0;
    position: relative;
    overflow: hidden; /* ✅ Mantido para segurança em seções com elementos grandes */
}

.section-title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 4rem;
}
.section-title .highlight, .highlight { color: var(--amarelo-destaque); }

/* --- HERO SECTION --- */
.hero-section {
    min-height: 100vh;
    background: url('images/fun.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    padding: 0;
}

.hero-container {
    display: grid;
    grid-template-columns: 55% 45%;
    align-items: center;
    gap: 2rem;
    height: 100vh;
}
.hero-text-wrapper {
    display: flex;
    flex-direction: column;
    z-index: 2;
    position: relative;
    bottom: 7rem;
}
.hero-logo {
  width: 100%;
  max-width: clamp(17.5rem, 25vw, 25rem);
  margin-bottom: 2rem;
  position: relative;
  right: -5rem;
  top: 3rem;
}
.hero-title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(2.5rem, 3.5vw, 4.5rem);
    line-height: 1.15;
    margin-bottom: 1.5rem;
}
.hero-description {
    font-size: clamp(1rem, 5.5vw, 1.2rem);
    max-width: 34.375rem; /* 550px */
    line-height: 1.6;
}
.hero-image-wrapper {
    position: relative;
    height: 100vh;
    align-self: end;
}
.hero-image-wrapper img {
    position: absolute;
    bottom: 0;
    left: -30%;
    width: 160%;
    max-width: 75rem;
    height: auto;
    object-fit: contain;
    object-position: bottom left;
}
/* --- HERO BUTTONS --- */
.hero-buttons-wrapper {
    display: flex;
    gap: 1rem;
    margin-top: 2.5rem;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 2rem;
    border-radius: 3.125rem; /* 50px */
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--amarelo-destaque);
    color: var(--azul-escuro);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0.25rem 0.9375rem rgba(0,0,0,0.1);
}

.btn-secondary {
    background-color: transparent;
    border-color: var(--azul-escuro);
    color: var(--azul-escuro);
}
.btn-secondary:hover {
    background-color: var(--azul-escuro);
    color: var(--branco);
}

/* --- FEEDBACKS SECTION --- */
.feedbacks-section {
    position: relative;
    color: var(--branco);
}
.feedbacks-section .section-title {
    font-size: clamp(1.5rem, 2.5vw, 2.5rem);
    margin-bottom: 7rem;
}

.feedbacks-bg-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.feedbacks-container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.marquee {
    width: 100%;
    overflow: hidden;
    cursor: grab;
    perspective: 62.5rem; /* 1000px */
    padding: 0.4375rem 0; /* 7px */
}
.marquee.active { cursor: grabbing; }
.marquee-content { display: flex; width: fit-content; }
.feedback-card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 1.25rem;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    width: clamp(20rem, 80vw, 26.25rem);
    margin: 0 1rem;
    flex-shrink: 0;
    user-select: none;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.feedback-card:hover {
    border-color: var(--amarelo-destaque);
    transform: translateY(-0.3125rem); /* -5px */
}
.card-header { display: flex; align-items: center; margin-bottom: 1rem; }
.avatar-icon { width: 3.125rem; height: 3.125rem; border-radius: 50%; background: rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; margin-right: 1rem; flex-shrink: 0; }
.avatar-icon svg { width: 1.5rem; height: 1.5rem; fill: var(--branco); }
.author-name { font-family: 'Unbounded', sans-serif; font-weight: 700; font-size: 1.1rem; }
.author-source { font-size: 0.9rem; color: #bdc7d1; }
.stars { display: flex; gap: 0.25rem; margin-bottom: 1rem; color: var(--amarelo-destaque); }
.stars svg { width: 1.375rem; height: 1.375rem; }
.feedback-card .text { font-size: 1rem; line-height: 1.6; }

/* --- TRANSFORMA SECTION --- */
.transforma-section {
    background: url('images/fundoo1.jpg') no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
}
.transforma-container { display: flex; justify-content: space-between; align-items: center; gap: 3rem; }
.transforma-content-wrapper { flex: 1 1 55%; max-width: 55%; }
.transforma-content-wrapper .section-title { text-align: left; }
.transforma-cards-wrapper { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.transforma-card {
    background: var(--branco);
    border: 1px solid #e0e0e0;
    box-shadow: 0 0.3125rem 0.9375rem rgba(0,0,0,0.05);
    padding: 2rem 1.5rem;
    border-radius: 0.9375rem;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    aspect-ratio: 1 / 1;
    min-height: 18rem;
}
.transforma-card:hover { transform: translateY(-0.5rem); background-color: var(--amarelo-destaque); }
.transforma-card:hover .card-icon {
    filter: brightness(0) invert(1);
}
.card-icon {
    width: 2.5rem;
    margin-bottom: 1.5rem;
    transition: filter 0.3s ease;
}
.card-title { font-family: 'Unbounded', sans-serif; font-size: 1.1rem; font-weight: 700; margin-bottom: 0.75rem; }
.card-description { font-size: 0.9rem; color: var(--texto-padrao); line-height: 1.5; }
.transforma-image-wrapper { flex: 1 1 40%; align-self: flex-end; margin-bottom: -8rem; }
.transforma-image-wrapper img {
    max-width: 250%;
    height: auto;
    position: relative;
    left: 10rem;
}
.cta-transforma {
  text-align: center;
  margin-top: 2.5rem;
}
.btn-transforma {
  display: inline-block;
  background-color: #f8b800;
  color: #0d2a44;
  font-weight: 700;
  font-size: 1rem;
  padding: 0.9rem 2rem;
  border-radius: 2.5rem; /* 40px */
  text-decoration: none;
  transition: background-color 0.3s ease;
}
.btn-transforma:hover {
  background-color: #e0a000;
}

/* --- BUSCA SECTION --- */
.busca-section { background-color: #f1f1f1 no-repeat center center/cover; }
.busca-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(17.5rem, 1fr));
    gap: 2rem;
}
.busca-cards-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 1.25rem;
    transition: transform 0.3s ease;
}
.busca-cards-wrapper img:hover {
    transform: scale(1.05); /* ✅ Efeito de hover mantido */
}
.busca-conclusion {
    margin-top: 5rem;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-family: 'Unbounded', sans-serif;
    font-weight: 900;
    letter-spacing: clamp(0.5rem, 2vw, 0.9375rem);
    text-align: center;
}

/* --- SEÇÃO ESTATÍSTICAS --- */
.estatisticas-section {
    background: url('images/Nutri_Corrida.jpg') no-repeat center center;
    background-size: cover;
    color: var(--branco);
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 1.25rem;
}
.estatisticas-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: nowrap;
  justify-content: space-around;
  align-items: flex-start;
  text-align: center;
  width: 100%;
  max-width: 87.5rem;
  gap: 7rem;
}
.estatistica-item {
  flex: 0 1 18.75rem; /* 300px */
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.numero {
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: clamp(4rem, 9vw, 8rem);
    line-height: 1;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
    margin-bottom: 0;
}
.titulo-estatistica {
    text-transform: uppercase;
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    margin-bottom: 0;
}
.descricao-estatistica {
    line-height: 1.6;
    font-size: clamp(1rem, 2vw, 1.1rem);
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    max-width: 21.875rem;
    margin: 0 auto;
}

/* --- COMO FUNCIONA SECTION --- */
.como-funciona-section {
  background: url('images/fundo6.jpg') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}
.uppercase-spaced { letter-spacing: 0.25rem; text-transform: uppercase; }
.imagem-conteudo {
  max-height: 70vh;
  width: auto;
  height: auto;
  max-width: 90%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
picture .imagem-conteudo {
  display: block;
  margin: 0 auto;
  max-height: 70vh;
  width: auto;
  height: auto;
  max-width: 90%;
  object-fit: contain;
}
.imagem-conteudo:hover { transform: scale(1.02); }

/* --- APRESENTAÇÃO SECTION --- */
.apresentacao-section { background: url('images/aaaa.jpg') no-repeat center center/cover; min-height: 100vh; display: flex; align-items: center; }
.apresentacao-container { display: flex; align-items: center; gap: 2rem; }
.texto-wrapper { flex: 1 1 40%; z-index: 2; }
.intro-texto { font-family: 'Montserrat', sans-serif; font-size: 1rem; font-weight: 700; margin-bottom: 1.5rem; letter-spacing: 1px; }
.main-heading { font-family: 'Unbounded', sans-serif; font-size: clamp(3rem, 7vw, 5.5rem); font-weight: 900; line-height: 1.1; }
.nome-destaque { font-family: 'Unbounded', sans-serif; font-size: clamp(3.5rem, 8.5vw, 6.5rem); font-weight: 900; line-height: 1; color: var(--amarelo-destaque); }
.colagem-wrapper { flex: 1 1 60%; }
.colagem-wrapper img {
    width: 200%;
    max-width: none;
    margin-left: -25%;
    transition: transform 0.4s ease;
}
.colagem-wrapper:hover img { transform: scale(1.02); }

/* --- SOBRE MIM SECTION --- */
.sobre-mim-section { background: url('images/16.jpg') no-repeat center center/cover; }
.sobre-mim-container { display: flex; flex-wrap: wrap; align-items: center; gap: 4rem; }
.imagem-corrida-wrapper { flex: 1 1 25rem; }
.imagem-corrida-wrapper img {
    width: 170%;
    max-width: none;
    margin-left: -60%;
}
.texto-sobre-mim-wrapper { flex: 1 1 31.25rem; }
.texto-sobre-mim-wrapper p { font-size: clamp(1rem, 1.8vw, 1.2rem); line-height: 1.7; margin-bottom: 1.5rem; }
.texto-sobre-mim-wrapper strong { font-weight: 700; }
.destaque-final { font-weight: 700; }
.logo-wrapper {
    margin-top: 2rem;
    max-width: 15.625rem;
    position: relative;
    left: 10rem;
}
.logo-wrapper img { width: 100%; }

/* --- PARCEIROS SECTION --- */
.parceiros-section { background: url('images/patro.jpg') no-repeat center center/cover; color: var(--branco); text-align: center; }
.parceiros-container { display: flex; flex-direction: column; align-items: center; gap: 5rem; }
.parceiro-intro { font-size: 1.2rem; text-transform: uppercase; letter-spacing: 2px; }
.parceiro-principal { font-family: 'Unbounded', sans-serif; font-size: clamp(2rem, 5vw, 4rem); line-height: 1.1; margin: 1rem 0; }
.parceiro-descricao { font-size: 1.2rem; max-width: 37.5rem; margin: 0 auto; opacity: 0.9; }
.parceiros-logos-wrapper {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem 4rem;
  justify-content: center;
  width: 100%;
  max-width: 62.5rem;
  margin: 0 auto;
}
.parceiros-logos-wrapper img {
  justify-self: center;
  max-width: clamp(7.5rem, 15vw, 11.25rem);
  height: auto;
  opacity: 0.75;
  transition: all 0.3s ease;
  filter: brightness(0) invert(1) grayscale(1);
}
.parceiros-logos-wrapper img:hover { opacity: 1; transform: scale(1.1); filter: none; }

/* --- FAQ SECTION --- */
.faq-section { background: url('images/textura.jpg') no-repeat center center/cover; }
.faq-container { display: flex; flex-direction: column; align-items: center; }
.faq-container .section-title, .faq-container .section-subtitle { text-align: center; }
.section-subtitle { font-size: 1.2rem; max-width: 40.625rem; margin: -3rem auto 4rem; line-height: 1.6; }
.faq-wrapper { width: 100%; max-width: 56.25rem; display: flex; flex-direction: column; gap: 1rem; }
.faq-item { background: var(--branco); border-radius: 0.9375rem; box-shadow: 0 0.25rem 0.9375rem rgba(0,0,0,0.05); overflow: hidden; }
.faq-question { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 1.5rem; background: none; border: none; text-align: left; cursor: pointer; font-size: clamp(1rem, 2vw, 1.2rem); font-weight: 700; color: var(--azul-escuro); }
.faq-icon { position: relative; width: 1.25rem; height: 1.25rem; transition: transform 0.3s ease-in-out; flex-shrink: 0; margin-left: 1rem; }
.faq-icon::before, .faq-icon::after { content: ''; position: absolute; background: var(--azul-escuro); transition: transform 0.3s ease-in-out; }
.faq-icon::before { width: 100%; height: 3px; top: 50%; transform: translateY(-50%); }
.faq-icon::after { width: 3px; height: 100%; left: 50%; transform: translateX(-50%); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s ease-in-out; }
.faq-answer p { padding: 0 1.5rem 1.5rem; font-size: 1rem; line-height: 1.7; text-align: left; color: #555; }
.faq-item.active .faq-answer { max-height: 18.75rem; }
.faq-item.active .faq-icon { transform: rotate(135deg); }

/* --- BOTÃO FLUTUANTE DO WHATSAPP --- */
.whatsapp-float-button {
    position: fixed;
    bottom: 1.5625rem; /* 25px */
    right: 1.5625rem; /* 25px */
    z-index: 1000;
    width: 5.75rem; /* 60px */
    height: 5.75rem; /* 60px */
    
   
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}
.whatsapp-float-button img {
    width: 4.1875rem; /* 35px */
    height: 4.1875rem; /* 35px */
}
.whatsapp-float-button:hover {
    transform: scale(1.1);
}

/* --- RODAPÉ --- */
.footer-section {
    background-color: var(--azul-escuro);
    color: rgba(255, 255, 255, 0.8);
    padding: 5rem 2.5rem 1.875rem; /* 80px 40px 30px */
    font-family: 'DM Sans', sans-serif;
    border-top: 5px solid var(--amarelo-destaque);
}
.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 2.5rem; /* 40px */
    max-width: 87.5rem;
    margin-bottom: 3.125rem; /* 50px */
}
.footer-column { flex: 1; min-width: 17.5rem; /* 280px */ }
.footer-brand { flex-basis: 35%; text-align: left; }
.footer-contact { flex-basis: 35%; text-align: left; }
.footer-social { flex-basis: 20%; text-align: left; }
.footer-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5625rem; /* 25px */
}
.footer-title-cta {
    font-family: 'Unbounded', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.3;
    margin-bottom: 0.5rem; /* 8px */
}
.footer-subtitle-cta { font-size: 1rem; margin-bottom: 1.25rem; /* 20px */ opacity: 0.9; }
.cta-button {
    display: inline-block;
    background-color: var(--amarelo-destaque);
    color: var(--azul-escuro);
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    padding: 0.9375rem 1.875rem; /* 15px 30px */
    border-radius: 0.5rem; /* 8px */
    text-decoration: none;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.cta-button:hover { background-color: #ffd44c; transform: translateY(-3px); }
.footer-info { display: flex; flex-direction: column; gap: 1.25rem; /* 20px */ }
.footer-info a {
    display: flex;
    align-items: flex-start;
    gap: 0.9375rem; /* 15px */
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1.05rem;
    line-height: 1.6;
    transition: color 0.3s ease;
}
.footer-info a:hover { color: var(--amarelo-destaque); }
.info-icon { margin-top: 0.3125rem; /* 5px */ color: var(--amarelo-destaque); flex-shrink: 0; }
.info-icon svg { width: 1.25rem; /* 20px */ height: 1.25rem; /* 20px */ }
.social-icons a {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem; /* 10px */
    color: #ffffff;
    opacity: 0.8;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease, transform 0.3s ease, opacity 0.3s;
}
.social-icons a:hover { color: var(--amarelo-destaque); opacity: 1; transform: translateX(5px); }
.footer-bottom-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.9375rem; /* 15px */
    text-align: center;
    width: 100%;
    padding-top: 1.875rem; /* 30px */
    margin-top: 2.5rem; /* 40px */
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}
.developer-credit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5625rem; /* 25px */
    margin-top: 0.9375rem; /* 15px */
    font-size: 1rem;
    font-style: italic;
    opacity: 0.8;
}
.developer-signature {
    height: 10.9375rem; /* 175px */
    width: auto;
    filter: brightness(0) invert(1) opacity(0.8);
    transition: filter 0.3s ease, transform 0.3s ease;
}
.developer-link:hover .developer-signature {
    filter: brightness(0) invert(1) opacity(1);
    transform: scale(1.05);
}

/* --- ESTILO PARA ESCONDER O BOTÃO DO WHATSAPP --- */
#whatsapp-float-button.hidden {
  transform: translateX(6.25rem); /* 100px */
  opacity: 0;
  pointer-events: none;
}

/* ========================================================= */
/* --- MEDIA QUERIES PARA RESPONSIVIDADE --- */
/* ========================================================= */

/* --- ✅ [CORRIGIDO] AJUSTES PARA NOTEBOOKS E TELAS GRANDES (ATÉ 1440PX) --- */
@media (max-width: 1840px) {
    /* AJUSTE NOTEBOOK: HERO */
    .hero-image-wrapper {
  position: relative;
}
    .hero-image-wrapper img {
    position: absolute;
    left: -20%;
}

.como-funciona-section .section-title {
    padding-top: 5rem; /* exemplo para notebooks */
  }

    .transforma-image-wrapper img {
        max-width: 220%;
        left: 5rem;
    }

    .apresentacao-section .colagem-wrapper img {
        width: 150%;
        margin-left: -20%;
    }

  .apresentacao-section .main-heading {
    font-size: 5rem; /* ou 2rem, ajuste conforme o visual */
    line-height: 1.2;
  }

  .apresentacao-section .nome-destaque {
    font-size: 5rem;
    line-height: 1.1;
  }

    
    /* AJUSTE NOTEBOOK: SOBRE MIM (SEÇÃO DA CORRIDA) */
    /* A mesma correção: controlamos a imagem para não empurrar o conteúdo */
    .sobre-mim-section .imagem-corrida-wrapper img {
        width: 160%;
        margin-left: -35%;
    }
}


/* --- AJUSTES PARA TABLETS E TELAS MENORES (ATÉ 1024PX) --- */
@media (max-width: 1024px) {
    .container { padding: 0 1.5rem; }

    /* ✅ HERO: Layout de coluna única, imagem de fundo mobile e imagem principal oculta */
    .hero-section {
        min-height: auto;
        padding: 8rem 0;
        background-image: url('images/fundomobil.jpg'); /* Fundo específico para mobile */
    }
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        height: auto;
        padding: 0;
    }
    .hero-text-wrapper {
        align-items: center;
        position: static;
        bottom: auto;
    }
    .hero-image-wrapper {
        display: none;
    }
    .hero-logo {
        position: static;
        margin: 0 auto 2rem auto;
    }
    .hero-buttons-wrapper {
        justify-content: center;
    }

    /* ✅ FEEDBACKS: Centraliza conteúdo do card quando ele quebra em coluna */
    .feedback-card {
        width: 85vw;
        max-width: 25rem;
        align-items: center;
        text-align: center;
    }
    .feedbacks-section {
        background-image: none; /* Remove a imagem de fundo */
        background-color: var(--azul-escuro); /* Define a cor de fundo azul */
    }
    .card-header {
        flex-direction: column;
    }
    .avatar-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }

    /* ✅ TRANSFORMA: Layout de coluna única e imagem oculta */
    .transforma-section {
        min-height: auto;
    }
    .transforma-container {
        flex-direction: column;
    }
    .transforma-content-wrapper {
        max-width: 100%;
    }
    .transforma-content-wrapper .section-title {
        text-align: center;
    }
    .transforma-image-wrapper {
        display: none;
    }

    /* ✅ APRESENTAÇÃO: Layout de coluna única e imagem ajustada */
    .apresentacao-section {
        min-height: auto;
        padding-top: 5rem;
        padding-bottom: 5rem;
    }
    .apresentacao-container {
        flex-direction: column;
        text-align: center;
    }
    .main-heading { font-size: clamp(2.2rem, 10vw, 3.2rem); }
    .nome-destaque { font-size: clamp(2.5rem, 12vw, 3.8rem); }
    .colagem-wrapper img {
        width: 100%;
        max-width: 28.125rem; /* 450px */
        margin-left: 0;
        margin-top: 3rem;
    }

    /* ✅ SOBRE MIM: Layout de coluna única, imagem ajustada e ordem dos elementos invertida */
    .sobre-mim-section {
        background-attachment: scroll;
    }
    .imagem-corrida-wrapper img {
        width: 100%;
        max-width: 28.125rem; /* 450px */
        margin-left: 0;
    }
    .sobre-mim-container {
        text-align: center;
    }
    .texto-sobre-mim-wrapper {
        order: 1;
    }
    .imagem-corrida-wrapper {
        order: 2;
    }
    .logo-wrapper {
        margin: 2rem auto 0;
        position: static;
    }

    /* ✅ ESTATÍSTICAS: Itens empilhados verticalmente */
    .estatisticas-section {
        background-attachment: scroll;
    }
    .estatisticas-container {
        flex-direction: column;
        align-items: center;
        gap: 4rem;
    }

    /* ✅ BUSCA: Reduz espaçamento entre letras para melhor leitura */
    .busca-conclusion {
        letter-spacing: clamp(0.2rem, 2vw, 0.5rem);
        font-size: clamp(1rem, 5vw, 1.5rem);
    }
}

/* --- AJUSTES PARA CELULARES (ATÉ 768PX) --- */
@media (max-width: 768px) {
    
    .hero-text-wrapper {
    padding-left: 2rem;
    padding-right: 2rem;
    text-align: center;
  }

  .hero-title {
    font-size: 0;     /* esconde só o texto original no mobile */
    line-height: 0;
    margin-bottom: 1.5rem;
  }

  .hero-title br { display: none; }

  .hero-title::after {
    content: "NUTRIÇÃO\A RAIZ QUE\A ACOMPANHA\A O SEU RITMO";
    display: block;
    white-space: pre;
    font-size: 2rem;          /* mesmo tamanho que no desktop */
    line-height: 1.3;
    text-transform: uppercase;
    font-family: inherit;     /* usa a mesma fonte do desktop */
    font-weight: inherit;     /* mantém peso */
    color: inherit;           /* mesma cor */
    text-align: center;
  }

    


    /* --- FUNDOS MOBILE OTIMIZADOS --- */
    .transforma-section,
    .como-funciona-section,
    .faq-section {
        background-image: url('images/texturamobile.webp');
        background-size: cover;
        background-position: center center;
    }
     .parceiros-section {
        background-image: none;
        background-color: var(--azul-escuro);
    }
    
    .estatisticas-section {
        background-image: url('images/fundoesta.webp');
    }
  /* ✅ APRESENTAÇÃO E SOBRE MIM: Fundos otimizados para mobile -- ADICIONE AQUI */
    .apresentacao-section {
        background-image: url('images/fundo1.webp');
    }
    .sobre-mim-section {
        background-image: url('images/fundo2.webp');
    }
    section {
        padding-bottom: 2rem;
        padding-top: 2rem;
    }
    .section-title {
        margin-bottom: 2.5rem;
    }
    

    /* ✅ TRANSFORMA CARDS: Uma coluna para melhor visualização */
    .transforma-cards-wrapper {
        grid-template-columns: 1fr;
    }
    .transforma-card {
        aspect-ratio: auto;
        min-height: auto;
        padding: 2.5rem 1.5rem;
    }

    /* ✅ COMO FUNCIONA: Altura automática e imagem ajustada */
    .como-funciona-section {
        height: auto;
        padding: 4rem 1rem;
    }
     .como-funciona-section .imagem-conteudo {
        transform: scale(1.35); 
    }
    .imagem-conteudo {
        width: 100%;
        max-width: 100%;
        height: auto;
    }

    /* ✅ PARCEIROS: Duas colunas para economizar espaço vertical */
    .parceiros-logos-wrapper {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    /* ✅ RODAPÉ: Colunas empilhadas e centralizadas */
    .footer-container {
        flex-direction: column;
        align-items: center; /* Centraliza as colunas */
        text-align: center;
    }
    .footer-column {
        width: 100%;
        min-width: auto;
        text-align: center; /* Centraliza o texto dentro da coluna */
        align-items: center;
    }
    .footer-info a {
        justify-content: center; /* Centraliza ícone e texto */
    }
    .social-icons a {
        justify-content: center;
    }
    .footer-bottom-bar {
        flex-direction: column;
        justify-content: center;
    }
    .developer-credit {
        gap: 1rem;
    }
    .developer-signature {
        height: 8rem; /* Reduz tamanho da assinatura */
    }

    .como-funciona-section .section-title {
        padding-top: 1rem; /* exemplo para notebooks */
    }

    .transforma-image-wrapper img {
        max-width: 220%;
        left: 5rem;
    }

  .apresentacao-section .main-heading {
    font-size: 2.5rem;
    line-height: 1.2;
  }

  .apresentacao-section .nome-destaque {
    font-size: 2.5rem;
    line-height: 1.1;
  }

    .sobre-mim-section .imagem-corrida-wrapper img {
        width: 160%;
        margin-left: 50%;
        transform: translateX(-50%);
        /* A linha margin-top: -8rem; foi removida */
    }
   .sobre-mim-section .imagem-corrida-wrapper img {
    margin-top: -3rem; 
} 
    .colagem-wrapper img {
    display: block;
    margin: 0 auto;
    width: 200%;
  }

   .apresentacao-container {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .apresentacao-section .colagem-wrapper img{
    width: 120%;
    display: flex;
    justify-content: center;
  }

    .apresentacao-section .colagem-wrapper img {
    width: 120%;
    max-width: 120%; 
    margin-left: 50%;
    transform: translateX(-50%);
  }

}

/* Ajustes para imagens dentro de <picture> */
picture img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ============================= */
/*  TABLET (769–1024px) — FIXES  */
/* ============================= */
@media (min-width: 769px) and (max-width: 1024px) {

  /* 1) HERO SECTION — fundo sem corte */
  .hero-section {
    background-image: url("images/fundotablet-1536x1152.jpg");
    background-repeat: no-repeat;
    background-size: contain;      /* mostra a imagem inteira */
    background-position: top center;

    width: 100%;
    aspect-ratio: 4 / 3;           /* 1536x1152 = proporção 4:3 */
  }

  
  .hero-section {
    background-image: url("images/Home.jpg");
    background-repeat: no-repeat;
    background-size: cover;        /* ocupa toda a tela */
    background-position: center top;
    min-height: 100vh;             /* força ocupar altura da tela */
  }
  -------------------------------------------------- */

  /* 2) SEÇÃO “BUSCA” — ajustar grade e alinhamento */
  .busca-section .section-title {
    text-align: center;
    margin-bottom: 2rem;
  }
  .busca-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(220px, 1fr));
    gap: 1.5rem 1.5rem;
    justify-items: center;
    align-items: stretch;
    padding: 0 1rem;
  }
  .busca-cards-wrapper img {
    width: 100%;
    max-width: 380px;
  }
  .busca-conclusion {
    margin-top: 2.5rem;
    text-align: center;
  }

  /* 3) “APRESENTAÇÃO” */
  .apresentacao-section {
    padding: 4rem 0;
    background-position: center;
  }
  .apresentacao-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  .apresentacao-section .intro-texto {
    margin-bottom: 0.5rem;
  }
  .apresentacao-section .main-heading {
    font-size: clamp(2.2rem, 6.2vw, 3.4rem);
    line-height: 1.15;
    margin-bottom: 0.25rem;
  }
  .apresentacao-section .nome-destaque {
    font-size: clamp(2.6rem, 7.2vw, 3.8rem);
    line-height: 1.05;
    margin-bottom: 1rem;
  }
  .apresentacao-section .colagem-wrapper img {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }

  /* 4) “SOBRE MIM” */
  .sobre-mim-section { background-position: center; }
  .sobre-mim-container {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
    padding: 0 1rem;
  }
  .sobre-mim-section .imagem-corrida-wrapper img {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
  }
  .texto-sobre-mim-wrapper {
    max-width: 720px;
    margin: 0 auto;
  }
  .texto-sobre-mim-wrapper p {
    font-size: 1.05rem;
    line-height: 1.75;
  }
  .logo-wrapper {
    margin: 1.5rem auto 0;
    max-width: 220px;
    position: static;
  }

}
