/* ================================================
   Espaço Sereno — Main Stylesheet
   ================================================ */

/* --- Custom Properties --- */
:root {
  --cream:          #FAF6F0;
  --cream-mid:      #F2EBE0;
  --cream-dark:     #E6D6C4;
  --sage:           #7B9E87;
  --sage-light:     #B4CEBC;
  --sage-xlight:    #DCE9DF;
  --sage-dark:      #4D7A5A;
  --terracotta:     #4F7EC4;
  --terracotta-dk:  #A85C3A;
  --terracotta-lt:  #D4956A;
  --brown-warm:     #8B6F5E;
  --brown-dark:     #3A2E26;
  --text-dark:      #2A2420;
  --text-mid:       #5C4F44;
  --text-light:     #9A8B80;
  --white:          #FFFFFF;

  --shadow-sm: 0 2px 10px rgba(42,36,32,0.07);
  --shadow-md: 0 6px 28px rgba(42,36,32,0.12);
  --shadow-lg: 0 14px 52px rgba(42,36,32,0.18);

  --radius-sm:   8px;
  --radius:      14px;
  --radius-lg:   24px;
  --radius-full: 9999px;

  --section-pad: clamp(4rem, 8vw, 7rem);
  --transition:  all 0.3s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Lato', sans-serif;
  background-color: var(--cream);
  background-image: radial-gradient(circle, rgba(123,158,135,0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  color: var(--text-dark);
  line-height: 1.75;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  line-height: 1.25;
  color: var(--text-dark);
}
h1 { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 700; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); font-weight: 600; }

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Section Header --- */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--terracotta);
  margin-bottom: 0.6rem;
}
.section-header h2 { margin-bottom: 0.75rem; }
.section-header > p {
  max-width: 580px;
  margin: 0 auto;
  color: var(--text-mid);
  font-size: 1.05rem;
}
.section-divider {
  width: 48px;
  height: 3px;
  background: linear-gradient(90deg, var(--sage), var(--terracotta));
  border-radius: var(--radius-full);
  margin: 0.9rem auto 0;
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 0.9rem 2.2rem;
  border-radius: var(--radius-full);
  font-family: 'Lato', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary {
  background-color: var(--terracotta);
  color: var(--white);
  border-color: var(--terracotta);
}
.btn-primary:hover {
  background-color: var(--terracotta-dk);
  border-color: var(--terracotta-dk);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(196,113,79,0.35);
}
.btn-secondary {
  background-color: transparent;
  color: var(--sage-dark);
  border-color: var(--sage);
}
.btn-secondary:hover {
  background-color: var(--sage);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.65);
}
.btn-outline-white:hover {
  background-color: rgba(255,255,255,0.15);
  border-color: var(--white);
  transform: translateY(-2px);
}
.btn-white {
  background-color: var(--white);
  color: var(--terracotta);
  border-color: var(--white);
}
.btn-white:hover {
  background-color: var(--cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

/* --- Service Card Images (index.html) --- */
.service-card .card-img {
  margin: -2.5rem -2rem 1.5rem;
  height: 185px;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.service-card .card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
  display: block;
}
.service-card:hover .card-img img { transform: scale(1.06); }

/* --- Service Thumbnails (servicos.html) --- */
.svc-thumb {
  width: 110px;
  height: 110px;
  border-radius: var(--radius);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.svc-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}
.svc-card-full:hover .svc-thumb img { transform: scale(1.08); }

/* --- Image Placeholders --- */
.img-placeholder {
  background: linear-gradient(135deg, var(--sage-xlight) 0%, var(--cream-dark) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}
.img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    transparent 30%,
    rgba(255,255,255,0.25) 50%,
    transparent 70%
  );
}
.img-placeholder .ph-icon { font-size: 2.5rem; opacity: 0.4; }
.img-placeholder .ph-text {
  font-size: 0.78rem;
  color: var(--text-mid);
  text-align: center;
  padding: 0 1.5rem;
  font-style: italic;
  opacity: 0.8;
}

/* ================================================
   NAVBAR
   ================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1.25rem 0;
  transition: background-color 0.35s ease, box-shadow 0.35s ease, padding 0.35s ease;
}
.navbar.scrolled,
.navbar.solid {
  background-color: rgba(250,246,240,0.96);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  padding: 0.85rem 0;
}
.navbar.hero-nav { background-color: transparent; }

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--sage-dark);
  flex-shrink: 0;
}
.navbar.hero-nav .nav-logo { color: var(--white); }
.navbar.scrolled .nav-logo,
.navbar.solid .nav-logo { color: var(--sage-dark); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.25rem;
}
.nav-link {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-mid);
  position: relative;
  padding-bottom: 3px;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background-color: var(--terracotta);
  border-radius: var(--radius-full);
  transition: width 0.3s ease;
}
.nav-link:hover::after,
.nav-link.active::after { width: 100%; }
.nav-link:hover,
.nav-link.active { color: var(--terracotta); }

.navbar.hero-nav .nav-link { color: rgba(255,255,255,0.88); }
.navbar.hero-nav .nav-link:hover,
.navbar.hero-nav .nav-link.active { color: var(--white); }
.navbar.hero-nav .nav-link::after { background-color: rgba(255,255,255,0.9); }
.navbar.scrolled .nav-link,
.navbar.solid .nav-link { color: var(--text-mid); }
.navbar.scrolled .nav-link::after,
.navbar.solid .nav-link::after { background-color: var(--terracotta); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px; height: 42px;
  z-index: 1001;
  padding: 0;
}
.hamburger span {
  display: block;
  width: 26px; height: 2px;
  border-radius: 2px;
  transition: var(--transition);
  background-color: var(--sage-dark);
}
.navbar.hero-nav .hamburger span { background-color: var(--white); }
.navbar.scrolled .hamburger span,
.navbar.solid .hamburger span { background-color: var(--sage-dark); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Nav Overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(42,36,32,0.45);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.nav-overlay.visible { opacity: 1; pointer-events: all; }

/* ================================================
   HERO
   ================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg,
    #4A7A56 0%,
    #6B9E78 18%,
    #8FAF80 34%,
    #B09878 58%,
    #8B6845 80%,
    #7A5C4A 100%
  );
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20,35,22,0.18) 0%,
    rgba(20,35,22,0.1) 50%,
    rgba(20,20,10,0.32) 100%
  );
}
.hero-blob {
  position: absolute;
  right: 7%;
  top: 50%;
  transform: translateY(-50%);
  width: min(420px, 38vw);
  height: min(420px, 38vw);
  border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  animation: morphBlob 9s ease-in-out infinite;
  z-index: 1;
}
.hero-blob-inner {
  position: absolute;
  right: 7%;
  top: 50%;
  transform: translateY(-50%);
  width: min(420px, 38vw);
  height: min(420px, 38vw);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%;
  overflow: hidden;
  animation: morphBlob 9s ease-in-out infinite;
}
.hero-blob-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hero-blob-inner .img-placeholder {
  background: linear-gradient(135deg, rgba(180,206,188,0.35), rgba(210,185,155,0.35));
}
.hero-blob-inner .ph-text { color: rgba(255,255,255,0.7); }
.hero-blob-inner .ph-icon { opacity: 0.35; }

@keyframes morphBlob {
  0%,100% { border-radius: 60% 40% 55% 45% / 45% 55% 45% 55%; }
  25%      { border-radius: 45% 55% 40% 60% / 55% 45% 55% 45%; }
  50%      { border-radius: 50% 50% 45% 55% / 40% 60% 40% 60%; }
  75%      { border-radius: 55% 45% 60% 40% / 50% 50% 50% 50%; }
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 640px;
  color: var(--white);
  padding: 8rem 0 6rem;
}
.hero-pretag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 1.25rem;
}
.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.25rem;
  text-shadow: 0 3px 24px rgba(0,0,0,0.2);
}
.hero-sub {
  font-size: clamp(1rem, 1.8vw, 1.12rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 2.5rem;
  max-width: 520px;
  line-height: 1.85;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.55);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollPulse 2.2s ease-in-out infinite;
}
.hero-scroll::after {
  content: '';
  width: 1px;
  height: 38px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.55), transparent);
}
@keyframes scrollPulse {
  0%,100% { transform: translateX(-50%) translateY(0); opacity: 0.55; }
  50%      { transform: translateX(-50%) translateY(7px); opacity: 0.85; }
}

/* ================================================
   SERVICES PREVIEW
   ================================================ */
.services-preview {
  padding: var(--section-pad) 0;
  background-color: var(--cream);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(123,158,135,0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--sage), var(--terracotta));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.service-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); }
