/* ============================
   CHARM CAKE — STYLESHEET
   ============================ */

/* ---------- Custom Properties ---------- */
:root {
  --sage:       #8a9e8a;
  --sage-light: #b8cbb8;
  --sage-pale:  #e8efe8;
  --sage-dark:  #5c7a5c;

  --neutral-50:  #faf9f7;
  --neutral-100: #f4f1ec;
  --neutral-200: #e8e2d8;
  --neutral-300: #d4cbbe;
  --neutral-400: #b8ad9e;
  --neutral-500: #8c8070;
  --neutral-600: #6b6058;
  --neutral-700: #4a4240;
  --neutral-800: #2e2826;
  --neutral-900: #1a1614;

  --white: #ffffff;

  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Jost', system-ui, sans-serif;

  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  --shadow-sm:  0 2px 8px rgba(0,0,0,.06);
  --shadow-md:  0 8px 24px rgba(0,0,0,.10);
  --shadow-lg:  0 16px 48px rgba(0,0,0,.12);

  --transition: 240ms ease;
  --max-width:  1200px;
}

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

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

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

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; }

/* ---------- Container ---------- */
.container {
  width: min(var(--max-width), 100%);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* ---------- Typography helpers ---------- */
.section-eyebrow {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--sage-dark);
  margin-bottom: .75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--neutral-800);
  margin-bottom: 1rem;
}
.section-title em { font-style: italic; color: var(--sage-dark); }

.section-sub {
  font-size: 1rem;
  color: var(--neutral-600);
  max-width: 50ch;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-header .section-sub { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .8rem 2rem;
  border-radius: var(--radius-xl);
  font-family: var(--font-sans);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }

.btn-primary {
  background: var(--sage-dark);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(92,122,92,.35);
}
.btn-primary:hover {
  background: var(--sage);
  box-shadow: 0 6px 24px rgba(92,122,92,.45);
  transform: translateY(-1px);
}

.btn-ghost {
  background: transparent;
  color: var(--neutral-800);
  border: 1.5px solid var(--neutral-400);
}
.btn-ghost:hover {
  border-color: var(--sage-dark);
  color: var(--sage-dark);
  transform: translateY(-1px);
}

.btn-nav {
  background: var(--sage-pale);
  color: var(--sage-dark);
  padding: .55rem 1.25rem;
  font-size: .8rem;
}
.btn-nav:hover { background: var(--sage-light); }

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37,211,102,.35);
}
.btn-whatsapp:hover {
  background: #1ebe5b;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(37,211,102,.45);
}

.btn-full { width: 100%; justify-content: center; }

/* ---------- NAVIGATION ---------- */
.nav-wrap {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--neutral-200);
  transition: box-shadow var(--transition);
}
.nav-wrap.scrolled { box-shadow: var(--shadow-md); }

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

.logo {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}

.logo-icon {
  height: 45px;
  width: 45px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  display: block;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: 4px;
  color: #1a3d1a;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.nav-links a {
  font-size: .875rem;
  font-weight: 400;
  color: var(--neutral-600);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--sage-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--neutral-700);
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.hero-bg {
  display: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-block: 10rem 6rem;
  max-width: 720px;
  text-align: center;
  margin-inline: auto;
}

.hero-eyebrow {
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .8);
  text-shadow: 0 1px 6px rgba(0, 0, 0, .4);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .75rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 10vw, 6.5rem);
  font-weight: 300;
  line-height: 1.0;
  color: #ffffff;
  text-shadow: 0 2px 16px rgba(0, 0, 0, .3);
  margin-bottom: 1.5rem;
}
.hero-title em {
  font-style: italic;
  color: #ffffff;
}

.hero-slogan {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: rgba(255, 255, 255, .9);
  text-shadow: 0 1px 8px rgba(0, 0, 0, .3);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 44ch;
  margin-inline: auto;
}
.hero-slogan strong { color: #ffffff; font-weight: 500; }

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.hero-cta .btn-primary {
  background: #ffffff;
  color: var(--neutral-800);
  box-shadow: 0 4px 20px rgba(0, 0, 0, .2);
}
.hero-cta .btn-primary:hover {
  background: var(--neutral-100);
  box-shadow: 0 6px 28px rgba(0, 0, 0, .28);
  transform: translateY(-1px);
}
.hero-cta .btn-ghost {
  border-color: rgba(255, 255, 255, .7);
  color: #ffffff;
}
.hero-cta .btn-ghost:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #ffffff;
  color: #ffffff;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll-hint span {
  display: block;
  width: 22px;
  height: 34px;
  border: 1.5px solid var(--neutral-400);
  border-radius: 20px;
  position: relative;
}
.hero-scroll-hint span::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 8px;
  background: var(--sage-dark);
  border-radius: 4px;
  animation: scroll-hint 1.8s ease-in-out infinite;
}
@keyframes scroll-hint {
  0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
  50% { opacity: .3; transform: translateX(-50%) translateY(8px); }
}

