/* =====================================================================
   Clínica de Beleza — Dermatology & Aesthetics
   Design system: blush-pink + mauve + serif accents (brand references)
   Layout structure: adapted from provided salon layout reference
   ===================================================================== */

:root {
  /* Brand palette */
  --blush:        #FBEDEA;
  --blush-2:      #F9E4DF;
  --pink-soft:    #F7D9D3;
  --pink:         #EBA9A0;
  --rose:         #C97F79;
  --rose-deep:    #A85E5B;
  --mauve:        #8A5F5C;
  --rose-gold:    #C99A8E;
  --cream:        #FFFBF9;
  --ink:          #2B2320;   /* warm near-black */
  --ink-2:        #3A302C;
  --text:         #5E4B47;
  --text-soft:    #8B7A75;
  --line:         #F0DCD6;
  --white:        #ffffff;

  --shadow-sm: 0 4px 14px rgba(168,94,91,0.08);
  --shadow-md: 0 12px 34px rgba(168,94,91,0.13);
  --shadow-lg: 0 24px 60px rgba(120,60,58,0.18);

  --radius: 18px;
  --radius-lg: 26px;
  --maxw: 1220px;

  --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
  --sans:  "Jost", "Poppins", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  color: var(--text);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--rose-deep); font-weight: 600; line-height: 1.12; }

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

.eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: .72rem;
  font-weight: 600;
  color: var(--rose);
  display: inline-block;
}

.section-head { text-align: center; max-width: 640px; margin: 0 auto 52px; }
.section-head .eyebrow { margin-bottom: 12px; }
.section-head h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
.section-head p { color: var(--text-soft); margin-top: 14px; }

/* Ornamental divider */
.flourish {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  color: var(--rose-gold); margin: 14px auto 0;
}
.flourish::before, .flourish::after {
  content: ""; height: 1px; width: 46px;
  background: linear-gradient(90deg, transparent, var(--rose-gold));
}
.flourish::after { background: linear-gradient(90deg, var(--rose-gold), transparent); }
.flourish span { transform: rotate(45deg); width: 8px; height: 8px; border: 1.5px solid var(--rose-gold); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 28px; border-radius: 999px;
  font-family: var(--sans); font-weight: 600; font-size: .9rem;
  letter-spacing: .02em; cursor: pointer; border: none;
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--pink), var(--rose));
  color: #fff; box-shadow: 0 10px 24px rgba(201,127,121,0.35);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(201,127,121,0.45); }
