/* ECLI landing — desktop layout only. Mobile styles stay in each index.html. */

.nav-desktop {
  display: none;
}

.hero-bg-picture {
  display: block;
  line-height: 0;
}

@media (min-width: 1024px) {
  :root {
    --max: 100%;
    --pad: 48px;
    --content: 1180px;
  }

  body {
    background: var(--bg);
  }

  /* Full-width page shell — no phone column */
  .page {
    max-width: none;
    width: 100%;
    margin: 0;
  }

  .top,
  .preco,
  .trust,
  .section,
  footer {
    box-sizing: border-box;
  }

  .top {
    max-width: none;
    width: 100%;
    margin: 0;
    padding-left: var(--pad);
    padding-right: var(--pad);
  }

  .preco,
  .trust,
  .section,
  footer {
    max-width: var(--content);
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--pad);
    padding-right: var(--pad);
  }

  /* —— Header —— */
  .top {
    width: 100%;
    height: 64px;
    column-gap: 20px;
    grid-template-columns: auto 1fr auto;
  }

  .logo img {
    height: 50px;
  }

  .lang {
    justify-self: center;
  }

  .menu-btn {
    display: none !important;
  }

  .nav-desktop {
    display: flex;
    align-items: center;
    gap: 28px;
    justify-self: end;
  }

  .nav-desktop a {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text);
    opacity: 0.9;
    transition: opacity 0.15s ease, color 0.15s ease;
    white-space: nowrap;
  }

  .nav-desktop a:hover {
    opacity: 1;
    color: var(--lime);
  }

  .nav-desktop a.nav-desktop-cta {
    color: var(--lime-ink);
    background: var(--lime);
    opacity: 1;
    padding: 10px 16px;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0.02em;
  }

  .nav-desktop a.nav-desktop-cta:hover {
    color: var(--lime-ink);
    box-shadow: 0 8px 22px rgba(198, 225, 25, 0.28);
  }

  /* —— Hero: centered text + image below —— */
  .hero {
    padding: 48px var(--pad) 56px;
    overflow: visible;
    max-width: none;
    width: 100%;
    text-align: center;
  }

  .hero-stage {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 36px;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: var(--content);
    background: transparent;
    grid-template-columns: none;
    grid-template-rows: none;
    min-height: 0;
    max-height: none;
  }

  .hero-copy {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    width: 100%;
    max-width: 720px;
    height: auto;
    min-height: 0;
    padding: 12px 0 0;
    background: none;
    grid-column: auto;
    grid-row: auto;
  }

  .hero-stage .hero-bg-picture {
    display: block;
    width: min(100%, 960px);
    height: auto;
    overflow: hidden;
    background: var(--bg);
    line-height: 0;
    border-radius: 16px;
    border: 1px solid var(--line);
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.45);
    grid-column: auto;
    grid-row: auto;
  }

  .hero-stage .hero-bg-picture img.hero-bg,
  .hero-stage img.hero-bg {
    width: 100%;
    height: auto;
    max-height: none;
    min-height: 0;
    object-fit: contain;
    object-position: center center;
    display: block;
  }

  .hero-kicker {
    margin: 0 auto 12px;
    font-size: clamp(2rem, 2.6vw, 2.45rem);
  }

  .hero h1 {
    margin: 0 auto 16px;
    max-width: 18ch;
    font-size: clamp(2rem, 3.2vw, 2.75rem);
  }

  .hero-sub {
    margin: 0 auto 18px;
    max-width: 42ch;
    font-size: 1.08rem;
    line-height: 1.5;
    text-shadow: none;
  }

  .hero-powered {
    margin: 0 auto 32px;
    text-align: center;
  }

  .hero-powered .powered-label {
    text-shadow: none;
    font-size: 0.68rem;
  }

  .hero-powered .powered-name {
    font-size: 0.95rem;
    text-shadow: none;
  }

  .hero-ctas {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: auto;
    max-width: none;
    margin: 0 auto;
    gap: 14px;
  }

  .hero-ctas .btn-lime,
  .hero-ctas .btn-dark-hero {
    width: auto;
    min-width: 180px;
    font-size: 0.9rem;
    padding: 14px 22px;
  }

  /* —— Content sections —— */
  .preco {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .preco-title {
    margin-bottom: 36px;
    font-size: 2rem;
  }

  .perk-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .perk {
    padding: 24px 18px;
    align-items: flex-start;
    text-align: left;
  }

  .trust {
    padding-top: 56px;
    padding-bottom: 56px;
  }

  .trust-title {
    max-width: 28ch;
    margin-bottom: 36px;
    font-size: 1.6rem;
  }

  .section {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .section-title-lime {
    max-width: 28ch;
    font-size: 1.9rem;
    margin-bottom: 18px;
  }

  .lead {
    max-width: 56ch;
    font-size: 1.1rem;
    margin-bottom: 32px;
  }

  .tools-list {
    grid-template-columns: 1fr 1fr;
    gap: 16px;
  }

  .tool {
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
    gap: 16px;
    padding: 24px 20px;
  }

  .tool strong {
    font-size: 1.05rem;
  }

  .tool p {
    max-width: none;
  }

  .section-cta {
    margin-top: 40px;
  }

  .section-visuals {
    grid-template-columns: 1.15fr 0.95fr;
    grid-template-areas:
      "laptop meteo"
      "caption caption";
    gap: 28px;
    margin-top: 48px;
    align-items: center;
  }

  .section-visuals .section-visual:first-child {
    grid-area: laptop;
  }

  .section-visuals .visual-caption {
    grid-area: caption;
    margin: 0;
  }

  .section-visuals .section-visual:last-child {
    grid-area: meteo;
  }

  .visual-caption p {
    max-width: 52ch;
  }

  .ref-split {
    gap: 32px;
    margin-top: 12px;
  }

  /* —— Final CTA —— */
  .final {
    max-width: none;
    width: 100%;
    min-height: 460px;
  }

  .final-bg {
    width: 100%;
    height: 460px;
    object-fit: cover;
    object-position: center;
  }

  .final-copy {
    padding: 56px var(--pad);
  }

  .final h2 {
    max-width: 24ch;
    font-size: clamp(1.7rem, 2.4vw, 2.2rem);
    margin-bottom: 16px;
  }

  .final p {
    max-width: 42ch;
    font-size: 1.1rem;
    margin-bottom: 24px;
  }

  .final .btn-dark {
    font-size: 0.95rem;
    padding: 15px 26px;
  }

  /* —— Footer —— */
  footer {
    padding-top: 56px;
    padding-bottom: 64px;
    text-align: left;
  }

  .foot-brand {
    justify-content: flex-start;
  }

  .foot-cols {
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 36px 0;
  }

  .socials {
    justify-content: flex-start;
  }

  .legal {
    justify-content: flex-start;
  }
}

@media (min-width: 1400px) {
  :root {
    --pad: 56px;
    --content: 1280px;
  }

  .hero-stage .hero-bg-picture {
    width: min(100%, 1100px);
  }
}