/* ---------- FEATURES ---------- */
.features {
  padding-block: 5rem;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.feature-card {
  padding: 2.5rem 2rem;
  border: 1px solid var(--neutral-200);
  border-radius: var(--radius-lg);
  transition: box-shadow var(--transition), transform var(--transition);
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 1.25rem;
  color: var(--sage-dark);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--neutral-800);
  margin-bottom: .75rem;
}

.feature-card p {
  font-size: .9rem;
  color: var(--neutral-600);
  line-height: 1.7;
}

/* ---------- GALLERY ---------- */
.gallery-section {
  padding-block: 6rem;
  background: var(--neutral-50);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.filter-btn {
  padding: .45rem 1.25rem;
  border-radius: var(--radius-xl);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--neutral-600);
  border: 1.5px solid var(--neutral-300);
  transition: all var(--transition);
}
.filter-btn:hover { border-color: var(--sage); color: var(--sage-dark); }
.filter-btn.active {
  background: var(--sage-dark);
  border-color: var(--sage-dark);
  color: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition), transform var(--transition), opacity var(--transition);
}
.gallery-item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}
.gallery-item.hidden {
  display: none;
}

.gallery-img-wrap {
  aspect-ratio: 4/5;
  overflow: hidden;
  position: relative;
}

.gallery-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition);
}
.gallery-item:hover .gallery-placeholder { transform: scale(1.04); }

.gallery-real-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--transition);
}
.gallery-item:hover .gallery-real-img { transform: scale(1.04); }

/* Placeholder cake SVGs */
.placeholder-cake {
  width: 120px;
  height: 150px;
  position: relative;
}

.placeholder-cake::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 110px;
  border-radius: 8px 8px 4px 4px;
  background: rgba(255,255,255,.55);
}
.placeholder-cake::after {
  content: '';
  position: absolute;
  bottom: 108px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 70px;
  border-radius: 6px 6px 3px 3px;
  background: rgba(255,255,255,.40);
}

.gallery-item figcaption {
  padding: 1.25rem;
}

.gallery-tag {
  display: inline-block;
  padding: .2rem .75rem;
  background: var(--sage-pale);
  color: var(--sage-dark);
  border-radius: var(--radius-xl);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: .5rem;
}

.gallery-item figcaption p {
  font-size: .875rem;
  color: var(--neutral-600);
  line-height: 1.5;
}

.gallery-cta {
  text-align: center;
  margin-top: 3rem;
}

/* ---------- ABOUT ---------- */
.about-section {
  padding-block: 7rem;
  background: var(--white);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 8vw, 6rem);
  align-items: center;
}

.about-img-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.about-photo {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: center top;
  border-radius: var(--radius-lg);
  display: block;
}