.btn-ghost {
  background: rgba(255,255,255,.7); color: var(--rose-deep);
  border: 1.5px solid var(--pink-soft);
}
.btn-ghost:hover { background: #fff; transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.btn-light { background:#fff; color: var(--rose-deep); }
.btn-light:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ===================== Announcement bar ===================== */
.topbar {
  background: var(--ink); color: #e9ddd8; font-size: .8rem;
  letter-spacing: .02em;
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 42px; flex-wrap: wrap;
}
.topbar a, .topbar span { color: #e3d4cf; display: inline-flex; align-items: center; gap: 7px; }
.topbar .tagline { color: var(--pink); letter-spacing: .18em; text-transform: uppercase; font-size: .72rem; }
.topbar .tb-right { display: flex; gap: 20px; align-items: center; }
.topbar .socials { display: flex; gap: 12px; }
.topbar .socials a:hover { color: var(--pink); }
.topbar svg { width: 14px; height: 14px; }

/* ===================== Header / Nav ===================== */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,251,249,.86);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow .3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.nav { display: flex; align-items: center; justify-content: space-between; min-height: 78px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 13px; }
.brand img { height: 44px; width: auto; }
.brand .wordmark { line-height: 1; }
.brand .wordmark b {
  font-family: var(--sans); font-weight: 600; letter-spacing: .22em;
  font-size: .96rem; color: var(--rose-deep); display: block; text-transform: uppercase;
}
.brand .wordmark small {
  font-family: var(--sans); letter-spacing: .3em; font-size: .58rem;
  color: var(--rose-gold); text-transform: uppercase;
}
.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a {
  font-size: .82rem; font-weight: 500; letter-spacing: .12em; text-transform: uppercase;
  color: var(--mauve); position: relative; padding: 6px 0;
}
.nav-links a::after {
  content:""; position:absolute; left:0; bottom:0; height:2px; width:0;
  background: var(--pink); transition: width .3s ease;
}
.nav-links a:hover { color: var(--rose-deep); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.menu-toggle { display: none; background: none; border: none; cursor: pointer; color: var(--rose-deep); }
.menu-toggle svg { width: 28px; height: 28px; }

/* ===================== Hero ===================== */
.hero {
  position: relative;
  background:
    radial-gradient(120% 90% at 100% 0%, #fbe0da 0%, transparent 55%),
    linear-gradient(160deg, var(--blush) 0%, #fdf4f1 60%, var(--blush-2) 100%);
  overflow: hidden;
}
.hero::before {
  content:""; position:absolute; right:-120px; top:-120px; width:520px; height:520px;
  background: radial-gradient(circle, rgba(235,169,160,.35), transparent 65%);
  border-radius:50%; filter: blur(10px);
}
.hero .container { display: grid; grid-template-columns: 1.05fr 1fr; gap: 40px; align-items: center; padding-top: 60px; padding-bottom: 60px; position: relative; z-index: 2; }
.hero-copy .eyebrow { margin-bottom: 18px; }
.hero-copy h1 { font-size: clamp(2.8rem, 6vw, 4.9rem); color: var(--ink-2); font-weight: 600; }
.hero-copy h1 em { font-style: italic; color: var(--rose); position: relative; }
.hero-copy .lead { margin: 22px 0 30px; font-size: 1.06rem; color: var(--text-soft); max-width: 470px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.play-btn { background: rgba(255,255,255,.75); border: 1.5px solid var(--pink-soft); }
.play-btn .ic { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg,var(--pink),var(--rose)); color:#fff; display:grid; place-items:center; }
.play-btn .ic svg { width: 13px; height: 13px; }

.hero-trust { display: flex; align-items: center; gap: 16px; margin-top: 38px; }
.avatars { display: flex; }
.avatars span {
  width: 42px; height: 42px; border-radius: 50%; border: 3px solid var(--cream);
  margin-left: -12px; background-size: cover; background-position: center;
  box-shadow: var(--shadow-sm);
}
.avatars span:first-child { margin-left: 0; }
.trust-text b { color: var(--rose-deep); font-family: var(--sans); }
.trust-text small { color: var(--text-soft); display:block; font-size:.8rem; }
.stars { color: #E9B44C; letter-spacing: 2px; font-size:.85rem; }

/* Hero visual */
.hero-visual { position: relative; }
.hero-photo {
  border-radius: 220px 220px 26px 26px;
  overflow: hidden; aspect-ratio: 4/5;
  background: linear-gradient(160deg, #f4cfc7, #e7a99f);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero-photo img { width:100%; height:100%; object-fit: cover; }
.hero-badge {
  position: absolute; left: -26px; bottom: 46px;
  width: 128px; height: 128px; border-radius: 50%;
  background: var(--cream); box-shadow: var(--shadow-md);
  display: grid; place-items: center; text-align: center; padding: 12px;
  animation: spin 22s linear infinite;
}
.hero-badge span { font-family: var(--serif); color: var(--rose-deep); font-size: .82rem; line-height:1.25; font-weight:600; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-leaf { position:absolute; right:-14px; top:-14px; width:120px; opacity:.9; }

/* ===================== Feature strip ===================== */
.features {
  margin-top: -46px; position: relative; z-index: 5;
}
.features-grid {
  background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md);
  display: grid; grid-template-columns: repeat(6, 1fr);
  overflow: hidden;
}
.feature {
  padding: 30px 20px; text-align: center; border-right: 1px solid var(--line);
  transition: background .3s ease;
}
.feature:last-child { border-right: none; }
.feature:hover { background: var(--blush); }
.feature .ic {
  width: 52px; height: 52px; margin: 0 auto 14px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blush-2), var(--pink-soft));
  display: grid; place-items: center; color: var(--rose);
}
.feature .ic svg { width: 24px; height: 24px; }
.feature b { font-family: var(--sans); font-weight: 600; font-size: .84rem; color: var(--ink-2); display:block; }
.feature small { color: var(--text-soft); font-size: .74rem; }

/* ===================== Services ===================== */
.services { padding: 100px 0; }
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px;
}
.service-card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.service-thumb { aspect-ratio: 16/11; position: relative; background: linear-gradient(160deg,#f6d6ce,#e9aca2); }
.service-thumb img { width:100%; height:100%; object-fit: cover; }
.service-thumb .badge-ic {
  position: absolute; left: 50%; bottom: -26px; transform: translateX(-50%);
  width: 54px; height: 54px; border-radius: 50%; background:#fff;
  display:grid; place-items:center; color: var(--rose); box-shadow: var(--shadow-sm);
}
.service-thumb .badge-ic svg { width: 26px; height: 26px; }
.service-body { padding: 42px 26px 28px; text-align: center; }
.service-body h3 { font-size: 1.5rem; }
.service-body p { color: var(--text-soft); font-size: .9rem; margin: 10px 0 16px; }
.service-link {
  font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; font-weight: 600;
  color: var(--rose); display:inline-flex; gap:7px; align-items:center;
}
.service-link:hover { color: var(--rose-deep); gap: 12px; }
.services .btn { margin: 46px auto 0; display: flex; width: fit-content; }

/* ===================== Signature treatment ===================== */
.signature { padding: 90px 0; background: linear-gradient(160deg, var(--blush), #fdf5f2); }
.sig-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 54px; align-items: center; }
.sig-media { position: relative; }
.sig-media .main {
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  border: 6px solid #fff;
}
.sig-media .float {
  position: absolute; right: -22px; bottom: -30px; width: 44%;
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md);
  border: 5px solid #fff;
}
.sig-copy .eyebrow { margin-bottom: 12px; }
.sig-copy h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.sig-copy > p { color: var(--text-soft); margin: 16px 0 24px; }
.sig-list { list-style: none; display: grid; gap: 14px; }
.sig-list li { display: flex; gap: 13px; align-items: flex-start; }
.sig-list .tick {
  flex: none; width: 30px; height: 30px; border-radius: 50%;
  background: linear-gradient(135deg,var(--pink),var(--rose)); color:#fff;
  display:grid; place-items:center;
}
.sig-list .tick svg { width: 15px; height: 15px; }
.sig-list b { font-family: var(--sans); color: var(--ink-2); font-size:.95rem; }
.sig-list small { color: var(--text-soft); }

/* ===================== Offer banner ===================== */
.offer { padding: 0 0 100px; }
.offer-band {
  background:
    linear-gradient(90deg, rgba(43,35,32,.94), rgba(58,48,44,.86)),
    linear-gradient(135deg, var(--rose-deep), var(--ink));
  border-radius: var(--radius-lg); color: #f3e7e2; overflow: hidden;
  display: grid; grid-template-columns: 1fr 1.1fr; box-shadow: var(--shadow-lg);
}
.offer-band .media { background: linear-gradient(160deg,#caa,#987); min-height: 260px; position:relative; }
.offer-band .media img { width:100%; height:100%; object-fit: cover; position:absolute; inset:0; }
.offer-body { padding: 48px 46px; }
.offer-body .eyebrow { color: var(--pink); }
.offer-body h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 12px 0 10px; }
.offer-body h2 em { color: var(--pink); font-style: italic; }
.offer-body p { color: #d9c8c2; max-width: 460px; }
.offer-points { display:flex; gap: 28px; margin: 22px 0 26px; flex-wrap: wrap; }
.offer-points div { display:flex; gap:10px; align-items:center; font-size:.85rem; }
.offer-points .ic { width:36px;height:36px;border-radius:50%;background:rgba(235,169,160,.2);display:grid;place-items:center;color:var(--pink); }
.offer-points svg{width:18px;height:18px;}

/* ===================== Gallery ===================== */
.gallery { padding: 0 0 100px; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-grid a {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 1; background: linear-gradient(160deg,#f5d3cb,#e7a99f);
  box-shadow: var(--shadow-sm);
}
.gallery-grid a img { width:100%; height:100%; object-fit: cover; transition: transform .5s ease; }
.gallery-grid a::after {
  content:""; position:absolute; inset:0; background: rgba(168,94,91,0); transition: background .3s ease;
}
.gallery-grid a:hover img { transform: scale(1.08); }
.gallery-grid a:hover::after { background: rgba(168,94,91,.18); }
.gallery-grid a.tall { grid-row: span 2; aspect-ratio: auto; }

/* ===================== Testimonials ===================== */
.reviews { padding: 100px 0; background: linear-gradient(160deg,#fdf5f2, var(--blush)); }
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.review-card {
  background:#fff; border-radius: var(--radius); padding: 34px 30px;
  box-shadow: var(--shadow-sm); border: 1px solid var(--line); position: relative;
}
.review-card .quote { font-family: var(--serif); font-size: 4rem; color: var(--pink-soft); position:absolute; top: 6px; right: 22px; line-height:1; }
.review-card .stars { margin-bottom: 12px; }
.review-card p { color: var(--text); font-size: .95rem; position: relative; z-index:1; }
.review-author { display:flex; align-items:center; gap: 13px; margin-top: 22px; }
.review-author .ava { width: 48px; height: 48px; border-radius:50%; background-size:cover; background-position:center; box-shadow: var(--shadow-sm); }
.review-author b { font-family: var(--sans); color: var(--ink-2); display:block; font-size:.92rem; }
.review-author small { color: var(--text-soft); font-size:.78rem; }

/* ===================== Contact / Book ===================== */
.contact { padding: 100px 0; }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: stretch; }
.contact-info { }
.contact-info h2 { font-size: clamp(2rem,3.4vw,2.8rem); margin: 12px 0 12px; }
.contact-info > p { color: var(--text-soft); margin-bottom: 26px; }
.info-item { display:flex; gap:16px; align-items:flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-item .ic { flex:none; width: 50px; height:50px; border-radius: 14px; background: linear-gradient(135deg,var(--blush-2),var(--pink-soft)); display:grid; place-items:center; color: var(--rose); }
.info-item .ic svg { width: 22px; height:22px; }
.info-item b { font-family: var(--sans); color: var(--ink-2); font-size: .82rem; letter-spacing:.1em; text-transform:uppercase; }
.info-item p { color: var(--text); margin:0; }
.info-item a:hover { color: var(--rose); }

.book-form {
  background:#fff; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
}
.book-form h3 { font-size: 1.9rem; margin-bottom: 6px; }
.book-form .sub { color: var(--text-soft); font-size:.9rem; margin-bottom: 24px; }
.field { margin-bottom: 16px; }
.field label { display:block; font-size:.76rem; letter-spacing:.1em; text-transform:uppercase; color: var(--mauve); margin-bottom: 7px; font-weight:600; }
.field input, .field select, .field textarea {
  width:100%; padding: 13px 16px; border-radius: 12px; border: 1.5px solid var(--line);
  background: var(--cream); font-family: var(--sans); color: var(--text); font-size:.92rem;
  transition: border .25s ease, box-shadow .25s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline:none; border-color: var(--pink); box-shadow: 0 0 0 4px rgba(235,169,160,.18);
}
.field-row { display:grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.book-form .btn { width: 100%; justify-content: center; margin-top: 8px; }
.form-note { font-size:.76rem; color: var(--text-soft); text-align:center; margin-top: 12px; }

/* ===================== Footer ===================== */
.site-footer { background: var(--ink); color: #cdbcb6; padding: 74px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-brand img { height: 58px; margin-bottom: 18px; }
.footer-brand p { font-size:.88rem; color:#b9a8a2; max-width: 300px; }
.footer-brand .socials { display:flex; gap: 12px; margin-top: 20px; }
.footer-brand .socials a {
  width: 40px; height:40px; border-radius: 50%; border:1px solid rgba(235,169,160,.3);
  display:grid; place-items:center; color: var(--pink); transition: all .25s ease;
}
.footer-brand .socials a:hover { background: var(--pink); color: var(--ink); transform: translateY(-3px); }
.footer-brand .socials svg { width: 17px; height:17px; }
.footer-col h4 { color:#fff; font-family: var(--sans); font-weight:600; font-size:.82rem; letter-spacing:.14em; text-transform:uppercase; margin-bottom: 20px; }
.footer-col ul { list-style:none; display:grid; gap: 11px; }
.footer-col a { font-size:.88rem; color:#c3b2ac; }
.footer-col a:hover { color: var(--pink); padding-left: 5px; }
.footer-news p { font-size:.86rem; color:#b9a8a2; margin-bottom: 16px; }
.news-form { display:flex; background: rgba(255,255,255,.06); border-radius: 999px; padding: 5px; border:1px solid rgba(235,169,160,.25); }
.news-form input { flex:1; background:none; border:none; color:#fff; padding: 10px 16px; font-family: var(--sans); font-size:.86rem; }
.news-form input::placeholder { color:#9d8c86; }
.news-form input:focus { outline:none; }
.news-form button { border:none; cursor:pointer; background: linear-gradient(135deg,var(--pink),var(--rose)); color:#fff; width: 42px; height:42px; border-radius:50%; display:grid; place-items:center; }
.news-form button svg { width:18px; height:18px; }
.footer-bottom {
  margin-top: 56px; border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0;
  display:flex; justify-content: space-between; align-items:center; flex-wrap: wrap; gap: 12px;
  font-size:.8rem; color:#9d8c86;
}
.footer-bottom a:hover { color: var(--pink); }

/* ===================== Reveal animation ===================== */
[data-reveal] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
[data-reveal].in { opacity: 1; transform: none; }

/* ===================== Responsive ===================== */
@media (max-width: 1024px) {
  .features-grid { grid-template-columns: repeat(3,1fr); }
  .feature:nth-child(3){ border-right:none; }
  .services-grid { grid-template-columns: repeat(2,1fr); }
  .gallery-grid { grid-template-columns: repeat(3,1fr); }
  .reviews-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .nav-links, .topbar .tb-left .addr { display:none; }
  .menu-toggle { display:block; }
  .nav-links.open {
    display:flex; position:absolute; top:78px; left:0; right:0; flex-direction:column;
    background:#fff; padding: 20px 26px; gap: 6px; box-shadow: var(--shadow-md);
  }
  .nav-links.open a { padding: 12px 0; border-bottom:1px solid var(--line); }
  .hero .container { grid-template-columns: 1fr; padding-bottom: 90px; }
  .hero-visual { max-width: 440px; margin: 0 auto; }
  .sig-wrap, .offer-band, .contact-wrap { grid-template-columns: 1fr; }
  .offer-band .media { min-height: 200px; }
  .sig-media .float { position: static; width: 60%; margin: 16px auto 0; }
}
@media (max-width: 560px) {
  .services-grid, .gallery-grid, .features-grid { grid-template-columns: 1fr 1fr; }
  .feature { border-right:none; }
  .footer-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .topbar .tb-right .email { display:none; }
  .hero-copy h1 { font-size: 2.6rem; }
}
