/* =========================================================
   Jet.com - Locação, Vendas e Manutenção de Jet Ski, Lanchas
   e Quadriciclos
   ========================================================= */

:root {
    --orange: #ff6a00;
    --orange-dark: #e05a00;
    --bg-dark: #0b0b0d;
    --bg-dark-2: #141416;
    --bg-card: #1b1b1e;
    --border: #2a2a2e;
    --text-light: #f5f5f5;
    --text-muted: #a8a8ad;
    --radius: 14px;
    --transition: all .25s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Poppins', Arial, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

img { max-width: 100%; display: block; }

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-tag {
    color: var(--orange);
    font-weight: 700;
    letter-spacing: 2px;
    font-size: 13px;
    text-transform: uppercase;
}

.section-title {
    font-size: 30px;
    font-weight: 800;
    margin: 8px 0 32px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 15px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

.btn-primary {
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff;
    box-shadow: 0 8px 24px rgba(255, 106, 0, .35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255, 106, 0, .45); }

.btn-outline {
    background: transparent;
    border-color: #3a3a3e;
    color: var(--text-light);
}
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }

.btn-block { width: 100%; justify-content: center; }

/* ================= HEADER ================= */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(11, 11, 13, .92);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 78px;
    gap: 24px;
}

.logo {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: .5px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
    transition: var(--transition);
}
.logo:hover { opacity: .9; }
.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 13px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(255,106,0,.35), inset 0 1px 0 rgba(255,255,255,.25);
    transition: var(--transition);
}
.logo:hover .logo-icon { transform: rotate(-6deg) scale(1.05); box-shadow: 0 8px 20px rgba(255,106,0,.5), inset 0 1px 0 rgba(255,255,255,.25); }
.logo-icon svg { width: 24px; height: 24px; }
.logo-text {
    font-family: 'Poppins', sans-serif;
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}
.logo-title { white-space: nowrap; }
.logo-dot { color: var(--orange); }
.logo-sub {
    font-size: 9.5px;
    font-weight: 600;
    letter-spacing: 1.6px;
    text-transform: uppercase;
    color: var(--text-muted);
    margin-top: 3px;
    white-space: nowrap;
}

.main-nav ul {
    display: flex;
    gap: 28px;
}

.main-nav a {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-muted);
    transition: var(--transition);
    position: relative;
    padding: 6px 0;
}
.main-nav a:hover,
.main-nav a.active { color: var(--orange); }

.header-phone {
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--orange);
    color: var(--orange);
    padding: 10px 18px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 14px;
    flex-shrink: 0;
    transition: var(--transition);
}
.header-phone svg { width: 16px; height: 16px; }
.header-phone:hover { background: var(--orange); color: #fff; }

.nav-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: none;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--text-light);
    cursor: pointer;
    transition: var(--transition);
}
.nav-toggle:hover { border-color: var(--orange); color: var(--orange); }
.nav-toggle svg { width: 22px; height: 22px; }

/* ================= HERO ================= */
.hero {
    position: relative;
    padding: 90px 0 110px;
    background:
        linear-gradient(120deg, rgba(11,11,13,.94) 30%, rgba(11,11,13,.55) 65%, rgba(11,11,13,.2)),
        url('../img/frota/seadoo-rxtx-preto.jpg') center/cover;
    background-attachment: scroll;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at top left, rgba(255,106,0,.12), transparent 55%);
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 1;
}

.hero-content .section-tag { display: inline-block; margin-bottom: 14px; }

.hero-content h1 {
    font-size: 52px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 18px;
}
.hero-content h1 span { color: var(--orange); }

.hero-content p {
    color: var(--text-muted);
    font-size: 17px;
    max-width: 480px;
    margin-bottom: 32px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.hero-dots {
    display: flex;
    gap: 8px;
}
.hero-dots span {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: #3a3a3e;
}
.hero-dots span.active { background: var(--orange); width: 22px; border-radius: 4px; }

.hero-media { position: relative; }
.hero-media img {
    border-radius: var(--radius);
    box-shadow: 0 30px 60px rgba(0,0,0,.5);
}
.hero-badge {
    position: absolute;
    bottom: -18px;
    left: -18px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 14px 20px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 12px 30px rgba(0,0,0,.4);
}
.hero-badge span { display: block; color: var(--orange); font-size: 20px; }

/* ================= SERVICES ================= */
.services { padding: 90px 0; }
.services-header { text-align: center; margin-bottom: 10px; }
.services-header .section-title { display: inline-block; }

.services-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 20px;
    text-align: center;
    transition: var(--transition);
}
.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--orange);
    box-shadow: 0 16px 32px rgba(255,106,0,.15);
}
.service-icon {
    width: 62px; height: 62px;
    margin: 0 auto 18px;
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    border-radius: 16px;
    color: #fff;
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.service-card p { color: var(--text-muted); font-size: 13.5px; }

/* ================= DESTAQUES (carrossel) ================= */
.destaques { padding: 40px 0 90px; }
.destaques-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 6px;
}
.carousel-wrap { position: relative; }
.carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 10px;
    scrollbar-width: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