.about-badge {
  position: absolute;
  bottom: 2rem;
  right: -1.5rem;
  background: var(--sage-dark);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.badge-num {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 400;
  line-height: 1;
}
.badge-label {
  font-size: .72rem;
  font-weight: 400;
  letter-spacing: .08em;
  opacity: .85;
}

.about-text { max-width: 520px; }
.about-text p {
  color: var(--neutral-600);
  margin-bottom: 1.25rem;
  line-height: 1.75;
}
.about-text strong { color: var(--neutral-800); font-weight: 500; }

.about-values {
  display: flex;
  flex-direction: column;
  gap: .6rem;
  margin: 1.75rem 0 2rem;
}
.about-values li {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .9rem;
  color: var(--neutral-700);
}
.val-icon { color: var(--sage-dark); font-size: .75rem; }

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  padding-block: 6rem;
  background: var(--neutral-100);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.stars {
  color: #c8a870;
  font-size: 1rem;
  letter-spacing: .1em;
}

.testimonial-card > p {
  font-size: .9rem;
  color: var(--neutral-600);
  line-height: 1.75;
  flex: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: .875rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--sage-pale);
  color: var(--sage-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 500;
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: .875rem;
  font-weight: 500;
  color: var(--neutral-800);
}
.testimonial-author span {
  font-size: .75rem;
  color: var(--neutral-500);
}

/* ---------- CONTACT ---------- */
.contact-section {
  padding-block: 7rem;
  background: var(--neutral-50);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(3rem, 8vw, 6rem);
  align-items: start;
}

.contact-info .section-title { margin-bottom: 1rem; }
.contact-info > p {
  color: var(--neutral-600);
  margin-bottom: 2rem;
  line-height: 1.75;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: .875rem;
  margin-bottom: 2rem;
}
.contact-item {
  display: flex;
  align-items: center;
  gap: .875rem;
  font-size: .9rem;
  color: var(--neutral-700);
}
.contact-item a:hover { color: var(--sage-dark); text-decoration: underline; }
.contact-icon { font-size: 1rem; flex-shrink: 0; }

/* Form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.form-field label {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--neutral-600);
}

.form-field input,
.form-field select,
.form-field textarea {
  padding: .8rem 1rem;
  border: 1.5px solid var(--neutral-200);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: .9rem;
  color: var(--neutral-800);
  background: var(--neutral-50);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--sage);
  box-shadow: 0 0 0 3px rgba(138,158,138,.18);
  background: var(--white);
}
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--neutral-400); }
.form-field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23888' d='M6 8L1 3h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; padding-right: 2.5rem; }

.form-field textarea { resize: vertical; min-height: 120px; }

.form-field input.error, .form-field select.error, .form-field textarea.error {
  border-color: #c05050;
}

.form-note {
  font-size: .78rem;
  color: var(--neutral-500);
  text-align: center;
  margin-top: .25rem;
}

.req { color: var(--sage-dark); }

/* Campo condicional "mais de 60 pessoas" */
.guests-extra {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .35s ease, opacity .3s ease;
  pointer-events: none;
}
.guests-extra.visible {
  max-height: 120px;
  opacity: 1;
  pointer-events: auto;
}

/* File upload */
.file-upload-wrap {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}

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

.file-label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .6rem 1.25rem;
  border: 1.5px solid var(--neutral-300);
  border-radius: var(--radius-xl);
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .05em;
  color: var(--neutral-600);
  cursor: pointer;
  transition: border-color var(--transition), color var(--transition), background var(--transition);
  white-space: nowrap;
}
.file-label:hover {
  border-color: var(--sage);
  color: var(--sage-dark);
  background: var(--sage-pale);
}
.file-input:focus-visible + .file-label {
  outline: 2px solid var(--sage);
  outline-offset: 2px;
}

.file-name {
  font-size: .8rem;
  color: var(--neutral-400);
  font-style: italic;
  transition: color var(--transition);
}
.file-name.has-file {
  color: var(--sage-dark);
  font-style: normal;
  font-weight: 500;
}

.form-success {
  text-align: center;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--sage-pale);
  color: var(--sage-dark);
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.form-success h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 500;
}
.form-success p { color: var(--neutral-600); font-size: .9rem; max-width: 34ch; }

/* ---------- FOOTER ---------- */
.footer {
  background: var(--neutral-800);
  color: var(--neutral-300);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 3rem;
  padding-block: 5rem;
}

.footer .logo { display: inline-block; margin-bottom: 1rem; }
.footer .logo-charm { color: var(--neutral-200); }
.footer .logo-cake  { color: var(--sage-light); }

.footer-slogan {
  font-size: .85rem;
  line-height: 1.7;
  color: var(--neutral-400);
  margin-bottom: 1.5rem;
  max-width: 32ch;
}

.social-links {
  display: flex;
  gap: 1rem;
}
.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--neutral-600);
  color: var(--neutral-400);
  transition: all var(--transition);
}
.social-links a:hover {
  border-color: var(--sage-light);
  color: var(--sage-light);
}

.footer-nav h4,
.footer-contact h4 {
  font-family: var(--font-sans);
  font-size: .75rem;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--neutral-400);
  margin-bottom: 1.5rem;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.footer-nav a {
  font-size: .875rem;
  color: var(--neutral-400);
  transition: color var(--transition);
}
.footer-nav a:hover { color: var(--neutral-200); }

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.footer-contact p,
.footer-contact a {
  font-size: .875rem;
  color: var(--neutral-400);
  line-height: 1.6;
  transition: color var(--transition);
}
.footer-contact a:hover { color: var(--neutral-200); }
.footer-hours { margin-top: .5rem; font-size: .8rem; color: var(--neutral-500); }

.footer-bottom {
  border-top: 1px solid var(--neutral-700);
  padding-block: 1.5rem;
}
.footer-bottom p {
  font-size: .78rem;
  color: var(--neutral-500);
  text-align: center;
}

/* ---------- WHATSAPP FLOAT ---------- */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.45);
  transition: transform var(--transition), box-shadow var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,.6);
}

/* ---------- RESPONSIVE ---------- */

/* ---- 900px: tablet ---- */
@media (max-width: 900px) {
  .about-grid,
  .contact-grid { grid-template-columns: 1fr; }

  .about-visual { max-width: 460px; margin-inline: auto; }
  .about-badge  { right: 1rem; }
  .about-text   { max-width: 100%; }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    padding-block: 4rem;
    gap: 2.5rem;
  }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---- 768px: tablet médio ---- */