.service-card:hover::before { transform: scaleX(1); }
.service-icon { font-size: 2.4rem; margin-bottom: 1.2rem; display: block; }
.service-card h3 { margin-bottom: 0.6rem; }
.service-card p { color: var(--text-mid); font-size: 0.95rem; margin-bottom: 1.5rem; }
.service-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.price {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--terracotta);
}
.price small {
  font-family: 'Lato', sans-serif;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-light);
}
.svc-link {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--sage-dark);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.svc-link::after { content: '→'; transition: transform 0.2s ease; }
.svc-link:hover { color: var(--terracotta); }
.svc-link:hover::after { transform: translateX(4px); }

.services-preview .cta-row { text-align: center; margin-top: 3rem; }

/* ================================================
   TRUST SECTION
   ================================================ */
.trust-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--sage-dark) 0%, #3A6648 100%);
  color: var(--white);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  text-align: center;
}
.trust-item { display: flex; flex-direction: column; align-items: center; }
.trust-icon { font-size: 2.8rem; margin-bottom: 1rem; }
.trust-item h3 { color: var(--white); font-size: 1.2rem; margin-bottom: 0.5rem; }
.trust-item p { color: rgba(255,255,255,0.72); font-size: 0.9rem; margin: 0; }

/* ================================================
   TESTIMONIALS
   ================================================ */