.product-card {
    flex: 0 0 260px;
    scroll-snap-align: start;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
}
.product-card:hover { border-color: var(--orange); transform: translateY(-4px); }
.product-thumb { position: relative; height: 170px; overflow: hidden; }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }
.product-thumb.is-promo { background: #0b0b0d; }
.product-thumb.is-promo img { object-fit: contain; }
.product-tag {
    position: absolute; top: 12px; left: 12px;
    background: var(--orange);
    color: #fff; font-size: 11px; font-weight: 700;
    padding: 4px 10px; border-radius: 50px; text-transform: uppercase;
}
.product-info { padding: 16px; }
.product-info h4 { font-size: 15px; margin-bottom: 6px; }
.product-price { color: var(--orange); font-weight: 800; font-size: 17px; }

/* Grade de catálogo (página Vendas) - responsiva sem depender de media queries fixas */
.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
}
.catalog-grid .product-card { width: 100%; }
.catalog-grid .product-thumb { height: 190px; }

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 42px; height: 42px;
    border-radius: 50%;
    background: var(--orange);
    color: #fff;
    border: none;
    font-size: 18px;
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 5;
    box-shadow: 0 8px 20px rgba(255,106,0,.4);
}
.carousel-btn svg { width: 20px; height: 20px; }
.carousel-btn.prev { left: -20px; }
.carousel-btn.next { right: -20px; }

/* ================= DEPOIMENTOS ================= */
.testimonials { padding: 40px 0 90px; }
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 26px;
}
.stars { color: var(--orange); margin-bottom: 14px; display: flex; gap: 3px; }
.stars svg { width: 15px; height: 15px; }
.testimonial-card p.quote {
    color: var(--text-muted); font-size: 14.5px; margin-bottom: 18px;
    display: flex; gap: 8px; align-items: flex-start;
}
.testimonial-card p.quote svg { color: var(--orange); flex-shrink: 0; margin-top: 2px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.author-avatar {
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    display: flex; align-items: center; justify-content: center;
    font-weight: 700;
}
.author-name { font-weight: 700; font-size: 14px; }
.author-role { color: var(--text-muted); font-size: 12.5px; }

/* ================= CTA ================= */
.cta {
    padding: 70px 0;
    background: linear-gradient(120deg, var(--orange), var(--orange-dark));
    text-align: center;
}
.cta h2 { font-size: 30px; font-weight: 800; margin-bottom: 12px; }
.cta p { max-width: 560px; margin: 0 auto 26px; color: rgba(255,255,255,.9); }
.cta .btn-outline { border-color: #fff; color: #fff; }
.cta .btn-outline:hover { background: #fff; color: var(--orange-dark); }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.cta .btn-primary { background: #0b0b0d; box-shadow: none; }

/* ================= PAGE HEADER (páginas internas) ================= */
.page-hero {
    padding: 60px 0;
    text-align: center;
    background: linear-gradient(180deg, rgba(255,106,0,.08), transparent);
    border-bottom: 1px solid var(--border);
}
.page-hero h1 { font-size: 38px; font-weight: 800; margin-top: 8px; }
.page-hero p { color: var(--text-muted); max-width: 600px; margin: 14px auto 0; }
.breadcrumb { color: var(--text-muted); font-size: 13px; margin-top: 10px; }
.breadcrumb a { color: var(--orange); }

.content-section { padding: 70px 0; }
.location-section { padding: 20px 0 90px; }
.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}
.two-col img { border-radius: var(--radius); width: 100%; max-height: 460px; object-fit: cover; box-shadow: 0 20px 40px rgba(0,0,0,.3); }
.check-list li {
    display: flex; align-items: flex-start; gap: 10px;
    margin-bottom: 12px; color: var(--text-muted); font-size: 15px;
}
.check-list li::before { content: "✔"; color: var(--orange); font-weight: 700; }

.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}
.info-card h3 { margin-bottom: 10px; }
.info-card p { color: var(--text-muted); font-size: 14.5px; }

table.price-table { width: 100%; border-collapse: collapse; margin-top: 20px; }
table.price-table th, table.price-table td {
    padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--border);
}
table.price-table th { color: var(--orange); font-size: 14px; text-transform: uppercase; letter-spacing: .5px; }
table.price-table td { color: var(--text-muted); font-size: 14.5px; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}
.contact-info-item {
    display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px;
}
.contact-info-item .icon {
    width: 46px; height: 46px; border-radius: 12px;
    background: linear-gradient(135deg, var(--orange), var(--orange-dark));
    display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0;
}
.form-control {
    width: 100%;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 14px 16px;
    color: var(--text-light);
    font-family: inherit;
    font-size: 14.5px;
    margin-bottom: 16px;
}
.form-control:focus { outline: none; border-color: var(--orange); }
textarea.form-control { resize: vertical; min-height: 120px; }
.map-embed { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); margin-top: 30px; }
.map-embed iframe { width: 100%; height: 320px; border: 0; display: block; }

