/* HVAC landing fallback styles for brand palette and effects */

:root {
    --brand-blue: #1e3a8a;
    --brand-light-blue: #3b82f6;
    --brand-red: #dc2626;
    --brand-dark-red: #991b1b;
    --brand-gray: #f3f4f6;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    overflow-x: hidden;
}

body.mobile-menu-open {
    overflow: hidden;
}

#header {
    top: 0;
    left: 0;
}

section[id] {
    scroll-margin-top: 90px;
}

.text-brand-blue { color: var(--brand-blue); }
.text-brand-lightBlue { color: var(--brand-light-blue); }
.text-brand-red { color: var(--brand-red); }

.bg-brand-blue { background-color: var(--brand-blue); }
.bg-brand-lightBlue { background-color: var(--brand-light-blue); }
.bg-brand-red { background-color: var(--brand-red); }
.bg-brand-darkRed { background-color: var(--brand-dark-red); }
.bg-brand-gray { background-color: var(--brand-gray); }

.border-brand-blue { border-color: var(--brand-blue); }
.border-brand-red { border-color: var(--brand-red); }
.border-brand-lightBlue { border-color: var(--brand-light-blue); }

.hover\:bg-brand-darkRed:hover { background-color: var(--brand-dark-red); }
.hover\:bg-brand-red:hover { background-color: var(--brand-red); }
.hover\:text-brand-blue:hover { color: var(--brand-blue); }
.hover\:text-brand-lightBlue:hover { color: var(--brand-light-blue); }
.hover\:border-brand-blue:hover { border-color: var(--brand-blue); }

.group:hover .group-hover\:bg-brand-blue { background-color: var(--brand-blue); }
.group:hover .group-hover\:bg-brand-red { background-color: var(--brand-red); }
.group:hover .group-hover\:text-white { color: #fff; }

.font-sans {
    font-family: "DM Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
}

.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-br { background-image: linear-gradient(to bottom right, var(--tw-gradient-stops)); }

.from-brand-blue {
    --tw-gradient-from: var(--brand-blue) var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(30 58 138 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.from-brand-blue\/90 {
    --tw-gradient-from: rgb(30 58 138 / 0.9) var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(30 58 138 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-brand-blue\/70 {
    --tw-gradient-to: rgb(30 58 138 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), rgb(30 58 138 / 0.7) var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.from-brand-blue\/95 {
    --tw-gradient-from: rgb(30 58 138 / 0.95) var(--tw-gradient-from-position);
    --tw-gradient-to: rgb(30 58 138 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to);
}

.via-brand-blue\/90 {
    --tw-gradient-to: rgb(30 58 138 / 0) var(--tw-gradient-to-position);
    --tw-gradient-stops: var(--tw-gradient-from), rgb(30 58 138 / 0.9) var(--tw-gradient-via-position), var(--tw-gradient-to);
}

.bg-brand-red\/10 { background-color: rgb(220 38 38 / 0.1); }
.bg-brand-blue\/20 { background-color: rgb(30 58 138 / 0.2); }
.border-brand-red\/30 { border-color: rgb(220 38 38 / 0.3); }
.border-brand-lightBlue\/20 { border-color: rgb(59 130 246 / 0.2); }
.to-blue-800 {
    --tw-gradient-to: #1e40af var(--tw-gradient-to-position);
}

.shadow-soft { box-shadow: 0 4px 20px -2px rgb(0 0 0 / 0.05); }
.shadow-card { box-shadow: 0 10px 30px -5px rgb(30 58 138 / 0.08); }
.shadow-brand-red\/20 { box-shadow: 0 10px 25px -5px rgb(220 38 38 / 0.2); }
.shadow-brand-red\/30 { box-shadow: 0 10px 25px -5px rgb(220 38 38 / 0.3); }

#footer p,
#footer ul {
    margin: 0;
}

#footer .footer-col {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-col.col-links {
    position: relative;
    left: 2rem;
}

.footer-col.col-seals {
    position: relative;
    right: 5rem;
}

#footer .footer-title {
    margin-bottom: 0.25rem;
}

#footer .footer-links li + li {
    margin-top: 0.8rem;
}

.footer-col.col-seals .footer-title {
    position: relative;
    left: 1.2rem;
}

.footer-col.col-seals img {
    display: block;
    width: min(100%, 260px);
    margin-inline: auto;
    height: auto;
}

#contact .contact-form-shortcode p {
    margin: 0 0 1rem;
}

#contact .contact-form-shortcode .wpcf7 {
    width: 100%;
}

