/* === ESTILOS GENERALES === */
body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #004d40;
  background: #f9f9f9;
  padding-top: 150px;
}

h1, h2, h3, h4 { font-weight: 600; margin-bottom: 15px; }
p { margin-bottom: 20px; font-size: 1rem; }

/* === HEADER FIJO BLANCO === */
header {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 150px;
  background: #fff;
  display: grid;
  grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
  align-items: center;
  padding: 0 70px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  z-index: 9999;
  transition: all .3s ease;
  box-sizing: border-box;
}
header.scrolled { height: 180px; box-shadow: 0 4px 10px rgba(0,0,0,0.1); }

/* LATERALES */
.header-left,.header-right{
  display:flex; align-items:center; gap:24px; min-height:48px;
}
.header-left{ justify-content:flex-start; }
.header-right{ justify-content:flex-end; max-width:750px; flex-wrap:nowrap; }
#language-toggle{ white-space:nowrap; }

/* LOGO */
.header-center{ display:flex; justify-content:center; align-items:center; }
.logo-img{ height:92px; width:auto; object-fit:contain; display:block; margin:0 auto; }

/* ENLACES/BOTONES */
header a,
#language-toggle,
.header-right a,.header-right button,
.header-left a,.header-left button{
  display:inline-flex; align-items:center; justify-content:center; line-height:1;
}
header a{
  text-decoration:none; color:#004d40; font-weight:600; font-size:17px;
  transition:color .3s ease; padding:8px 0;
}
header a:hover{ color:#00bfa5; }

/* BOTÓN IDIOMA */
#language-toggle{
  background:transparent; color:#004d40; border:1px solid #004d40; border-radius:4px;
  padding:8px 14px; cursor:pointer; font-weight:600; transition:all .3s ease; margin-right:32px;
}
#language-toggle:hover{ background:#004d40; color:#fff; }

/* MENÚ HAMBURGUESA */
.menu-toggle{
  display:none; background:none; border:none; font-size:25px; color:#004d40; cursor:pointer;
  position:absolute; right:50px; top:50%; transform:translateY(-50%); z-index:1001;
}

