@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:wght@400;600;700&family=Nunito:wght@300;400;600&display=swap');

:root {
--primary: #f3951f;
--primary-dark: #c87515;
--dark: #222;
--light: #fff;
--bg: #fff;
--radius: 10px;
}

/* Reset / base */
* { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100% !important;
  overflow-x: hidden !important;
    margin-bottom: 0 !important;
}

body {
  font-family: "Nunito", sans-serif;
  color: var(--dark);
  background: var(--bg);
  line-height: 1.5;
  width: 100%;
  max-width: 100% !important;
  overflow-x: hidden !important;
    margin-bottom: 0 !important;

}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}
footer {
  margin-top: auto;
  background: orange;
  position: relative;
  inset: 0;
}

/* Header */
.main-header {
display: flex;
flex-direction: column;
align-items: center;
padding: 1.2rem 0 0.5rem 0;
background: var(--light);
box-shadow: 0 2px 6px rgba(0,0,0,0.05);
position: fixed; 
top: 0; z-index: 1000;
width: 100%;
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
  height: 160px;
}
.header-center {
display: flex;
flex-direction: column;
align-items: center;
width: 100%;
}
.logo {
height: 70px;   /* maior no mobile */
max-width: 65vw;
margin-bottom: 0.2rem;
transition: height .2s;
}
.menu-btn {
background: none;
border: none;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
/* mais espaço embaixo do botão no mobile */
margin-bottom: 1rem;
}
.menu-btn svg rect {
fill: #f3951f !important; /* cor laranja */
transition: fill .2s;
}

.menu-btn svg {
width: 55px;
height: 55px;
}

.menu {
position: fixed;
top: 0;
right: 0;
left: 0;
background: #fff;
height: 100vh;
width: 100%;
flex-direction: column;
align-items: center;
gap: 2rem;
z-index: 1000;
display: none;
justify-content: center;
font-size: 1.35rem;
box-shadow: 0 2px 16px 0 rgba(0,0,0,.13);
}
.menu.open { display: flex; }
.menu-item {
text-decoration: none; color: var(--dark); font-weight: 700; transition: color .2s;
}
.menu-item.selected,
.menu-item:hover { color: var(--primary); }
.menu-close {
position: absolute;
top: 1rem;
right: 1rem;
background: transparent;
border: none;
z-index: 10;
cursor: pointer;
padding: 0.2rem;
display: flex;
align-items: center;
}
.menu-close svg {
width: 32px;
height: 32px;
display: block;
}

/*.header-actions { display: flex; align-items: center; gap: 1rem; }*/
.menu-instagram svg rect,
.menu-instagram svg circle { transition: transform .3s; }
.menu-instagram:hover svg rect,
.menu-instagram:hover svg circle { transform: scale(1.05); }

.btn-plantao {
background: #6ac5dc !important;
color: #fff !important;
font-weight: 700;
border-radius: 7px;
padding: 0.5rem 1.4rem;
text-decoration: none;
box-shadow: 0 0 0 0 rgba(106,197,220,0.5);
border: none;
transition: background .2s, transform .1s;
animation: pulse-plantao 1.5s infinite;
}
.btn-plantao:hover,
.btn-plantao:active,
.btn-plantao:focus {
background: #f3951f !important;
color: #fff !important;
}

@keyframes pulse-plantao {
0%   { box-shadow: 0 0 0 0 rgba(106,197,220,0.45);}
75%  { box-shadow: 0 0 0 20px rgba(106,197,220,0);}
100% { box-shadow: 0 0 0 0 rgba(106,197,220,0);}
}
.mobile-only { 
display: flex; 
flex-direction: column; 
align-items: center; 
text-align: center; 
padding-top: 5vh; 
padding-bottom: 2vh; 
}
.desktop-only { display: none; }