.testimonials {
  padding: var(--section-pad) 0;
  background-color: var(--cream-mid);
}
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  font-family: 'Playfair Display', serif;
  font-size: 7rem;
  line-height: 1;
  color: var(--sage-light);
  position: absolute;
  top: -0.6rem; left: 1.5rem;
  opacity: 0.45;
  pointer-events: none;
}
.testimonial-stars { color: #E8A84C; letter-spacing: 2px; margin-bottom: 1rem; }
.testimonial-text {
  font-style: italic;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}
.t-avatar {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--sage-light), var(--cream-dark));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0;
}
.t-author-info strong { display: block; font-size: 0.88rem; color: var(--text-dark); }
.t-author-info span { font-size: 0.78rem; color: var(--text-light); }

/* ================================================
   CTA BAND
   ================================================ */
.cta-band {
  padding: 4.5rem 0;
  background: linear-gradient(135deg, var(--terracotta) 0%, #A05030 100%);
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.cta-band-inner h2 { color: var(--white); margin-bottom: 0.5rem; }
.cta-band-inner p { color: rgba(255,255,255,0.82); margin: 0; max-width: 520px; }

/* ================================================
   FOOTER
   ================================================ */
.footer {
  background-color: var(--brown-dark);
  color: rgba(255,255,255,0.75);
  padding: 4.5rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.45rem;
  color: var(--white);
  font-weight: 700;
  display: block;
  margin-bottom: 1rem;
}
.footer-brand p { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.75; }
.footer-social { display: flex; gap: 0.6rem; margin-top: 1.5rem; }
.social-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.65);
  transition: var(--transition);
  font-weight: 700;
}
.social-icon:hover {
  background-color: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-col h4 {
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.25rem;
  font-family: 'Lato', sans-serif;
}
.footer-links { display: flex; flex-direction: column; gap: 0.55rem; }
.footer-links a { font-size: 0.88rem; color: rgba(255,255,255,0.6); }
.footer-links a:hover { color: var(--terracotta-lt); padding-left: 4px; }

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  margin-bottom: 0.85rem;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
}
.footer-contact-item .fc-icon { font-size: 0.95rem; flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.38);
}

/* ================================================
   PAGE HEADER (inner pages)
   ================================================ */
.page-header {
  padding: 9rem 0 5rem;
  background: linear-gradient(155deg, #4A7A56 0%, #6B9E78 35%, #A89070 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-header::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--cream);
  clip-path: ellipse(58% 100% at 50% 100%);
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(20,35,22,0.15), rgba(20,20,10,0.28));
}
.page-header-inner { position: relative; z-index: 1; }
.page-header h1 {
  color: var(--white);
  text-shadow: 0 3px 24px rgba(0,0,0,0.2);
  margin-bottom: 0.75rem;
}
.page-header p { color: rgba(255,255,255,0.82); font-size: 1.1rem; margin: 0; }

/* ================================================
   SERVICES PAGE
   ================================================ */
