/* ===== Lanne Head Spa BH - Landing Page ===== */
/* Paleta: verde #1e3a32, dourado #c9a464, bege #efe8dc, creme #f5f5dc */

@import url('https://db.onlinewebfonts.com/c/b4d584ed0e53ba94a815f817690faab2?family=Brittany+Signature');

:root {
  --green-dark: #1e3a32;
  --green-darker: #152a24;
  --gold: #c9a464;
  --gold-light: #d4b87a;
  --gold-dim: rgba(201, 164, 100, 0.25);
  --beige: #efe8dc;
  --cream: #f5f5dc;
  --white: #fafaf8;
  --black: #0d0d0c;
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font-display: 'Playpen Sans', cursive;
  --font-body: 'Schibsted Grotesk', system-ui, sans-serif;
  --font-signature: 'Brittany Signature', cursive;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--beige);
  background: var(--green-darker);
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--gold);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--gold-light);
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
}

/* ----- Header ----- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.header.scrolled {
  background: rgba(30, 58, 50, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--white);
  font-weight: 600;
  font-size: 1.1rem;
}

.nav-logo span {
  font-family: var(--font-signature);
  font-weight: 400;
}

.nav-logo img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid var(--gold-dim);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-menu a {
  color: var(--beige);
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 500;
  font-size: 0.95rem;
}

.nav-menu a:hover {
  color: var(--gold);
  background: var(--gold-dim);
}

.nav-cta {
  background: var(--gold) !important;
  color: var(--green-dark) !important;
  margin-left: 0.5rem;
}

.nav-cta:hover {
  background: var(--gold-light) !important;
  color: var(--green-darker) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--beige);
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  transition: var(--transition);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ----- Backdrop do menu (mobile): clicar fora fecha ----- */
.nav-backdrop {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  z-index: 99;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
  cursor: pointer;
}

