/* ============================================
   Envolvente Moda Íntima — Stylesheet
   Palette:
   --dark: #C24168  (mauve / strong headers / active)
   --medium: #E085A3 (primary CTA / interactive)
   --light: #FFF0F5 (section backgrounds / soft cards)
   --white: #FFFFFF
   ============================================ */

:root {
  --dark: #C24168;
  --dark-deep: #9e2f52;
  --medium: #E085A3;
  --medium-deep: #d06a8c;
  --light: #FFF0F5;
  --light-2: #FBE4EC;
  --white: #FFFFFF;
  --text: #3a2230;
  --text-soft: #6b5560;
  --neutral: #f7f3f5;
  --border: #ecd6df;
  --shadow-sm: 0 2px 8px rgba(194, 65, 104, 0.08);
  --shadow-md: 0 8px 28px rgba(194, 65, 104, 0.12);
  --shadow-lg: 0 18px 48px rgba(194, 65, 104, 0.16);
  --radius: 8px;
  --radius-lg: 16px;
  --container: 1180px;
  --font-head: 'Playfair Display', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: all 0.3s ease;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--dark); text-decoration: none; transition: var(--ease); }
a:hover { color: var(--dark-deep); }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--dark); line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.2rem, 2.2vw, 1.5rem); }
h4 { font-size: 1.05rem; color: var(--dark); font-family: var(--font-body); font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 32px; border-radius: var(--radius); border: none;
  font-family: var(--font-body); font-weight: 500; font-size: 0.95rem;
  cursor: pointer; transition: var(--ease); text-align: center; letter-spacing: 0.02em;
}
.btn-primary { background: var(--medium); color: var(--white); box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--medium-deep); color: var(--white); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-ghost { background: transparent; color: var(--dark); border: 1.5px solid var(--dark); }
.btn-ghost:hover { background: var(--dark); color: var(--white); transform: translateY(-2px); }
.btn-light { background: var(--white); color: var(--dark); }
.btn-light:hover { background: var(--light); transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-sm { padding: 10px 22px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* Section helpers */
.section-eyebrow {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--medium-deep); margin-bottom: 12px;
}
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.section-head h2 { margin-bottom: 16px; }
.section-lead { color: var(--text-soft); font-size: 1.05rem; }

/* ============================================
   Header
   ============================================ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: var(--ease);
}
.site-header.scrolled { border-bottom-color: var(--border); box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: var(--font-head); font-size: 1.4rem; font-weight: 700; color: var(--dark); }
.brand-sub { font-size: 0.7rem; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase; color: var(--medium-deep); }

.main-nav { display: flex; align-items: center; gap: 32px; }
.nav-link { font-size: 0.92rem; font-weight: 500; color: var(--text); position: relative; padding: 4px 0; }
.nav-link::after {
  content: ''; position: absolute; bottom: -2px; left: 0; width: 0; height: 2px;
  background: var(--medium); transition: var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--dark); }
.nav-link:hover::after, .nav-link.active::after { width: 100%; }
.nav-cta {
  background: var(--medium); color: var(--white) !important; padding: 10px 24px;
  border-radius: var(--radius); font-size: 0.85rem; font-weight: 500; box-shadow: var(--shadow-sm);
}
.nav-cta:hover { background: var(--medium-deep); transform: translateY(-2px); box-shadow: var(--shadow-md); }

.menu-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 8px; }
.menu-toggle span { width: 24px; height: 2px; background: var(--dark); border-radius: 2px; transition: var(--ease); }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   Hero
   ============================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    linear-gradient(115deg, rgba(194, 65, 104, 0.92) 0%, rgba(224, 133, 163, 0.85) 55%, rgba(255, 240, 245, 0.6) 100%),
    url('https://images.pexels.com/photos/9644057/pexels-photo-9644057.jpeg?auto=compress&cs=tinysrgb&h=650&w=940') center / cover no-repeat;
}
.hero-content { position: relative; z-index: 2; max-width: 680px; padding-top: 76px; }
.hero-eyebrow {
  display: inline-block; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--white); background: rgba(255,255,255,0.18);
  padding: 8px 18px; border-radius: 50px; margin-bottom: 24px; backdrop-filter: blur(4px);
}
.hero h1 { color: var(--white); margin-bottom: 20px; }
.hero-text { color: rgba(255,255,255,0.92); font-size: 1.15rem; margin-bottom: 36px; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero .btn-primary { background: var(--white); color: var(--dark); }
.hero .btn-primary:hover { background: var(--light); color: var(--dark); }
.hero .btn-ghost { color: var(--white); border-color: rgba(255,255,255,0.7); }
.hero .btn-ghost:hover { background: var(--white); color: var(--dark); border-color: var(--white); }
.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 2; }
.hero-scroll span {
  display: block; width: 22px; height: 38px; border: 2px solid rgba(255,255,255,0.6);
  border-radius: 12px; position: relative;
}
.hero-scroll span::after {
  content: ''; position: absolute; top: 8px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px; background: rgba(255,255,255,0.8); border-radius: 2px;
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot { 0% { opacity: 0; top: 8px; } 50% { opacity: 1; } 100% { opacity: 0; top: 22px; } }

/* ============================================
   History
   ============================================ */
.history { padding: 100px 0; background: var(--light); }
.history-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.history-media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
.history-text h2 { margin-bottom: 20px; }
.history-text p { margin-bottom: 16px; color: var(--text-soft); }
.history-text strong { color: var(--dark); font-weight: 600; }
.history-list { margin-top: 24px; }
.history-list li { position: relative; padding-left: 28px; margin-bottom: 12px; color: var(--text); }
.history-list li::before { content: '✦'; position: absolute; left: 0; color: var(--medium); }

/* ============================================
   Products
   ============================================ */
.products { padding: 100px 0; }
.products-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.product-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--ease);
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-media img { width: 100%; height: 260px; object-fit: cover; transition: var(--ease); }
.product-card:hover .product-media img { transform: scale(1.04); }
.product-body { padding: 32px; }
.product-body h3 { margin-bottom: 14px; }
.product-body p { color: var(--text-soft); margin-bottom: 18px; }
.product-body strong { color: var(--dark); }
.product-body ul li { position: relative; padding-left: 24px; margin-bottom: 10px; color: var(--text); font-size: 0.95rem; }
.product-body ul li::before { content: '✦'; position: absolute; left: 0; color: var(--medium); font-size: 0.8rem; }
.products-cta { text-align: center; margin-top: 48px; }

