/* ===================================================
   Rô Cabeleireira — style.css
   Paleta: Dourado #B98222 | Champagne #F8F1E4
=================================================== */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,700;1,400&family=Poppins:wght@300;400;500;600&display=swap');

:root {
  --gold: #B98222;
  --gold-light: #D6A84A;
  --gold-dark: #7A4E12;
  --champagne: #F8F1E4;
  --champagne-dark: #EDE3CE;
  --white: #FFFFFF;
  --text: #2B241C;
  --text-light: #6b5a47;
  --shadow: 0 4px 24px rgba(185,130,34,0.12);
  --shadow-hover: 0 8px 40px rgba(185,130,34,0.22);
  --radius: 16px;
  --transition: all 0.35s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Poppins', sans-serif; color: var(--text); background: var(--white); overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }

/* ===== UTILITÁRIOS ===== */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section-pad { padding: 90px 0; }
.section-pad-sm { padding: 60px 0; }
.text-gold { color: var(--gold); }
.text-center { text-align: center; }

.section-title { font-size: clamp(2rem, 4vw, 2.8rem); color: var(--text); margin-bottom: 16px; }
.section-title span { color: var(--gold); }
.section-subtitle { font-size: 1.05rem; color: var(--text-light); max-width: 600px; margin: 0 auto 50px; line-height: 1.7; }
.divider { width: 60px; height: 3px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 4px; margin: 0 auto 20px; }

/* ===== BOTÕES ===== */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px; border-radius: 50px; font-family: 'Poppins', sans-serif; font-size: 0.95rem; font-weight: 600; cursor: pointer; transition: var(--transition); border: 2px solid transparent; text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--white); box-shadow: 0 4px 18px rgba(185,130,34,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(185,130,34,0.45); }
.btn-outline { background: transparent; border-color: var(--gold); color: var(--gold); }
.btn-outline:hover { background: var(--gold); color: var(--white); transform: translateY(-2px); }
.btn-white { background: var(--white); color: var(--gold); box-shadow: var(--shadow); }
.btn-white:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }

/* ===== HEADER ===== */
#header { position: fixed; top: 0; left: 0; width: 100%; z-index: 1000; background: rgba(255,255,255,0.97); backdrop-filter: blur(10px); transition: box-shadow 0.35s ease, background 0.35s ease; border-bottom: 1px solid rgba(185,130,34,0.12); }
#header.scrolled { box-shadow: 0 4px 24px rgba(185,130,34,0.18); background: rgba(255,255,255,0.99); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 80px; transition: height 0.4s cubic-bezier(.4,0,.2,1); }
#header.scrolled .header-inner { height: 58px; }
.logo-wrap { display: flex; align-items: center; gap: 12px; }
.logo-img { height: 56px; width: auto; transition: height 0.4s cubic-bezier(.4,0,.2,1); }
#header.scrolled .logo-img { height: 36px; }
.logo-text { display: flex; flex-direction: column; overflow: hidden; }
.logo-name { font-family: 'Playfair Display', serif; font-size: 1.3rem; color: var(--gold-dark); font-weight: 700; line-height: 1; transition: font-size 0.4s cubic-bezier(.4,0,.2,1); }
#header.scrolled .logo-name { font-size: 1.1rem; }
.logo-slogan { font-size: 0.68rem; color: var(--text-light); letter-spacing: 0.05em; font-style: italic; max-height: 20px; opacity: 1; transition: max-height 0.4s cubic-bezier(.4,0,.2,1), opacity 0.3s ease, margin 0.3s ease; }
#header.scrolled .logo-slogan { max-height: 0; opacity: 0; margin: 0; overflow: hidden; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { font-size: 0.9rem; font-weight: 500; color: var(--text); transition: var(--transition); position: relative; }
nav a::after { content: ''; position: absolute; bottom: -4px; left: 0; width: 0; height: 2px; background: var(--gold); border-radius: 2px; transition: var(--transition); }
nav a:hover, nav a.active { color: var(--gold); }
nav a:hover::after { width: 100%; }
.nav-cta { padding: 10px 22px; font-size: 0.88rem; transition: padding 0.4s cubic-bezier(.4,0,.2,1), font-size 0.4s ease; }
#header.scrolled .nav-cta { padding: 8px 18px; font-size: 0.82rem; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--gold-dark); border-radius: 2px; transition: var(--transition); }