@media (max-width: 768px) {
  .header {
    padding: 0.75rem 0;
  }

  .nav-logo span {
    font-size: 1rem;
  }

  .nav-logo img {
    width: 40px;
    height: 40px;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-backdrop {
    display: block;
  }

  .nav-backdrop.visible {
    opacity: 1;
    pointer-events: auto;
    -webkit-tap-highlight-color: transparent;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: min(260px, 68vw);
    max-width: 260px;
    height: 100vh;
    height: 100dvh;
    background: linear-gradient(180deg, rgba(30, 58, 50, 0.98) 0%, rgba(21, 42, 36, 0.98) 100%);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    padding: 5rem 1.5rem 2rem;
    gap: 0.5rem;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
    border-left: 1px solid rgba(201, 164, 100, 0.2);
    border-radius: 16px 0 0 16px;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 101;
  }

  .nav-menu.open {
    transform: translateX(0);
  }

  .nav-menu a {
    padding: 0.75rem 1rem;
    width: 100%;
    border-radius: var(--radius-sm);
  }
}

/* ----- Hero ----- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 1.5rem 4rem;
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 20%, var(--green-dark) 0%, var(--green-darker) 50%, var(--black) 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 0L60 30L30 60L0 30z' fill='%23c9a464' fill-opacity='1'/%3E%3C/svg%3E");
}

.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
  animation: glowPulse 8s ease-in-out infinite;
}

.hero-glow-1 {
  width: 400px;
  height: 400px;
  background: var(--gold);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
}

.hero-glow-2 {
  width: 300px;
  height: 300px;
  background: var(--green-dark);
  bottom: 10%;
  right: -50px;
  animation-delay: -4s;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.15; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.25; transform: translateX(-50%) scale(1.05); }
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-logo-wrap {
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease-out;
}

.hero-logo {
  width: 140px;
  height: 140px;
  margin: 0 auto;
  border-radius: 50%;
  border: 3px solid var(--gold-dim);
  box-shadow: 0 0 40px var(--gold-dim);
}

.hero-title {
  font-family: var(--font-signature);
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 400;
  color: var(--white);
  margin-bottom: 0.25rem;
  animation: fadeInUp 1s ease-out 0.15s both;
}

.hero-tagline {
  font-size: 1rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
  animation: fadeInUp 1s ease-out 0.3s both;
}

.hero-badge {
  position: relative;
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  background: linear-gradient(135deg, rgba(201, 164, 100, 0.2) 0%, rgba(201, 164, 100, 0.35) 100%);
  padding: 0.65rem 1.75rem;
  border-radius: 999px;
  border: 2px solid var(--gold);
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out 0.35s both;
  box-shadow:
    0 0 24px rgba(201, 164, 100, 0.35),
    0 0 48px rgba(201, 164, 100, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.hero-badge::before,
.hero-badge::after {
  content: "★";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.6em;
  color: var(--gold);
  opacity: 0.9;
}

.hero-badge::before {
  left: 0.75rem;
}

.hero-badge::after {
  right: 0.75rem;
  left: auto;
}

@keyframes badgeGlow {
  0%, 100% { box-shadow: 0 0 24px rgba(201, 164, 100, 0.35), 0 0 48px rgba(201, 164, 100, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1); }
  50% { box-shadow: 0 0 32px rgba(201, 164, 100, 0.5), 0 0 56px rgba(201, 164, 100, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-badge {
    animation: fadeInUp 1s ease-out 0.35s both, badgeGlow 3s ease-in-out 1.5s infinite;
  }
}

.hero-desc {
  max-width: 480px;
  margin: 0 auto 1.5rem;
  color: var(--beige);
  opacity: 0.95;
  font-size: 1.05rem;
  animation: fadeInUp 1s ease-out 0.45s both;
}

.hero-cta {
  margin-bottom: 1rem;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-note {
  font-size: 0.9rem;
  color: var(--gold);
  opacity: 0.9;
  margin-bottom: 0;
  animation: fadeInUp 1s ease-out 0.7s both;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--beige);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  opacity: 0.8;
  animation: fadeIn 1s ease-out 1s both;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}

/* ----- Hero: responsivo (evitar "Role para descobrir" colado em "Aberto somente...") ----- */
@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    padding: 5rem 1rem 5rem;
    justify-content: flex-start;
  }

  .hero-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-bottom: 0;
    min-height: 0;
  }

  .hero-note {
    margin-bottom: 1.5rem;
  }

  .hero-scroll {
    position: static;
    transform: none;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    flex-shrink: 0;
  }

  .hero-logo {
    width: 110px;
    height: 110px;
  }

  .hero-tagline {
    letter-spacing: 0.2em;
    font-size: 0.9rem;
  }

  .hero-desc {
    font-size: 0.95rem;
    margin-bottom: 1.25rem;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .hero-cta a {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 4.5rem 0.75rem 3rem;
  }

  .hero-logo {
    width: 100px;
    height: 100px;
  }

  .hero-title {
    font-size: clamp(2rem, 10vw, 2.5rem);
  }

  .hero-tagline {
    letter-spacing: 0.15em;
    font-size: 0.8rem;
  }

  .hero-note {
    margin-bottom: 1.25rem;
  }

  .hero-scroll {
    margin-top: 2rem;
    font-size: 0.75rem;
  }

  .hero-scroll-line {
    height: 32px;
  }
}

@keyframes scrollLine {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.5); opacity: 0.5; }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 0.8; }
}

/* ----- Buttons ----- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201, 164, 100, 0.3);
}

.btn:active {
  transform: translateY(0);
}

.btn-icon {
  width: 22px;
  height: 22px;
}

.btn-primary {
  background: var(--gold);
  color: var(--green-dark);
}

.btn-primary:hover,
a.btn-primary:hover {
  background: var(--gold-light);
  color: var(--green-dark) !important;
}

.btn-outline {
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
}

.btn-outline:hover {
  background: var(--gold-dim);
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* ----- Sections ----- */
.section {
  padding: 5rem 0;
  position: relative;
}

@media (max-width: 768px) {
  .section {
    padding: 3rem 0;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 2.5rem 0;
  }
}