/* ===== Hero de contato (full-bleed, sem corte) ===== */
.contact-hero {
  position: relative;
  height: clamp(360px, 55vh, 560px);
  overflow: hidden;
  margin-top: 8rem;
}
.contact-hero,
.contact-section { height: auto; min-height: auto; }

.map-wrap { aspect-ratio: 16 / 9; width: 100%; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

/* Se algum container teve a brilhante ideia de usar overflow/height fixos: neutraliza */
.contact-wrap, .contact-grid, .contact-map {
  overflow: visible;
  height: auto;
}

.contact-hero img {
  margin-top: 7% !important;       /* remove o empurrão */
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
}

/* Conteúdo sobreposto */
.contact-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;              /* garante que fica acima da imagem */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  color: #fff;
  pointer-events: none;     /* overlay não bloqueia cliques na imagem, se houver */
  margin-top: 5rem;
  transform: translateY(-20px);
}

.contact-overlay h1 {
  margin: 0;
  font-weight: 800;
  font-size: clamp(1.6rem, 6vw, 2.6rem);
  text-shadow: 0 2px 6px rgba(0,0,0,.25);
}

/* HERO: quadrado fixo e logo contida */
.logo-box {
  display: grid;                 /* centraliza sem dor */
  place-items: center;
  width: clamp(160px, 22vw, 260px);   /* controla pelo lado */
  height: clamp(160px, 22vw, 260px);  /* MESMA ALTURA do lado: vira quadrado */
  padding: 0.6rem;               /* respiro interno discreto */
  border-radius: 18px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
  line-height: 0;                /* elimina sobra vertical de linha */
}

