html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

@font-face {
    font-family: 'Geometria';
src: url('/fonts/Brownfox - Geometria.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Geometria-Bold';
  src: url('/fonts/Brownfox - Geometria Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

/* Container principal */
.contact-bg {
    background: #fff;
    font-family: 'Geometria', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 48px 0 rgba(31, 38, 135, 0.37), 0 0 32px 0 rgba(31, 38, 135, 0.18);
    position: relative;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 0;
    margin: 2rem auto;
    width: 95vw;
    max-width: 95vw;
    min-height: auto;
    overflow: visible;
    padding-bottom: 5.5rem;
}

/* Media queries responsivas */
@media (min-width: 576px) {
    .contact-bg {
   width: 90vw;
     max-width: 90vw;
    }
}

@media (min-width: 768px) {
    .contact-bg {
        width: 85vw;
        max-width: 85vw;
    }
}

@media (min-width: 992px) {
.contact-bg {
   width: 80vw;
        max-width: 80vw;
    }
}

@media (min-width: 2000px) {
    .contact-bg {
        width: 1120px;
        max-width: 1120px;
    }
}

/* Header */
.contact-header {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 1rem 0.5rem 1rem;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .contact-header {
  flex-direction: row;
        padding: 2rem 2rem 0.5rem 2rem;
        gap: 0;
    }
}

@media (min-width: 992px) {
    .contact-header {
     padding: 2.5rem 3rem 0.5rem 3rem;
    }
}

.contact-logo {
    width: 120px;
    max-width: 120px;
    min-width: 120px;
    height: auto;
    display: block;
    margin-bottom: 0;
    object-fit: contain;
}

@media (min-width: 768px) {
    .contact-logo {
        width: 140px;
        max-width: 140px;
        min-width: 140px;
    }
}

@media (min-width: 992px) {
    .contact-logo {
        width: 15vw;
   max-width: 150px;
  min-width: 150px;
    }
}

.contact-header-bar {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    width: 100%;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .contact-header-bar {
        gap: 1.2rem;
        justify-content: flex-end;
    }
}

.simulation-header-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    background: #F7F7F7;
    border: 1px solid #e0e0e0;
border-radius: 0px;
    padding: 6px 12px;
    font-size: 0.85rem;
    color: #222;
  cursor: pointer;
font-weight: 500;
    box-shadow: 0 1px 2px 0 rgba(0,0,0,0.04);
    transition: background 0.2s;
    min-width: 120px;
    width: auto;
    min-height: 36px;
    height: 40px;
    font-family: 'Geometria-Light';
    white-space: nowrap;
    text-align: center;
    flex-shrink: 0;
    box-sizing: border-box;
  justify-content: center;
}

@media (min-width: 768px) {
    .simulation-header-btn {
        padding: 6px 16px;
        font-size: 0.95rem;
        min-width: 180px;
        width: 180px;
    }
}

.simulation-header-btn:hover {
background: #e6f3fa;
}

.simulation-header-toyota {
    width: 24px;
    height: auto;
}

@media (min-width: 768px) {
    .simulation-header-toyota {
        width: 28px;
}
}

.simulation-header-arrow {
    font-size: 1.2rem;
    margin-right: 0.5rem;
}

/* Content */
.contact-content {
    padding: 1rem;
    flex: 1;
}

@media (min-width: 768px) {
    .contact-content {
    padding: 1.5rem 2rem 2rem 2rem;
    }
}

@media (min-width: 992px) {
    .contact-content {
        padding: 1.5rem 3rem 3rem 3rem;
    }
}

/* Laptops pequenos (~1000–1200px): replicar layout de tablet e adicionar folga */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .contact-bg {
        margin: 2rem auto;
    }
    .contact-content {
        padding-top: 2rem;
        padding-bottom: 2rem;
    }
    /* Empilhar cartões como em tablet */
    .contact-content .col-lg-5 {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
    /* Ocultar separador vertical */
    .contact-content .col-lg-1 {
        display: none !important;
    }
    /* Garantir header horizontal: logo à esquerda, botões à direita */
    .contact-header {
        flex-direction: row !important;
    }
    .contact-header-bar {
        justify-content: flex-end !important;
        flex-wrap: nowrap !important;
    }
}

.contact-option {
    background: #fff;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

@media (min-width: 768px) {
    .contact-option {
 padding: 2rem;
}
}

@media (min-width: 992px) {
    .contact-option {
        padding: 2.5rem;
    }
}

.contact-option-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    min-height: 40px;
}

@media (min-width: 768px) {
    .contact-option-header {
        margin-bottom: 1.2rem;
        min-height: 44px;
    }
}

.contact-icon-wrapper {
  background: none;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #009FE3;
}

.contact-icon-svg {
    margin-right: 6px;
    vertical-align: middle;
    background: transparent;
    display: block;
}

.contact-option-title {
    font-family: 'Geometria-Bold', 'Geometria', Arial, sans-serif;
    font-size: 1.1rem;
    font-weight: bold;
  margin-left: 0.2rem;
}

@media (min-width: 768px) {
    .contact-option-title {
        font-size: 1.2rem;
    }
}

@media (min-width: 992px) {
    .contact-option-title {
        font-size: 1.3rem;
    }
    .contact-option-header {
        min-height: 48px;
    }
}

.contact-option-title.call,
.contact-option-title.email {
    color: #009FE3;
}

.contact-option-desc {
    font-family: 'Geometria', Arial, sans-serif;
    font-size: 0.95rem;
    margin-bottom: 1rem;
    color: #222;
    min-height: 60px;
    display: flex;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .contact-option-desc {
 font-size: 1rem;
        min-height: 70px;
        margin-bottom: 1.2rem;
    }
}

@media (min-width: 992px) {
    .contact-option-desc {
        font-size: 1.05rem;
      min-height: 80px;
  }
}

.contact-label {
    font-family: 'Geometria', Arial, sans-serif;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: #222;
}

@media (min-width: 768px) {
    .contact-label {
        font-size: 1rem;
    }
}

.contact-input-row {
    display: flex;
    width: 100%;
  margin-bottom: 1rem;
    min-height: 44px;
    align-items: stretch;
}

@media (min-width: 768px) {
    .contact-input-row {
        min-height: 48px;
  margin-bottom: 1.2rem;
    }
}

.contact-input {
    flex: 1 1 0;
 padding: 0.6rem 0.8rem;
  font-size: 0.95rem;
    border: none;
    border-radius: 0.2rem 0 0 0.2rem;
    outline: none;
    font-family: 'Geometria', Arial, sans-serif;
    background: #f8f8f8;
    color: #222;
    margin-right: 0;
    height: 44px;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .contact-input {
      padding: 0.7rem 1rem;
      font-size: 1rem;
        height: 48px;
    }
}

.contact-btn {
    background: #009FE3;
    color: #fff;
    font-family: 'Geometria-Bold', 'Geometria', Arial, sans-serif;
    font-size: 0.9rem;
    border-radius: 0 0.2rem 0.2rem 0;
    padding: 0;
    border: none;
    font-weight: bold;
    cursor: pointer;
    margin-left: 0.2rem;
    transition: background 0.2s;
white-space: nowrap;
    height: 44px;
    min-width: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

@media (min-width: 768px) {
    .contact-btn {
        font-size: 1rem;
        height: 48px;
        min-width: 140px;
    }
}

.contact-btn:hover:not(:disabled) {
    background: #007bbd;
}

.contact-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.contact-divider {
width: 1px;
    background: #e0e0e0;
    height: 100%;
}

.contact-privacy {
    font-size: 0.55rem;
    color: #222;
    margin-top: 1rem;
    font-family: 'Geometria', Arial, sans-serif;
    line-height: 1.3;
}

@media (min-width: 768px) {
  .contact-privacy {
     font-size: 0.6rem;
        margin-top: 1.2rem;
    }
}

/* Footer */
.contact-footer-bar {
    width: calc(100% + 2px);
    height: 60px;
    background: #00AEEF;
    position: absolute;
    bottom: -1px;
    left: -1px;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .contact-footer-bar {
    height: 72px;
    }
}

.contact-bottom-arrow-btn {
    position: absolute;
    right: 24px;
    bottom: 18px;
    background: #F5F5F5;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    width: 60px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    cursor: pointer;
    transition: background 0.2s;
}

@media (min-width: 768px) {
    .contact-bottom-arrow-btn {
        right: 48px;
        bottom: 22px;
 }
}

.contact-bottom-arrow-btn:hover {
    background: #e6f3fa;
}

.contact-bottom-arrow-icon {
    font-size: 1.5rem;
    color: #00AEEF;
}

/* Laptop Compact Mode (125% scaling or small vertical space) */
@media (min-width: 992px) and (max-height: 950px) and (max-width: 1550px) {
    html, body {
        overflow-y: auto !important; /* Force scroll if needed */
        height: 100%;
        min-height: 100vh;
    }

    .contact-bg {
        margin: 1rem auto;
        min-height: auto;
        height: auto;
        /* Ensure it doesn't overflow horizontally but allows vertical scroll */
        max-width: 95vw;
        overflow: visible;
        padding-bottom: 4rem; /* Reduzir padding bottom */
    }

    /* Only override padding for smaller screens within this height range, 
       preserve wider layout for very wide but short screens if needed, 
       but generally standard padding is fine if width is ample. 
       Let's keep these overrides to ensure it fits vertically. */
    .contact-header {
        padding: 1.5rem 2rem 0.5rem 2rem;
    }

    .contact-content {
        padding: 1rem 2rem 2rem 2rem;
    }

    .contact-option {
        padding: 1.5rem;
    }
}

/* Spinner */
.spinner-inline {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spinner .6s linear infinite;
}

@keyframes spinner {
    to { transform: rotate(360deg); }
}

/* Alert customization */
.alert {
    font-family: 'Geometria', Arial, sans-serif;
 font-size: 0.85rem;
}

@media (min-width: 768px) {
    .alert {
        font-size: 0.9rem;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .contact-content .col-lg-5 ~ .col-lg-5 .contact-option {
        border-top: 1px solid #e0e0e0;
        margin-top: 1rem;
        padding-top: 1.5rem;
    }
}

@media (max-width: 991.98px) {
    .contact-content .col-lg-5 ~ .col-lg-5 .contact-option {
        border-top: 1px solid #e0e0e0;
        margin-top: 1rem;
        padding-top: 1.5rem;
    }
}

@media (max-width: 767px) {
    .contact-bg {
        width: auto !important;
        max-width: 100% !important;
        margin: 1rem !important;
    }
}

@media (max-width: 399.98px) {
    .contact-header-bar {
        display: none !important;
    }
    .contact-header {
        justify-content: center !important;
    }
    .contact-logo {
        display: block !important;
        margin: 0 auto !important;
    }
}

