/**
 * GoToo MassPages — Componentes Modulares v3.0
 * CSS adicional para os novos blocos:
 *   Trust Bar, Steps List, Use Cases Grid,
 *   Compare Grid, Guarantee Banner, Wide CTA
 *
 * Complementa masspages.css existente — sem duplicar regras base.
 */

/* ═══════════════════════════════════════════════════════════════════════
 * TRUST BAR
 * ═══════════════════════════════════════════════════════════════════════ */

/* Trust bar — especificidade reforçada para vencer tema */
div.gtrt-trust-bar {
    background: #1a1a2e !important;
    background-color: #1a1a2e !important;
    border-top: none !important;
    border-bottom: 1px solid rgba(201, 162, 39, 0.2) !important;
    padding: 12px 0 !important;
    margin: 0 !important;
    width: 100% !important;
    display: block !important;
}

div.gtrt-trust-bar .gtrt-trust-bar__list {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px 24px !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    align-items: center !important;
    justify-content: center !important;
}

div.gtrt-trust-bar .gtrt-trust-bar__item {
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    font-size: .82rem !important;
    color: #d1d5db !important;
    white-space: nowrap !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
}

div.gtrt-trust-bar .gtrt-trust-bar__icon {
    color: #c9a227 !important;
    font-size: .9rem !important;
    display: inline !important;
}

div.gtrt-trust-bar .gtrt-trust-bar__text {
    color: #d1d5db !important;
    display: inline !important;
}

div.gtrt-trust-bar .gtrt-trust-bar__text strong {
    color: #ffffff !important;
    font-weight: 700 !important;
}

@media (max-width: 640px) {
    div.gtrt-trust-bar .gtrt-trust-bar__list {
        justify-content: flex-start !important;
        gap: 6px 16px !important;
    }
    div.gtrt-trust-bar .gtrt-trust-bar__item {
        font-size: .78rem !important;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
 * STEPS LIST (how it works, itinerary)
 * ═══════════════════════════════════════════════════════════════════════ */

.gtrt-steps-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 720px;
    margin-inline: auto;
}

.gtrt-step {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.gtrt-step__num {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #c9a227;
    color: #1a1a2e;
    font-weight: 700;
    font-size: .95rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gtrt-step__title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 4px;
}

.gtrt-step__desc {
    font-size: .9rem;
    color: #4b5563;
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
 * USE CASES GRID (chauffeur, tour)
 * ═══════════════════════════════════════════════════════════════════════ */

.gtrt-use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.gtrt-use-case {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    transition: box-shadow .2s, transform .2s;
}

.gtrt-use-case:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    transform: translateY(-2px);
}

.gtrt-use-case__icon {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.gtrt-use-case__title {
    font-size: .95rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 6px;
}

.gtrt-use-case__desc {
    font-size: .83rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.5;
}

/* ═══════════════════════════════════════════════════════════════════════
 * COMPARE GRID (route vs public transport)
 * ═══════════════════════════════════════════════════════════════════════ */

.gtrt-compare-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 24px;
    align-items: start;
}

.gtrt-compare-col h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 12px;
    padding-bottom: 8px;
    border-bottom: 2px solid #e5e7eb;
}

.gtrt-compare-col--private h3 {
    border-color: #c9a227;
    color: #c9a227;
}

.gtrt-checklist--muted .gtrt-checklist__icon {
    color: #9ca3af;
}

.gtrt-checklist__icon--minus {
    color: #ef4444 !important;
}

/* ═══════════════════════════════════════════════════════════════════════
 * GUARANTEE BANNER
 * ═══════════════════════════════════════════════════════════════════════ */

.gtrt-guarantee-banner {
    background: linear-gradient(135deg, #1a3a5c, #0f2a45);
    padding: 20px 0;
}

.gtrt-guarantee-banner .gotoo-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

.gtrt-guarantee-banner__icon {
    font-size: 2rem;
    flex-shrink: 0;
}

.gtrt-guarantee-banner__text {
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .gtrt-guarantee-banner .gotoo-container {
        flex-direction: column;
        text-align: center;
    }
}

/* ═══════════════════════════════════════════════════════════════════════
 * AIRPORT TERMINAL INFO
 * ═══════════════════════════════════════════════════════════════════════ */

.gtrt-airport-terminal-info {
    background: #f0f4ff;
    border-left: 4px solid #3b82f6;
    border-radius: 4px;
    padding: 12px 16px;
    margin-top: 20px;
    font-size: .9rem;
    color: #1e40af;
}

.gtrt-airport-terminal-info p {
    margin: 0;
}

/* ═══════════════════════════════════════════════════════════════════════
 * PACKAGES GRID
 * ═══════════════════════════════════════════════════════════════════════ */

.gtrt-packages-section .gtrt-pricing-cards__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

/* ═══════════════════════════════════════════════════════════════════════
 * WIDE CTA
 * ═══════════════════════════════════════════════════════════════════════ */

.gtrt-wide-cta {
    background: linear-gradient(135deg, #1a1a2e 0%, #2d1b69 100%);
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 60px 0;
    text-align: center;
}

.gtrt-wide-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(15, 15, 30, .75);
}

.gtrt-wide-cta .gotoo-container {
    position: relative;
    z-index: 1;
}

.gtrt-wide-cta__title {
    color: #fff;
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 800;
    margin: 0 0 12px;
}

.gtrt-wide-cta__sub {
    color: rgba(255,255,255,.8);
    font-size: 1rem;
    margin: 0 0 28px;
}

/* ═══════════════════════════════════════════════════════════════════════
 * RELATED ROUTES GRID
 * ═══════════════════════════════════════════════════════════════════════ */

.gotoo-routes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.gotoo-route-card {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 14px 16px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    text-decoration: none;
    transition: box-shadow .2s, border-color .2s;
}

.gotoo-route-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,.08);
    border-color: #c9a227;
}

