/* =========================================
   ATELIÊ DA MARLEI - PREMIUM DESIGN SYSTEM
   ========================================= */

/* --- CSS Variables (Design Tokens) --- */
:root {
  /* Colors */
  --sand-50: #FCFAF8;
  --sand-100: #F5EFEB;
  --sand-200: #E6D8CE;
  --sand-300: #D6BDAD;
  --taupe-700: #5C5148;
  --taupe-800: #42352B;
  --taupe-900: #292019;

  --core-brand: #A8866E;
  --core-brand-hover: #8A6D5A;

  --success-green: #25D366;
  --success-green-hover: #128C7E;

  /* Typography */
  --font-display: 'Cormorant Garamond', serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;

  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(41, 32, 25, 0.04);
  --shadow-md: 0 8px 24px rgba(41, 32, 25, 0.06);
  --shadow-lg: 0 16px 40px rgba(41, 32, 25, 0.08);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 24px;
  
  /* Transitions */
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
  --trans-fast: 0.2s var(--ease-soft);
  --trans-slow: 0.4s var(--ease-soft);
}

/* --- Base Reset & Typography --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--sand-50);
  color: var(--taupe-800);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .brand__name {
  font-family: var(--font-display);
  color: var(--taupe-900);
  line-height: 1.1;
  font-weight: 600;
}

h1 em {
  font-style: italic;
  font-weight: 500;
  color: var(--core-brand);
}

img, svg {
  display: block;
  max-width: 100%;
}

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

ul {
  list-style: none;
}

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

.container--narrow {
  max-width: 800px;
}

.text-center {
  text-align: center;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 1rem;
  transition: all var(--trans-fast);
  cursor: pointer;
  border: none;
  font-family: var(--font-sans);
  text-align: center;
}

.btn--primary {
  background-color: var(--success-green);
  color: white;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.2);
}

.btn--primary:hover {
  background-color: var(--success-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.3);
}

.btn--secondary {
  background-color: transparent;
  color: var(--taupe-900);
  border: 1px solid var(--sand-300);
}

.btn--secondary:hover {
  border-color: var(--taupe-700);
  background-color: var(--sand-100);
}

.btn--large {
  padding: 18px 32px;
  font-size: 1.125rem;
}

.btn--full {
  width: 100%;
}

.btn--header {
  padding: 10px 20px;
  font-size: 0.9375rem;
  background-color: var(--sand-100);
  color: var(--taupe-900);
}
.btn--header:hover {
  background-color: var(--sand-200);
}

.shadow-elevation {
  box-shadow: var(--shadow-lg);
}

/* --- Header --- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252, 250, 248, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(214, 189, 173, 0.3);
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand__name {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.brand__icon {
  color: var(--core-brand);
  display: flex;
  align-items: center;
}

/* --- Hero Section --- */
.hero {
  padding: 48px 0 80px;
  overflow: hidden;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

@media (min-width: 900px) {
  .hero {
    padding: 80px 0 120px;
  }
  .hero__grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
    gap: 64px;
  }
}

.geo-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--sand-100);
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--taupe-700);
  margin-bottom: 24px;
}

.geo-badge svg {
  color: var(--core-brand);
}

.hero__title {
  font-size: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: 24px;
}

.hero__lead {
  font-size: 1.125rem;
  color: var(--taupe-700);
  margin-bottom: 32px;
  max-width: 500px;
}

.hero__warning-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: white;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--core-brand);
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
  max-width: 480px;
}

.warning-icon {
  color: var(--core-brand);
  margin-top: 2px;
}

.hero__warning-card p {
  font-size: 0.9375rem;
  line-height: 1.4;
  color: var(--taupe-800);
}

.hero__cta-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

@media (min-width: 600px) {
  .hero__cta-group {
    align-items: flex-start;
  }
}

.hero__micro {
  font-size: 0.875rem;
  color: var(--taupe-700);
}