/* Botão admin discreto */
.admin-access-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  color: rgba(122,78,18,0.35);
  font-size: 0.75rem;
  transition: all 0.3s ease;
  text-decoration: none;
  border: 1px solid transparent;
  flex-shrink: 0;
}
.admin-access-btn:hover {
  color: var(--gold);
  background: rgba(185,130,34,0.08);
  border-color: rgba(185,130,34,0.2);
  transform: scale(1.1);
}
#header.scrolled .admin-access-btn {
  color: rgba(122,78,18,0.25);
}


/* ===== HERO ===== */
#hero { min-height: 100vh; display: flex; align-items: center; background: linear-gradient(135deg, var(--champagne) 0%, var(--white) 60%); position: relative; overflow: hidden; padding-top: 80px; }
.hero-decor { position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: linear-gradient(135deg, rgba(185,130,34,0.06) 0%, rgba(214,168,74,0.12) 100%); clip-path: polygon(15% 0, 100% 0, 100% 100%, 0% 100%); }
.hero-stars { position: absolute; inset: 0; pointer-events: none; }
.star { position: absolute; color: var(--gold-light); opacity: 0.3; animation: twinkle 3s ease-in-out infinite; }
@keyframes twinkle { 0%,100%{opacity:.2;transform:scale(1)} 50%{opacity:.5;transform:scale(1.2)} }
.hero-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(185,130,34,0.1); border: 1px solid rgba(185,130,34,0.3); border-radius: 50px; padding: 6px 16px; font-size: 0.8rem; color: var(--gold-dark); margin-bottom: 20px; }
.hero-title { font-size: clamp(2.2rem, 4.5vw, 3.4rem); color: var(--text); margin-bottom: 16px; line-height: 1.15; }
.hero-slogan { font-family: 'Playfair Display', serif; font-style: italic; font-size: 1.35rem; color: var(--gold); margin-bottom: 20px; }
.hero-desc { font-size: 1.05rem; color: var(--text-light); line-height: 1.8; margin-bottom: 36px; max-width: 520px; }
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-seals { display: flex; gap: 20px; flex-wrap: wrap; }
.seal { display: flex; align-items: center; gap: 6px; font-size: 0.8rem; color: var(--text-light); }
.seal i { color: var(--gold); font-size: 0.9rem; }
.hero-img-wrap { position: relative; }
.hero-img { width: 100%; height: 520px; object-fit: cover; border-radius: 24px 80px 24px 80px; box-shadow: 0 20px 60px rgba(185,130,34,0.25); }
.hero-img-frame { position: absolute; inset: -16px; border: 2px solid rgba(185,130,34,0.2); border-radius: 30px 90px 30px 90px; pointer-events: none; }

/* ===== SOBRE ===== */
#sobre { background: var(--white); }
.sobre-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.sobre-img { position: relative; }
.sobre-img img { width: 100%; height: 480px; object-fit: cover; border-radius: var(--radius) 60px var(--radius) 60px; box-shadow: var(--shadow-hover); }
.sobre-badge { position: absolute; bottom: -20px; right: -20px; background: linear-gradient(135deg, var(--gold), var(--gold-light)); color: var(--white); padding: 20px 24px; border-radius: var(--radius); box-shadow: var(--shadow-hover); text-align: center; font-family: 'Playfair Display', serif; }
.sobre-badge strong { display: block; font-size: 1.8rem; }
.sobre-badge span { font-size: 0.75rem; opacity: 0.9; }
.sobre-text p { color: var(--text-light); line-height: 1.9; margin-bottom: 18px; font-size: 1.01rem; }
.sobre-text .btn { margin-top: 10px; }

/* ===== SERVIÇOS ===== */
#servicos { background: var(--champagne); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.service-card { background: var(--white); border-radius: var(--radius); padding: 36px 28px; box-shadow: var(--shadow); transition: var(--transition); position: relative; overflow: hidden; border: 1px solid rgba(185,130,34,0.08); }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.service-icon { width: 60px; height: 60px; background: linear-gradient(135deg, rgba(185,130,34,0.12), rgba(214,168,74,0.18)); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 20px; }
.service-icon i { font-size: 1.4rem; color: var(--gold); }
.service-card h3 { font-size: 1.25rem; margin-bottom: 12px; color: var(--text); }
.service-card p { color: var(--text-light); font-size: 0.95rem; line-height: 1.7; margin-bottom: 24px; }
.service-card .btn { font-size: 0.85rem; padding: 10px 20px; }

