/* ============================================
   Cecília Bastos Massoterapia — Style Sheet
   massagensnovale.com.br/cecilia-bastos
   ============================================ */

/* === VARIABLES === */
:root {
  --color-primary:       #1E3A2F;
  --color-primary-light: #2D5A47;
  --color-primary-dark:  #142B22;
  --color-accent:        #C4963C;
  --color-accent-light:  #E8C57A;
  --color-bg:            #F9F5F0;
  --color-bg-alt:        #F0EAE0;
  --color-surface:       #FFFFFF;
  --color-text:          #1A1A1A;
  --color-text-muted:    #6B6565;
  --color-border:        #E5DDD4;
  --color-whatsapp:      #25D366;
  --color-whatsapp-dark: #128C7E;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;
  --radius-xl:  32px;

  --shadow-sm:  0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.04);
  --shadow-md:  0 4px 12px rgba(0,0,0,.10), 0 2px 6px rgba(0,0,0,.05);
  --shadow-lg:  0 12px 32px rgba(0,0,0,.12), 0 4px 12px rgba(0,0,0,.06);
  --shadow-xl:  0 24px 48px rgba(0,0,0,.15);

  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container:  1140px;
}

/* === 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);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul { list-style: none; }

button { cursor: pointer; border: none; background: none; font: inherit; }

/* === CONTAINER === */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 768px) {
  .container { padding: 0 32px; }
}

/* === TYPOGRAPHY === */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  line-height: 1.2;
  color: var(--color-text);
}

/* === BUTTONS === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  transition: all var(--transition);
  white-space: nowrap;
  cursor: pointer;
  text-decoration: none;
}

.btn--sm  { padding: 10px 20px; font-size: 14px; }
.btn--lg  { padding: 16px 36px; font-size: 16px; border-radius: var(--radius-md); }

.btn--primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(196,150,60,.35);
}
.btn--primary:hover {
  background: #B8862E;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(196,150,60,.4);
}

.btn--whatsapp {
  background: var(--color-whatsapp);
  color: #fff;
  box-shadow: 0 2px 8px rgba(37,211,102,.35);
}
.btn--whatsapp:hover {
  background: var(--color-whatsapp-dark);
  transform: translateY(-1px);
}

.btn--outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn--outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn--white {
  background: #fff;
  color: var(--color-primary);
  box-shadow: var(--shadow-md);
}
.btn--white:hover {
  background: var(--color-bg);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

/* === SECTION HEADERS === */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 10px;
}

.section-title {
  font-size: clamp(26px, 5vw, 40px);
  font-weight: 700;
  color: var(--color-primary-dark);
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--color-text-muted);
  max-width: 560px;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header .section-subtitle {
  margin: 0 auto;
}

/* === HEADER === */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

.header.scrolled {
  background: rgba(255,255,255,.97);
  box-shadow: var(--shadow-sm);
  padding: 10px 0;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.header__logo-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-surface);
  transition: color var(--transition);
}

.header.scrolled .header__logo-name { color: var(--color-primary-dark); }

.header__logo-subtitle {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  transition: color var(--transition);
}

.header.scrolled .header__logo-subtitle { color: var(--color-text-muted); }

.header__nav {
  display: none;
  gap: 32px;
}

.header__nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,.85);
  transition: color var(--transition);
}

.header.scrolled .header__nav a { color: var(--color-text-muted); }
.header__nav a:hover { color: var(--color-accent); }

@media (min-width: 768px) {
  .header__nav { display: flex; }
}

/* === HERO === */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, #2D5A47 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 70% 50%, rgba(196,150,60,.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(255,255,255,.03) 0%, transparent 60%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
  align-items: center;
}

@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1fr 420px; gap: 64px; }
}

.hero__label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--color-accent-light);
  margin-bottom: 16px;
}