.services-full { padding: var(--section-pad) 0; }
.services-full-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}
.svc-card-full {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--cream-dark);
  transition: var(--transition);
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}
.svc-card-full:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--sage-light);
}
.svc-icon-lg { font-size: 2.75rem; flex-shrink: 0; line-height: 1; }
.svc-info h3 { margin-bottom: 0.55rem; }
.svc-info .svc-desc { color: var(--text-mid); font-size: 0.93rem; margin-bottom: 1.1rem; }
.pricing-badges { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.price-badge {
  background: var(--cream-mid);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.85rem;
  font-size: 0.82rem;
  color: var(--text-mid);
}
.price-badge strong {
  color: var(--terracotta);
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
}

/* ================================================
   ABOUT PAGE
   ================================================ */
.about-intro { padding: var(--section-pad) 0; }
.about-intro .container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 5rem;
  align-items: center;
}
.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-content .section-tag { display: inline-block; margin-bottom: 0.6rem; }
.about-content h2 { margin-bottom: 1.4rem; }
.about-content p { color: var(--text-mid); margin-bottom: 1.15rem; }
.qualifications { margin-top: 1.75rem; display: flex; flex-direction: column; gap: 0.65rem; }
.qual-item {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-size: 0.93rem;
  color: var(--text-mid);
}
.qual-check { color: var(--sage); font-size: 1.05rem; flex-shrink: 0; margin-top: 2px; }

.philosophy { padding: var(--section-pad) 0; background: var(--cream-mid); }
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3.5rem;
}
.phi-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.phi-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.phi-icon { font-size: 2.5rem; margin-bottom: 1rem; }
.phi-card h3 { margin-bottom: 0.65rem; }
.phi-card p { color: var(--text-mid); font-size: 0.93rem; margin: 0; }