/* ===== DIFERENCIAIS ===== */
#diferenciais { background: var(--white); }
.diff-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-bottom: 48px; }
.diff-card { background: var(--champagne); border-radius: var(--radius); padding: 28px 22px; transition: var(--transition); border: 1px solid rgba(185,130,34,0.1); text-align: center; }
.diff-card:hover { background: var(--white); box-shadow: var(--shadow-hover); transform: translateY(-4px); }
.diff-card i { font-size: 1.8rem; color: var(--gold); margin-bottom: 14px; display: block; }
.diff-card h4 { font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.diff-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.6; }
.diff-text { max-width: 700px; margin: 0 auto; text-align: center; color: var(--text-light); line-height: 1.8; font-size: 1.05rem; }

/* ===== SLOGAN / CONCEITO ===== */
#conceito { position: relative; background: var(--champagne-dark); overflow: hidden; text-align: center; }
.conceito-bg { position: absolute; inset: 0; background-image: url('../img/slogan_bg.jpg'); background-size: cover; background-position: center; opacity: 0.18; }
.conceito-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(248,241,228,0.95) 0%, rgba(237,227,206,0.92) 100%); }
.conceito-inner { position: relative; z-index: 2; max-width: 720px; margin: 0 auto; }
.conceito-star { font-size: 2rem; color: var(--gold-light); margin-bottom: 20px; animation: float 4s ease-in-out infinite; }
@keyframes float { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }
.conceito-slogan { font-family: 'Playfair Display', serif; font-size: clamp(2.4rem, 5vw, 3.5rem); color: var(--gold-dark); font-style: italic; margin-bottom: 28px; line-height: 1.2; }
.conceito-text { font-size: 1.08rem; color: var(--text-light); line-height: 1.9; margin-bottom: 36px; }

/* ===== GALERIA ===== */
#galeria { background: var(--champagne); }
.gallery-filter { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 36px; }
.filter-btn { padding: 8px 20px; border-radius: 50px; border: 2px solid rgba(185,130,34,0.3); background: transparent; color: var(--text-light); font-family: 'Poppins', sans-serif; font-size: 0.88rem; font-weight: 500; cursor: pointer; transition: var(--transition); }
.filter-btn.active, .filter-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--white); }
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.gallery-item { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4/3; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.07); }
.gallery-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(122,78,18,0.8) 0%, transparent 60%); opacity: 0; transition: var(--transition); display: flex; align-items: flex-end; padding: 20px; }
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: var(--white); font-size: 0.95rem; font-weight: 600; }

/* ===== CTA ===== */
#cta { background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 50%, var(--gold-light) 100%); text-align: center; }
#cta h2 { color: var(--white); font-size: clamp(1.8rem, 3.5vw, 2.6rem); margin-bottom: 16px; }
#cta p { color: rgba(255,255,255,0.88); font-size: 1.05rem; line-height: 1.8; max-width: 600px; margin: 0 auto 36px; }

/* ===== LOCALIZAÇÃO ===== */
#localizacao { background: var(--white); }
.location-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.location-card { background: var(--champagne); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.location-card h3 { font-family: 'Playfair Display', serif; font-size: 1.5rem; color: var(--gold-dark); margin-bottom: 24px; }
.location-item { display: flex; gap: 14px; margin-bottom: 20px; align-items: flex-start; }
.location-item i { color: var(--gold); font-size: 1.1rem; margin-top: 2px; flex-shrink: 0; }
.location-item p { font-size: 0.95rem; color: var(--text-light); line-height: 1.6; }
.location-item a { color: var(--gold-dark); font-weight: 500; }
.location-item a:hover { color: var(--gold); }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-hover); height: 380px; }
.map-wrap iframe { width: 100%; height: 100%; border: none; }

/* ===== CONTATO ===== */
#contato { background: var(--champagne); }
.contact-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-info h3 { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--text); margin-bottom: 20px; }
.contact-info p { color: var(--text-light); line-height: 1.8; margin-bottom: 28px; }
.contact-links { display: flex; flex-direction: column; gap: 14px; }
.contact-link { display: flex; align-items: center; gap: 12px; color: var(--text-light); transition: var(--transition); font-size: 0.95rem; }
.contact-link i { width: 38px; height: 38px; background: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 0.95rem; box-shadow: var(--shadow); flex-shrink: 0; }
.contact-link:hover { color: var(--gold-dark); }
.contact-form { background: var(--white); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.contact-form h3 { font-family: 'Playfair Display', serif; font-size: 1.4rem; margin-bottom: 24px; color: var(--text); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.88rem; font-weight: 500; color: var(--text-light); margin-bottom: 6px; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 1.5px solid rgba(185,130,34,0.2); border-radius: 10px; font-family: 'Poppins', sans-serif; font-size: 0.95rem; color: var(--text); background: var(--champagne); transition: var(--transition); outline: none; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--gold); background: var(--white); box-shadow: 0 0 0 3px rgba(185,130,34,0.1); }
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23B98222'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; }