/* MENÚ MÓVIL */
.mobile-menu{
  display:none; flex-direction:column; background:#fff;
  position:fixed; top:150px; left:0; width:100%;
  box-shadow:0 4px 8px rgba(0,0,0,.1);
  padding:20px 0; text-align:center; z-index:1000; transition:all .3s ease;
}
.mobile-menu a{
  color:#004d40; text-decoration:none; padding:14px 0; font-weight:600; transition:color .3s ease;
}
.mobile-menu a:hover{ color:#00bfa5; }
.mobile-menu button{
  margin:10px auto 0; border:1px solid #004d40; background:transparent; color:#004d40;
  border-radius:4px; padding:8px 14px; cursor:pointer; font-weight:600; transition:all .3s ease;
}
.mobile-menu button:hover{ background:#004d40; color:#fff; }

/* AJUSTE LAPTOP */
@media (max-width:1366px) and (min-width:769px){
  header{ padding:0 50px; }
  #language-toggle{ margin-right:40px; }
  .header-left{ margin-left:40px; }
  .logo-img{ height:88px; }
}

/* RESPONSIVE HEADER */
@media (max-width:1024px){
  header{ padding:0 40px; }
  .header-right{ max-width:180px; gap:15px; }
}
@media (max-width:768px){
  header{ grid-template-columns:1fr auto 1fr; height:140px; padding:0 20px; }
  .header-left,.header-right{ display:none; }
  .menu-toggle{ display:block; }
  .header-center{ grid-column:1 / -1; }
  .logo-img{ height:85px; }
  .mobile-menu{ top:140px; }
  .mobile-menu.active{ display:flex; }
}

/* === HERO === */
#hero{ width:100%; overflow:hidden; background:#000; margin-top:0; }
#hero video{ width:100%; aspect-ratio:16/9; object-fit:cover; display:block; }
@media (max-width:768px){ #hero video{ aspect-ratio:1/1; } }

/* === SECCIONES GENERALES === */
.section{ padding:60px 20px; text-align:center; background:#fff; margin-bottom:20px; }
.section h1,.section h2{ color:#004d40; margin-bottom:15px; }
.section p{ max-width:800px; margin:0 auto 20px; }

/* IMÁGENES GENERALES */
.section-img{ width:100%; max-width:700px; margin:20px auto; border-radius:12px; display:block; }
@media (max-width:768px){ .section-img{ max-width:100%; } }

/* BOTONES */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 24px; background:#004d40; color:#fff; font-weight:bold;
  text-decoration:none; border-radius:8px; transition:background .3s ease; line-height:1;
}
.btn:hover{ background:#00695c; }

/* MAPA */
#mapa-section{ padding:40px 20px; background:#e0f2f1; }
#mapa{ width:100%; height:350px; border:none; border-radius:12px; }

/* FOOTER */
footer{
  background:#004d40; color:white; padding:40px 20px;
  display:flex; flex-wrap:wrap; justify-content:center; text-align:center;
}
footer .footer-col{ flex:1; min-width:200px; margin:10px; }
.footer-bottom{
  width:100%; text-align:center; margin-top:20px; font-size:14px;
  border-top:1px solid rgba(255,255,255,.2); padding-top:10px;
}

/* REDES SOCIALES */
.footer-socials{ display:flex; justify-content:center; gap:15px; margin-top:10px; }
.footer-socials a{ color:#fff; font-size:22px; transition:color .3s; }
.footer-socials a:hover{ color:#25D366; }

/* WHATSAPP FLOTANTE */
.whatsapp-float{
  position:fixed; width:55px; height:55px; bottom:20px; right:20px;
  background-color:#25D366; color:#fff; border-radius:50%; text-align:center; font-size:28px;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 4px 6px rgba(0,0,0,.2); z-index:1000; transition:transform .3s, box-shadow .3s;
}
.whatsapp-float:hover{ transform:scale(1.1); box-shadow:0 6px 10px rgba(0,0,0,.3); color:#fff; }
@media (max-width:768px){
  .whatsapp-float{ width:60px; height:60px; font-size:30px; bottom:15px; right:15px; }
}

/* === PROJETOS === */
.projects-content{ padding:100px 20px 40px; max-width:1200px; margin:0 auto; }
.projects-header{ text-align:center; margin-bottom:40px; }
.projects-container{
  display:flex; flex-direction:column; gap:40px; justify-content:center; align-items:center;
}
.project-card{
  width:100%; max-width:350px; background:#fff; border-radius:10px;
  box-shadow:0 4px 8px rgba(0,0,0,.1); overflow:hidden; transition:transform .2s, box-shadow .2s;
}
.project-card:hover{ transform:translateY(-3px); box-shadow:0 8px 18px rgba(0,0,0,.08); }
.project-card img{ width:100%; display:block; height:auto; }
.project-card .card-body{ padding:20px; text-align:center; }
.project-card h3{ margin:0 0 12px; color:#004d40; }
.project-card p{ margin:0 0 16px; color:#333; }

@media (min-width:1025px){
  .projects-content{ max-width:1280px; padding:100px 32px 60px; }
  .projects-container{
    display:grid !important; grid-template-columns:repeat(3, minmax(0,1fr));
    gap:32px; align-items:stretch; justify-items:stretch;
  }
  .project-card{ max-width:none; display:flex; flex-direction:column; height:100%; }
  .project-card img{ aspect-ratio:16/9; object-fit:cover; }
  .project-card .card-body{ flex:1; text-align:left; display:flex; flex-direction:column; justify-content:space-between; }
  .project-card .btn{ align-self:flex-start; }
}

/* === QUEM SOMOS (ABOUT) === */
.content{ padding:100px 20px 40px; max-width:1200px; margin:auto; }

@media (min-width:1025px){
  .content{ max-width:1280px; padding:120px 32px 80px; }
  .about-container{
    display:grid !important; grid-template-columns:1.2fr 1fr; gap:48px;
    align-items:center; margin-bottom:56px;
  }
  .about-text{ text-align:left; }
  .about-img img{ width:100%; aspect-ratio:4/3; object-fit:cover; border-radius:12px; display:block; }

  .about-cards{
    display:grid !important;
    grid-template-columns:minmax(420px,1fr) minmax(420px,1fr);
    column-gap:72px; row-gap:32px;
    justify-content:space-between; align-items:stretch; text-align:left; margin-top:24px;
  }
  .about-cards > div{
    background:#fff; border-radius:10px; box-shadow:0 4px 8px rgba(0,0,0,.06); padding:22px;
  }
  .about-values{ margin-top:48px; text-align:center; }
  .about-admin{ margin-top:64px; text-align:center; }
  .about-admin img{ max-width:520px; width:100%; height:auto; border-radius:12px; display:inline-block; }
}

@media (min-width:769px) and (max-width:1024px){
  .content{ padding:110px 24px 64px; }
  .about-container{ display:grid !important; grid-template-columns:1fr 1fr; gap:32px; align-items:start; }
  .about-cards{ display:grid !important; grid-template-columns:repeat(2, minmax(0,1fr)); gap:24px; }
}

/* === FIX MOBILE QUEM SOMOS === */
@media (max-width:768px){
  .content{ padding:110px 16px 40px; }
  .content h2,
  .content .about-cards h3,
  .about-values h3,
  .about-admin h2{ text-align:center !important; }
  .about-text p,
  .about-cards p,
  .about-values p{
    text-align:left; margin-left:auto; margin-right:auto; max-width:36rem;
  }
  .about-container{
    display:flex !important; flex-direction:column !important; gap:20px;
    align-items:center; text-align:center; margin-bottom:28px;
  }
  .about-img img{ width:100%; height:auto; max-height:320px; object-fit:cover; border-radius:10px; }
  .about-cards{ display:flex !important; flex-direction:column; gap:16px; text-align:left; }
  .about-cards > div{ background:#fff; border-radius:10px; box-shadow:0 4px 8px rgba(0,0,0,.06); padding:16px; }
  .about-values{ margin-top:22px; }
  .about-admin{ margin-top:28px; }
  .about-admin img{ max-width:100%; height:auto; border-radius:10px; }
}

/* === CONTATO (CONTACTO) — Rediseño === */
.contact-wrapper {
  max-width: 1200px;
  margin: 0 auto 60px;
  display: flex;
  flex-direction: column;
  align-items: center;  /* ✅ Centra todo el bloque */
  justify-content: center;
  text-align: center;
}

.contact-info {
  max-width: 800px;
  width: 100%;
  background: #fff;
  padding: 28px 28px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  border: 1px solid rgba(0,77,64,.08);
  margin-bottom: 40px;
}
.contact-info h2 {
  color: #004d40;
  margin-bottom: 12px;
  font-size: 1.9rem;
  text-align: center;
}
.contact-info p {
  color: #294a46;
  margin: 0 auto 6px;
  max-width: 44rem;
  text-align: center;
}

/* ✅ FORMULARIO CENTRADO */
.form-card {
  background: #fff;
  padding: 28px 28px 34px;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  border: 1px solid rgba(0,77,64,.08);
  width: 100%;
  max-width: 700px;
  margin: 0 auto 60px;
  box-sizing: border-box;
  text-align: center;
}

/* Campos del formulario */
form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;  /* ✅ Centra los inputs */
  justify-content: center;
}
form label {
  width: 100%;
  max-width: 600px;
  text-align: left;
  margin: 10px 0 6px;
  font-weight: 600;
  font-size: 0.96rem;
  color: #294a46;
}
form input, form select, form textarea {
  width: 100%;
  max-width: 600px;
  padding: 13px 14px;
  border: 1px solid rgba(0,0,0,.18);
  border-radius: 10px;
  font-size: 1rem;
  margin-bottom: 14px;
  box-sizing: border-box;
  background: #fbfbfb;
  transition: border-color .2s, box-shadow .2s, background .2s;
}
form textarea {
  resize: vertical;
  min-height: 140px;
}
form input:focus, form select:focus, form textarea:focus {
  outline: none;
  border-color: #00bfa5;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0,191,165,.15);
}

/* Botón */
form button, .form-card .btn {
  width: 100%;
  max-width: 600px;
  background: #004d40;
  color: #fff;
  border: none;
  padding: 14px 16px;
  border-radius: 10px;
  font-weight: 700;
  cursor: pointer;
  font-size: 1rem;
  transition: background .2s ease, transform .05s ease;
}
form button:hover, .form-card .btn:hover { background: #00695c; }
form button:active, .form-card .btn:active { transform: translateY(1px); }

/* Estado */
#form-status { text-align: center; color: #294a46; font-weight: 600; }

/* Ajustes móviles */
@media (max-width: 768px) {
  .contact-info { padding: 22px 18px; border-radius: 12px; }
  .contact-info h2 { font-size: 1.6rem; }
  .form-card { padding: 22px 18px 28px; border-radius: 12px; width: 90%; }
  form label, form input, form select, form textarea, form button {
    max-width: 100%;
  }
}

/* Microdetalles */
::placeholder { color: rgba(0,0,0,.4); }

/* === FIX EXTRA — Menú móvil confiable === */
@media (max-width:768px){
  header{ height:120px; padding:0 16px; }
  .logo-img{ height:70px; }
  .menu-toggle{ display:block !important; right:16px; top:50%; transform:translateY(-50%); z-index:2001; }
  .mobile-menu{
    top:120px !important; z-index:2000 !important;
    max-height:calc(100dvh - 120px); overflow:auto; display:none;
  }
  .mobile-menu.active{ display:flex !important; }
  .header-left,.header-right{ display:none !important; }
}
/* === SUSTENTABILIDADE — Banner fijo con imagen === */
#hero-sustentabilidade {
  position: relative;
  width: 100%;
  height: 65vh;             /* ocupa buena parte de la pantalla */
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#hero-sustentabilidade img {
  width: 100%;
  height: 100%;
  object-fit: cover;         /* 🔹 llena todo el ancho y alto */
  object-position: center;   /* 🔹 centra la imagen vertical y horizontalmente */
  display: block;
  border-radius: 0;
  border: none;


  background-color: #f3f8f6; /* por si sobra espacio arriba/abajo */
}

/* VIDEO BANNER (si lo usas más abajo) — mismo comportamiento sin recorte */
#video-banner video {
  width: 100%;
  height: auto;
  max-height: 60vh;
  object-fit: contain;
  display: block;
  border-radius: 0;
  background: #f3f8f6;
}

/* Contenedores generales */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  box-sizing: border-box;
}

.container.narrow { max-width: 800px; }
.center-text { text-align: center; }

.container h1,
.container h2,
.container h3 {
  color: #004d40;
  margin-bottom: 15px;
}

.container p {
  color: #294a46;
  line-height: 1.7;
  max-width: 800px;
  margin: 0 auto 20px;
}

/* Subtítulos dentro de secciones */
#compromisso-eco h3 {
  font-size: 1.4rem;
  color: #00695c;
  margin-top: 16px;
  margin-bottom: 10px;
}

/* Ajuste visual para separar secciones */
#responsabilidade-social,
#compromisso-eco,
#cultura-social {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  margin-bottom: 40px;
  padding: 50px 24px;
}

/* === GALERIA SLIDER === */
#galeria-eco.gallery-slider {
  position: relative;
  max-width: 1200px;
  margin: 30px auto;
}

#galeria-eco .gal-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px;
  scrollbar-width: none; /* Firefox */
}
#galeria-eco .gal-track::-webkit-scrollbar { display: none; }

#galeria-eco .gal-item {
  min-width: 80%;
  max-width: 80%;
  scroll-snap-align: center;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
  border: 1px solid rgba(0,77,64,.08);
}
@media (min-width:768px) {
  #galeria-eco .gal-item { min-width: 48%; max-width: 48%; }
}
@media (min-width:1024px) {
  #galeria-eco .gal-item { min-width: 32%; max-width: 32%; }
}

#galeria-eco img,
#galeria-eco video {
  width: 100%;
  height: auto;
  display: block;
  border-top-left-radius: 14px;
  border-top-right-radius: 14px;
}

#galeria-eco figcaption {
  padding: 10px 12px;
  font-size: .95rem;
  color: #294a46;
}

/* Botones flecha */
#galeria-eco .gal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(0,0,0,.35);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  transition: background .3s;
}
#galeria-eco .gal-btn:hover { background: rgba(0,0,0,.5); }
#galeria-eco .prev { left: 6px; }
#galeria-eco .next { right: 6px; }