.location-media { display: flex; flex-direction: column; gap: 20px; }
.location-media .map-embed { margin-top: 0; }
.location-photo {
    width: 100%;
    height: 260px;
    object-fit: cover;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    box-shadow: 0 20px 40px rgba(0,0,0,.35);
}

/* ================= FOOTER ================= */
.site-footer {
    background: var(--bg-dark-2);
    border-top: 1px solid var(--border);
    padding-top: 60px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 32px;
    padding-bottom: 40px;
}
.footer-brand p { color: var(--text-muted); font-size: 14px; margin-top: 14px; }
.footer-col h4 { font-size: 15px; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: var(--text-muted); font-size: 14px; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--orange); }
.footer-contact li {
    color: var(--text-muted); font-size: 14px; margin-bottom: 12px;
    display: flex; align-items: center; gap: 10px;
}
.footer-contact li svg { color: var(--orange); flex-shrink: 0; }
.social-links { display: flex; gap: 12px; }
.social-links a {
    width: 38px; height: 38px; border-radius: 50%;
    background: var(--bg-card); border: 1px solid var(--border);
    display: flex; align-items: center; justify-content: center;
    transition: var(--transition);
}
.social-links a svg { width: 18px; height: 18px; }
.social-links a:hover { background: var(--orange); border-color: var(--orange); }
.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 20px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
}

/* ================= WHATSAPP FLOAT ================= */
.whatsapp-float {
    position: fixed;
    bottom: 90px;
    right: 22px;
    width: 58px; height: 58px;
    background: #25D366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    box-shadow: 0 10px 24px rgba(0,0,0,.4);
    z-index: 999;
    transition: var(--transition);
}
.whatsapp-float svg { width: 30px; height: 30px; }
.whatsapp-float:hover { transform: scale(1.08); }

/* ================= MOBILE BOTTOM NAV ================= */
.mobile-tabbar {
    display: none;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(20,20,22,.97);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border);
    z-index: 1000;
    padding: 8px 0 6px;
}
.mobile-tabbar ul {
    display: flex;
    justify-content: space-around;
}
.mobile-tabbar a {
    display: flex; flex-direction: column; align-items: center; gap: 4px;
    font-size: 11px; color: var(--text-muted); font-weight: 600;
}
.mobile-tabbar a .icon svg { width: 19px; height: 19px; }
.mobile-tabbar a.active { color: var(--orange); }

/* =========================================================
   RESPONSIVE
   ========================================================= */

/* Menu principal vira "hambúrguer" em telas de tablet/notebook menor
   para nunca cortar itens do menu (evita overlap em iPads e afins). */
@media (max-width: 1180px) {
    .main-nav { display: none; }
    .header-phone { display: none; }
    .nav-toggle { display: flex; }

    .main-nav.open {
        display: block;
        position: absolute;
        top: 78px; left: 0; right: 0;
        background: var(--bg-dark-2);
        border-bottom: 1px solid var(--border);
        padding: 10px 0;
        max-height: calc(100vh - 78px);
        overflow-y: auto;
    }
    .main-nav.open ul { flex-direction: column; gap: 0; }
    .main-nav.open ul li a { display: block; padding: 14px 24px; }
}

@media (max-width: 992px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; }
    .hero-content p { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-media { max-width: 420px; margin: 0 auto; }
    .services-grid { grid-template-columns: repeat(3, 1fr); }
    .testimonials-grid { grid-template-columns: 1fr; }
    .two-col { grid-template-columns: 1fr; }
    .cards-grid { grid-template-columns: 1fr 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .hero { padding: 40px 0 70px; }
    .hero-content h1 { font-size: 34px; }
    .hero-badge { display: none; }

    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .cards-grid { grid-template-columns: 1fr; }
    .catalog-grid { grid-template-columns: 1fr; gap: 18px; }
    .two-col img, .location-photo { max-height: 240px; }

    .site-footer { padding-bottom: 90px; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .social-links { justify-content: center; }
    .contact-info-item { text-align: left; }

    .mobile-tabbar { display: block; }
    .whatsapp-float { bottom: 96px; }

    .carousel-btn { display: none; }
    .product-card { flex: 0 0 220px; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 28px; }
    .section-title { font-size: 24px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .service-card { padding: 22px 12px; }
    .logo { font-size: 19px; gap: 9px; }
    .logo-icon { width: 38px; height: 38px; border-radius: 11px; }
    .logo-icon svg { width: 20px; height: 20px; }
}

/* Esconde a tagline da logo em telas menores para não apertar o header */
@media (max-width: 600px) {
    .logo-sub { display: none; }
}

/* Suporte a "notch"/área segura em iPhones (barra inferior e botão do WhatsApp) */
@supports (padding: max(0px)) {
    .mobile-tabbar { padding-bottom: max(6px, env(safe-area-inset-bottom)); }
    .whatsapp-float { bottom: max(96px, calc(96px + env(safe-area-inset-bottom))); }
}

/* Evita zoom automático em inputs no iOS Safari (mínimo 16px) */
@media (max-width: 768px) {
    .form-control { font-size: 16px; }
}