.logo-box img {
  display: block;
  max-width: 85%;
  max-height: 85%;
  width: auto;                   /* não força largura */
  height: auto;                  /* nem altura */
  object-fit: contain;           /* SEM recortar, SEM distorcer */
}
/* Section container */
.contact-section {
  padding: 1.5rem 1rem;
  background: var(--bg, #fff);
}

.contact-wrap {
  margin: 0 auto;
  max-width: 1100px;         /* largura confortável da seção */
}

.contact-title {
  text-align: center;
  font-size: clamp(1.25rem, 5vw, 2rem);
  margin: 0 0 1rem;
  color: var(--dark, #222);
}

/* Grid dos cards (mobile: coluna) */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* Card base */
.info-card {
  padding: 0.9rem 1rem;
  border-radius: 14px;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.75rem 1rem;
}
.info-card--emergency {
  background: #6ac5dc;
  color: #fff;
  box-shadow: 0 8px 20px rgba(106, 197, 220, 0.28);
}

/* Variação laranja (como no print) */
.info-card--accent {
  background: #f59f0b;               /* laranja */
  color: #fff;
  box-shadow: 0 8px 20px rgba(245,159,11,.28);
}

/* Partes do card */
.info-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: none;
}
.info-card__icon [fill="inherit"],
.info-card__icon [style*="fill:inherit"] {
  fill: currentColor;
}

.info-card__icon svg {
  width: 55px;
  height: 55px;
  display: block;
}

.info-card__content { min-width: 0; }
.info-card__eyebrow { margin: 0; opacity: .9; font-weight: 600; }
.info-card__title   { margin: .1rem 0 .25rem; font-size: 1.25rem; line-height: 1.2; }
.info-card__text    { margin: 0; }

.info-card a { color: #fff; text-decoration: underline; }

/* Mapa responsivo (mobile) */
.contact-map {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}

.contact-map iframe {
  width: 100%;
  aspect-ratio: 16 / 10;  /* altura automática sem gambi */
  border: 0;
}
.footer {
  width: 100%;
  background: #f8981d;
  position: relative;
  padding: 0;
  margin: 0;
  border: none;
}

.footer-inner {
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items:center;
  justify-content:center;
  min-height:140px;
  padding:1.25rem 1rem;
}

/* Rodapé: dog discreto e invisível no mobile */
.footer-dog {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  width: 60px;              /* menorzinho agora */
  height: auto;
  pointer-events: none;
  display: none;             /* escondido no mobile */
}

.footer-dog img {
  display: block;
  width: 100%;
  height: auto;
  width: 400px;
  margin: 0;
  transform: translateY(7px);
  display: none;
}

.footer-logo {
  width: 140px;
  max-width: 55vw;
  height: auto;
  z-index: 1;
  display: block;
  margin: 0 auto 0.6rem auto;
  position: static;
}

.footer-copy {
  position:static;
  transform:none;
  font-family: 'Nunito', Arial, sans-serif;
  color: #fff;
  font-size: 1.05rem;
  text-align: center;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  margin:.2rem 0 0;

}
@media (max-width: 1023.98px) {
  .footer-dog, .footer-dog img { display: none !important; }
}

/* Media queries */
@media (min-width: 1024px) {
  body {
    padding-top: 0; /* ou o valor exato da altura do cabeçalho */
  }
.mobile-only { 
  display: none !important; 
}
.desktop-only { 
  display: flex !important; 
  flex-direction: column; 
  align-items: flex-start; 
}
.main-header {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-left: 8.5rem;
  padding-right: 5.5rem;
  height: 110px;
}
.header-actions {
  flex-direction: row;
  align-items: center;
  gap: 1rem;
}
.header-center {
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  width: auto;
}
.logo {
  height: 50px;
  max-width: 220px;
  margin-bottom: 0;
}
.menu {
  position: static;
  top: unset;
  left: unset;
  width: auto;
  height: auto;
  background: transparent;
  box-shadow: none;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  display: flex !important;
  z-index: auto;
}
.menu-close {
  display: none !important;
}
.menu-btn { display: none; }
.menu-close { display: none !important; }
.servicos-destaque-wrapper {
  flex-direction: row;
  gap: 2rem;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  align-items: flex-start;
  top: -40px;  /* valor ajustável conforme a posição que desejar */
}
  .contact-hero {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden; /* evita scroll */
    margin-top: 0;
  }
  .contact-hero img {
    width: 100vw;
    height: clamp(360px, 50vh, 560px);  /* altura confortável */
    object-fit: cover;                  /* sim, corta um pouco */
    display: block;
  }
  .contact-overlay { gap: 2rem; 
    transform: translateY(0px);
}
  .contact-overlay h1 { font-size: clamp(2rem, 3.2vw, 3rem); }
  .logo-box { padding: 0 2rem; border-radius: 22px; }
  .logo-box img { 
    width: clamp(160px, 18vw, 240px); 
    height: auto;
    filter: none;
  }
   .contact-section { padding: 2rem 1rem 2.25rem; }

  .contact-grid {
    grid-template-columns: repeat(3, 1fr); /* três cards lado a lado */
    gap: 1.25rem;
  }

  .info-card {
    padding: 1rem 1.25rem;
    gap: 1rem 1.25rem;
  }

  .info-card__icon { width: 60px; height: 60px; }
  .info-card__icon svg { width: 60px; height: 60px; }
  .info-card__title { font-size: 1.4rem; }

  .contact-map iframe { aspect-ratio: 16 / 7; } /* mapa mais “panorâmico” no desktop */
}

/* Variação vermelho emergência (se quiser um terceiro card depois) */
.info-card--danger {
  background: #b91c1c;
  color: #fff;
  box-shadow: 0 8px 20px rgba(185,28,28,.28);
}
.footer-inner {
  .footer-inner{
    min-height:160px;
    padding:2rem 1rem;
  }

  .footer-dog{ display:block; width:55px; transform:translateY(-7px); }

  .footer-dog img {
    display: block;
  }
  .footer-logo{
    width:190px;        /* ajusta a gosto: 180–220px */
    max-width:220px;
    margin:0 0 .7rem 0;
  }
  .footer-copy{
    font-size:1rem;
  }
}