#contact .contact-form-shortcode .screen-reader-response {
    position: absolute;
    left: -9999px;
}

#contact .contact-form-shortcode .hidden-fields-container {
    display: none;
}

#contact .contact-form-shortcode .wpcf7-form {
    display: grid;
    gap: 0.75rem;
}

#contact .contact-form-shortcode .wpcf7-form > p {
    margin: 0;
}

#contact .contact-form-shortcode .wpcf7-form > p:last-of-type {
    margin-bottom: 0;
}

#contact .contact-form-shortcode label {
    display: block;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.2rem;
    font-size: 0.875rem;
    line-height: 1.35;
}

#contact .contact-form-shortcode label br {
    display: none;
}

#contact .contact-form-shortcode .wpcf7-form-control-wrap {
    display: block;
    margin-top: 0.35rem;
}

#contact .contact-form-shortcode input:not([type="submit"]),
#contact .contact-form-shortcode input:not([type="checkbox"]):not([type="radio"]),
#contact .contact-form-shortcode select,
#contact .contact-form-shortcode textarea {
    width: 100%;
    border: 1px solid #cbd5e1;
    border-radius: 0.65rem;
    padding: 0.75rem 0.9rem;
    background: #ffffff;
    color: #111827;
    outline: none;
    box-shadow: inset 0 1px 2px rgb(15 23 42 / 0.02);
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    font-size: 0.95rem;
    line-height: 1.35;
}

#contact .contact-form-shortcode textarea {
    min-height: 56px;
    height: 56px !important;
    resize: vertical;
}

#contact .contact-form-shortcode input::placeholder,
#contact .contact-form-shortcode textarea::placeholder {
    color: #cbd5e1 !important;
    font-weight: 300 !important;
    opacity: 1;
}

#contact .contact-form-shortcode input:focus,
#contact .contact-form-shortcode select:focus,
#contact .contact-form-shortcode textarea:focus {
    border-color: var(--brand-light-blue);
    background: #fff;
    box-shadow: 0 0 0 3px rgb(59 130 246 / 0.15);
}

#contact .contact-form-shortcode input[type="submit"],
#contact .contact-form-shortcode button,
#contact .contact-form-shortcode .wpcf7-submit {
    appearance: none;
    border: 0;
    border-radius: 9999px;
    background: var(--brand-blue);
    color: #fff;
    font-weight: 700;
    width: 100%;
    min-height: 46px;
    padding: 0.75rem 1.1rem;
    cursor: pointer;
    font-size: 0.95rem;
    box-shadow: 0 10px 20px -10px rgb(30 58 138 / 0.45);
    transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

/* CF7 may override the default submit styles; force the base button state */
#contact .contact-form-shortcode .wpcf7 input.wpcf7-submit,
#contact .contact-form-shortcode .wpcf7-form input.wpcf7-submit {
    background: var(--brand-blue) !important;
    color: #fff !important;
    border: 0 !important;
}

#contact .contact-form-shortcode input[type="submit"]:hover,
#contact .contact-form-shortcode button:hover,
#contact .contact-form-shortcode .wpcf7-submit:hover {
    background: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px -10px rgb(30 64 175 / 0.55);
}

#contact .contact-form-shortcode .wpcf7-spinner {
    margin-left: 0.6rem;
    vertical-align: middle;
}

#contact .contact-form-shortcode .wpcf7-response-output {
    border-width: 1px;
}