/* Puntos inferiores (dots) */
#galeria-eco .gal-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}
#galeria-eco .gal-dots button {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  background: #b7cbc8;
  cursor: pointer;
  transition: background .3s;
}
#galeria-eco .gal-dots button.active { background: #004d40; }

/* Móviles */
@media (max-width:768px) {
  .container { padding: 40px 16px; }
  #responsabilidade-social,
  #compromisso-eco,
  #cultura-social { padding: 40px 16px; }
  .center-text h1 { font-size: 1.8rem; }
  #galeria-eco .gal-item { min-width: 88%; max-width: 88%; }

  /* Banner más compacto en móviles sin recorte */
  #hero-sustentabilidade img,
  #video-banner video {
    max-height: 50vh;
    object-fit: contain;
  }
}

/* === FIX HEADER (visibilidad y ajuste de enlaces) === */
.header-left {
  flex-wrap: wrap;
  min-width: 0;
  flex: 1 1 auto;
  overflow: visible;
}
.header-left a {
  white-space: nowrap;
  display: inline-flex;
}

/* Lado derecho con 2 links + botón */
.header-right {
  flex-wrap: wrap;
  min-width: 0;
  flex: 1 1 auto;
  gap: 16px;
}
.header-right a { white-space: nowrap; }

@media (min-width: 1025px) {
  .logo-img { max-width: 280px; }
}
@media (max-width:1024px) {
  .header-right { max-width: 260px; }
}