.hero__image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.hero__image-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.hero__image {
  width: 100%;
  height: 500px;
  object-fit: cover;
  display: block;
}

.hero__trust-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: rgba(41, 32, 25, 0.85);
  backdrop-filter: blur(8px);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  color: white;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.stars {
  color: #FFB800;
  letter-spacing: 2px;
  font-size: 0.875rem;
}

.hero__trust-badge span:last-child {
  font-size: 0.8125rem;
  font-weight: 500;
}

/* --- Trust Bar --- */
.trust-bar-wrapper {
  margin-top: -60px;
  position: relative;
  z-index: 10;
  margin-bottom: 64px;
}

.trust-bar {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  border: 1px solid var(--sand-100);
}

@media (min-width: 768px) {
  .trust-bar {
    grid-template-columns: repeat(4, 1fr);
    padding: 32px 24px;
    gap: 16px;
  }
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
}

.trust-item svg {
  color: var(--core-brand);
}

.trust-item span {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--taupe-800);
}

/* --- Common Section Styles --- */
.section {
  padding: 64px 0;
}

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

.section-header {
  text-align: center;
  margin-bottom: 48px;
  max-width: 600px;
  margin-inline: auto;
}

.h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  margin-bottom: 16px;
}

.lead {
  font-size: 1.125rem;
  color: var(--taupe-700);
}

/* --- Services --- */
.services {
  position: relative;
  background-color: var(--taupe-900);
  color: white;
}

/* Texture overlay for services */
.services__bg-texture {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.15;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.services .h2, .services .lead {
  color: white;
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-bottom: 48px;
  position: relative;
  z-index: 2;
}

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

.service-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 32px;
  border-radius: var(--radius-md);
  transition: all var(--trans-slow);
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.service-card__icon {
  margin-bottom: 24px;
  background: var(--sand-200);
  color: var(--taupe-900);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
}

.service-card h3 {
  color: white;
  font-family: var(--font-sans);
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
}

.services .btn--secondary {
  color: white;
  border-color: rgba(255, 255, 255, 0.3);
  position: relative;
  z-index: 2;
}

.services .btn--secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

/* --- Process (Timeline) --- */
.process {
  background-color: var(--sand-100);
  overflow: hidden;
}

.process__layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 64px;
}

@media (min-width: 900px) {
  .process__layout {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: center;
  }
}

.process__intro .h2 {
  margin-bottom: 16px;
}

.process__intro p {
  color: var(--taupe-700);
  margin-bottom: 32px;
  font-size: 1.125rem;
}

.process__support-image {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.process__support-image img {
  width: 100%;
  height: auto;
}

.process__timeline {
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

/* Timeline Vertical Line */
.process__timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 20px;
  width: 2px;
  background: var(--sand-300);
  z-index: 1;
}

.timeline-step {
  display: flex;
  gap: 24px;
  position: relative;
  z-index: 2;
}

.step-marker {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  background: white;
  border: 2px solid var(--core-brand);
  color: var(--core-brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  box-shadow: 0 0 0 8px var(--sand-100);
}

.timeline-step:hover .step-marker {
  background: var(--core-brand);
  color: white;
  transition: var(--trans-fast);
}

.step-text {
  padding-top: 8px;
}

.step-text h3 {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.step-text p {
  color: var(--taupe-700);
  font-size: 0.9375rem;
}

/* --- Examples (Before/After vibe) --- */
.examples {
  background: white;
}

.examples__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 48px;
}

@media (min-width: 768px) {
  .examples__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.example-card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--trans-fast), box-shadow var(--trans-fast);
  border: 1px solid var(--sand-100);
}

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

.example-card__visual img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform var(--trans-slow);
}

.example-card:hover .example-card__visual img {
  transform: scale(1.05);
}

.example-card__content {
  padding: 24px;
}

.example-card__content h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--taupe-900);
}

.example-card__content p {
  color: var(--taupe-700);
  font-size: 0.9375rem;
}

