/*
Theme Name: Ciclone Veículos
Theme URI: https://cicloneveiculos.com.br/
Author: Marketing Doctor
Description: Tema responsivo para a Ciclone Veículos Salvados, com foco em estoque, conversão e SEO local em Curitiba.
Version: 1.2.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: ciclone
*/

:root {
  --ciclone-navy: #101a3d;
  --ciclone-blue: #0b2e6f;
  --ciclone-blue-light: #164c9e;
  --ciclone-red: #ed1c24;
  --ciclone-red-dark: #bd1017;
  --ciclone-white: #ffffff;
  --ciclone-ink: #111827;
  --ciclone-muted: #64748b;
  --ciclone-line: #e5e7eb;
  --ciclone-surface: #f5f7fb;
  --ciclone-green: #25d366;
  --ciclone-radius: 20px;
  --ciclone-shadow: 0 24px 60px rgba(16, 26, 61, 0.13);
  --ciclone-container: min(1180px, calc(100% - 40px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ciclone-ink);
  background: var(--ciclone-white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.admin-bar .site-header { top: 32px; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
.container { width: var(--ciclone-container); margin-inline: auto; }
.screen-reader-text {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link:focus { width: auto; height: auto; margin: 12px; padding: 10px 16px; clip: auto; z-index: 99999; background: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(16,26,61,.08);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 88px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { flex: 0 0 auto; }
.brand img { width: 260px; max-height: 72px; object-fit: contain; object-position: left center; }
.site-nav { display: flex; align-items: center; gap: 28px; font-size: 14px; font-weight: 800; letter-spacing: .02em; color: var(--ciclone-navy); }
.site-nav a { position: relative; padding: 32px 0; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 24px; height: 3px; border-radius: 3px; background: var(--ciclone-red); transition: right .2s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 12px; }
.header-phone { font-size: 13px; font-weight: 800; color: var(--ciclone-navy); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--ciclone-navy); color: #fff; cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 22px; height: 2px; margin: 5px auto; background: currentColor; }

.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 50px; padding: 0 24px; border: 0; border-radius: 12px;
  background: var(--ciclone-red); color: #fff; font-weight: 900; line-height: 1; cursor: pointer;
  box-shadow: 0 12px 30px rgba(237,28,36,.24); transition: transform .2s ease, background .2s ease;
}
.button:hover, .button:focus-visible { transform: translateY(-2px); background: var(--ciclone-red-dark); }
.button--light { background: #fff; color: var(--ciclone-navy); box-shadow: none; }
.button--outline { color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.36); box-shadow: none; }
.button--whatsapp { background: var(--ciclone-green); box-shadow: 0 12px 30px rgba(37,211,102,.22); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 690px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background: var(--ciclone-navy) url('hero-ciclone.webp') center right / cover no-repeat;
}
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,15,45,.98) 0%, rgba(10,31,79,.94) 42%, rgba(10,31,79,.52) 66%, rgba(10,31,79,.05) 100%); }
.hero::after { content: ""; position: absolute; z-index: -1; width: 520px; height: 520px; left: -240px; bottom: -280px; border: 80px solid rgba(237,28,36,.16); border-radius: 50%; }
.hero-content { max-width: 650px; padding: 96px 0 120px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 20px; color: #dbeafe; font-size: 13px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 32px; height: 4px; border-radius: 2px; background: var(--ciclone-red); }
.hero h1 { margin: 0; font-size: clamp(44px, 6vw, 76px); line-height: .98; letter-spacing: -.055em; text-wrap: balance; }
.hero h1 strong { color: #ff3940; }
.hero p { max-width: 590px; margin: 28px 0 34px; color: #e2e8f0; font-size: clamp(18px, 2vw, 22px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 46px; color: #cbd5e1; font-size: 13px; font-weight: 800; }
.hero-trust span { display: flex; align-items: center; gap: 8px; }
.hero-trust span::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(37,211,102,.16); color: #6ee7a0; }

.section { padding: 96px 0; }
.section--surface { background: var(--ciclone-surface); }
.section-heading { max-width: 720px; margin: 0 auto 42px; text-align: center; }
.section-heading--left { margin-inline: 0; text-align: left; }
.section-kicker { margin: 0 0 10px; color: var(--ciclone-red); font-size: 13px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }
.section-title { margin: 0; color: var(--ciclone-navy); font-size: clamp(34px, 4vw, 52px); line-height: 1.08; letter-spacing: -.04em; text-wrap: balance; }
.section-copy { margin: 18px 0 0; color: var(--ciclone-muted); font-size: 18px; }

.inventory-shell { position: relative; margin-top: -56px; z-index: 3; padding: 26px; border-radius: 24px; background: #fff; box-shadow: var(--ciclone-shadow); }
.inventory-anchor { scroll-margin-top: 110px; }

.feature-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.feature-card { padding: 32px; border: 1px solid var(--ciclone-line); border-radius: var(--ciclone-radius); background: #fff; }
.feature-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 24px; border-radius: 16px; background: #eef4ff; color: var(--ciclone-blue); font-size: 24px; font-weight: 900; }
.feature-card h3 { margin: 0 0 10px; color: var(--ciclone-navy); font-size: 21px; }
.feature-card p { margin: 0; color: var(--ciclone-muted); }

.about-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.78fr); align-items: center; gap: 70px; }
.about-copy p { color: var(--ciclone-muted); font-size: 18px; }
.about-points { display: grid; gap: 15px; margin: 30px 0; padding: 0; list-style: none; }
.about-points li { display: flex; gap: 12px; font-weight: 800; color: var(--ciclone-navy); }
.about-points li::before { content: "✓"; flex: 0 0 26px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #fee2e2; color: var(--ciclone-red); }
.about-visual { position: relative; min-height: 510px; display: flex; align-items: flex-end; justify-content: center; border-radius: 36px; overflow: hidden; background: linear-gradient(145deg, var(--ciclone-navy), var(--ciclone-blue)); }
.about-visual::before { content: ""; position: absolute; inset: 28px; border: 1px solid rgba(255,255,255,.18); border-radius: 28px; }
.about-visual img { position: relative; z-index: 1; max-height: 500px; object-fit: contain; object-position: bottom; }
.about-badge { position: absolute; z-index: 2; left: 24px; bottom: 24px; padding: 15px 18px; border-radius: 14px; background: #fff; color: var(--ciclone-navy); box-shadow: var(--ciclone-shadow); font-size: 14px; font-weight: 900; }

.cta-band { padding: 70px 0; color: #fff; background: linear-gradient(120deg, var(--ciclone-red-dark), var(--ciclone-red)); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.cta-inner h2 { max-width: 760px; margin: 0 0 8px; font-size: clamp(32px,4vw,50px); line-height: 1.05; letter-spacing: -.04em; }
.cta-inner p { margin: 0; color: #fee2e2; font-size: 18px; }

.site-footer { color: #cbd5e1; background: #080f28; }
.footer-main { display: grid; grid-template-columns: 1.25fr 1fr 1fr 1fr; gap: 50px; padding: 72px 0 55px; }
.footer-logo { display: block; width: 135px; height: auto; max-height: 50px; margin-bottom: 20px; object-fit: contain; object-position: left; filter: brightness(0) invert(1); }
.footer-about { max-width: 410px; }
.footer-title { margin: 5px 0 18px; color: #fff; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; }
.footer-list { display: grid; gap: 11px; margin: 0; padding: 0; list-style: none; }
.footer-list a:hover { color: #fff; }
.footer-bottom { padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1); color: #94a3b8; font-size: 13px; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 24px; }
.social-links { display: flex; gap: 10px; margin-top: 24px; }
.social-links a { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.09); color: #fff; transition: color .2s ease, background .2s ease, transform .2s ease; }
.social-links a:hover { color: #fff; background: #e1306c; transform: translateY(-2px); }
.social-links svg { display: block; width: 22px; height: 22px; fill: currentColor; }

.whatsapp-float { position: fixed; right: 24px; bottom: 24px; z-index: 2000; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 50%; color: #fff; background: var(--ciclone-green); box-shadow: 0 14px 34px rgba(37,211,102,.38); transition: transform .2s ease; }
.whatsapp-float:hover { transform: translateY(-4px) scale(1.03); }
.whatsapp-float svg { width: 31px; height: 31px; fill: currentColor; }

.page-hero { padding: 84px 0 74px; color: #fff; background: linear-gradient(135deg, var(--ciclone-navy), var(--ciclone-blue)); }
.page-hero h1 { margin: 0; font-size: clamp(38px,5vw,64px); line-height: 1; letter-spacing: -.045em; }
.page-hero p { max-width: 680px; margin: 18px 0 0; color: #dbeafe; font-size: 18px; }
.content-area { padding: 72px 0 100px; }
.entry-content { max-width: 900px; margin-inline: auto; }
.entry-content h2, .entry-content h3 { color: var(--ciclone-navy); }

.not-found { min-height: 66vh; display: grid; place-items: center; text-align: center; }
.not-found strong { display: block; color: var(--ciclone-red); font-size: 100px; line-height: 1; }

@media (max-width: 1060px) {
  .header-phone { display: none; }
  .site-nav { gap: 18px; }
  .footer-main { grid-template-columns: 1.2fr 1fr 1fr; }
  .footer-main > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 820px) {
  body.admin-bar .site-header { top: 46px; }
  .header-inner { min-height: 74px; }
  .brand img { width: 215px; max-height: 62px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 100%; left: 20px; right: 20px; display: none; padding: 14px; border-radius: 16px; background: #fff; box-shadow: var(--ciclone-shadow); }
  .site-nav.is-open { display: grid; }
  .site-nav a { padding: 12px 10px; }
  .site-nav a::after { display: none; }
  .header-actions .button { display: none; }
  .hero { min-height: 650px; background-position: 64% center; }
  .hero::before { background: linear-gradient(90deg, rgba(7,15,45,.98), rgba(10,31,79,.86)); }
  .hero-content { max-width: 590px; padding: 80px 0 110px; }
  .feature-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { min-height: 460px; }
  .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  :root { --ciclone-container: min(100% - 28px, 1180px); }
  .brand img { width: 190px; }
  .hero { min-height: 620px; }
  .hero-content { padding-block: 66px 100px; }
  .hero h1 { font-size: 43px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .hero-actions .button { width: 100%; }
  .hero-trust { display: grid; gap: 12px; margin-top: 32px; }
  .section { padding: 70px 0; }
  .inventory-shell { margin-top: -42px; padding: 16px; border-radius: 18px; }
  .about-visual { min-height: 400px; }
  .footer-main { grid-template-columns: 1fr; gap: 34px; }
  .footer-main > :first-child { grid-column: auto; }
  .footer-bottom .container { flex-direction: column; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
}
