/* 
  ARQUIVO: style.css (DEFINITIVO)
  Agência Rota 79 Aracaju 
  Cores: azul claro (#6ec8e0) · laranja (#f39200) · branco (#ffffff)
  Proteção total contra corte de textos
*/

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Roboto, system-ui, -apple-system, sans-serif;
    /* Proteção universal contra corte */
    overflow-wrap: break-word;
    word-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
}

body {
    background-color: #f4f9fc;
    color: #1e2d3a;
    line-height: 1.5;
    width: 100%;
    overflow-x: hidden;
}

/* CORES PRINCIPAIS */
:root {
    --azul-claro: #6ec8e0;
    --laranja: #f39200;
    --branco: #ffffff;
    --azul-escuro: #2b5f7a;
    --cinza-bg: #f0f7fa;
}

.bg-azul { background-color: var(--azul-claro); }
.bg-laranja { background-color: var(--laranja); }
.text-azul { color: var(--azul-claro); }
.text-laranja { color: var(--laranja); }

.btn-laranja {
    background-color: var(--laranja);
    color: white;
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: 40px;
    font-weight: 600;
    transition: all 0.2s;
    display: inline-block;
    text-decoration: none;
    max-width: 100%;
    text-align: center;
}

.btn-laranja:hover {
    background-color: #da8100;
    transform: scale(1.02);
    box-shadow: 0 5px 15px rgba(243,146,0,0.3);
}

.btn-outline-azul {
    background: transparent;
    border: 2px solid var(--azul-claro);
    color: var(--azul-claro);
    padding: 0.6rem 1.5rem;
    border-radius: 40px;
    font-weight: 600;
    transition: 0.2s;
    max-width: 100%;
    text-align: center;
}

.btn-outline-azul:hover {
    background: var(--azul-claro);
    color: white;
}

/* HEADER - CORRIGIDO SEM CORTE */
header {
    background: var(--branco);
    box-shadow: 0 4px 15px rgba(0,40,60,0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

.header-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
}

/* LOGO - COM IMAGEM */
.logo-area {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 auto;
    max-width: 100%;
}

.logo-img {
    width: 60px; /* Ajuste conforme o tamanho da sua logo */
    height: 60px; /* Ajuste conforme o tamanho da sua logo */
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-img img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Mantém a proporção da imagem */
}

.logo-text {
    display: flex;
    flex-direction: column;
    max-width: 100%;
}

.logo-text h1 {
    font-size: 1.5rem;
    line-height: 1.2;
    color: var(--azul-escuro);
    margin: 0;
    width: 100%;
}

.logo-text span {
    color: var(--azul-escuro);
    font-weight:900;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
    width: 100%;
}

.menu-hamburger {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    color: var(--azul-claro);
    cursor: pointer;
    padding: 0 0.5rem;
    flex-shrink: 0;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    font-weight: 600;
    color: #1e3b4c;
    transition: 0.2s;
    font-size: 1rem;
    white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--laranja);
}

.nav-links .social-small {
    display: none;
}

/* HERO SLIDER */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 85vh;
    max-height: 700px;
    background-color: #2b5f7a;
    width: 100%;
}