/* Forzar visibilidad del botón Sustentabilidade */
#nav-sust {
  display: inline-flex !important;
  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Header sobre el contenido */
header { position: fixed; z-index: 9999; }

@media (min-width:1367px) {
  header { padding-left: 60px; padding-right: 60px; }
}
/* === HERO REGISTRO DE INTERESSE === */
.hero-register {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 420px;
  background-image: url("praia-ecourbana.jpg"); /* <-- CAMBIA ESTA IMAGEM */
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-register-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.35),
    rgba(0, 0, 0, 0.55)
  );
}

.hero-register-content {
  position: relative;
  text-align: center;
  color: #fff;
  max-width: 700px;
  padding: 20px;
}

.hero-register-content h1 {
  font-size: 3rem;
  margin-bottom: 15px;
}

.hero-register-content p {
  font-size: 1.1rem;
  margin-bottom: 25px;
}

.hero-register-btn {
  padding: 12px 32px;
  border: none;
  border-radius: 4px;
  background-color: #a67952; /* tom terroso, parecido ao exemplo */
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.hero-register-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  opacity: 0.95;
}

/* Responsivo */
@media (max-width: 768px) {
  .hero-register-content h1 {
    font-size: 2.1rem;
  }
  .hero-register-content p {
    font-size: 0.95rem;
  }
}