/* --- Reviews --- */
.reviews__overview {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
}

.reviews__stars {
  display: flex;
  gap: 4px;
}

.reviews__score {
  font-size: 1.125rem;
  color: var(--taupe-900);
}

.pt-0 {
  padding-top: 0 !important;
}

/* --- Map Embed --- */
.map-embed {
  position: relative;
  overflow: hidden;
  min-height: 400px;
}

.map-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* --- Location --- */
.location__card {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .location__card {
    grid-template-columns: 1fr 1fr;
  }
}

.location__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 300px;
}

.location__content {
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 900px) {
  .location__content {
    padding: 64px;
  }
}

.eyebrow {
  display: block;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  color: var(--core-brand);
  margin-bottom: 12px;
}

.location__content .h2 {
  font-size: 2rem;
  margin-bottom: 16px;
}

.location__content > p {
  color: var(--taupe-700);
  margin-bottom: 32px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}

.contact-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-list strong {
  font-size: 0.9375rem;
  color: var(--taupe-900);
}

.contact-list span {
  font-size: 0.9375rem;
  color: var(--taupe-700);
}

.placeholder {
  color: var(--core-brand);
  background: var(--sand-100);
  padding: 2px 6px;
  border-radius: 4px;
  font-style: italic;
  font-size: 0.875rem;
}

/* --- FAQ --- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item__header {
  padding: 24px;
  font-weight: 600;
  font-size: 1.125rem;
  cursor: pointer;
  list-style: none; /* Hide default arrow */
  position: relative;
  color: var(--taupe-900);
  transition: background var(--trans-fast);
}

.faq-item__header:hover {
  background-color: var(--sand-50);
}

.faq-item__header::-webkit-details-marker {
  display: none;
}

.faq-item__header::after {
  content: '+';
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--core-brand);
  transition: transform var(--trans-fast);
}

.faq-item[open] .faq-item__header::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
}

.faq-item__content {
  padding: 0 24px 24px;
  color: var(--taupe-700);
  line-height: 1.6;
}

.faq-item__content p {
  padding-top: 16px;
  border-top: 1px solid var(--sand-100);
}

/* --- Final CTA --- */
.final-cta {
  background-color: var(--sand-200);
  text-align: center;
  padding: 80px 0;
}

.final-cta__box {
  max-width: 600px;
  margin: 0 auto;
}

.final-cta .h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 24px;
}

.final-cta p {
  font-size: 1.125rem;
  color: var(--taupe-800);
  margin-bottom: 32px;
}

/* --- Footer --- */
.footer {
  background-color: var(--taupe-900);
  color: rgba(255, 255, 255, 0.7);
  padding: 64px 0 24px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 2fr 1fr 1fr;
    gap: 64px;
  }
}

.footer-brand {
  color: white;
  margin-bottom: 16px;
  display: inline-flex;
}

.footer-brand .brand__name {
  color: white;
}

.footer__desc {
  max-width: 300px;
  font-size: 0.9375rem;
}

.footer h4 {
  color: white;
  font-family: var(--font-sans);
  font-size: 1rem;
  margin-bottom: 16px;
}

.footer p, .footer address {
  font-style: normal;
  margin-bottom: 12px;
  font-size: 0.9375rem;
}

.footer a:hover {
  color: white;
  text-decoration: underline;
}

.footer__legal-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
}

.footer__legal-links a {
  text-decoration: underline;
  text-underline-offset: 4px;
  color: rgba(255, 255, 255, 0.8);
}

.footer__legal-links a:hover {
  color: white;
}

.footer__bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.8125rem;
}

/* --- Sticky CTA --- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px 24px;
  background: white;
  border-top: 1px solid var(--sand-100);
  z-index: 99;
  transform: translateY(100%);
  transition: transform 0.3s ease-in-out;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.05);
}

.sticky-cta[aria-hidden="false"] {
  transform: translateY(0);
}

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