:root {
  --brand-blue: #0f2747;
  --brand-gold: #c9a034;
  --text: #0b0b0b;
  --muted: #666;
  --bg: #ffffff;
  --ring: rgba(15, 39, 71, 0.2);
  --shadow: 0 6px 20px rgba(0,0,0,0.08);
}

* { box-sizing: border-box; }
html, body {
  height: 100%;
}
body {
  margin: 0;
  font-family: "Noto Sans", system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: 880px;
  margin: 0 auto;
  padding: 32px 20px 48px;
  display: grid;
  gap: 24px;
  align-items: start;
}

/* Layout wrapper */
.layout {
  display: block; /* mobile: single column */
}
.left-panel {
  display: none; /* hidden on mobile */
}
.left-panel img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.right-panel {
  display: block;
}

.brand {
  display: flex;
  justify-content: center;
  padding-top: 8px;
  padding-bottom: 8px;
}
.brand__link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: transform 150ms ease, opacity 150ms ease;
}
.brand__link:hover {
  opacity: 0.9;
  transform: scale(1.02);
}
.brand__logo {
  height: 55px;
  width: auto;
}

.intro {
  text-align: center;
  display: grid;
  gap: 12px;
}
.intro__title {
  font-size: clamp(20px, 3.2vw, 28px);
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.2px;
  color: var(--brand-blue);
}
.intro__desc {
  margin: 0 auto;
  max-width: 760px;
  font-size: clamp(14px, 2.2vw, 18px);
  color: var(--muted);
  line-height: 1.6;
}

.actions {
  display: grid;
  gap: 12px;
}

/* Desktop: layout proporcional e equilibrado */
@media (min-width: 920px) {
  .layout {
    display: grid;
    grid-template-columns: minmax(320px, 38vw) 1fr;
    min-height: 100vh;
  }
  .left-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border-right: 1px solid rgba(15, 39, 71, 0.08);
    padding: 2.5rem;
  }
  .left-panel img {
    display: block;
    width: 100%;
    max-width: 400px;
    height: auto;
    max-height: 75vh;
    object-fit: contain;
  }
  .right-panel {
    display: flex;
    align-items: center;
  }
  .right-panel .container {
    width: 100%;
    max-width: 720px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 40px;
  }

  .brand {
    justify-content: flex-start;
  }

  .actions {
    grid-template-columns: 1fr 1fr;
  }
  .actions .btn:nth-child(odd):last-child,
  .actions .btn--address {
    grid-column: span 2;
  }

  .brand__logo {
    height: 58px;
  }

  .intro {
    text-align: left;
  }
  .intro__desc {
    margin: 0;
  }

  .socials {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 24px 16px 36px;
    gap: 20px;
  }
  .btn {
    padding: 13px 14px;
    font-size: 15px;
  }
  .intro__title {
    font-size: 21px;
  }
  .intro__desc {
    font-size: 15px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  justify-content: center;
  text-decoration: none;
  border-radius: 12px;
  padding: 14px 18px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1;
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, color 120ms ease, border-color 120ms ease;
  border: 1px solid transparent;
  will-change: transform;
}
.btn__icon {
  display: inline-flex;
  align-items: center;
  color: currentColor;
}

/* Primary hierarchy */
.btn--primary {
  background: var(--brand-blue);
  color: #fff;
  box-shadow: var(--shadow);
}
.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
}
.btn--primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow);
}

/* Outline variant */
.btn--outline {
  background: #fff;
  color: var(--brand-blue);
  border-color: rgba(15, 39, 71, 0.25);
}
.btn--outline:hover {
  background: #f7f9fc;
}

/* Address button */
.btn--address {
  font-size: 14.5px;
  line-height: 1.4;
  padding: 13px 18px;
  text-align: center;
}

/* Ghost variant for brand-consistent secondary primaries */
.btn--ghost {
  background: #fff;
  color: var(--brand-blue);
  border-color: transparent;
}
.btn--ghost:hover {
  background: #f9fafb;
}

/* Secondary social icons row */
.socials {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  padding-top: 4px;
}
.iconbtn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--brand-blue);
  background: #fff;
  border: 1px solid rgba(15, 39, 71, 0.15);
  box-shadow: var(--shadow);
  transition: transform 120ms ease, box-shadow 120ms ease, background 120ms ease, border-color 120ms ease;
}
.iconbtn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,0,0,0.10);
  background: #f7f9fc;
}

/* Focus rings for accessibility */
.btn:focus-visible,
.iconbtn:focus-visible,
.footer a:focus-visible {
  outline: none;
  box-shadow: 0 0 0 4px var(--ring);
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .btn,
  .iconbtn {
    transition: none;
  }
}

/* ==========================================================================
   Main Site Footer Styles (Ported)
   ========================================================================== */

:root {
    --primary: #5276c6;
    --primary-light: #6e8edb;
    --accent: #779be8;
    --accent-hover: #789feb;
    --azul-vm: #779be8;
    --text-muted: #475569;
    --bg-white: #ffffff;
    --aqua: #00d4aa;
}

.footer {
    background: var(--primary);
    color: var(--bg-white);
    padding: 4rem 0 2rem;
    display: block; /* Override any previous display settings */
    margin-top: auto;
    width: 100%;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Reset container for footer specifically */
.footer .container {
    max-width: 1300px;
    display: block;
    margin: 0 auto;
    padding: 0 clamp(2rem, 8vw, 150px);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo,
.footer .nav-logo {
    max-width: 260px;
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    font-family: 'Lexend', sans-serif;
    color: var(--bg-white);
    font-size: 1rem;
    margin-bottom: 1.25rem;
    font-weight: 600;
    margin-top: 0;
}

.footer-slogan {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 0;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-white);
    transition: all 0.3s ease;
    text-decoration: none;
}

.footer-social a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: #fff;
    opacity: 0.8;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.footer-links a:hover {
    color: #0f172a;
    opacity: 1;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-legal-links {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.footer-legal-links a {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: var(--accent);
}

.footer-legal-links span {
    color: rgba(255, 255, 255, 0.1);
    font-size: 0.75rem;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

.footer-dev a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-dev a:hover {
    color: var(--aqua);
}

@media (max-width: 968px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .footer-col.footer-brand {
        grid-column: 1 / -1;
    }
}

@media (max-width: 576px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    .footer-bottom-content {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 80px;
    right: 0;
    width: 60px;
    height: 60px;
    background: var(--accent);
    border-radius: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: -2px 4px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #fff;
}

.whatsapp-float::after,
.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: var(--accent);
    z-index: -1;
    opacity: 0.5;
    animation: pulse-wave 3s infinite;
}

.whatsapp-float::before {
    animation-delay: 1.5s;
}

@keyframes pulse-wave {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

@media (min-width: 1024px) {
    .whatsapp-float {
        width: 110px;
        justify-content: flex-start;
        padding-left: 12px;
        padding-right: 15px;
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

.whatsapp-float:hover {
    transform: translateX(-5px);
    background: var(--accent-hover);
    box-shadow: -5px 6px 20px rgba(0, 0, 0, 0.3);
}

.whatsapp-float span {
    display: none;
}

@media (min-width: 1024px) {
    .whatsapp-float span {
        display: block;
        margin-left: 6px;
        font-weight: 700;
        font-size: 0.75rem;
        white-space: nowrap;
        font-family: 'Inter', sans-serif;
    }
}