/* ============================================
   Features strip
   ============================================ */
.features { padding: 80px 0; background: var(--light); }
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.feature { text-align: center; }
.feature-icon {
  width: 56px; height: 56px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; color: var(--medium); box-shadow: var(--shadow-sm);
  transition: var(--ease);
}
.feature:hover .feature-icon { background: var(--medium); color: var(--white); transform: scale(1.1); }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--text-soft); font-size: 0.92rem; }

/* ============================================
   CTA banner
   ============================================ */
.cta-banner {
  padding: 90px 0;
  background: linear-gradient(120deg, var(--dark) 0%, var(--medium) 100%);
  text-align: center;
}
.cta-inner h2 { color: var(--white); margin-bottom: 14px; }
.cta-inner p { color: rgba(255,255,255,0.9); margin-bottom: 28px; font-size: 1.1rem; }

/* ============================================
   Page hero (interior pages)
   ============================================ */
.page-hero { padding: 140px 0 60px; background: var(--light); text-align: center; }
.page-hero-soft { background: linear-gradient(160deg, var(--light) 0%, var(--white) 100%); }
.page-hero h1 { margin-bottom: 16px; }
.page-lead { color: var(--text-soft); max-width: 680px; margin: 0 auto; font-size: 1.08rem; }

/* ============================================
   Gallery (portfolio)
   ============================================ */
