/* ═══════════════════════════════════════════════════════════
   CARIBE AUTO – Custom Stylesheet
   ═══════════════════════════════════════════════════════════ */

   :root {
    --red:    #CC1C25;
    --red-dk: #9e1018;
    --dark:   #0d0d0d;
    --gray:   #1a1a1a;
    --light:  #f5f5f5;
    --white:  #ffffff;
    --gold:   #f5a623;
  }
  
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  
  body {
    font-family: 'Inter', sans-serif;
    background: var(--white);
    color: var(--dark);
    overflow-x: hidden;
  }
  
  h1, h2, h3, h4, .display-font {
    font-family: 'Inter', sans-serif;
  }
  a {color:var(--red);}
  a:hover {color:var(--red-dk);}
  
  /* ─── CONTAINER ──────────────────────────────────────────── */
  .custom-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
  }
  .p-80 { padding: 100px 0; }
  
  /* ─── ANIMATIONS ─────────────────────────────────────────── */
  .anim { opacity: 0; transition: opacity .7s ease, transform .7s ease; }
  .slide-up    { transform: translateY(60px); }
  .slide-left  { transform: translateX(-70px); }
  .slide-right { transform: translateX(70px); }
  .zoom-in     { transform: scale(.85); }
  .fade-in     { }
  
  .anim.visible {
    opacity: 1;
    transform: translate(0,0) scale(1);
  }
  
  .delay-1 { transition-delay: .1s !important; }
  .delay-2 { transition-delay: .2s !important; }
  .delay-3 { transition-delay: .3s !important; }
  .delay-4 { transition-delay: .4s !important; }
  .delay-5 { transition-delay: .5s !important; }
  .delay-6 { transition-delay: .6s !important; }
  
  /* ─── NAVBAR ─────────────────────────────────────────────── */
  .topbar {
    background: var(--white);
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
    top: 0;
    z-index: 1000;
    position: sticky;
  }
  
  /* ─── HERO ───────────────────────────────────────────────── */
  .hero {
    background: url('https://apicdn.inventario360.com/img?src=https%3A%2F%2Fapicdn.inventario360.com%2Fvehicles%2F7pjlQ0YP%2Fmedia_686d5a0f890b3.png') center/cover no-repeat;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    overflow: visible;
  }
  .hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgb(0 0 0 / 82%);
    z-index: 0;
  }
  .hero .container,
  .hero > .custom-container { position: relative; z-index: 1; }
  .hero-content { position: relative; }
  .hero h1 {
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    font-weight: 500;
    line-height: 1.15;
    color: #fff;
    letter-spacing: -1px;
    padding: 30px 0 0;
  }
  .hero h1 span { color: #fff; font-weight: bold; }
  .hero p { color: rgba(255,255,255,.8); font-size: .95rem; }
  
  /* ─── FORM CARD ──────────────────────────────────────────── */
  #contacto {
    position: relative;
    z-index: 20;
  }
  .form-card {
    background: linear-gradient(180deg, #CC1C25 0%, #7a0007 100%);
    border-radius: 16px;
    padding: 28px 28px 22px;
    box-shadow: 0 24px 64px rgba(0,0,0,.45), 0 0 0 1px rgba(255,255,255,.08);
    position: relative;
    z-index: 20;
    transform: translateY(60px); /* desktop float effect */
  }
  .form-card h5 { color: #fff; font-weight: 700; font-size: 1.05rem; }
  .form-card .form-control {
    border-radius: 6px;
    border: none;
    font-size: .9rem;
    padding: 10px 14px;
  }
  .form-card label { color: rgba(255,255,255,.9); font-size: .82rem; margin-bottom: 2px; }
  .trust-badge { color: rgba(255,255,255,.85); font-size: .78rem; }
  
  /* ─── BTN BLACK ──────────────────────────────────────────── */
  .btn-black {
    background: linear-gradient(135deg, #1a1a1a 0%, #000 100%);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    border: none;
    border-radius: 20px;
    padding: 14px 20px;
    width: 100%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: background .25s, transform .2s, box-shadow .25s;
  }
  .btn-black::after { content: '→'; font-size: 1rem; transition: transform .2s; }
  .btn-black:hover {
    background: linear-gradient(135deg, #2a2a2a 0%, #111 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0,0,0,.5);
  }
  .btn-black:hover::after { transform: translateX(4px); }
  
  /* ─── BTN RED ────────────────────────────────────────────── */
  .btn-red {
    background: var(--red);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    border: none;
    border-radius: 20px;
    padding: 13px 32px;
    transition: background .25s, transform .2s, box-shadow .2s;
    text-decoration: none;
    display: inline-block;
    text-align: center;
  }
  .btn-red:hover {
    background: var(--red-dk);
    transform: translateY(-3px);
    box-shadow: 0 10px 28px rgba(204,28,37,.4);
    color: #fff;
  }
  
  /* ─── BTN GREEN ──────────────────────────────────────────── */
  .btn-green {
    background: #00a53e;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    border: none;
    border-radius: 20px;
    padding: 13px 32px;
    transition: background .25s, transform .2s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
  }
  .btn-green:hover { background: #1ebe5a; transform: translateY(-3px); color: #fff; }
  
  /* ─── BRANDS ─────────────────────────────────────────────── */
  .brands-section {
    padding-top: 110px; /* compensa translateY(60px) do form-card */
    padding-bottom: 8px;
  }
  .brands-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
    padding: 28px 0;
    border-bottom: 1px solid #eee;
  }
  .brands-row img { height: 50px; filter: grayscale(1); opacity: .55; transition: .3s; }
  .brands-row img:hover { filter: grayscale(0); opacity: 1; }
  
  /* ─── SECTION TITLES ─────────────────────────────────────── */
  .section-title { font-size: clamp(1.5rem,3vw,2.1rem); font-weight: 600; letter-spacing: -1px; }
  .section-title span { color: var(--red); font-weight: bold; }
  
  /* ─── VEHICLE CARDS ──────────────────────────────────────── */
  .vehicle-card {
    border-radius: 12px;
    overflow: hidden;
    background: #e9e9e9;
    cursor: pointer;
    transition: transform .3s, box-shadow .3s;
    border: 2px solid transparent;
  }
  .vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(204,28,37,.18);
    border-color: var(--red);
  }
  .vehicle-card img { width: 100%; height: 160px; object-fit: cover; }
  .vehicle-card .label {
    text-align: center;
    padding: 10px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--dark);
  }
  .vehicle-card .label span { color: var(--red); }
  
  /* ─── WHY SECTION ────────────────────────────────────────── */
  .why-section {
    background: linear-gradient(179deg, #111 60%, #565555 100%);
    color: #fff;
    position: relative;
    overflow: hidden;
  }
  .bullet-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
  .bullet-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--red); flex-shrink: 0; margin-top: 5px; }
  .bullet-item p { margin: 0; font-size: 18px; color: rgba(255,255,255,.85); }
  .why-img { max-width: 100%; transform: scale(1.35); }
  
  /* ─── TESTIMONIALS ───────────────────────────────────────── */
  .test-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 4px 24px rgba(0,0,0,.08);
    transition: transform .3s, box-shadow .3s;
    height: 100%;
  }
  .test-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(0,0,0,.14); }
  .test-card .stars { color: var(--gold); font-size: 1rem; }
  .test-card p { font-size: .88rem; color: #555; margin: 10px 0; }
  .test-card .avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
  .test-card .name { font-weight: 700; font-size: .9rem; }
  .test-card .loc { font-size: .78rem; color: #999; }
  .quote-icon { color: var(--red); font-size: 1.4rem; }
  
  /* ─── CTA SECTION ────────────────────────────────────────── */
  .cta-wrapper { position: relative; padding-top: 50px; }
  .cta-section {
    background: url('https://images.unsplash.com/photo-1492144534655-ae79c964c9d7?q=80&w=1600&auto=format') center/cover no-repeat;
    position: relative;
    overflow: visible;
    padding: 80px 0;
  }
  .cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.75);
  }
  .cta-content { position: relative; z-index: 1; }
  .cta-section h2 { font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 600; color: #fff; }
  .cta-section h2 span { color: #fff; font-weight: bold; }
  
  .vendor-col { position: relative; }
  .vendor-img {
    position: absolute;
    bottom: -80px;
    left: -25px;
    height: 630px;
    width: auto;
    max-width: none;
    object-fit: contain;
    object-position: bottom center;
    z-index: 0;
  }
  
  /* ─── FOOTER ─────────────────────────────────────────────── */
  .footer { background: #fff; border-top: 1px solid #eee; }
  .footer-copy { font-size: .78rem; color: #999; }
  .social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--light);
    color: var(--dark);
    font-size: 1rem;
    transition: .25s;
    text-decoration: none;
  }
  .social-icon:hover { background: var(--red); color: #fff; }
  
  /* ─── WHATSAPP FLOAT ─────────────────────────────────────── */
  @keyframes pulse-ring {
    0%   { transform: scale(1); opacity: .7; }
    100% { transform: scale(1.6); opacity: 0; }
  }
  .whatsapp-float {position: fixed;bottom: 28px;left: 28px;z-index: 9999;}
  .whatsapp-float a {
    display: flex; align-items: center; justify-content: center;
    width: 56px; height: 56px;
    background: #25D366;
    border-radius: 50%;
    color: #fff;
    font-size: 1.7rem;
    box-shadow: 0 6px 20px rgba(37,211,102,.45);
    text-decoration: none;
    position: relative;
  }
  .whatsapp-float a::before {
    content: '';
    position: absolute; inset: 0;
    border-radius: 50%;
    background: #25D366;
    animation: pulse-ring 1.5s ease-out infinite;
  }
  .whatsapp-float a:hover { transform: scale(1.1); }
  
  
  /* ═══════════════════════════════════════════════════════════
     RESPONSIVE
     ═══════════════════════════════════════════════════════════ */
  
  /* ── Tablet (≤ 991px) ────────────────────────────────────── */
  @media (max-width: 991px) {
    .p-80 { padding: 70px 0; }
  
    .hero { min-height: auto; padding-top: 40px; padding-bottom: 40px; }
  
    /* Form: não flutua no tablet/mobile, fica no fluxo normal */
    .form-card { transform: none; margin-top: 32px; }
    .brands-section { padding-top: 50px; }
  
    .why-img { transform: scale(1); margin-top: 24px; }
    .brands-row { gap: 30px; }
    .brands-row img { height: 38px; }
  
    /* CTA: esconde vendor e centraliza texto */
    .vendor-col { display: none; }
    .cta-wrapper { padding-top: 0; }
    .cta-section .col-md-7 { text-align: center; }
    .cta-content .d-flex.flex-wrap { justify-content: center; }
  }
  
  /* ── Mobile (≤ 767px) ────────────────────────────────────── */
  @media (max-width: 767px) {
    .custom-container {padding: 0 20px;}
    .p-80 { padding: 50px 0; }
  
    /* Navbar */
    .topbar { padding: 10px 0 !important; }
    .topbar img { width: 130px !important; }
  
    /* Hero */
    .hero {
      padding: 32px 0 0;
      background-position: center center;
    }
    .hero h1 {font-size: 2rem;padding-top: 0;letter-spacing: -.5px;text-align: center;}
    .hero p {font-size: 1.1rem;text-align: center;}
  
    /* Form full width, sem float */
    #contacto {width: 100%;margin-top: 0;top: -26px;}
    .form-card { transform: none; padding: 20px 16px 16px; }
    .form-card h5 { font-size: .95rem; }
  
    /* Brands */
    .brands-section { padding-top: 36px; }
    .brands-row { gap: 16px; padding: 18px 0; }
    .brands-row img { height: 26px; }
  
    /* Vehicles */
    .vehicle-card img { height: 110px; }
    .vehicle-card .label { font-size: 11px; padding: 7px 5px; }
  
    /* Why: esconde imagem do carro no mobile */
    .why-section .col-lg-6.text-center { display: none; }
    .bullet-item p { font-size: 15px; }
  
    /* Botões full-width */
    .btn-red, .btn-green {
      width: 100%;
      justify-content: center;
      font-size: 14px;
      padding: 13px 16px;
    }
    .btn-black { font-size: 14px; }
  
    /* Testimonials: 1 coluna (Bootstrap já cuida com col-md-4) */
    .test-card { height: auto; }
  
    /* CTA */
    .cta-section { padding: 50px 0; }
    .cta-section h2 { font-size: 1.55rem; text-align: center; }
    .cta-content > div > p { text-align: center; }
    .cta-content .d-flex { flex-direction: column; align-items: stretch; gap: 12px !important; }
  
    /* Footer */
    .footer .d-flex { gap: 14px !important; }
    .footer-copy { font-size: .72rem; text-align: center; }
  
    /* WhatsApp */
    .whatsapp-float { bottom: 16px; right: 16px; }
    .whatsapp-float a { width: 48px; height: 48px; font-size: 1.4rem; }
  }
  
  /* ── Telas muito pequenas (≤ 390px) ─────────────────────── */
  @media (max-width: 390px) {
    .hero h1 { font-size: 1.4rem; }
    .form-card { padding: 16px 12px 14px; }
    .brands-row img { height: 20px; }
    .btn-red, .btn-green, .btn-black { font-size: 13px; }
    .section-title { font-size: 1.3rem; }
  }
  