/*
Theme Name: Livarro Theme
Author: Livarro
Version: 0.1
*/

/* ===== Base reset ===== */
* { box-sizing: border-box; }
html, body { height: 100%; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Helvetica Neue", sans-serif;
  color: rgba(255,255,255,.92);
  background: #07060d;
}

/* Make links usable on dark */
a{ color: rgba(195, 181, 255, .95); }
a:hover{ color: #ffffff; }

/* Keep images responsive globally, but DON'T force the header logo small */
img{ max-width: 100%; height: auto; }

/* ===== Layout helpers ===== */
.livarro-container{
  width: min(1100px, calc(100% - 2.5rem));
  margin-inline: auto;
}

/* ===== Landing background (mockup) ===== */
.livarro-landing{
  background:
    radial-gradient(1200px 700px at 35% 30%, rgba(155,81,224,.28), transparent 55%),
    radial-gradient(900px 600px at 70% 40%, rgba(110,50,180,.22), transparent 55%),
    radial-gradient(900px 600px at 55% 85%, rgba(29,155,240,.16), transparent 60%);
}

/* ===== Header ===== */
.livarro-header{
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: rgba(8,7,14,.35);
  backdrop-filter: blur(10px);
}

.livarro-header__inner{
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 18px 20px;
}

/* BRAND: support BOTH implementations
   A) <a class="livarro-brand"><img class="livarro-logo"></a>
   B) <a class="custom-logo-link"><img class="custom-logo"></a>
*/
.livarro-brand,
.custom-logo-link{
  display: inline-flex;
  align-items: center;
  justify-content: flex-start; /* left justify logo inside the link */
  flex: 0 0 auto;             /* do not shrink the brand area */
  text-decoration: none;
  line-height: 0;             /* removes baseline/line-height squeeze */
  margin: 0;
  padding: 0;
}

/* Remove any theme/plugin width constraints on the brand link */
.livarro-brand,
.custom-logo-link{
  width: auto !important;
  max-width: none !important;
  overflow: visible;
}

/* Logo sizing (THIS is the only place we control logo size) */
.livarro-logo,
.custom-logo{
  display: block;
  height: 52px;       /* desktop size */
  width: auto;
  max-width: none;    /* prevents WP img resets from shrinking it */
  max-height: 70px;   /* safety cap so it never gets ridiculous */
}

/* Navigation should sit centered between brand and CTA */
.livarro-nav{
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
}

.livarro-nav ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.1rem;
  align-items: center;
  flex-wrap: wrap;
}

.livarro-nav a{
  text-decoration: none;
  color: rgba(255,255,255,.78);
  font-weight: 600;
  font-size: .98rem;
}
.livarro-nav a:hover{ color: rgba(255,255,255,.95); }

/* CTA button */
.livarro-nav-cta{
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .55rem .95rem;
  border-radius: 12px;
  border: 1px solid rgba(167,139,250,.35);
  background: rgba(124,58,237,.14);
  color: rgba(255,255,255,.90);
  text-decoration: none;
  font-weight: 800;
}

/* Slightly smaller on mobile */
@media (max-width: 640px){
  .livarro-header__inner{ padding: 14px 16px; }
  .livarro-logo, .custom-logo{ height: 42px; }
  .livarro-nav ul{ gap: .85rem; }
}

/* ===== Hero ===== */
.livarro-hero{ padding: 4.5rem 0 2.75rem; }
.livarro-hero-grid{
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 2.25rem;
  align-items: start;
}
@media (max-width: 980px){ .livarro-hero-grid{ grid-template-columns: 1fr; } }

.livarro-hero-title{
  font-size: clamp(2.2rem, 3.2vw, 3.2rem);
  line-height: 1.08;
  margin: 0 0 1.1rem;
  letter-spacing: -0.02em;
}
.livarro-hero-subtitle{
  max-width: 52ch;
  opacity: .82;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* Buttons */
.livarro-hero-actions{
  display: flex;
  gap: .8rem;
  margin-top: 1.4rem;
  flex-wrap: wrap;
}
.livarro-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .78rem 1.1rem;
  border-radius: 12px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid rgba(167,139,250,.28);
  color: rgba(255,255,255,.92);
}
.livarro-btn-primary{
  background: linear-gradient(180deg, rgba(168,85,247,.32), rgba(124,58,237,.22));
  box-shadow: 0 12px 40px rgba(124,58,237,.20);
}
.livarro-btn-ghost{ background: rgba(255,255,255,.06); }