/* === MODAL REGISTRO (AJUSTADO) === */
.register-modal {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 16px;              /* espacio para que la caja no pegue a los bordes */
}

.register-modal.show {
  display: flex;
}

.register-modal-backdrop {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.55);
}

/* Caja blanca del formulario */
.register-modal-card {
  position: relative;
  background-color: #ffffff;
  max-width: 560px;           /* un poco más ancha */
  width: 100%;
  border-radius: 10px;
  padding: 32px 32px 28px;    /* más aire dentro */
  z-index: 1;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  max-height: 90vh;           /* no pasa del alto de la pantalla */
  overflow-y: auto;           /* si se pasa, solo scrollea la caja */
}

/* Botón de cerrar */
.register-modal-close {
  position: absolute;
  top: 10px;
  right: 14px;
  border: none;
  background: none;
  font-size: 1.6rem;
  cursor: pointer;
}

/* Título y texto */
.register-modal-card h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 1.8rem;
  color: #004d40;
}

.register-modal-card p {
  margin-bottom: 22px;
  font-size: 1rem;
  line-height: 1.5;
}

/* Formulario */
.register-form label {
  display: block;
  margin-bottom: 6px;
  font-size: 0.95rem;
  font-weight: 600;
}

.register-form input,
.register-form select,
.register-form textarea {
  width: 100%;
  padding: 10px 12px;
  margin-bottom: 16px;       /* más espacio entre campos */
  border-radius: 4px;
  border: 1px solid #c7c7c7;
  font-size: 0.95rem;
  box-sizing: border-box;
}

