:root{
  --bg:#ffffff;
  --text:#7a7a7a;
  --muted:#7a7a7a;
  --accent:#bb9979;
  --max-width:1200px;
  --gap:18px;
  --radius:8px;
  font-family: 'Source Serif 4', serif;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:var(--text);
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
  font-family: 'Source Serif 4', serif;
  font-weight: 400;
}

.wrap{
  max-width:var(--max-width);
  margin:0 auto;
  padding:0 20px;
}

/* ===== MENU / HEADER ===== */
.site-header{
  background: linear-gradient(rgba(255,255,255,0.85), rgba(255,255,255,0.75));
  position:fixed;
  top:0;
  left: 0;
  width: 100%;
  z-index:100;
  border-bottom:1px solid rgba(0,0,0,0.04);
  backdrop-filter: blur(6px);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 0;
}
.logo img{height:80px; display:block
}
.main-nav a{
  font-family: 'Source Serif 4', serif;
  font-weight: 600;
  color:var(--text);
  text-decoration:none;
  margin-left:75px;
  font-size:15px;
  opacity:.85;
  transition: color .3s ease;
}
body.nav-open .main-nav {
  transform: translateX(0);
  z-index: 9999; /* garante que o menu fique acima de tudo */
}
.main-nav a:hover{color:var(--accent)}

/* Botão hambúrguer */
.nav-toggle {
  display: none; /* escondido no desktop */
  background: none;
  border: none;
  cursor: pointer;
  padding: 25px;
}

.nav-toggle .hamburger,
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  display: block;
  width: 24px;
  height: 2px;
  background: #333;
  position: relative;
  transition: transform 0.25s ease, opacity 0.25s ease;
  border-radius: 2px;
}

.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle .hamburger::before { top: -7px; }
.nav-toggle .hamburger::after { top: 7px; }

/* Animação em X */
.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger::after {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile menu */
@media (max-width: 760px) {
  .nav-toggle { display: block; z-index: 60; }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: #fff;
    box-shadow: -12px 0 30px rgba(0,0,0,0.08);
    transform: translateX(100%);
    transition: transform 0.3s ease;
    padding: 80px 20px 20px;
    z-index: 55;
    display: flex;
    flex-direction: column;
    gap: 18px;
  }

  .main-nav a {
    font-size: 18px;
    padding: 8px 6px;
  }

  body.nav-open .main-nav {
    transform: translateX(0);
  }

  body.nav-open {
    overflow: hidden; /* trava scroll quando menu aberto */
  }
}

/* ===== HERO ===== */
.hero{
  width:100%;
  display:block;
  position:relative;
  overflow:hidden;
  background:#eee;
}
.hero-img{
  width:100%;
  height:720px;
  object-fit:cover;
  display:block;
}

/* ===== GALLERY ===== */
.gallery{ padding:3px 0; }
.grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}
.grid .item{
  background:#f5f5f5;
  overflow:hidden;
  min-height:5px;
}
.grid .item img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

/* ===== ABOUT ===== */
.about{
  padding:3px 0;
  border-top:1px solid rgba(0,0,0,0.04);
}
.about-grid{
  display:grid;
  grid-template-columns: 360px 1fr;
  gap:32px;
  align-items:start;
}
.about-photo{
  position:relative;
  display:block;
}
.about-photo img{
  width:150%;
  height:auto;
  display:block;
  object-fit:cover;
}

/* about text */
.about-text p{ 
  position: relative;
  margin-top: 40px;
  margin-left: 220px;
}
.about-text blockquote{
  font-size: 25px;
  font-style:italic;
  text-align: left;
  color:#444;
  padding-left:200px;
  padding-top: 47px;
}

/* ===== CONTACT ===== */
.contact{ 
  padding:48px 0; 
  border-top:1px solid rgba(0,0,0,0.04); 
}
.contact h3{ 
  margin:0 0 8px; 
  font-size:30px; 
  font-weight:600;
}
.contact p{ 
  color:var(--muted); 
  margin-bottom:18px;
  margin-top: 0px; 
}
.contact-form{
  display:block;
  margin-top:10px;
}
.form-row{
  display:flex;
  gap:12px;
  margin-bottom:12px;
}
.form-row input[type="text"],
.form-row input[type="email"],
textarea,
.contact-form input{
  flex:1;
  padding:12px 14px;
  border:1px solid rgba(0,0,0,0.08);
  border-radius:6px;
  font-size:14px;
  font-family: 'Source Serif 4', serif;
}
textarea{ resize:vertical; width:100%; }
.form-actions{
  margin-top:12px;
}
.btn{
  background:#444;
  color:#fff;
  border:none;
  padding:10px 20px;
  border-radius:6px;
  font-weight:600;
  cursor:pointer;
  font-family: 'Source Serif 4', serif;
}
.btn:hover{ opacity:.95; }