.gallery-section { padding: 80px 0; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gallery-item { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: var(--ease); background: var(--white); }
.gallery-item:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.gallery-item img { width: 100%; height: 280px; object-fit: cover; transition: var(--ease); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item figcaption { padding: 16px 20px; font-size: 0.9rem; color: var(--text-soft); }
.gallery-cta { text-align: center; margin-top: 56px; }
.gallery-cta p { margin-bottom: 20px; color: var(--text); font-size: 1.1rem; }

/* ============================================
   Quote form (orcamento)
   ============================================ */
.quote-section { padding: 80px 0; background: var(--light); }
.quote-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.quote-info h2 { margin-bottom: 18px; }
.quote-info p { color: var(--text-soft); margin-bottom: 24px; }
.quote-info strong { color: var(--dark); }
.info-list li { display: flex; align-items: center; gap: 16px; margin-bottom: 16px; color: var(--text); }
.info-num {
  flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: var(--medium);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-weight: 600; font-size: 0.9rem;
}
.info-note {
  margin-top: 28px; padding: 20px 24px; background: var(--white); border-left: 3px solid var(--medium);
  border-radius: var(--radius); color: var(--text-soft);
}
.info-note strong { color: var(--dark); }

/* Forms */
.quote-form { background: var(--white); padding: 40px; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-size: 0.88rem; font-weight: 500; color: var(--text); }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 16px; border: 1.5px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.95rem; color: var(--text); background: var(--white);
  transition: var(--ease);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--medium); box-shadow: 0 0 0 3px rgba(224, 133, 163, 0.15);
}
.form-group textarea { resize: vertical; }
.form-feedback { margin-top: 16px; font-size: 0.9rem; font-weight: 500; min-height: 1.2em; }
.form-feedback.success { color: #2d7a4b; }
.form-feedback.error { color: #c0392b; }
.form-note { margin-top: 12px; font-size: 0.8rem; color: var(--text-soft); text-align: center; }

/* ============================================
   Contact page
   ============================================ */
.contact-section { padding: 80px 0; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-cards { display: flex; flex-direction: column; gap: 24px; }
.contact-card {
  background: var(--light); padding: 32px; border-radius: var(--radius-lg); border: 1px solid var(--border);
  transition: var(--ease);
}
.contact-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.contact-icon {
  width: 48px; height: 48px; border-radius: 50%; background: var(--white); color: var(--medium);
  display: flex; align-items: center; justify-content: center; margin-bottom: 16px; box-shadow: var(--shadow-sm);
}
.contact-card h2 { font-size: 1.3rem; margin-bottom: 10px; }
.contact-card p { color: var(--text-soft); margin-bottom: 16px; }
.contact-card strong { color: var(--dark); }
.contact-form { box-shadow: var(--shadow-md); }

/* ============================================
   Thank you page (obrigado.html)
   ============================================ */
.thanks-section {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, var(--light) 0%, var(--white) 100%);
  padding: 120px 0 60px;
}
.thanks-content { text-align: center; max-width: 600px; }
.thanks-icon {
  width: 80px; height: 80px; margin: 0 auto 28px; border-radius: 50%;
  background: var(--medium); color: var(--white); display: flex; align-items: center;
  justify-content: center; font-size: 2.2rem; box-shadow: var(--shadow-md);
  animation: popIn 0.5s ease;
}
@keyframes popIn { 0% { transform: scale(0); opacity: 0; } 70% { transform: scale(1.1); } 100% { transform: scale(1); opacity: 1; } }
.thanks-content h1 { margin-bottom: 18px; }
.thanks-text { color: var(--text-soft); font-size: 1.1rem; margin-bottom: 32px; }
.thanks-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   Footer
   ============================================ */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.85); padding: 64px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; }
.brand-footer .brand-name { color: var(--white); }
.brand-footer .brand-sub { color: var(--light-2); }
.footer-col p { margin-top: 16px; font-size: 0.9rem; line-height: 1.7; color: rgba(255,255,255,0.75); }
.footer-col h4 { color: var(--white); margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { color: rgba(255,255,255,0.78); font-size: 0.9rem; }
.footer-col ul li a:hover { color: var(--white); }
.footer-col ul li:not(a) { color: rgba(255,255,255,0.7); font-size: 0.88rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 24px 0; }
.footer-bottom p { font-size: 0.85rem; color: rgba(255,255,255,0.6); text-align: center; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 960px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .main-nav {
    position: fixed; top: 76px; left: 0; right: 0; flex-direction: column;
    background: var(--white); padding: 24px; gap: 18px; align-items: stretch;
    border-bottom: 1px solid var(--border); box-shadow: var(--shadow-md);
    transform: translateY(-120%); opacity: 0; visibility: hidden; transition: var(--ease);
  }
  .main-nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-link { padding: 10px 4px; }
  .nav-cta { text-align: center; }
  .menu-toggle { display: flex; }

  .history-grid, .products-grid, .quote-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .history, .products, .features, .cta-banner, .gallery-section, .quote-section, .contact-section { padding: 60px 0; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .quote-form, .contact-form { padding: 28px; }
  .hero-content { padding-top: 96px; }
  .hero-actions .btn { width: 100%; }
}

@media (max-width: 520px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-text { font-size: 1rem; }
}

/* Estilo para o link do logo */
.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

/* Garante que a imagem respeite o tamanho exato e seja responsiva */
.brand-logo {
  display: block;
  width: 121px;
  height: 34px;
  max-width: 100%;
  height: auto; /* Mantém a proporção se encolher no mobile */
}
