/* ===== HERO ===== */

.contact-hero {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 140px 28px 90px;
  background: linear-gradient(180deg, #081224 0%, #0d2345 100%);
  color: #fff;
  text-align: center;
}

.contact-hero .page-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      180deg,
      rgba(5, 12, 25, 0.34) 0%,
      rgba(5, 12, 25, 0.76) 100%
    ),
    linear-gradient(
      90deg,
      rgba(13, 35, 69, 0.18) 0%,
      rgba(13, 35, 69, 0.12) 100%
    );
}

.contact-hero .page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
}

.contact-hero h1 {
  font-size: clamp(2.7rem, 5vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.04em;
  margin-bottom: 20px;
}

.contact-hero p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.84);
}

/* ===== BLOCO PRINCIPAL ===== */

.contact-main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(320px, 0.85fr);
  gap: 28px;
  align-items: start;
}

.contact-form-card,
.contact-info-card,
.contact-highlight-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(13, 35, 69, 0.08);
  border-radius: 28px;
  box-shadow: 0 20px 60px rgba(13, 35, 69, 0.08);
}

.contact-form-card {
  padding: 34px;
}

.left-head.compact-head {
  text-align: left;
  margin-bottom: 28px;
}

.left-head.compact-head h2 {
  max-width: 680px;
}

.contact-side {
  display: grid;
  gap: 22px;
}

/* ===== FORMULÁRIO ===== */

.contact-form {
  display: grid;
  gap: 18px;
}

.form-grid.two-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.field-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0d2345;
}

.field-group input,
.field-group select,
.field-group textarea {
  width: 100%;
  border: 1px solid rgba(13, 35, 69, 0.1);
  background: rgba(13, 35, 69, 0.03);
  border-radius: 16px;
  padding: 16px 18px;
  font-size: 0.98rem;
  color: #0d2345;
  outline: none;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.field-group input::placeholder,
.field-group textarea::placeholder {
  color: #7d889a;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border-color: rgba(13, 35, 69, 0.2);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(13, 35, 69, 0.04);
}

.field-group textarea {
  resize: vertical;
  min-height: 160px;
}

/* ===== CARDS LATERAIS ===== */

.contact-info-card {
  padding: 28px;
}

.contact-info-card h3 {
  font-size: 1.28rem;
  line-height: 1.35;
  color: #0d2345;
  margin-bottom: 14px;
}

.contact-info-card p {
  color: #5c6b82;
  line-height: 1.8;
}

.contact-info-list {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}

.contact-info-item {
  padding: 16px 18px;
  border-radius: 18px;
  background: rgba(13, 35, 69, 0.03);
  border: 1px solid rgba(13, 35, 69, 0.06);
}

.contact-info-item span {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6a768c;
  margin-bottom: 8px;
}

.contact-info-item a {
  color: #0d2345;
  text-decoration: none;
  line-height: 1.6;
}

.full-btn {
  width: 100%;
}

/* ===== HIGHLIGHTS ===== */

.contact-highlight-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-highlight-card {
  padding: 28px;
}

.contact-highlight-card h3 {
  font-size: 1.18rem;
  line-height: 1.4;
  color: #0d2345;
  margin-bottom: 12px;
}

.contact-highlight-card p {
  color: #5c6b82;
  line-height: 1.8;
}

/* ===== MAPA / ORIGEM ===== */

.contact-map-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: center;
  padding: 34px;
  background: linear-gradient(135deg, #ffffff, #f3f7fc);
  border: 1px solid rgba(13, 35, 69, 0.08);
  border-radius: 30px;
  box-shadow: 0 20px 60px rgba(13, 35, 69, 0.08);
}

.contact-map-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
  color: #0d2345;
  margin-bottom: 14px;
}

.contact-map-copy p {
  color: #5c6b82;
  line-height: 1.8;
}

.contact-map-visual {
  min-width: 0;
}

/* ===== RESPONSIVO ===== */