.register-form textarea {
  min-height: 110px;
}

/* Botón enviar */
#register_submit_btn {
  width: 100%;
  padding: 12px 0;
  border: none;
  border-radius: 4px;
  background-color: #004d40;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  font-size: 1rem;
  transition: opacity 0.15s ease, transform 0.1s ease;
}

#register_submit_btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* === Versión móvil === */
@media (max-width: 600px) {
  .register-modal-card {
    max-width: 95%;
    padding: 24px 18px 22px;
    border-radius: 8px;
  }

  .register-modal-card h2 {
    font-size: 1.5rem;
  }

  .register-modal-card p {
    font-size: 0.95rem;
  }

  .register-form label {
    font-size: 0.9rem;
  }

  .register-form input,
  .register-form select,
  .register-form textarea {
    font-size: 0.9rem;
  }
}
/* === ANIMAÇÃO SUAVE DAS SEÇÕES === */
.section {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.section.section-visible {
  opacity: 1;
  transform: translateY(0);
}

/* === TÍTULOS DE SEÇÃO COM LINHA DECORATIVA === */
.section > h1,
.section > h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
}


  left: 0;
  bottom: -6px;
  width: 60%;
  max-width: 140px;
  height: 3px;
  background: linear-gradient(90deg, #004d40, #a67952);
  border-radius: 999px;
}

/* === IMAGENS DAS SEÇÕES COM HOVER === */
.section-img {
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.10);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.section-img:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.20);
}

/* === BOTÕES PADRÃO (Saiba mais, Ver mais, etc.) === */
.btn {
  display: inline-block;
  padding: 10px 28px;
  border-radius: 999px;
  background-color: #004d40;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease,
              box-shadow 0.15s ease;
}

.btn:hover {
  background-color: #016b58;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.20);
}

/* Opcional: dar um pouco mais de respiro vertical nas seções */
.section {
  padding-top: 60px;
  padding-bottom: 60px;
}
/* === ANIMAÇÃO DOS TÍTULOS === */
.section.section-visible > h1,
.section.section-visible > h2 {
  animation: titleFadeIn 0.7s ease-out;
}

@keyframes titleFadeIn {
  0% {
    opacity: 0;
    transform: translateY(12px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
/* === ANIMAÇÃO DOS TÍTULOS (slide + queda no centro) === */
.section.section-visible > h1,
.section.section-visible > h2 {
  animation: titleSlideDrop 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* puedes ajustar 0.8s si la quieres más rápida/lenta */
@keyframes titleSlideDrop {
  0% {
    opacity: 0;
    transform: translateX(-50px) translateY(-20px) rotate(-2deg);
  }
  60% {
    opacity: 1;
    transform: translateX(5px) translateY(4px) rotate(0.5deg); /* pequeño “rebote” */
  }
  100% {
    opacity: 1;
    transform: translateX(0) translateY(0) rotate(0deg);
  }
}
.village-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin-top: 24px;
  flex-wrap: wrap;
}

.village-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  max-width: 420px;
  text-align: center;
}

.village-card-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}
/* =========================================================
   VILLAGE – PLANTA DETALHADA (GALERIA + PLANTA + TEXTO)
   ========================================================= */
.village-plan {
  display: flex;
  flex-wrap: wrap;
  gap: 2.5rem;
  align-items: flex-start;
  margin-top: 2rem;
}

/* === Coluna esquerda: Galeria + Planta === */
.village-plan-media {
  flex: 1 1 480px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* --- Galeria de imagens renderizadas --- */
.village-plan-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .6rem;
}

.village-plan-gallery img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.08);
}