.hero__title {
  font-size: clamp(36px, 6vw, 62px);
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 18px;
  color: rgba(255,255,255,.8);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 500px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero__actions .btn--outline {
  color: rgba(255,255,255,.9);
  border-color: rgba(255,255,255,.4);
}
.hero__actions .btn--outline:hover {
  background: rgba(255,255,255,.15);
  border-color: rgba(255,255,255,.7);
  color: #fff;
}

.hero__photo {
  display: flex;
  justify-content: center;
}

.hero__photo-frame {
  position: relative;
  width: 300px;
  height: 380px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  border: 3px solid rgba(196,150,60,.3);
}

.hero__photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.hero__photo-frame::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgba(30,58,47,.4) 100%);
}

@media (min-width: 768px) {
  .hero__photo-frame { width: 380px; height: 480px; }
}

/* === STATS === */
.stats {
  background: var(--color-surface);
  padding: 40px 0;
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  text-align: center;
}

@media (min-width: 600px) {
  .stats__grid { grid-template-columns: repeat(4, 1fr); }
}

.stats__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 0;
}

.stats__item + .stats__item {
  border-left: 1px solid var(--color-border);
}

@media (max-width: 599px) {
  .stats__item:nth-child(2n+1) { border-left: none; }
  .stats__item:nth-child(3), .stats__item:nth-child(4) { border-top: 1px solid var(--color-border); }
}

.stats__number {
  font-family: var(--font-heading);
  font-size: 30px;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1;
}

.stats__label {
  font-size: 13px;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* === SERVICES === */
.services {
  padding: 96px 0;
  background: var(--color-bg);
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 600px) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1000px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
}

/* Service Card */
.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: transform var(--transition), box-shadow var(--transition);
  display: flex;
  flex-direction: column;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.service-card__image {
  position: relative;
  width: 100%;
  height: 220px;
  overflow: hidden;
  flex-shrink: 0;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.service-card:hover .service-card__image img {
  transform: scale(1.05);
}

.service-card__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card__body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.service-card__name {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 10px;
}

.service-card__description {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
  flex: 1;
}

.service-card__benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 20px;
}

.service-card__benefit {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-primary);
  background: rgba(30,58,47,.08);
  padding: 4px 10px;
  border-radius: 20px;
}

.service-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  gap: 12px;
}

.service-card__price {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.service-card__price-label {
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.service-card__price-value {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--color-accent);
}

.service-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 18px;
  background: var(--color-whatsapp);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 600;
  transition: background var(--transition), transform var(--transition);
  white-space: nowrap;
}

.service-card__cta:hover {
  background: var(--color-whatsapp-dark);
  transform: scale(1.03);
}

/* === ABOUT === */
.about {
  padding: 96px 0;
  background: var(--color-surface);
}

.about__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 56px;
  align-items: start;
}

@media (min-width: 900px) {
  .about__inner {
    grid-template-columns: 420px 1fr;
    align-items: center;
  }
}

.about__image {
  position: relative;
  max-width: 420px;
  margin: 0 auto;
}

@media (min-width: 900px) {
  .about__image { margin: 0; }
}

.about__image img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}

.about__badge {
  position: absolute;
  bottom: -20px;
  right: -16px;
  width: 96px;
  height: 96px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: var(--shadow-md);
  border: 3px solid var(--color-surface);
  line-height: 1.2;
}

.about__badge-number {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: #fff;
}

.about__badge-text {
  font-size: 10px;
  font-weight: 600;
  color: rgba(255,255,255,.85);
  text-transform: uppercase;
  letter-spacing: .04em;
}

.about__text {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 16px;
}

.about__text strong { color: var(--color-text); }

.about__credentials {
  margin: 28px 0 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about__credential-group h3 {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--color-primary);
  margin-bottom: 10px;
  padding-bottom: 6px;
  border-bottom: 2px solid var(--color-accent);
  display: inline-block;
}

.about__credential-group ul {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.about__credential-group li {
  font-size: 14px;
  color: var(--color-text-muted);
  padding-left: 16px;
  position: relative;
}

.about__credential-group li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--color-accent);
  font-weight: 700;
  font-size: 12px;
  top: 1px;
}