@media (max-width: 1100px) {
  .contact-main-grid,
  .contact-highlight-grid,
  .contact-map-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .form-grid.two-cols {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .contact-hero {
    min-height: auto;
    padding: 120px 18px 72px;
  }

  .contact-hero h1 {
    font-size: 2.3rem;
  }

  .contact-form-card,
  .contact-info-card,
  .contact-highlight-card,
  .contact-map-panel {
    padding: 22px;
    border-radius: 22px;
  }
}

.input-shell {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid rgba(13, 35, 69, 0.1);
  background: rgba(13, 35, 69, 0.03);
  border-radius: 18px;
  transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.textarea-shell {
  align-items: flex-start;
}

.input-shell:focus-within {
  border-color: rgba(13, 35, 69, 0.2);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(13, 35, 69, 0.04);
  transform: translateY(-1px);
}

.input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #7a8799;
  font-size: 0.95rem;
  pointer-events: none;
}

.textarea-shell .input-icon {
  top: 22px;
  transform: none;
}

.field-group input,
.field-group select,
.field-group textarea {
  border: none;
  background: transparent;
  box-shadow: none;
  padding: 16px 18px 16px 46px;
}

.field-group input:focus,
.field-group select:focus,
.field-group textarea:focus {
  border: none;
  background: transparent;
  box-shadow: none;
}

.contact-submit-btn {
  margin-top: 8px;
  min-height: 58px;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 18px 40px rgba(13, 35, 69, 0.16);
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.contact-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 24px 48px rgba(13, 35, 69, 0.2);
}

.contact-submit-btn:active {
  transform: translateY(0);
}

.form-alert {
  padding: 14px 16px;
  border-radius: 16px;
  margin-bottom: 18px;
  font-size: 0.95rem;
  line-height: 1.5;
  border: 1px solid transparent;
}

.form-alert.success {
  background: rgba(28, 126, 77, 0.08);
  color: #1c7e4d;
  border-color: rgba(28, 126, 77, 0.14);
}

.form-alert.error {
  background: rgba(176, 53, 53, 0.08);
  color: #b03535;
  border-color: rgba(176, 53, 53, 0.14);
}

/* ===== HERO PREMIUM ===== */

.premium-contact-hero{
background:
linear-gradient(
180deg,
rgba(7,18,35,.35),
rgba(7,18,35,.82)
),
linear-gradient(
135deg,
#081224 0%,
#0d2345 55%,
#122f5b 100%
);
}

.premium-contact-hero h1{
max-width:920px;
margin-inline:auto;
}

.premium-contact-hero p{
max-width:700px;
margin-inline:auto;
}

/* ===== MAIN GRID ===== */

.premium-contact-grid{
grid-template-columns:minmax(0,1.15fr) minmax(360px,.85fr);
gap:34px;
align-items:start;
}

/* ===== FORM CARD ===== */

.premium-form-card{
padding:42px;
border-radius:34px;
background:
linear-gradient(
135deg,
rgba(255,255,255,.98),
rgba(245,249,255,.94)
);
box-shadow:
0 30px 90px rgba(13,35,69,.08);
position:relative;
overflow:hidden;
}

.premium-form-card::before{
content:"";
position:absolute;
top:0;
left:0;
width:100%;
height:1px;
background:
linear-gradient(
90deg,
transparent,
rgba(13,35,69,.18),
transparent
);
}

.form-card-top{
margin-bottom:30px;
}

.form-card-top h2{
font-size:clamp(2rem,4vw,3rem);
line-height:1.08;
margin-bottom:14px;
color:#0d2345;
}

.form-card-top p{
line-height:1.8;
color:#5c6b82;
max-width:650px;
}

/* ===== INPUTS ===== */

.input-shell{
background:#fff;
border:1px solid rgba(13,35,69,.08);
border-radius:18px;
min-height:60px;
box-shadow:
inset 0 1px 0 rgba(255,255,255,.7);
}

.input-shell:focus-within{
transform:translateY(-1px);
box-shadow:
0 0 0 4px rgba(13,35,69,.04),
0 10px 24px rgba(13,35,69,.06);
}

.field-group input,
.field-group select,
.field-group textarea{
font-size:1rem;
}

.contact-submit-btn{
margin-top:10px;
min-height:60px;
border-radius:999px;
box-shadow:
0 20px 50px rgba(13,35,69,.18);
}

/* ===== SIDE CARDS ===== */

.premium-contact-side{
display:grid;
gap:24px;
}

.contact-glass-card{
padding:30px;
border-radius:30px;
backdrop-filter:blur(18px);
background:
rgba(255,255,255,.86);
box-shadow:
0 24px 70px rgba(13,35,69,.08);
}

.contact-dark-card{
padding:34px;
border-radius:30px;
background:
linear-gradient(
135deg,
#0d2345,
#16355f
);
color:#fff;
box-shadow:
0 28px 80px rgba(13,35,69,.18);
}

.contact-dark-card h3,
.contact-dark-card p{
color:#fff;
}

.light-outline{
border:1px solid rgba(255,255,255,.28);
color:#fff;
background:transparent;
}

/* ===== INFO ITEMS ===== */

.premium-info-list{
gap:18px;
margin-top:24px;
}

.premium-info-item{
padding:18px 20px;
border-radius:18px;
background:
linear-gradient(
135deg,
rgba(13,35,69,.02),
rgba(13,35,69,.05)
);
}

/* ===== HIGHLIGHTS ===== */

.premium-highlight-grid{
gap:28px;
}

.premium-highlight-card{
padding:30px;
border-radius:28px;
background:
linear-gradient(
135deg,
#ffffff,
#f5f8fd
);
box-shadow:
0 18px 55px rgba(13,35,69,.06);
}

.premium-highlight-card h3{
font-size:1.22rem;
}

/* ===== MAP PANEL ===== */

.premium-map-panel{
padding:38px;
border-radius:34px;
background:
linear-gradient(
135deg,
#ffffff,
#eef4fb
);
box-shadow:
0 24px 70px rgba(13,35,69,.08);
}

.premium-map-visual .image-placeholder{
min-height:520px;
border-radius:28px;
display:flex;
align-items:center;
justify-content:center;
background:
linear-gradient(
135deg,
#dfe7f3,
#eef3fa
);
}

/* ===== HOVER ===== */

.hover-lift{
transition:
transform .35s ease,
box-shadow .35s ease;
}

.hover-lift:hover{
transform:translateY(-6px);
}

/* ===== RESPONSIVO ===== */

@media (max-width:1100px){

.premium-contact-grid,
.premium-highlight-grid,
.premium-map-panel{
grid-template-columns:1fr;
}

}

@media (max-width:640px){

.premium-form-card,
.contact-glass-card,
.contact-dark-card,
.premium-highlight-card,
.premium-map-panel{
padding:22px;
border-radius:22px;
}

.form-card-top h2{
font-size:2rem;
}

}