/* --- Planta grande abaixo --- */
.village-plan-plant img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
}

/* === Coluna direita: Textos === */
.village-plan-content {
  flex: 1 1 300px;
}

.village-plan-content h2 {
  font-size: 1.9rem;
  margin-bottom: .7rem;
  line-height: 1.2;
}

.village-plan-subtitle {
  font-style: italic;
  margin-bottom: 1rem;
  opacity: .85;
}

/* Botão pequeno verde */
.btn.btn-small {
  padding: .45rem 1.25rem;
  font-size: .92rem;
  background: #004d40;
  color: #fff;
  border-radius: 6px;
  display: inline-block;
  transition: 0.3s;
}

.btn.btn-small:hover {
  background: #003830;
}


/* =========================================================
  /* =========================================================
   VILLAGE – BLOQUES RESERVA + CONTACTO (2 CARDS)
   ========================================================= */

.village-info-section {
  margin-top: 3rem;
  background: #f5f7f7;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.village-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.village-card {
  flex: 1 1 330px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.07);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Foto grande superior */
.village-card img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  object-position: center 30%; /* ✅ cara + manos visibles */
  display: block;
}


/* Corpo do card */
.village-card-body {
  padding: 1.7rem 1.8rem 2rem;
}

.village-card-body h3 {
  font-size: 1.4rem;
  margin-bottom: .7rem;
}

.village-card-body p {
  margin-bottom: .6rem;
  line-height: 1.5;
}

/* Texto tipo link dentro do card */
.card-link-text {
  margin-top: .3rem;
  font-weight: 600;
  opacity: .8;
}


/* Botão pequeno (já usado) */


/* === Botão outline verde para o card de contacto === */
.btn.btn-outline-green {
  padding: .45rem 1.25rem;
  font-size: .92rem;
  border: 1px solid #004d40;
  background: transparent;
  color: #004d40;
  border-radius: 6px;
  display: inline-block;
  transition: 0.3s;
}

.btn.btn-outline-green:hover {
  background: #004d40;
  color: #fff;
}


/* =========================================================
   VILLAGE – COMENTÁRIOS (FACEBOOK)
   ========================================================= */
.comments-section {
  background: #fafafa;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.comments-section h2 {
  text-align: center;
  margin-bottom: 1rem;
}

.comments-section p {
  max-width: 640px;
  margin: 0 auto 1.8rem auto;
  text-align: center;
  opacity: .85;
  line-height: 1.6;
}


/* =========================================================
   RESPONSIVO (MOBILE)
   ========================================================= */
@media (max-width: 900px) {

  .village-plan {
    flex-direction: column;
  }

  .village-plan-gallery img {
    height: 110px;
  }

  .village-cards {
    flex-direction: column;
  }

  .village-card img {
    height: 200px;
  }
}
/* Los cards ocupan la misma altura y el contenido se reparte en columnas */
.village-card {
  display: flex;
  flex-direction: column;
}