.gotoo-route-card__route {
    font-size: .9rem;
    font-weight: 700;
    color: #1a1a2e;
}

.gotoo-route-card__price {
    font-size: .8rem;
    color: #c9a227;
    font-weight: 600;
}

/* ═══════════════════════════════════════════════════════════════════════
 * PAGE TYPE MODIFIER CLASSES
 * Ajustes visuais específicos por tipo de página
 * ═══════════════════════════════════════════════════════════════════════ */

/* Airport transfer — acentos em azul */
.gotoo-mp--airport-transfer .gtrt-route-info__kpi-value { color: #2563eb; }
.gotoo-mp--airport-transfer .gtrt-wide-cta { background: linear-gradient(135deg, #0f172a, #1e3a8a); }

/* Shore tour — acentos em verde água */
.gotoo-mp--shore-tour .gtrt-route-info__kpi-value { color: #0891b2; }
.gotoo-mp--shore-tour .gtrt-wide-cta { background: linear-gradient(135deg, #0c4a6e, #0891b2); }

/* Driver per hour — acentos em roxo */
.gotoo-mp--driver-per-hour .gtrt-route-info__kpi-value { color: #7c3aed; }
.gotoo-mp--driver-per-hour .gtrt-wide-cta { background: linear-gradient(135deg, #2e1065, #7c3aed); }

/* Private tour — acentos em verde */
.gotoo-mp--private-tour .gtrt-route-info__kpi-value { color: #059669; }
.gotoo-mp--private-tour .gtrt-wide-cta { background: linear-gradient(135deg, #064e3b, #059669); }

/* ═══════════════════════════════════════════════════════════════════════
 * RESPONSIVE
 * ═══════════════════════════════════════════════════════════════════════ */

@media (max-width: 768px) {
    .gtrt-use-cases-grid {
        grid-template-columns: 1fr 1fr;
    }
    .gtrt-compare-grid {
        grid-template-columns: 1fr;
    }
    .gtrt-steps-list {
        gap: 16px;
    }
    .gtrt-step__num {
        width: 32px;
        height: 32px;
        font-size: .85rem;
    }
}

@media (max-width: 480px) {
    .gtrt-use-cases-grid {
        grid-template-columns: 1fr;
    }
    .gotoo-routes-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* =========================================================
   HERO — Fix de cor APENAS para page_types não-route
   Scoped a .gotoo-mp--shore-tour, etc. para não afectar
   as páginas de rota normal.
   ========================================================= */

.gotoo-mp--shore-tour .gotoo-hero-search__title,
.gotoo-mp--shore-tour .gotoo-hero-search__subtitle,
.gotoo-mp--airport-transfer .gotoo-hero-search__title,
.gotoo-mp--airport-transfer .gotoo-hero-search__subtitle,
.gotoo-mp--driver-per-hour .gotoo-hero-search__title,
.gotoo-mp--driver-per-hour .gotoo-hero-search__subtitle,
.gotoo-mp--private-tour .gotoo-hero-search__title,
.gotoo-mp--private-tour .gotoo-hero-search__subtitle {
    color: #ffffff !important;
    text-shadow: 0 2px 12px rgba(0,0,0,.55), 0 8px 32px rgba(0,0,0,.35) !important;
}

/* Eyebrow (kicker) e título em linhas separadas */
.gotoo-hero-search__eyebrow {
    display: block !important;
    font-size: clamp(11px, 1vw, 13px) !important;
    font-weight: 700 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
    opacity: .85 !important;
    margin-bottom: 8px !important;
    color: inherit !important;
}

.gotoo-hero-search__route-arrow {
    display: block !important;
    color: inherit !important;
}

/* =========================================================
   HERO — Ajuste de padding para page_types com kicker longo
   ========================================================= */

.gotoo-mp--shore-tour .gotoo-hero-search__inner,
.gotoo-mp--airport-transfer .gotoo-hero-search__inner,
.gotoo-mp--driver-per-hour .gotoo-hero-search__inner,
.gotoo-mp--private-tour .gotoo-hero-search__inner {
    padding-top: 48px !important;
    padding-bottom: 36px !important;
    min-height: 380px;
}

.gotoo-mp--shore-tour .gotoo-hero-search__title,
.gotoo-mp--airport-transfer .gotoo-hero-search__title,
.gotoo-mp--driver-per-hour .gotoo-hero-search__title,
.gotoo-mp--private-tour .gotoo-hero-search__title {
    margin-top: 8px !important;
}

/* =========================================================
   PRICING CARDS — Viaturas com preço fixo
   ========================================================= */

.gtrt-pricing-cards {
    padding: 56px 0 40px;
    background: #f8fafc;
}

.gtrt-pricing-cards__title {
    font-size: clamp(22px, 3vw, 30px);
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 6px;
    text-align: center;
}

.gtrt-pricing-cards__subtitle {
    font-size: 15px;
    color: #64748b;
    text-align: center;
    margin: 0 0 36px;
}

.gtrt-pricing-cards__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 880px;
    margin: 0 auto;
}

/* Card */
.gtrt-pricing-card {
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: box-shadow .2s, border-color .2s;
    position: relative;
}

.gtrt-pricing-card:hover {
    box-shadow: 0 8px 32px rgba(0,0,0,.1);
    border-color: #cbd5e1;
}

.gtrt-pricing-card--featured {
    box-shadow: 0 4px 20px rgba(242,159,5,.15);
}

.gtrt-pricing-card__badge {
    text-align: center;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Imagem */
.gtrt-pricing-card__image-wrap {
    background: #0f172a;
    padding: 24px 16px 8px;
    text-align: center;
}

.gtrt-pricing-card__image {
    width: 100%;
    max-width: 320px;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Body */
.gtrt-pricing-card__body {
    padding: 20px 24px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 14px;
}

.gtrt-pricing-card__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.gtrt-pricing-card__name {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 2px;
}

.gtrt-pricing-card__model {
    font-size: 13px;
    color: #64748b;
    display: block;
}

.gtrt-pricing-card__capacity {
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: flex-end;
    flex-shrink: 0;
}

.gtrt-pricing-card__cap-item {
    font-size: 12px;
    color: #475569;
    white-space: nowrap;
}

/* Features */
.gtrt-pricing-card__features {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.gtrt-pricing-card__feature {
    font-size: 13px;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 8px;
}

.gtrt-pricing-card__feature span {
    color: #16a34a;
    font-weight: 700;
    flex-shrink: 0;
}

/* Preço */
.gtrt-pricing-card__price-row {
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
    margin-top: auto;
}

.gtrt-pricing-card__price {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.gtrt-pricing-card__price-from {
    font-size: 12px;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.gtrt-pricing-card__price-amount {
    font-size: clamp(28px, 4vw, 36px);
    font-weight: 900;
    color: #0f172a;
    line-height: 1;
}

.gtrt-pricing-card__price-note {
    font-size: 12px;
    color: #64748b;
}

.gtrt-pricing-card__extra-note {
    font-size: 12px;
    color: #94a3b8;
    font-style: italic;
    margin: 0;
}

/* CTA */
.gtrt-pricing-card__cta {
    display: block;
    text-align: center;
    background: #0f172a;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 14px 20px;
    border-radius: 8px;
    text-decoration: none;
    transition: background .2s;
    margin-top: 6px;
}

.gtrt-pricing-card__cta:hover {
    background: #1e293b;
    color: #fff;
}

.gtrt-pricing-card--featured .gtrt-pricing-card__cta {
    background: #f29f05;
}

.gtrt-pricing-card--featured .gtrt-pricing-card__cta:hover {
    background: #d98e04;
}

/* Disclaimer */
.gtrt-pricing-cards__disclaimer {
    text-align: center;
    font-size: 12px;
    color: #94a3b8;
    margin: 24px auto 0;
    max-width: 500px;
}

@media (max-width: 640px) {
    .gtrt-pricing-cards__grid {
        grid-template-columns: 1fr;
    }
    .gtrt-pricing-card__header {
        flex-direction: column;
    }
    .gtrt-pricing-card__capacity {
        flex-direction: row;
        align-items: center;
    }
}

/* Pricing card — dual CTAs */
.gtrt-pricing-card__ctas {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 6px;
}

.gtrt-pricing-card__cta--primary {
    background: #f29f05;
    color: #fff !important;
    font-size: 15px;
}

.gtrt-pricing-card__cta--primary:hover {
    background: #d98e04 !important;
    color: #fff !important;
}

.gtrt-pricing-card__cta--secondary {
    background: transparent;
    color: #475569 !important;
    border: 1.5px solid #e2e8f0;
    font-size: 13px;
    font-weight: 600;
    padding: 11px 20px;
}

.gtrt-pricing-card__cta--secondary:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #0f172a !important;
}

.gtrt-pricing-card--featured .gtrt-pricing-card__cta--primary {
    background: #0f172a;
}

.gtrt-pricing-card--featured .gtrt-pricing-card__cta--primary:hover {
    background: #1e293b !important;
}