.slides-container {
     max-width: 1300px;
    margin: 0 auto;
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.slide.active {
    opacity: 1;
    z-index: 10;
}

.slide .overlay {
    background: rgba(0, 0, 0, 0.4);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
}

.slide h3 {
    color: white;
    font-size: clamp(2rem, 8vw, 4rem);
    font-weight: 800;
    text-shadow: 2px 2px 12px rgba(0,0,0,0.5);
    margin-bottom: 0.5rem;
    max-width: 100%;
}

.slide p {
    color: white;
    font-size: clamp(1rem, 4vw, 1.3rem);
    background: rgba(243,146,0,0.8);
    padding: 0.5rem 1.5rem;
    border-radius: 60px;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    max-width: 90%;
}

.hero .btn-laranja {
    margin-top: 1.5rem;
    font-size: clamp(1rem, 4vw, 1.2rem);
    padding: 0.8rem 2rem;
    max-width: 90%;
}

/* SEÇÕES GLOBAIS */
section {
    padding: 4rem 1rem;
    max-width: 1300px;
    margin: 0 auto;
    width: 100%;
}

.section-title {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    color: var(--azul-escuro);
    border-left: 8px solid var(--laranja);
    padding-left: 1rem;
    margin-bottom: 2.5rem;
    width: 100%;
}

.section-title span {
    color: var(--laranja);
}

/* PASSEIOS (cards) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.card {
    background: var(--branco);
    border-radius: 32px 32px 24px 24px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
    transition: 0.2s;
    border: 1px solid rgba(110,200,224,0.2);
    width: 100%;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(243,146,0,0.15);
}

.card-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #cbe5ed;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding: 0.8rem;
    width: 100%;
}

.card-tag {
    background: var(--laranja);
    color: white;
    font-weight: 700;
    padding: 0.2rem 1rem;
    border-radius: 30px;
    font-size: 0.8rem;
    text-transform: uppercase;
    max-width: 100%;
}

.card-content {
    padding: 1.5rem 1.2rem 1.2rem;
    width: 100%;
}

.card-content h3 {
    font-size: clamp(1.2rem, 4vw, 1.5rem);
    margin-bottom: 0.5rem;
    color: var(--azul-escuro);
    width: 100%;
}

.card-type {
    display: flex;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #4a6c7c;
    margin: 0.8rem 0;
    flex-wrap: wrap;
    width: 100%;
}

.card-type span {
    background: #ecf7fb;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    white-space: normal;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 1rem;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
}

.whatsapp-mini {
    background: #25d366;
    padding: 0.4rem 0.8rem;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: normal;
}

/* PROMOÇÃO */
.promo-banner {
    background: linear-gradient(135deg, var(--azul-claro), #4da1b9);
   
    padding: 5rem 1.5rem;
    color: white;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    background-image: url('img/promocao.jpg');
    background-blend-mode: overlay;
    background-size: cover;
    gap: 1.5rem;
    width: 100%;


   
}

/* PROMOÇÃO - CORRIGIDO (elementos na parte inferior) */
.promo-banner {
    background: linear-gradient(135deg, var(--azul-claro), #4da1b9);
    border-radius: 60px 20px 60px 20px;
    padding: 2rem 1.5rem;
    color: white;
    display: flex;
    flex-direction: column; /* Muda para coluna */
    align-items: flex-start; /* Alinha à esquerda */
    justify-content: flex-end; /* ELEMENTOS NA PARTE INFERIOR */
    background-image: url('img/promocao.jpg');
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
    gap: 1rem;
    width: 100%;
    min-height: 300px; /* Altura mínima para a imagem aparecer */
    position: relative;
}

.promo-banner h2 {
    font-size: clamp(1.5rem, 5vw, 2.2rem);
    font-weight: 700;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5); /* Melhor legibilidade */
    max-width: 100%;
}

.promo-banner .btn-laranja {
    background: white;
    color: var(--laranja);
    font-size: clamp(1rem, 4vw, 1.3rem);
    white-space: normal;
    align-self: flex-start; /* Alinha o botão à esquerda */
    margin-top: 0.5rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* Versão para mobile */
@media (max-width: 768px) {
    .promo-banner {
        min-height: 250px;
        padding: 1.5rem;
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    .promo-banner {
        min-height: 200px;
        border-radius: 40px 15px 40px 15px;
    }
}

/* SOBRE */
.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
    width: 100%;
}

.sobre-img {
    background: url('img/sobre.jpg') center/cover no-repeat;
    background-color: #bed9e5;
    min-height: 250px;
    height: 100%;
    border-radius: 40px 120px 40px 40px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
    width: 100%;
}

.sobre-texto {
    width: 100%;
}

.sobre-texto p {
    margin: 1.5rem 0;
    font-size: clamp(1rem, 3vw, 1.1rem);
    width: 100%;
}

.credenciados {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    width: 100%;
}

.credenciados span {
    background: var(--azul-claro);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 40px;
    font-weight: 600;
    white-space: normal;
    text-align: center;
}

/* CONTATO / RODAPÉ */
.contato-info {
    background: var(--branco);
    border-radius: 60px 60px 20px 20px;
    padding: 2rem 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    width: 100%;
}

.info-flex {
    background: rgb(211, 242, 245);
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: space-around;
    text-align: center;
    border-radius: 40px;
    padding: 1.5rem;
    min-width: 260px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-bottom: 5px solid var(--azul-claro);
    transition: all 0.3s ease;
    width: 100%;
}

.info-item {
    flex: 1 1 200px;
    min-width: 150px;
}

.info-item a {
    color: var(--azul-escuro);
    text-decoration: none;
    font-weight: 600;
    word-break: break-all;
}

.footer-copy {
    background: var(--azul-claro);
    color: white;
    text-align: center;
    padding: 1.5rem 1rem;
    width: 100%;
}

/* WHATSAPP FLOAT */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
    z-index: 999;
    transition: 0.2s;
    
}

.whatsapp-float img {
    width: 35px;
    height: 35px;
    filter: brightness(0) invert(1);
    
}

/* IMAGENS DE FUNDO (placeholders) */
.slide1 { background-image: url('img/banner1.jpg'); background-color: #1a4b61; }
.slide2 { background-image: url('img/banner2.jpg'); background-color: #3d6c7a; }
.slide3 { background-image: url('img/banner3.jpg'); background-color: #568e9c; }
.card-img.rota1 { background-image: url('img/rota1.jpg'); }
.card-img.rota2 { background-image: url('img/rota2.jpg'); }
.card-img.rota3 { background-image: url('img/rota3.jpg'); }
.card-img.rota4 { background-image: url('img/rota4.jpg'); }
.card-img.rota5 { background-image: url('img/rota5.jpg'); }
.card-img.rota6 { background-image: url('img/rota6.jpg'); } /* ADICIONADO */
.card-img.rota7 { background-image: url('img/rota7.png'); } /* ADICIONADO */
.card-img.rota8 { background-image: url('img/rota8.jpg'); } /* ADICIONADO */

/* ===== NOVAS SEÇÕES ===== */

/* AVALIAÇÕES */
.avaliacoes-section {
    background-color: var(--branco);
    border-radius: 60px 60px 0 0;
    width: 100%;
}

.avaliacoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
}

.avaliacao-card {
    background: linear-gradient(145deg, #ffffff, #f5fbfe);
    padding: 1.5rem;
    border-radius: 40px 40px 40px 0;
    box-shadow: 0 10px 30px rgba(110, 200, 224, 0.15);
    border: 1px solid rgba(243, 146, 0, 0.1);
    transition: all 0.3s ease;
    width: 100%;
}

.avaliacao-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(243, 146, 0, 0.2);
}

.estrelas {
    color: var(--laranja);
    font-size: 1.3rem;
    letter-spacing: 4px;
    margin-bottom: 1rem;
}

.avaliacao-card h3 {
    color: var(--azul-escuro);
    font-size: clamp(1.1rem, 4vw, 1.3rem);
    margin-bottom: 0.8rem;
    font-weight: 700;
    width: 100%;
}

.avaliacao-card .comentario {
    color: #4a5f6b;
    font-style: italic;
    line-height: 1.6;
    font-size: 0.95rem;
    width: 100%;
}

/* INFORMAÇÕES */
.info-section {
    background-color: #ecf7fb;
    border-radius: 0 0 60px 60px;
    width: 100%;
    
}

.info-cards-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 2rem;
    width: 100%;
}

.info-card {
    background: rgb(241, 234, 237);
    border-radius: 40px;
    padding: 1.5rem;
    flex: 1 1 calc(50% - 1.5rem);
    min-width: 260px;
    box-shadow: 0 15px 30px rgba(0,0,0,0.05);
    border-bottom: 5px solid var(--azul-claro);
    transition: all 0.3s ease;
    width: 100%;
}

.info-card:hover {
    border-bottom-color: var(--laranja);
    transform: translateY(-3px);
}

.info-card.full-width {
    flex: 1 1 100%;
}

.info-card h3 {
    color: var(--azul-escuro);
    font-size: clamp(1.2rem, 4vw, 1.4rem);
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    width: 100%;
}

.info-card .icon {
    font-size: 1.8rem;
}

.info-list {
    list-style: none;
    padding: 0;
    width: 100%;
}

.info-list li {
    padding: 0.8rem 0;
    border-bottom: 1px dashed #d0e5ed;
    font-size: 0.95rem;
    color: #2b4b5c;
    width: 100%;
}

.info-list li:last-child {
    border-bottom: none;
}

.info-list li strong {
    color: var(--laranja);
    font-weight: 700;
}

.pagamento-lista {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    width: 100%;
}

.pagamento-lista li {
    background: var(--azul-claro);
    color: white !important;
    padding: 0.4rem 1rem !important;
    border-radius: 40px;
    border: none !important;
    font-weight: 600;
    font-size: 0.9rem;
    list-style: none;
    white-space: normal;
    text-align: center;
}

.pagamento-lista li:nth-child(2) { background: #32bcad; }
.pagamento-lista li:nth-child(3) { background: #4361ee; }
.pagamento-lista li:nth-child(4) { background: #f72585; }
.pagamento-lista li:nth-child(5) { background: #4cc9f0; }

/* MOBILE - Todos os ajustes para não cortar textos */
@media (max-width: 900px) {
    .menu-hamburger {
        display: block;
    }
    
    .nav-links {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem 0 0.5rem;
    }
    
    .nav-links.show {
        display: flex;
    }
    
    .nav-links a {
        white-space: normal;
        text-align: center;
        width: 100%;
        padding: 0.3rem 0;
    }
    
    .nav-links .social-small {
        display: flex;
        gap: 1rem;
        margin-top: 0.5rem;
        justify-content: center;
        width: 100%;
    }
    
    .sobre-grid {
        grid-template-columns: 1fr;
    }
    
    .promo-banner {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .logo-text h1 {
        font-size: 1.2rem;
    }
    
    .info-card {
        flex: 1 1 100%;
    }
    
    .avaliacoes-grid {
        grid-template-columns: 1fr;
    }
    
    .pagamento-lista {
        justify-content: center;
    }
    
    .credenciados {
        justify-content: center;
    }
    
    .credenciados span {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 3rem 0.8rem;
    }
    
    .logo-text h1 { 
        font-size: 1rem; 
    }
    
    .logo-text span {
        font-size: 0.75rem;
    }
    
    .logo-icon {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }
    
    .hero .btn-laranja { 
        font-size: 0.9rem;
        padding: 0.7rem 1.2rem;
    }
    
    .info-card {
        padding: 1.2rem;
    }
    
    .info-card h3 {
        font-size: 1.1rem;
    }
    
    .avaliacao-card {
        padding: 1.2rem;
    }
    
    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 15px;
        right: 15px;
    }
    
    .whatsapp-float img {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 360px) {
    .logo-text h1 { 
        font-size: 0.9rem; 
    }
    
    .logo-text span {
        font-size: 0.7rem;
    }
    
    .logo-icon {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }
    
    .menu-hamburger {
        font-size: 1.8rem;
    }
}

/* ===== CARROSSEL DE AVALIAÇÕES - LOOP INFINITO PERFEITO ===== */
.avaliacoes-section {
    background-color: var(--branco);
    border-radius: 60px 60px 0 0;
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 4rem 1rem 5rem 1rem;
}

.carrossel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 1rem 0 2rem 0;
}

.carrossel-track {
    display: flex;
    gap: 2rem;
    animation: scrollInfinito 40s linear infinite;
    width: max-content;
    padding: 0 1rem;
    will-change: transform;
}

/* Pausa a animação ao passar o mouse ou tocar */
.carrossel-container:hover .carrossel-track,
.carrossel-container:active .carrossel-track {
    animation-play-state: paused;
}

.avaliacao-card {
    background: linear-gradient(145deg, #ffffff, #f5fbfe);
    padding: 2rem 1.5rem;
    border-radius: 40px 40px 40px 0;
    box-shadow: 0 10px 30px rgba(110, 200, 224, 0.15);
    border: 1px solid rgba(243, 146, 0, 0.1);
    transition: transform 0.3s ease;
    width: 320px;
    min-width: 280px;
    max-width: 350px;
    flex-shrink: 0;
}

.avaliacao-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 15px 40px rgba(243, 146, 0, 0.2);
}

.estrelas {
    color: var(--laranja);
    font-size: 1.5rem;
    letter-spacing: 4px;
    margin-bottom: 1rem;
}

.avaliacao-card h3 {
    color: var(--azul-escuro);
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    width: 100%;
}

.avaliacao-card .comentario {
    color: #4a5f6b;
    font-style: italic;
    line-height: 1.6;
    font-size: 1rem;
    width: 100%;
}

/* Animação de scroll infinito - calculada dinamicamente */
@keyframes scrollInfinito {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Move exatamente metade da largura total (porque temos 8 cards com clone) */
        transform: translateX(calc(-320px * 4 - 2rem * 4));
    }
}

/* Esconde controles que não serão usados */
.carrossel-controles,
.carrossel-indicadores {
    display: none;
}

/* Versão para mobile */
@media (max-width: 768px) {
    .avaliacao-card {
        width: 280px;
        min-width: 250px;
        padding: 1.5rem;
    }
    
    .estrelas {
        font-size: 1.2rem;
        letter-spacing: 3px;
    }
    
    .avaliacao-card h3 {
        font-size: 1.1rem;
    }
    
    .avaliacao-card .comentario {
        font-size: 0.9rem;
    }
    
    @keyframes scrollInfinito {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-250px * 4 - 2rem * 4));
        }
    }
}

@media (max-width: 480px) {
    .avaliacao-card {
        width: 240px;
        min-width: 220px;
        padding: 1.2rem;
    }
    
    .estrelas {
        font-size: 1.1rem;
    }
    
    .avaliacao-card h3 {
        font-size: 1rem;
    }
    
    @keyframes scrollInfinito {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-220px * 4 - 2rem * 4));
        }
    }
}