#contact .contact-form-shortcode .wpcf7-not-valid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgb(239 68 68 / 0.1);
}

#contact .contact-form-shortcode .wpcf7-not-valid-tip {
    display: block;
    margin-top: 0.4rem;
    color: #b91c1c;
    font-size: 0.85rem;
    font-weight: 500;
}

#contact .contact-form-shortcode .wpcf7 form .wpcf7-response-output {
    margin: 0.25rem 0 0;
    padding: 0.85rem 1rem;
    border-radius: 0.75rem;
    font-size: 0.9rem;
    line-height: 1.4;
}

#contact .contact-form-shortcode .wpcf7 form.sent .wpcf7-response-output {
    border-color: #16a34a;
    background: rgb(22 163 74 / 0.08);
    color: #166534;
}

#contact .contact-form-shortcode .wpcf7 form.invalid .wpcf7-response-output,
#contact .contact-form-shortcode .wpcf7 form.unaccepted .wpcf7-response-output,
#contact .contact-form-shortcode .wpcf7 form.failed .wpcf7-response-output {
    border-color: #ef4444;
    background: rgb(239 68 68 / 0.06);
    color: #991b1b;
}

@media (min-width: 768px) {
    #contact .contact-form-shortcode .wpcf7-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 0.85rem;
        row-gap: 0.8rem;
        align-items: start;
    }

    #contact .contact-form-shortcode .wpcf7-form > p:nth-of-type(1),
    #contact .contact-form-shortcode .wpcf7-form > p:nth-of-type(2) {
        grid-column: span 1;
    }

    #contact .contact-form-shortcode .wpcf7-form > p:nth-of-type(3),
    #contact .contact-form-shortcode .wpcf7-form > p:nth-of-type(4),
    #contact .contact-form-shortcode .wpcf7-form > p:nth-of-type(5),
    #contact .contact-form-shortcode .wpcf7-form > .wpcf7-response-output {
        grid-column: 1 / -1;
    }
}

@media (max-width: 1023px) {
    .footer-col.col-links,
    .footer-col.col-seals,
    .footer-col.col-seals .footer-title {
        position: static !important;
        left: auto !important;
        right: auto !important;
    }

    .footer-col.col-seals .footer-title {
        text-align: center;
    }
}

@media (max-width: 767px) {
    #footer .footer-col {
        align-items: center;
        text-align: center;
    }

    #footer .footer-col > a,
    #footer .footer-col > div,
    #footer .footer-col > img,
    #footer .footer-col > p,
    #footer .footer-col > ul {
        margin: auto;
    }

    #footer .footer-links {
        width: 100%;
        text-align: center;
    }

    #footer .footer-links li.flex {
        justify-content: center;
        text-align: center;
    }

    #footer .footer-links li.flex.items-start {
        align-items: flex-start;
		max-width: 80%;
		margin-left: auto;
		margin-right: auto;
    }

    #footer .footer-col .flex.gap-4.text-lg {
        justify-content: center;
    }

    #footer .footer-brand-text {
        max-width: 55%;
        margin-inline: auto;
    }
	
    #footer .footer-col:first-child .flex {
        width: 100%;
        justify-content: center;
    }

    #footer .footer-col:first-child img {
        object-position: center !important;
    }
}

.floating-phone {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #1e5eff, #0b3bbf);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  z-index: 9999;
  text-decoration: none;
  animation: pulse 2.5s infinite, bounce 3s infinite;
  transition: transform 0.3s ease;
}

.floating-phone:hover {
  transform: scale(1.08);
}

/* ÍCONE */
.floating-phone svg {
  width: 28px;
  height: 28px;
  fill: #ffffff;
}

/* PULSE */
@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(30, 94, 255, 0.7);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(30, 94, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(30, 94, 255, 0);
  }
}

/* BOUNCE LEVE */
@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* RESPONSIVO */
@media (max-width: 768px) {
  .floating-phone {
    width: 58px;
    height: 58px;
    bottom: 18px;
    right: 18px;
  }
}