/*
Theme Name: Logy Conecta
Theme URI: https://www.logyconecta.com.br/
Author: Logy Conecta
Description: Tema institucional para operação comercial terceirizada especializada em transportadoras.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: logy-conecta
*/

:root {
  --navy-950: #061428;
  --navy-900: #091b34;
  --navy-800: #102b4c;
  --blue-600: #0b74ff;
  --blue-500: #2689ff;
  --cyan-400: #48d7ff;
  --ink: #101f33;
  --muted: #5f7087;
  --line: #dce5f0;
  --surface: #f4f8fc;
  --white: #fff;
  --success: #25d366;
  --shadow: 0 24px 70px rgba(5, 25, 50, .12);
  --radius: 22px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.section { padding: 104px 0; }
.section--soft { background: var(--surface); }
.section--dark { color: var(--white); background: var(--navy-950); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; margin: 0 0 16px;
  color: var(--blue-600); font-size: .78rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; border-radius: 2px; background: currentColor; }
.section--dark .eyebrow, .hero .eyebrow { color: var(--cyan-400); }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading h2, .split-copy h2 {
  margin: 0 0 18px; color: var(--navy-950); font-size: clamp(2rem, 4.2vw, 3.45rem); line-height: 1.08; letter-spacing: -.045em;
}
.section--dark .section-heading h2, .section--dark .split-copy h2 { color: var(--white); }
.section-heading p, .split-copy > p { margin: 0; color: var(--muted); font-size: 1.08rem; }
.section--dark .section-heading p, .section--dark .split-copy > p { color: #adbed2; }
.button {
  display: inline-flex; min-height: 52px; align-items: center; justify-content: center; gap: 10px; padding: 0 22px;
  border: 1px solid transparent; border-radius: 12px; background: var(--blue-600); color: var(--white); font-weight: 800;
  box-shadow: 0 12px 28px rgba(11,116,255,.25); transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); background: #005fe0; box-shadow: 0 16px 34px rgba(11,116,255,.32); }
.button--ghost { border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.07); box-shadow: none; backdrop-filter: blur(8px); }
.button--ghost:hover { background: rgba(255,255,255,.14); }
.button--light { background: var(--white); color: var(--navy-950); box-shadow: 0 14px 34px rgba(3,14,30,.16); }
.button--light:hover { color: var(--white); }

/* Header */
.site-header {
  position: fixed; z-index: 1000; inset: 0 0 auto; height: 78px; color: var(--white);
  background: rgba(6,20,40,.84); border-bottom: 1px solid rgba(255,255,255,.1); backdrop-filter: blur(18px);
}
.header-inner { height: 78px; display: flex; align-items: center; gap: 26px; }
.brand { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; font-size: 1rem; font-weight: 900; letter-spacing: .04em; }
.brand-mark { position: relative; width: 34px; height: 34px; border: 2px solid var(--blue-500); border-radius: 9px; transform: rotate(45deg); }
.brand-mark::after { content: ""; position: absolute; width: 12px; height: 12px; right: -6px; bottom: -6px; border: 2px solid var(--cyan-400); border-radius: 4px; }
.brand span:last-child { white-space: nowrap; }
.brand--official { width: 218px; height: 60px; padding: 6px 12px; border-radius: 11px; background: rgba(255,255,255,.97); box-shadow: 0 8px 24px rgba(0,0,0,.14); }
.brand-logo { width: 100%; height: 100%; object-fit: contain; }
.brand--footer { width: 260px; height: 105px; padding: 10px 16px; }
.site-nav { display: flex; align-items: center; gap: 24px; margin-left: auto; }
.site-nav a { color: #dce8f6; font-size: .9rem; font-weight: 700; }
.site-nav a:hover { color: var(--white); }
.header-cta { min-height: 44px; padding-inline: 17px; font-size: .86rem; }
.menu-toggle { display: none; margin-left: auto; padding: 8px; border: 0; background: transparent; color: var(--white); }
.menu-toggle span { display: block; width: 25px; height: 2px; margin: 5px; background: currentColor; transition: .2s; }

/* Hero */
.hero {
  position: relative; min-height: 790px; display: grid; align-items: center; overflow: hidden; color: var(--white); background: var(--navy-950);
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(4,17,35,.99) 0%, rgba(4,17,35,.94) 38%, rgba(4,17,35,.52) 66%, rgba(4,17,35,.28) 100%),
              url("assets/images/hero-logistica.webp") center right / cover no-repeat;
}
.hero::after { content: ""; position: absolute; width: 580px; height: 580px; left: 26%; bottom: -400px; border-radius: 50%; background: var(--blue-600); filter: blur(130px); opacity: .28; }
.hero-grid { position: relative; z-index: 1; padding-top: 118px; }
.hero-copy { max-width: 710px; }
.hero h1 { max-width: 690px; margin: 0 0 22px; font-size: clamp(3.1rem, 7vw, 5.8rem); line-height: .98; letter-spacing: -.065em; }
.hero h1 span { color: var(--cyan-400); }
.hero-lead { max-width: 710px; margin: 0 0 16px; color: #c6d7e9; font-size: clamp(1.06rem, 2vw, 1.28rem); line-height: 1.55; }
.hero-support { max-width: 680px; margin: 0 0 31px; color: #fff; font-size: 1rem; font-weight: 750; line-height: 1.5; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 18px 34px; margin-top: 54px; color: #c5d6e8; font-size: .88rem; font-weight: 700; }
.hero-proof span { display: inline-flex; align-items: center; gap: 9px; }
.hero-proof i { width: 8px; height: 8px; border-radius: 99px; background: var(--cyan-400); box-shadow: 0 0 0 6px rgba(72,215,255,.1); }

.signal-strip { position: relative; z-index: 4; margin-top: -58px; }
.signal-card { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); overflow: hidden; border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); }
.signal-intro { padding: 30px; color: var(--white); background: var(--blue-600); }
.signal-intro strong { display: block; font-size: 1.3rem; line-height: 1.2; }
.signal-intro span { display: block; margin-top: 8px; color: #dcecff; font-size: .9rem; }
.signal-item { padding: 28px; border-right: 1px solid var(--line); }
.signal-item:last-child { border: 0; }
.signal-item b { display: block; color: var(--navy-950); font-size: 1rem; }
.signal-item span { color: var(--muted); font-size: .86rem; }

/* Cards and layouts */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.problem-card, .modality-card, .benefit-card { padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: var(--white); transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease; }
.problem-card:hover, .modality-card:hover, .benefit-card:hover { transform: translateY(-5px); border-color: #9dc9ff; box-shadow: 0 18px 44px rgba(8,37,72,.08); }
.icon-box { width: 45px; height: 45px; display: grid; place-items: center; margin-bottom: 22px; border-radius: 12px; color: var(--blue-600); background: #eaf3ff; font-size: 1.2rem; font-weight: 900; }
.icon-box svg { width: 23px; height: 23px; }
.icon-box .site-icon { fill: none; stroke: currentColor; stroke-width: 1.8; }
.icon-box--whatsapp { color: #fff; background: #25d366; }
.icon-box--email { color: #fff; background: var(--blue-600); }
.problem-card h3, .modality-card h3, .benefit-card h3 { margin: 0 0 9px; color: var(--navy-950); font-size: 1.08rem; line-height: 1.3; }
.problem-card p, .modality-card p, .benefit-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.split { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: 84px; }
.visual-panel { position: relative; min-height: 540px; overflow: hidden; border-radius: 28px; background: var(--navy-900); box-shadow: var(--shadow); }
.visual-panel img { width: 100%; height: 100%; min-height: 540px; object-fit: cover; opacity: .65; }
.visual-panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 20%, rgba(5,19,38,.94)); }
.visual-caption { position: absolute; z-index: 2; left: 36px; right: 36px; bottom: 34px; color: var(--white); }
.visual-caption strong { display: block; margin-bottom: 9px; font-size: 1.55rem; line-height: 1.2; }
.visual-caption span { color: #bcd0e6; }
.check-list { display: grid; gap: 15px; margin: 30px 0 0; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 33px; color: var(--ink); font-weight: 700; }
.check-list li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--blue-600); font-size: .74rem; }
.statement { margin-top: 32px; padding: 22px 24px; border-left: 4px solid var(--blue-600); border-radius: 0 12px 12px 0; background: #edf5ff; color: var(--navy-900); font-weight: 800; }

/* Process */
.process-grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.process-card { position: relative; min-height: 225px; padding: 28px 24px; border: 1px solid rgba(255,255,255,.12); border-radius: 18px; background: rgba(255,255,255,.055); }
.process-card::before { content: attr(data-step); display: block; margin-bottom: 24px; color: var(--cyan-400); font-size: .78rem; font-weight: 900; letter-spacing: .13em; }
.process-card h3 { margin: 0 0 10px; color: var(--white); font-size: 1.08rem; }
.process-card p { margin: 0; color: #9fb4ca; font-size: .9rem; }
.process-card--accent { border-color: var(--blue-500); background: linear-gradient(145deg, #086bf0, #0b4eaa); }
.process-card--accent::before, .process-card--accent p { color: #e2f2ff; }

.modalities-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.modality-card { min-height: 250px; }
.modality-tag { display: inline-flex; margin-top: 18px; padding: 6px 10px; border-radius: 99px; color: var(--blue-600); background: #eaf3ff; font-size: .73rem; font-weight: 900; letter-spacing: .07em; }

/* Comparison */
.comparison { display: grid; grid-template-columns: 1fr 1fr; overflow: hidden; border: 1px solid var(--line); border-radius: 24px; background: var(--white); box-shadow: var(--shadow); }
.comparison-col { padding: 42px; }
.comparison-col:first-child { background: #f1f4f8; }
.comparison-col:last-child { color: var(--white); background: linear-gradient(150deg, var(--navy-900), #0c3768); }
.comparison-col h3 { margin: 0 0 25px; font-size: 1.45rem; }
.comparison-col ul { display: grid; gap: 14px; margin: 0; padding: 0; list-style: none; }
.comparison-col li { position: relative; padding-left: 30px; color: var(--muted); }
.comparison-col:first-child li::before { content: "×"; position: absolute; left: 0; color: #95a2b1; font-weight: 900; }
.comparison-col:last-child li { color: #d8e8f8; font-weight: 700; }
.comparison-col:last-child li::before { content: "✓"; position: absolute; left: 0; color: var(--cyan-400); font-weight: 900; }

.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.benefit-card { display: flex; align-items: flex-start; gap: 16px; padding: 23px; }
.benefit-card .icon-box { flex: 0 0 42px; width: 42px; height: 42px; margin: 0; }

/* CTA and form */
.cta-band { position: relative; overflow: hidden; padding: 68px; border-radius: 28px; color: var(--white); background: linear-gradient(125deg, #075ad1, #0b7cff 58%, #0f99e8); box-shadow: 0 28px 70px rgba(9,107,236,.25); }
.cta-band::after { content: ""; position: absolute; width: 350px; height: 350px; right: -80px; top: -170px; border: 1px solid rgba(255,255,255,.2); border-radius: 50%; box-shadow: 0 0 0 55px rgba(255,255,255,.05), 0 0 0 110px rgba(255,255,255,.03); }
.cta-band-inner { position: relative; z-index: 2; max-width: 760px; }
.cta-band h2 { margin: 0 0 16px; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.08; letter-spacing: -.04em; }
.cta-band p { margin: 0 0 26px; color: #e5f2ff; font-size: 1.08rem; }
.contact-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 64px; }
.contact-copy h2 { margin: 0 0 18px; color: var(--white); font-size: clamp(2.2rem, 4.5vw, 3.8rem); line-height: 1.05; letter-spacing: -.05em; }
.contact-copy > p { color: #aebfd2; }
.contact-points { display: grid; gap: 18px; margin-top: 34px; }
.contact-point { display: flex; gap: 14px; align-items: flex-start; }
.contact-point b { display: block; color: var(--white); }
.contact-point span, .contact-point a { color: #aebfd2; font-size: .92rem; }
.contact-form { padding: 35px; border: 1px solid rgba(255,255,255,.12); border-radius: 22px; background: rgba(255,255,255,.06); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 7px; color: #dce7f2; font-size: .84rem; font-weight: 800; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 49px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.17); border-radius: 10px; outline: 0; color: var(--white); background: rgba(3,14,29,.45);
}
.field select option { color: var(--ink); background: var(--white); }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cyan-400); box-shadow: 0 0 0 3px rgba(72,215,255,.12); }
.field input::placeholder, .field textarea::placeholder { color: #7f94aa; }
.hp-field { position: absolute !important; left: -9999px !important; }
.form-note { margin: 13px 0 0; color: #8298ae; font-size: .76rem; }
.form-alert { margin-bottom: 20px; padding: 13px 15px; border-radius: 10px; font-weight: 700; }
.form-alert--success { color: #bff8d2; background: rgba(37,211,102,.15); }
.form-alert--error { color: #ffd0d0; background: rgba(255,80,80,.15); }

/* FAQ */
.faq { max-width: 900px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { position: relative; padding: 23px 48px 23px 0; color: var(--navy-950); font-size: 1.08rem; font-weight: 800; list-style: none; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 18px; color: var(--blue-600); font-size: 1.7rem; font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: -2px 0 23px; padding-right: 70px; color: var(--muted); }

/* Footer */
.site-footer { padding: 56px 0 25px; color: #9eb2c8; background: #03101f; }
.footer-grid { display: grid; grid-template-columns: 1.35fr .65fr .8fr; gap: 60px; padding-bottom: 42px; }
.footer-brand p { max-width: 440px; margin: 20px 0 0; font-size: .9rem; }
.footer-title { margin: 0 0 16px; color: var(--white); font-size: .88rem; text-transform: uppercase; letter-spacing: .09em; }
.footer-links { display: grid; gap: 9px; }
.footer-links a:hover { color: var(--white); }
.footer-contact-link { display: inline-flex; align-items: center; gap: 9px; }
.footer-contact-link svg { width: 16px; height: 16px; flex: 0 0 16px; color: var(--blue-500); }
.footer-contact-link--whatsapp svg { color: var(--success); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.09); font-size: .78rem; }
.whatsapp-float { position: fixed; z-index: 999; right: 22px; bottom: 22px; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; color: var(--white); background: var(--success); box-shadow: 0 12px 28px rgba(12,85,40,.28); font-size: 1.5rem; font-weight: 900; }
.whatsapp-float svg { width: 29px; height: 29px; }
.whatsapp-float:hover { transform: translateY(-3px); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } }

@media (max-width: 1020px) {
  .site-nav { gap: 15px; }
  .site-nav a { font-size: .82rem; }
  .header-cta { display: none; }
  .grid-4, .process-grid { grid-template-columns: repeat(2, 1fr); }
  .split { gap: 48px; }
  .contact-grid { gap: 38px; }
  .signal-card { grid-template-columns: repeat(3, 1fr); }
  .signal-intro { grid-column: 1 / -1; }
}

@media (max-width: 780px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .section { padding: 76px 0; }
  .site-header, .header-inner { height: 70px; }
  .brand--official { width: 178px; height: 52px; padding: 5px 9px; }
  .brand--footer { width: 245px; height: 100px; }
  .menu-toggle { display: block; }
  .site-nav { position: fixed; inset: 70px 0 auto; display: grid; gap: 0; padding: 18px 20px 26px; background: rgba(3,16,31,.98); border-bottom: 1px solid rgba(255,255,255,.12); transform: translateY(-130%); opacity: 0; pointer-events: none; transition: .25s; }
  .site-nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .site-nav a { padding: 12px 8px; font-size: 1rem; }
  .hero { min-height: 730px; }
  .hero::before { background: linear-gradient(90deg, rgba(4,17,35,.98), rgba(4,17,35,.76)), url("assets/images/hero-logistica.webp") 64% center / cover no-repeat; }
  .hero h1 { max-width: 100%; font-size: clamp(2.55rem, 11vw, 3.65rem); line-height: .98; letter-spacing: -.045em; }
  .hero-grid { padding-top: 100px; }
  .signal-strip { margin-top: -32px; }
  .signal-card { grid-template-columns: 1fr; }
  .signal-intro { grid-column: auto; }
  .signal-item { border-right: 0; border-bottom: 1px solid var(--line); }
  .grid-4, .process-grid, .modalities-grid, .benefits-grid, .comparison, .contact-grid, .footer-grid, .split { grid-template-columns: 1fr; }
  .split { gap: 40px; }
  .visual-panel, .visual-panel img { min-height: 410px; }
  .comparison-col { padding: 31px 25px; }
  .cta-band { padding: 44px 27px; }
  .contact-form { padding: 24px 18px; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .footer-grid { gap: 36px; }
  .footer-bottom { flex-direction: column; }
}

@media (max-width: 480px) {
  .brand { font-size: .92rem; }
  .brand--official { width: 166px; }
  .hero-actions .button { width: 100%; }
  .hero-proof { display: grid; gap: 14px; }
  .grid-4, .process-grid { grid-template-columns: 1fr; }
  .visual-caption { left: 24px; right: 24px; bottom: 24px; }
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3.1rem); }
  .hero-copy { min-width: 0; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
}

/* E-books */
.ebook-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.ebook-card {
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  min-height: 355px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 18px 48px rgba(8, 37, 72, 0.09);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.ebook-card:hover {
  transform: translateY(-5px);
  border-color: #9dc9ff;
  box-shadow: 0 24px 58px rgba(8, 37, 72, 0.14);
}

.ebook-cover {
  position: relative;
  min-height: 355px;
  overflow: hidden;
  background: var(--navy-950);
}

.ebook-cover img {
  width: 100%;
  height: 100%;
  min-height: 355px;
  object-fit: cover;
  object-position: center;
  transition: transform 0.4s ease;
}

.ebook-card:hover .ebook-cover img {
  transform: scale(1.025);
}

.ebook-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px 27px;
}

.ebook-label {
  margin: 0 0 12px;
  color: var(--blue-600);
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.ebook-content h3 {
  margin: 0 0 14px;
  color: var(--navy-950);
  font-size: 1.35rem;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

.ebook-content > p:not(.ebook-label) {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.ebook-button {
  width: 100%;
  min-height: 48px;
  margin-top: auto;
  padding-inline: 17px;
  font-size: 0.86rem;
  text-align: center;
}

@media (max-width: 1020px) {
  .ebook-grid {
    grid-template-columns: 1fr;
  }

  .ebook-card {
    grid-template-columns: 230px minmax(0, 1fr);
  }
}

@media (max-width: 600px) {
  .ebook-card {
    grid-template-columns: 1fr;
  }

  .ebook-cover {
    width: min(100%, 310px);
    min-height: auto;
    aspect-ratio: 2 / 3;
    margin: 24px auto 0;
    border-radius: 16px;
  }

  .ebook-cover img {
    min-height: 0;
    aspect-ratio: 2 / 3;
  }

  .ebook-content {
    padding: 27px 23px 25px;
  }
}