/* ===== ICONS ===== */
.social-icons {
  display: flex;
  gap: 12px;
  margin-left: 4px;
}

.social-icons a img {
  width: 24px;
  height: 24px;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover img {
  opacity: 1;
  transform: scale(1.1);
}

/* ===== FORM ACTIONS + ICONES ===== */
.contact .form-actions {
  display: flex;
  justify-content: space-between; /* ícones à esquerda, botão à direita */
  align-items: center;
  width: 100%;
  gap: 18px;
  margin-top: 20px;
  margin-left: 0;
  box-sizing: border-box;
  padding-right: 0;
}

.contact .form-actions .social-icons {
  display: flex;
  gap: 12px;
  margin-left: 0;
  align-items: center;
}

.contact .form-actions .social-icons img {
  width: 24px;
  height: 24px;
  display: block;
  opacity: 0.8;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.contact .form-actions .social-icons a:hover img {
  opacity: 1;
  transform: scale(1.1);
}

/* ===== FOOTER ===== */
.site-footer{
  padding:22px 0;
  border-top:1px solid rgba(0,0,0,0.04);
  color:var(--muted);
  font-size:13px;
  text-align:center;
}

/* Evita que números de telefone fiquem azuis e clicáveis no mobile */
a[href^="tel"],
a[href^="sms"],
a[href^="mailto"],
a[href^="callto"],
a[href^="skype"],
a[href^="facetime"] {
  color: inherit !important;
  text-decoration: none !important;
  pointer-events: none; /* impede o clique */
  cursor: default;
}

/* ===== RESPONSIVE ===== */

/* === DESKTOP (acima de 1100px) === */
@media (min-width: 1101px) {
  .about-grid {
    grid-template-columns: 360px 1fr;
    gap: 32px;
  }

  .about-text p {
    margin-left: 220px;
    margin-top: 40px;
  }

  .about-text blockquote {
    padding-left: 200px;
    padding-top: 47px;
    font-size: 25px;
  }
}

/* === TABLET (entre 761px e 1100px) === */
@media (max-width: 1100px) and (min-width: 761px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-grid {
    grid-template-columns: 1fr 1fr; /* mantém imagem + texto lado a lado */
    gap: 24px;
    align-items: center;
  }

  .about-photo img {
    width: 100%;
    height: auto;
    object-fit: cover;
  }

  .about-text {
    padding: 0 20px;
  }

  .about-text p {
    margin-left: 0;
    margin-top: 20px;
  }

  .about-text blockquote {
    padding-left: 0;
    padding-top: 20px;
    font-size: 22px;
  }

  .header-inner {
  padding: 32px 40px
  }

  .wrap {
  padding: 0 40px; /* mantém consistência geral */
  }

  .logo img {
  margin-left: 4px; /* só um pequeno respiro visual */
  }

  .main-nav a {
  margin-left: 75px; /* evita que fiquem colados entre si */
  font-size: 15px;
  }

  .contact-form .form-actions {
    flex-direction: row;
    justify-content: space-between;
  }
}

/* === MOBILE (até 760px) === */
@media (max-width: 760px) {
  .hero-img {
    height: 360px;
  }

  .grid {
    padding-top: 4px;
    grid-template-columns: repeat(2, 1fr);
  }

  .header-inner {
    padding: 18px 0;
  }

  .main-nav a {
    margin-left: 12px;
    font-size: 14px;
  }

  .about-grid {
    grid-template-columns: 2fr;
  }

  @media (max-width: 760px) {
  .grid .item:last-child {
    display: none;
  }
}

  .about-photo img {
    width: 100%;
    max-height: 600px;
    object-fit: cover;
    padding-top: 3px;
  }

  .about-text p {
    margin-left: 10px;
    margin-top: 5px;
  }

  .about-text blockquote {
    padding-left: 0;
    padding-top: 10px;
    font-size: 20px;
  }

  .form-row {
    flex-direction: column;
  }

  .contact-form .form-actions {
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 12px;
  }

  .social-icons {
    justify-content: center;
  }

  .logo img {
    padding-left: 20px;
    height: 60px;
  }

  .wrap {
    padding: 0 14px;
  }

  .grid .item {
    min-height: 100px;
  }

  .nav-toggle {
    position: relative;
    z-index: 10000;
  }

  .contact h3 {
    margin-top: 20px;
    text-align: left;
    margin-left: 10px;
  }

  .contact p{ 
    text-align: left;
    margin-left: 10px;
}

  .site-header {
    background: #ffffff
    backdrop-filter: blur 10px;
}

  .header-inner {
    padding: 20px 0;
}