.studio { padding: var(--section-pad) 0; }
.studio .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4.5rem;
  align-items: center;
}
.studio-text .section-tag { display: inline-block; margin-bottom: 0.6rem; }
.studio-text h2 { margin-bottom: 1.25rem; }
.studio-text p { color: var(--text-mid); margin-bottom: 1rem; }
.studio-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.studio-photo {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.studio-photo.tall { aspect-ratio: 3/4; }
.studio-photo.wide { aspect-ratio: 4/3; grid-column: span 2; }

/* ================================================
   CONTACT PAGE
   ================================================ */
.contact-section { padding: var(--section-pad) 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4.5rem;
  align-items: start;
}
.contact-intro h2 { margin-bottom: 1.25rem; }
.contact-intro > p { color: var(--text-mid); margin-bottom: 2rem; }

.contact-details { display: flex; flex-direction: column; gap: 1.15rem; margin-bottom: 2rem; }
.contact-detail {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.icon-box {
  width: 44px; height: 44px;
  border-radius: var(--radius-sm);
  background: var(--sage-xlight);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.detail-text strong {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-light);
  margin-bottom: 0.2rem;
}
.detail-text span { color: var(--text-dark); font-size: 0.93rem; }

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background-color: #25D366;
  color: var(--white);
  padding: 0.9rem 1.75rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.93rem;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(37,211,102,0.3);
}
.whatsapp-btn:hover {
  background-color: #1EBE5D;
  transform: translateY(-2px);
  box-shadow: 0 7px 24px rgba(37,211,102,0.42);
  color: var(--white);
}

/* Contact Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}
.contact-form-wrap h3 { margin-bottom: 0.4rem; }
.form-sub { color: var(--text-mid); font-size: 0.9rem; margin-bottom: 2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { margin-bottom: 1.2rem; }
.form-group label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: var(--text-mid);
  margin-bottom: 0.45rem;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.82rem 1rem;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-family: 'Lato', sans-serif;
  font-size: 0.93rem;
  color: var(--text-dark);
  background-color: var(--cream);
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--sage);
  background-color: var(--white);
  box-shadow: 0 0 0 3px rgba(123,158,135,0.15);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-light); }
.form-group textarea { resize: vertical; min-height: 115px; }
.form-group select { cursor: pointer; }

.form-success {
  display: none;
  background: var(--sage-xlight);
  border: 1.5px solid var(--sage-light);
  border-radius: var(--radius-sm);
  padding: 1rem 1.2rem;
  color: var(--sage-dark);
  font-size: 0.9rem;
  margin-top: 1rem;
}

/* Map */
.map-section { padding: 0 0 var(--section-pad); }
.map-section .container > .section-header { margin-bottom: 2.5rem; }
.map-wrap {
  width: 100%;
  height: 420px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, #C8DACC 0%, #B8C9BA 50%, #C8D5C0 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 2px dashed var(--sage-light);
  gap: 0.65rem;
  position: relative;
}
.map-icon { font-size: 3.2rem; opacity: 0.42; }
.map-label { font-size: 0.88rem; color: var(--text-mid); text-align: center; }
.map-label strong { display: block; font-size: 1rem; color: var(--sage-dark); margin-top: 0.3rem; }
.map-note {
  font-size: 0.78rem;
  color: var(--text-light);
  font-style: italic;
  text-align: center;
  padding: 0 2rem;
}

/* ================================================
   FLOATING WHATSAPP BUTTON
   ================================================ */
.float-wa {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 900;
  background-color: #25D366;
  color: var(--white);
  border-radius: var(--radius-full);
  padding: 0.8rem 1.4rem;
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 22px rgba(37,211,102,0.4);
  transition: var(--transition);
}
.float-wa:hover {
  background-color: #1EBE5D;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 8px 32px rgba(37,211,102,0.5);
  color: var(--white);
}

/* ================================================
   SCROLL ANIMATIONS
   ================================================ */
.fade-in {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

.fade-left {
  opacity: 0;
  transform: translateX(-32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-left.visible { opacity: 1; transform: translateX(0); }

.fade-right {
  opacity: 0;
  transform: translateX(32px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.fade-right.visible { opacity: 1; transform: translateX(0); }

.d1 { transition-delay: 0.1s; }
.d2 { transition-delay: 0.2s; }
.d3 { transition-delay: 0.3s; }
.d4 { transition-delay: 0.4s; }
.d5 { transition-delay: 0.5s; }

/* ================================================
   RESPONSIVE
   ================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-intro .container { gap: 3.5rem; }
  .studio .container { gap: 3rem; }
}

@media (max-width: 768px) {
  :root { --section-pad: clamp(3rem, 7vw, 5rem); }

  .hamburger { display: flex; }

  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(320px, 84vw);
    height: 100vh;
    background-color: var(--cream);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0;
    padding: 7rem 2.5rem 3rem;
    box-shadow: var(--shadow-lg);
    transition: right 0.4s cubic-bezier(0.25,0.46,0.45,0.94);
    z-index: 1000;
  }
  .nav-links.open { right: 0; }
  .nav-links li { width: 100%; border-bottom: 1px solid var(--cream-dark); }
  .nav-link {
    display: block;
    padding: 1rem 0;
    font-size: 1.05rem;
    text-transform: none;
    letter-spacing: 0;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--text-dark);
  }
  .nav-link::after { display: none; }
  .nav-link.active { color: var(--terracotta); }

  .hero-blob, .hero-blob-inner { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .services-grid { grid-template-columns: 1fr; max-width: 440px; margin: 0 auto; }
  .trust-grid { grid-template-columns: 1fr; gap: 2rem; }
  .testimonials-grid { grid-template-columns: 1fr; max-width: 460px; margin: 0 auto; }

  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.4rem; text-align: center; }

  .services-full-grid { grid-template-columns: 1fr; }
  .svc-card-full { flex-direction: column; gap: 0.85rem; }
  .svc-thumb { width: 100%; height: 160px; border-radius: var(--radius) var(--radius) 0 0; }

  .about-intro .container { grid-template-columns: 1fr; gap: 2.5rem; }
  .about-photo { aspect-ratio: 4/3; max-width: 400px; margin: 0 auto; }

  .philosophy-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }

  .studio .container { grid-template-columns: 1fr; gap: 2.5rem; }
  .studio-photos { order: -1; }

  .form-row { grid-template-columns: 1fr; gap: 0; }

  .cta-band-inner { flex-direction: column; align-items: flex-start; }

  .float-wa { bottom: 1.5rem; right: 1rem; padding: 0.7rem 1.2rem; font-size: 0.82rem; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.2rem; }
  .contact-form-wrap { padding: 2rem 1.5rem; }
  .service-card, .svc-card-full { padding: 2rem 1.5rem; }
  .testimonial-card { padding: 2rem 1.5rem; }
}