/* ===== FOOTER ===== */
#footer { background: linear-gradient(135deg, #2B241C 0%, var(--gold-dark) 100%); color: rgba(255,255,255,0.85); }
.footer-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 48px; padding: 60px 0 40px; border-bottom: 1px solid rgba(255,255,255,0.1); }
.footer-brand .logo-name { color: var(--gold-light); font-size: 1.4rem; margin-bottom: 4px; }
.footer-brand .logo-slogan { color: rgba(255,255,255,0.6); font-size: 0.75rem; }
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.65); line-height: 1.7; margin-top: 16px; max-width: 280px; }
.footer-col h4 { font-family: 'Playfair Display', serif; font-size: 1.1rem; color: var(--gold-light); margin-bottom: 20px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.65); font-size: 0.9rem; transition: var(--transition); }
.footer-col ul li a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.footer-contact-item i { color: var(--gold-light); font-size: 0.9rem; margin-top: 2px; }
.footer-contact-item span, .footer-contact-item a { font-size: 0.88rem; color: rgba(255,255,255,0.65); transition: var(--transition); }
.footer-contact-item a:hover { color: var(--gold-light); }
.footer-bottom { padding: 20px 0; display: flex; justify-content: space-between; align-items: center; font-size: 0.82rem; color: rgba(255,255,255,0.4); }

/* ===== WHATSAPP FLOAT ===== */
.whatsapp-float { position: fixed; bottom: 28px; right: 28px; z-index: 999; display: flex; align-items: center; gap: 10px; }
.whatsapp-float-btn { width: 58px; height: 58px; background: #25D366; border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 20px rgba(37,211,102,0.45); transition: var(--transition); text-decoration: none; animation: pulse-wa 2.5s ease-in-out infinite; position: relative; }
.whatsapp-float-btn::before { content: ''; position: absolute; inset: -6px; border: 2px solid rgba(185,130,34,0.4); border-radius: 50%; }
@keyframes pulse-wa { 0%,100%{box-shadow:0 4px 20px rgba(37,211,102,0.4)} 50%{box-shadow:0 4px 30px rgba(37,211,102,0.7)} }
.whatsapp-float-btn i { font-size: 1.7rem; color: var(--white); }
.whatsapp-float-btn:hover { transform: scale(1.1); }
.whatsapp-float-label { background: var(--white); color: var(--text); font-size: 0.82rem; font-weight: 600; padding: 8px 14px; border-radius: 30px; box-shadow: var(--shadow); white-space: nowrap; opacity: 0; transform: translateX(10px); transition: var(--transition); pointer-events: none; }
.whatsapp-float:hover .whatsapp-float-label { opacity: 1; transform: translateX(0); }

/* ===== MOBILE NAV ===== */
#mobile-nav { display: none; position: fixed; inset: 0; background: rgba(255,255,255,0.98); z-index: 999; flex-direction: column; align-items: center; justify-content: center; gap: 28px; }
#mobile-nav.open { display: flex; }
#mobile-nav a { font-family: 'Playfair Display', serif; font-size: 1.6rem; color: var(--text); transition: var(--transition); }
#mobile-nav a:hover { color: var(--gold); }
#mobile-nav .btn { margin-top: 10px; }
#mobile-nav .close-nav { position: absolute; top: 28px; right: 28px; font-size: 1.5rem; color: var(--text-light); cursor: pointer; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  nav { display: none; }
  .hamburger { display: flex; }
  .hero-inner, .sobre-inner, .location-inner, .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-img-wrap { order: -1; }
  .hero-img { height: 360px; border-radius: 20px 50px 20px 50px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 600px) {
  .hero-btns { flex-direction: column; }
  .btn { width: 100%; justify-content: center; }
  .sobre-badge { position: static; margin-top: 20px; display: inline-block; }
  .services-grid { grid-template-columns: 1fr; }
  .whatsapp-float { bottom: 20px; right: 20px; }
}