@media (max-width: 768px) {
  .features        { padding-block: 4rem; }
  .gallery-section { padding-block: 4rem; }
  .about-section   { padding-block: 4.5rem; }
  .testimonials    { padding-block: 4rem; }
  .contact-section { padding-block: 4.5rem; }

  .section-header  { margin-bottom: 2rem; }

  .hero-content { padding-block: 8rem 4rem; }

  .gallery-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }

  .contact-form-wrap { padding: 2rem; }
}

/* ---- 640px: mobile ---- */
@media (max-width: 640px) {
  /* Nav */
  .nav-toggle { display: flex; }

  .nav-links {
    position: fixed;
    top: 70px;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.25rem;
    transform: translateX(100%);
    transition: transform .3s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1.05rem; }
  .btn-nav { font-size: .85rem; padding: .65rem 1.5rem; }

  /* Logo */
  .logo-icon { height: 36px; width: 36px; }
  .logo-text { font-size: 17px; letter-spacing: 2.5px; }

  /* Hero — mobile */
  .hero-content { padding-block: 7rem 3.5rem; }
  .hero-eyebrow { font-size: .7rem; margin-bottom: 1rem; }

  /* Título impactante — elemento principal */
  .hero-title {
    font-size: clamp(3.8rem, 17vw, 5.2rem);
    font-weight: 400;
    line-height: .95;
    letter-spacing: -.01em;
    text-shadow: 0 4px 24px rgba(0, 0, 0, .5);
    margin-bottom: 1.25rem;
  }

  .hero-slogan  { font-size: .9rem; margin-bottom: 2rem; }

  /* Botões compactos e proporcionais */
  .hero-cta {
    flex-direction: column;
    align-items: center;
    gap: .625rem;
  }
  .hero-cta .btn {
    width: auto;
    min-width: 200px;
    max-width: 260px;
    padding: .6rem 1.75rem;
    font-size: .75rem;
    letter-spacing: .1em;
  }

  .hero-scroll-hint span { border-color: rgba(255, 255, 255, .5); }
  .hero-scroll-hint span::after { background: #ffffff; }

  /* Diferenciais */
  .features { padding-block: 3.5rem; }
  .features-grid { gap: 1rem; }
  .feature-card  { padding: 1.5rem 1.25rem; }

  /* Galeria */
  .gallery-section { padding-block: 3.5rem; }
  .gallery-grid    { grid-template-columns: 1fr 1fr; gap: .75rem; }
  .gallery-item figcaption { padding: .875rem; }
  .gallery-item figcaption p { font-size: .78rem; }
  .gallery-filters { gap: .375rem; }
  .filter-btn { padding: .4rem 1rem; font-size: .72rem; }

  /* Sobre */
  .about-section { padding-block: 4rem; }
  .about-visual  { max-width: 100%; }
  .about-badge   { right: .75rem; bottom: 1rem; padding: .75rem 1rem; }
  .badge-num     { font-size: 2rem; }
  .badge-label   { font-size: .68rem; }

  /* Depoimentos */
  .testimonials { padding-block: 3.5rem; }

  /* Contato */
  .contact-section   { padding-block: 4rem; }
  .contact-form-wrap { padding: 1.5rem 1.25rem; border-radius: var(--radius-md); }
  .form-row          { grid-template-columns: 1fr; }

  /* Footer */
  .footer-inner   { grid-template-columns: 1fr; padding-block: 3rem; gap: 2rem; }
  .footer-brand   { grid-column: auto; }
  .footer-slogan  { max-width: 100%; }

  /* Float */
  .whatsapp-float { bottom: 1.25rem; right: 1.25rem; width: 52px; height: 52px; }
}

/* ---- 480px: celulares menores ---- */
@media (max-width: 480px) {
  .hero-content { padding-block: 6.5rem 3rem; }
  .hero-title   { font-size: clamp(3.4rem, 15vw, 4.5rem); }
  .hero-cta .btn { min-width: 180px; max-width: 240px; }

  .gallery-grid { grid-template-columns: 1fr 1fr; gap: .625rem; }
  .gallery-item figcaption { padding: .75rem; }

  .contact-form-wrap { padding: 1.25rem 1rem; }

  .testimonial-card { padding: 1.5rem; }
}

/* ---- 400px: telas muito pequenas ---- */
@media (max-width: 400px) {
  .hero-title   { font-size: clamp(3rem, 14vw, 4rem); }
  .hero-content { padding-block: 6rem 3rem; }

  .gallery-grid { grid-template-columns: 1fr; }

  .logo-text { font-size: 15px; letter-spacing: 2px; }
  .logo-icon { height: 32px; width: 32px; }
}

/* ---------- Scroll fade-in animation ---------- */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
