/* ===== Cristiane Santos — Dermopigmentação Paramédica ===== */

:root {
  --ocean: #5D768B;
  --ocean-dark: #445c6e;
  --sand: #C8B39B;
  --ivory: #F8EFE5;
  --ink: #2E3A42;
  --ink-soft: #55636b;
  --gold: #B8912F;
  --gold-light: #D9B968;
  --white: #ffffff;
  --whatsapp: #25D366;

  --radius: 14px;
  --shadow: 0 10px 30px rgba(46, 58, 66, 0.12);
  --max-width: 1180px;

  --font-heading: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-script: 'Playfair Display', Georgia, serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3 {
  font-family: var(--font-heading);
  color: var(--ocean-dark);
  line-height: 1.2;
  margin: 0 0 0.6em;
}

h1 { font-size: clamp(2rem, 4.2vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; margin-bottom: 0.4em; }

p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: var(--ocean-dark); }

.script {
  font-family: var(--font-script);
  font-weight: 500;
  color: var(--gold);
  font-style: italic;
  font-size: 1em;
  line-height: 1;
}
.section-dark .script { color: var(--gold-light); }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}
.wrap-narrow { max-width: 780px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}

.skip-link {
  position: absolute; left: -999px; top: 0;
  background: var(--gold); color: #fff; padding: 10px 16px; z-index: 200;
}
.skip-link:focus { left: 10px; top: 10px; }

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.98rem;
  transition: transform .15s ease, box-shadow .15s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: #2b2109;
  box-shadow: 0 8px 20px rgba(184, 145, 47, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 24px rgba(184, 145, 47, 0.45); }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-nav {
  background: var(--ocean);
  color: #fff;
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* ---- Header ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(248, 239, 229, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid rgba(93, 118, 139, 0.15);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 10px; padding-bottom: 10px;
}
.brand-logo { height: 56px; width: auto; }

.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--ocean-dark); display: block; }

.nav-principal { display: flex; align-items: center; gap: 22px; }
.nav-principal a:not(.btn) {
  text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.95rem;
}
.nav-principal a:not(.btn):hover { color: var(--ocean-dark); }

/* ---- Hero ---- */
.hero { padding: 56px 0 40px; }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center;
}
.eyebrow {
  text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.8rem;
  color: var(--gold); font-weight: 700; margin-bottom: 10px;
}
.hero-sub { font-size: 1.15rem; color: var(--ocean-dark); font-weight: 600; }
.hero-phone { font-size: 1.05rem; margin-top: 16px; }
.hero-phone a { color: var(--ink); text-decoration: none; font-weight: 600; }
.hero-location { color: var(--ink-soft); font-size: 0.95rem; }
.hero-media img {
  border-radius: var(--radius); box-shadow: var(--shadow);
  width: 100%; object-fit: cover;
}

/* ---- Sections ---- */
.section { padding: 64px 0; }
.section-alt { background: #F1E9DD; }
.section-dark {
  background: linear-gradient(135deg, var(--ocean-dark), var(--ocean));
  color: #fff;
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark p { color: rgba(255,255,255,0.88); }
.lead { font-size: 1.15rem; color: var(--ocean-dark); font-weight: 500; }
.disclaimer { font-size: 0.92rem; background: rgba(93,118,139,0.08); padding: 14px 18px; border-radius: 10px; }
.highlight { font-size: 1.25rem; font-weight: 700; color: var(--gold-light); }
.section-dark .highlight { color: var(--gold-light); }
.section:not(.section-dark) .highlight { color: var(--ocean-dark); }

.subgrid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin: 28px 0;
}

/* ---- Gallery / before-after ---- */
.gallery {
  display: grid; grid-template-columns: repeat(2, minmax(0, 340px)); gap: 24px; margin: 32px 0;
  justify-content: center;
}
.gallery-2 { grid-template-columns: repeat(2, minmax(0, 340px)); }
.gallery figure { margin: 0; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gallery img { width: 100%; }
.gallery figcaption {
  padding: 12px 16px; font-size: 0.9rem; color: var(--ink-soft); text-align: center; font-weight: 500;
}

/* ---- Service card (labiais) ---- */
.service-card {
  display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: center; margin-top: 28px;
}
.service-card-rev { grid-template-columns: 1.1fr 0.9fr; }
.service-card-rev .service-media { order: 2; }
.service-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.check-list { list-style: none; padding: 0; margin: 0 0 1em; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 18px; }
.check-list li { padding-left: 22px; position: relative; color: var(--ink-soft); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; color: var(--gold); font-weight: 700;
}
.check-list-light li { color: rgba(255,255,255,0.9); }
.check-list-light li::before { color: var(--gold-light); }

.compare-box {
  margin-top: 40px; padding: 28px 32px; background: #fff; border-radius: var(--radius);
  box-shadow: var(--shadow); border-left: 4px solid var(--gold);
}

/* ---- Sobre ---- */
.sobre-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 48px; align-items: center; }
.sobre-media img { border-radius: var(--radius); box-shadow: var(--shadow); }

/* ---- Depoimentos ---- */
/* ---- Testimonial carousel ---- */
.testi-carousel { position: relative; margin-top: 28px; }

.testi-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 4px 4px 10px;
  scrollbar-width: none;
}
.testi-track::-webkit-scrollbar { display: none; }