/* Chips */
.livarro-hero-chips{
  display: flex;
  gap: .75rem;
  margin-top: 1.1rem;
  flex-wrap: wrap;
}
.livarro-chip{
  display: inline-flex;
  padding: .5rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  font-size: .9rem;
  opacity: .92;
}

/* ===== Panel ===== */
.livarro-panel{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(20,14,34,.72), rgba(12,10,22,.62));
  box-shadow: 0 24px 70px rgba(0,0,0,.45);
  padding: 1.1rem;
}
.livarro-panel-top{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.livarro-panel-brand-text{ font-weight: 900; letter-spacing: -0.02em; opacity: .92; }
.livarro-panel-pill{
  border-radius: 14px;
  padding: .55rem .7rem;
  border: 1px solid rgba(124,58,237,.35);
  background: rgba(124,58,237,.14);
  text-align: right;
}
.livarro-panel-pill-title{ display:block; font-weight:900; line-height:1.1; }
.livarro-panel-pill-sub{ display:block; font-size:.78rem; opacity:.85; }

.livarro-panel-title{
  margin: 1rem 0 .75rem;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.livarro-panel-rows{ display: grid; gap: .55rem; }
.livarro-panel-row{
  padding: .75rem .85rem;
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}
.livarro-panel-row-title{ font-weight: 900; margin-bottom: .2rem; }
.livarro-panel-row-desc{ font-size: .9rem; opacity: .82; line-height: 1.45; }

.livarro-panel-meta{
  margin-top: .85rem;
  padding-top: .75rem;
  border-top: 1px solid rgba(255,255,255,.10);
  display: grid;
  gap: .25rem;
  font-size: .9rem;
  opacity: .88;
}

/* ===== Sections ===== */
.livarro-section{ padding: 2.4rem 0; }
.livarro-section-title{
  font-size: 1.9rem;
  margin: 0 0 1.2rem;
  letter-spacing: -0.02em;
}

.livarro-cards-3{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.1rem;
}
@media (max-width: 980px){ .livarro-cards-3{ grid-template-columns: 1fr; } }

.livarro-card{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.06);
  padding: 1.1rem;
}
.livarro-card-title{ margin: 0 0 .55rem; font-size: 1.1rem; }
.livarro-card-text{ margin: 0; opacity: .84; line-height: 1.6; font-size: .96rem; }

/* Steps */
.livarro-steps-3{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}
@media (max-width: 980px){ .livarro-steps-3{ grid-template-columns: 1fr; } }

.livarro-step{
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  padding: 1rem;
  display: flex;
  gap: .9rem;
}
.livarro-step-num{ font-weight: 900; font-size: 2rem; line-height: 1; opacity: .85; }
.livarro-step-title{ margin: 0 0 .35rem; font-size: 1.05rem; }
.livarro-step-text{ margin: 0; opacity: .84; line-height: 1.55; font-size: .95rem; }

/* CTA */
.livarro-cta{ padding: 2.75rem 0 3.2rem; }
.livarro-cta-grid{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 1.5rem;
  align-items: center;
}
@media (max-width: 980px){ .livarro-cta-grid{ grid-template-columns: 1fr; } }

.livarro-cta-text{
  margin: .6rem 0 0;
  opacity: .86;
  line-height: 1.6;
  max-width: 60ch;
}
.livarro-cta-actions{
  display: flex;
  flex-direction: column;
  gap: .75rem;
  align-items: flex-end;
}
@media (max-width: 980px){ .livarro-cta-actions{ align-items: flex-start; } }

/* Footer */
.livarro-footer{
  margin-top: 2rem;
  padding: 2.2rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
  opacity: .88;
}