.section--dark {
  background: var(--green-darker);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

@media (max-width: 768px) {
  .section-header {
    margin-bottom: 2rem;
  }
}

@media (max-width: 480px) {
  .section-header {
    margin-bottom: 1.5rem;
  }

  .section-title {
    font-size: 1.65rem;
  }

  .section-label {
    font-size: 0.75rem;
    letter-spacing: 0.15em;
  }
}

.section-label {
  display: inline-block;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  color: var(--white);
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ----- About ----- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-lead {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 1rem;
  line-height: 1.4;
}

.about-text p {
  margin-bottom: 1rem;
  color: var(--beige);
}

.about-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.badge {
  padding: 0.4rem 0.9rem;
  background: var(--gold-dim);
  color: var(--gold);
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 500;
}

.about-card {
  background: var(--green-dark);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(201, 164, 100, 0.2);
  transition: transform var(--transition), box-shadow var(--transition);
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

.about-card-inner {
  text-align: center;
}

.about-card-logo {
  width: 120px;
  height: 120px;
  margin: 0 auto 1rem;
  border-radius: 50%;
}

.about-card-text {
  color: var(--beige);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-lead {
    font-size: 1.35rem;
  }
}

@media (max-width: 480px) {
  .about-grid {
    gap: 1.5rem;
  }

  .about-card {
    padding: 1.5rem;
  }

  .about-lead {
    font-size: 1.2rem;
  }

  .about-badges {
    justify-content: center;
  }
}

/* ----- Services ----- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.service-card {
  background: var(--green-dark);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid rgba(201, 164, 100, 0.15);
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-dim);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.service-card-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1.25rem;
  color: var(--gold);
}

.service-card-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--beige);
  font-size: 0.95rem;
  opacity: 0.9;
}

@media (max-width: 768px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}

@media (max-width: 480px) {
  .service-card {
    padding: 1.5rem;
  }

  .service-card h3 {
    font-size: 1.3rem;
  }
}

/* ----- Location ----- */
.location-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 2rem;
  align-items: start;
}

.location-address {
  color: var(--beige);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.location-address strong {
  color: var(--white);
}

.location-region {
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.location-map {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(201, 164, 100, 0.2);
  aspect-ratio: 16/10;
  min-height: 220px;
}

.location-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

@media (max-width: 768px) {
  .location-wrap {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .location-map {
    min-height: 200px;
    aspect-ratio: 16/10;
  }
}

@media (max-width: 480px) {
  .location-address {
    font-size: 1rem;
  }

  .location-map {
    min-height: 180px;
  }

  .btn.btn-outline {
    width: 100%;
    justify-content: center;
  }
}

/* ----- Prices ----- */
.prices-cta {
  text-align: center;
  max-width: 560px;
  margin: 0 auto;
}

.prices-cta p {
  color: var(--beige);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

@media (max-width: 480px) {
  .prices-cta p {
    font-size: 0.95rem;
  }

  .prices-cta .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ----- CTA Section ----- */
.section-cta {
  text-align: center;
  padding: 5rem 0;
}

.cta-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.cta-logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin-bottom: 1.5rem;
  border: 2px solid var(--gold-dim);
}

.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  color: var(--white);
  margin-bottom: 0.5rem;
}

.cta-text {
  color: var(--beige);
  margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
  .section-cta {
    padding: 3rem 0;
  }

  .cta-logo {
    width: 80px;
    height: 80px;
  }
}

@media (max-width: 480px) {
  .section-cta {
    padding: 2.5rem 0;
  }

  .cta-title {
    font-size: 1.75rem;
  }

  .cta-content .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ----- Footer ----- */
.footer {
  background: var(--black);
  padding: 2.5rem 0;
  text-align: center;
}

.footer-logo {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 0.75rem;
}

.footer-name {
  font-weight: 600;
  color: var(--white);
  margin-bottom: 0.25rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--beige);
  opacity: 0.8;
  margin-bottom: 0.5rem;
}

.footer-instagram {
  font-size: 0.9rem;
  color: var(--gold);
}

.footer-credit {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--beige);
  opacity: 0.75;
}

.footer-credit a {
  color: var(--gold);
  font-weight: 500;
}

.footer-credit a:hover {
  text-decoration: underline;
}

@media (max-width: 480px) {
  .footer {
    padding: 2rem 0;
  }

  .footer-tagline,
  .footer-instagram {
    font-size: 0.85rem;
  }

  .footer-credit {
    font-size: 0.8rem;
  }
}

/* ----- WhatsApp Float ----- */
.whatsapp-float {
  position: fixed;
  bottom: max(1.5rem, env(safe-area-inset-bottom));
  right: max(1.5rem, env(safe-area-inset-right));
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.5);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
  width: 28px;
  height: 28px;
}

@media (max-width: 480px) {
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: max(1.25rem, env(safe-area-inset-bottom));
    right: max(1rem, env(safe-area-inset-right));
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

/* ----- Cursor glow (optional enhancement) ----- */
.cursor-glow {
  position: fixed;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold-dim) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.3s;
}

body:hover .cursor-glow {
  opacity: 0.5;
}