/* === TESTIMONIALS === */
.testimonials {
  padding: 96px 0;
  background: var(--color-bg-alt);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (min-width: 600px) {
  .testimonials__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 900px) {
  .testimonials__grid { grid-template-columns: repeat(4, 1fr); gap: 20px; }
}

.testimonial {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--color-surface);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: default;
}

.testimonial:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.testimonial img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius-md);
}

.testimonials__note {
  text-align: center;
  margin-top: 32px;
  font-size: 14px;
  color: var(--color-text-muted);
  font-style: italic;
}

/* Lightbox overlay */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(0,0,0,.9);
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: zoom-out;
}

.lightbox.active { display: flex; }

.lightbox img {
  max-height: 90vh;
  max-width: 90vw;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

/* === CTA BANNER === */
.cta-banner {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--color-primary-dark), var(--color-primary));
  position: relative;
  overflow: hidden;
}

.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(196,150,60,.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-banner__inner {
  position: relative;
  text-align: center;
}

.cta-banner__title {
  font-size: clamp(28px, 5vw, 44px);
  color: #fff;
  margin-bottom: 16px;
}

.cta-banner__subtitle {
  font-size: 17px;
  color: rgba(255,255,255,.75);
  margin-bottom: 36px;
}

/* === FOOTER === */
.footer {
  background: var(--color-primary-dark);
  padding: 56px 0 24px;
  color: rgba(255,255,255,.7);
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .footer__inner { grid-template-columns: 1fr 1fr 1fr; align-items: start; }
}

.footer__name {
  display: block;
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.footer__tagline {
  font-size: 13px;
  color: rgba(255,255,255,.55);
}

.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__links a {
  font-size: 14px;
  color: rgba(255,255,255,.65);
  transition: color var(--transition);
}

.footer__links a:hover { color: var(--color-accent-light); }

.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer__contact a {
  font-size: 15px;
  font-weight: 600;
  color: var(--color-whatsapp);
  transition: color var(--transition);
}

.footer__contact a:hover { color: #6EE7A0; }

.footer__contact span {
  font-size: 13px;
  color: rgba(255,255,255,.5);
}

.footer__bottom {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,.4);
}

.footer__bottom a {
  color: rgba(255,255,255,.55);
  transition: color var(--transition);
}

.footer__bottom a:hover { color: var(--color-accent-light); }

/* === WHATSAPP FLOAT === */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 90;
  width: 60px;
  height: 60px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 4px 16px rgba(37,211,102,.5);
  transition: transform var(--transition), box-shadow var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(37,211,102,.6);
}

.whatsapp-float__pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-whatsapp);
  animation: pulse 2.5s ease-out infinite;
  z-index: -1;
}

@keyframes pulse {
  0%   { transform: scale(1); opacity: .7; }
  70%  { transform: scale(1.55); opacity: 0; }
  100% { transform: scale(1); opacity: 0; }
}

/* === SERVICE PLACEHOLDER GRADIENT (for services without image) === */
.service-grad-1 { background: linear-gradient(135deg, #1E3A2F 0%, #2D5A47 100%); }
.service-grad-2 { background: linear-gradient(135deg, #4A2E1A 0%, #8B5E3C 100%); }
.service-grad-3 { background: linear-gradient(135deg, #1A2E4A 0%, #2A4A7F 100%); }
.service-grad-4 { background: linear-gradient(135deg, #3A1A2E 0%, #7F2A4A 100%); }

.service-card__image-placeholder svg {
  width: 56px;
  height: 56px;
  opacity: .6;
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.animate-in {
  animation: fadeInUp .5s ease forwards;
}

.fade-observe {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .55s ease, transform .55s ease;
}

.fade-observe.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === MOBILE HEADER TOGGLE === */
.header__menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
}

.header__menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: rgba(255,255,255,.9);
  border-radius: 2px;
  transition: all var(--transition);
}

.header.scrolled .header__menu-toggle span { background: var(--color-primary); }

@media (min-width: 768px) {
  .header__menu-toggle { display: none; }
}