.village-card-body {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* El bloque CTA (texto + botón) se va al fondo del card */
.village-card-cta {
  margin-top: auto;      /* empuja hacia abajo */
  padding-top: 1rem;
}

/* Opcional: que las dos tarjetas se estiren igual en la fila */
.village-cards {
  align-items: stretch;
}
/* ============================
   🔧 AJUSTE DEL MODAL EN MÓVIL
============================ */
@media (max-width: 480px) {
  .register-modal-card {
    width: 90% !important;
    max-height: 85vh !important;
    overflow-y: auto;
    padding: 20px !important;
    border-radius: 16px !important;
    box-sizing: border-box;
  }

  .register-form label {
    font-size: 14px !important;
  }

  .register-form input,
  .register-form select,
  .register-form textarea {
    font-size: 14px !important;
    padding: 10px !important;
  }

  #register_submit_btn {
    font-size: 15px !important;
    padding: 12px !important;
  }

  /* Ajuste del título para que no se corte */
  .register-modal-card h2 {
    font-size: 20px !important;
    line-height: 1.2 !important;
  }

  /* Botón de cerrar más pequeño */
  .register-modal-close {
    font-size: 28px !important;
    top: 8px !important;
    right: 12px !important;
  }
}
.hero-register-content {
  text-align: center; /* 👈 centra texto y botones */
}

.hero-register-btn {
  display: inline-block;
  margin: 20px auto 0 auto; /* 👈 centra el botón */
}
.village-gallery-cta{
  margin-top:12px;
  display:flex;
  justify-content:flex-start; /* o center si lo quieres centrado */
}
@media (max-width: 768px) {

  /* 1) En móvil, apila los cards */
  .village-cards{
    flex-direction: column;
  }

  /* 2) Asegura que el card crece y NO recorta el texto/botón */
  .village-card{
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* 3) El cuerpo del card también debe poder crecer */
  .village-card-body{
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
  }

  /* 4) La imagen no debe forzar el corte del contenido */
  .village-card img{
    height: auto !important;
    max-height: 320px;  /* opcional: para que no quede gigante */
    object-fit: cover;
    object-position: center 30%;
  }
}
 /*Comentarios de usuarios */
.comment-form{
  max-width: 720px;
  margin: 20px auto 30px;
  display: grid;
  gap: 12px;
}

.comment-form input,
.comment-form textarea{
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #d9e2df;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  background: #fff;
}

.comment-form textarea{
  min-height: 120px;
  resize: vertical;
}

.comments-grid{
  max-width: 980px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.comment-card{
  background: #fff;
  border-radius: 16px;
  padding: 16px 16px 14px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.07);
}

.comment-name{
  font-weight: 700;
  color: #0b4a3a;
  margin-bottom: 8px;
}

.comment-text{
  line-height: 1.5;
  opacity: .95;
}

.comment-date{
  margin-top: 10px;
  font-size: 12px;
  opacity: .6;
}

.comments-empty{
  text-align:center;
  opacity:.7;
  margin-top: 10px;
}
/* =========================================================
   COMMENTS (Sistema próprio) – layout + cards
   ========================================================= */

.comments-section{
  padding: 3rem 20px;
  background: #fff;
}

.comments-section h2,
.comments-section p{
  text-align: center;
}

/* Contenedor del formulario */
.comment-form{
  max-width: 520px;
  margin: 1.8rem auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comment-form input,
.comment-form textarea{
  width: 100%;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.15);
  font-size: 16px;
  outline: none;
}

.comment-form textarea{
  min-height: 140px;
  resize: vertical;
}

/* Contenedor de lista (aquí se verán los comentarios) */
.comments-list{
  max-width: 1100px;
  margin: 2.2rem auto 0;
  width: 100%;
}

/* Grid de comentarios */
.comments-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.comment-card{
  background: #f5f7f7;
  border-radius: 16px;
  padding: 16px 18px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
}

.comment-name{
  font-weight: 700;
  color: #0b4a3a;
  margin-bottom: 6px;
}

.comment-text{
  color: #1c2b2a;
  line-height: 1.5;
  white-space: pre-wrap; /* respeta saltos de línea */
}

.comment-date{
  margin-top: 10px;
  font-size: 12px;
  opacity: 0.7;
}

/* Mensaje cuando no hay comentarios */
.comments-empty{
  text-align: center;
  opacity: .75;
  margin-top: 1rem;
}

/* Responsive */
@media (max-width: 980px){
  .comments-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 600px){
  .comments-grid{ grid-template-columns: 1fr; }
}