.testi-item {
  flex: 0 0 calc(25% - 12px);
  scroll-snap-align: start;
  min-width: 0;
}

.testi-card {
  margin: 0;
  aspect-ratio: 9 / 16;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  box-shadow: var(--shadow);
}
.testi-card img,
.testi-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.testi-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--white);
  color: var(--ocean-dark);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s ease, transform .15s ease;
}
.testi-arrow svg { width: 22px; height: 22px; }
.testi-arrow:hover { background: var(--gold-light); color: #2b2109; }
.testi-prev { left: -14px; }
.testi-next { right: -14px; }

/* ---- Steps ---- */
.steps {
  list-style: none; margin: 32px 0; padding: 0;
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px;
  counter-reset: step;
}
.steps li {
  background: #fff; border-radius: var(--radius); padding: 24px 18px;
  box-shadow: var(--shadow); text-align: center;
}
.step-n {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--ocean); color: #fff; font-weight: 700; margin-bottom: 12px;
}

/* ---- Map ---- */
.map-embed { margin: 20px 0 28px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }

/* ---- FAQ ---- */
.faq-list { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: #fff; border-radius: 10px; padding: 6px 20px; box-shadow: var(--shadow);
}
.faq-item summary {
  cursor: pointer; padding: 14px 0; list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { margin: 0; font-size: 1rem; color: var(--ink); }
.faq-item summary::after {
  content: "+"; font-size: 1.4rem; color: var(--gold); flex-shrink: 0; transition: transform .2s;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding-bottom: 16px; margin: 0; }

/* ---- Final CTA ---- */
.final-cta { text-align: center; }
.final-avatar { border-radius: 50%; margin: 0 auto 20px; box-shadow: 0 0 0 4px rgba(255,255,255,0.25); }
.final-signature { margin-top: 24px; line-height: 1.6; }

/* ---- Footer ---- */
.site-footer { background: var(--ink); color: rgba(255,255,255,0.75); padding: 40px 0; text-align: center; }
.footer-inner img { margin: 0 auto 12px; opacity: 0.9; }
.site-footer a { color: #fff; }
.footer-note { font-size: 0.82rem; margin-top: 10px; color: rgba(255,255,255,0.5); }

/* ---- WhatsApp floating button ---- */
.whatsapp-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 150;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--whatsapp); color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(37, 211, 102, 0.5);
  animation: pulse 2.4s infinite;
}
.whatsapp-float svg { width: 30px; height: 30px; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 880px) {
  .hero-grid, .sobre-grid, .service-card, .service-card-rev {
    grid-template-columns: 1fr; gap: 28px;
  }
  .service-card-rev .service-media { order: 0; }
  .hero-media { order: -1; }
  .sobre-media { max-width: 320px; margin: 0 auto; }
  .steps { grid-template-columns: repeat(2, 1fr); }

  .testi-item { flex-basis: calc(33.333% - 10.667px); }
  .testi-prev { left: 4px; }
  .testi-next { right: 4px; }
}

@media (max-width: 700px) {
  .nav-toggle { display: flex; }
  .nav-principal {
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--ivory);
    flex-direction: column; align-items: stretch; gap: 0;
    max-height: 0; overflow: hidden;
    border-bottom: 1px solid rgba(93,118,139,0.15);
    transition: max-height .25s ease;
  }
  .nav-principal.open { max-height: 420px; }
  .nav-principal a:not(.btn) { padding: 14px 24px; border-top: 1px solid rgba(93,118,139,0.1); }
  .nav-principal .btn-nav { margin: 14px 24px; text-align: center; }

  .gallery, .gallery-2, .subgrid, .check-list { grid-template-columns: 1fr; }
  .gallery, .gallery-2 { justify-items: center; }
  .gallery figure, .gallery-2 figure { max-width: 340px; width: 100%; }

  .testi-item { flex-basis: 100%; }
  .testi-arrow { width: 36px; height: 36px; }
  .testi-arrow svg { width: 18px; height: 18px; }
  .testi-prev { left: 0; }
  .testi-next { right: 0; }
  .steps { grid-template-columns: 1fr; }
  h1 { font-size: 1.8rem; }
}
