:root {
  --cream: #f8f3e9;
  --paper: #fffdf8;
  --ink: #28342c;
  --sage: #657662;
  --sage-dark: #36483b;
  --sage-deep: #26372d;
  --aqua: #e0f2ef;
  --aqua-deep: #44766f;
  --sand: #efe3cf;
  --champagne: #c7a66b;
  --muted: #656d63;
  --white-line: rgba(255, 255, 255, .68);
  --shadow: 0 25px 65px rgba(42, 51, 43, .12);
  --shadow-soft: 0 12px 32px rgba(42, 51, 43, .08);
  --serif: "Iowan Old Style", "Baskerville", "Palatino Linotype", Georgia, serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(circle at 10% 0%, rgba(199,166,107,.18), transparent 28%),
    radial-gradient(circle at 94% 8%, rgba(101,118,98,.16), transparent 27%),
    linear-gradient(180deg, #fbf7ef 0%, var(--cream) 52%, #f4eadb 100%);
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
.shell { width: min(var(--max), calc(100% - 28px)); margin: 0 auto; }
.liquid {
  background: linear-gradient(130deg, rgba(255,255,255,.72), rgba(255,253,248,.43));
  border: 1px solid var(--white-line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(22px) saturate(1.16);
  -webkit-backdrop-filter: blur(22px) saturate(1.16);
}
.reveal { opacity: 1; transform: none; }
.hero__copy, .hero__portrait { animation: arrive .56s ease both; }
.hero__portrait { animation-delay: .06s; }
@keyframes arrive { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.section-label {
  display: block;
  color: var(--champagne);
  font-size: 11px;
  line-height: 1;
  letter-spacing: .2em;
  text-transform: uppercase;
  font-weight: 900;
  margin-bottom: 11px;
}
h1, h2, h3 { color: var(--sage-dark); font-family: var(--serif); letter-spacing: -.045em; }
h2 { margin: 0 0 10px; font-size: clamp(32px, 4.4vw, 52px); line-height: .98; }

.topbar {
  position: sticky; top: 0; z-index: 40;
  background: rgba(249,244,235,.72);
  border-bottom: 1px solid rgba(255,255,255,.66);
  backdrop-filter: blur(18px) saturate(1.15);
  -webkit-backdrop-filter: blur(18px) saturate(1.15);
}
.topbar__inside { height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { display: flex; align-items: center; gap: 10px; }
.brand img { width: 48px; height: 48px; border-radius: 50%; box-shadow: 0 6px 18px rgba(42,51,43,.12); }
.brand__name { font: 800 19px/.93 var(--serif); color: var(--sage-dark); }
.brand__name small { display: block; margin-top: 6px; font: 800 9px/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: #898477; }
.topbar__cta { padding: 13px 18px; border-radius: 999px; color: #fff; background: linear-gradient(135deg, var(--sage), var(--sage-dark)); font-size: 14px; font-weight: 850; box-shadow: 0 14px 26px rgba(54,72,59,.18); }

.hero { padding: 14px 0 10px; }
.hero__card {
  overflow: hidden; border-radius: 34px; position: relative;
  background: rgba(255,253,248,.36); border: 1px solid rgba(255,255,255,.74);
  box-shadow: var(--shadow);
  display: grid; grid-template-columns: .98fr 1.02fr; align-items: stretch;
  min-height: 715px;
}
.hero__portrait { margin: 0; position: relative; grid-column: 2; height: 100%; min-height: 715px; overflow: hidden; }
.hero__portrait img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.hero__portrait::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(248,243,233,.55), transparent 34%), linear-gradient(180deg, transparent 56%, rgba(38,55,45,.12));
}
.portrait__badge {
  position: absolute; z-index: 2; left: 18px; right: 18px; bottom: 18px;
  border-radius: 23px; padding: 15px 17px;
}
.portrait__badge strong { display: block; font-size: 18px; color: var(--sage-dark); margin-bottom: 4px; }
.portrait__badge span { font-size: 13px; line-height: 1.38; color: var(--muted); }
.hero__copy {
  position: relative; z-index: 3; grid-column: 1; grid-row: 1;
  margin: 24px -28px 24px 24px; align-self: center;
  border-radius: 30px; padding: 30px 28px 27px;
}
.eyebrow { display: inline-flex; align-items: center; gap: 9px; padding: 11px 15px; border-radius: 999px; background: rgba(255,255,255,.47); border: 1px solid rgba(255,255,255,.72); color: var(--sage-dark); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; font-weight: 900; }
.eyebrow i { width: 9px; height: 9px; display: block; border-radius: 50%; background: var(--champagne); box-shadow: 0 0 0 6px rgba(199,166,107,.18); }
h1 { margin: 20px 0 14px; font-size: clamp(52px, 5.8vw, 72px); line-height: .92; }
.lead { max-width: 500px; margin: 0 0 20px; color: var(--muted); font-size: clamp(18px, 1.8vw, 21px); line-height: 1.46; }
.lead strong { color: var(--sage-dark); }
.credentials { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.credentials span { padding: 10px 13px; border-radius: 999px; border: 1px solid rgba(255,255,255,.78); background: rgba(255,255,255,.48); font-size: 12px; font-weight: 850; color: var(--sage-dark); }
.registration { margin: 0 0 21px; color: #7a8076; font-size: 11.5px; letter-spacing: .04em; font-weight: 700; }
.hero__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.btn { min-height: 55px; padding: 16px 23px; display: inline-flex; justify-content: center; align-items: center; border-radius: 999px; font-weight: 850; transition: transform .18s ease, box-shadow .18s ease; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { color: white; background: linear-gradient(135deg, var(--sage), var(--sage-dark)); box-shadow: 0 15px 30px rgba(54,72,59,.2); }
.btn--glass { color: var(--sage-dark); background: rgba(255,255,255,.56); border: 1px solid rgba(255,255,255,.8); }

.founder { padding: 14px 0 26px; }
.founder__card { border-radius: 28px; padding: 24px 27px; }
.founder__grid { display: grid; grid-template-columns: .94fr 1.06fr; gap: 28px; align-items: center; }
.founder__grid h2 { font-size: clamp(30px, 3.5vw, 44px); }
.founder__grid p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 16px; }

.featured { padding: 16px 0 24px; }
.section-head { margin-bottom: 21px; }
.section-head p { max-width: 680px; margin: 0; color: var(--muted); line-height: 1.55; font-size: 16px; }
.featured__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.care-card { overflow: hidden; border-radius: 26px; background: rgba(255,255,255,.62); border: 1px solid rgba(255,255,255,.8); box-shadow: var(--shadow-soft); display: flex; flex-direction: column; min-height: 386px; transition: transform .18s ease; }
.care-card:hover { transform: translateY(-3px); }
.care-card--aqua { background: linear-gradient(180deg, rgba(255,255,255,.78), rgba(224,242,239,.72)); }
.care-card--sand { background: linear-gradient(180deg, rgba(255,255,255,.76), rgba(239,227,207,.76)); }
.care-card--green { background: linear-gradient(180deg, rgba(255,255,255,.76), rgba(224,234,219,.78)); }
.care-card__media { position: relative; height: 187px; background: #eee; overflow: hidden; }
.care-card__media img, .care-card__media video { width: 100%; height: 100%; object-fit: cover; }
.care-card__media video { display: none; }
.care-card__media.loaded video { display: block; }
.care-card__media.loaded img { display: none; }
.care-card__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 46%, rgba(25,35,28,.16)); pointer-events: none; }
.care-card__media span { position: absolute; z-index: 1; left: 11px; top: 11px; border-radius: 999px; padding: 8px 10px; background: rgba(255,255,255,.68); border: 1px solid rgba(255,255,255,.78); font-size: 10px; letter-spacing: .13em; font-weight: 900; text-transform: uppercase; color: var(--sage-dark); backdrop-filter: blur(12px); }
.care-card__body { display: flex; flex-direction: column; flex: 1; padding: 16px 15px 15px; }
.care-card__body h3 { margin: 0 0 8px; font-size: 29px; line-height: 1; }
.care-card__body p { margin: 0 0 15px; font-size: 14px; color: var(--muted); line-height: 1.45; flex: 1; }
.card-link { display: block; text-align: center; padding: 13px 10px; border-radius: 999px; background: var(--sage); color: white; font-weight: 850; font-size: 13px; }
.care-card--aqua .card-link { background: var(--aqua-deep); }
.care-card--sand .card-link { background: #8a724f; }

.more { padding: 12px 0 22px; }
.section-head--compact { margin-bottom: 15px; }
.service-list { padding: 10px; border-radius: 27px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 9px; }
.service-list__item { min-height: 106px; border-radius: 20px; padding: 15px 14px; display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; background: rgba(255,255,255,.48); border: 1px solid rgba(255,255,255,.62); }
.service-list__item strong { display: block; font-size: 15px; color: var(--sage-dark); margin-bottom: 6px; }
.service-list__item span { display: block; color: var(--muted); font-size: 12px; line-height: 1.38; }
.service-list__item b { font-size: 25px; color: var(--champagne); font-weight: 500; line-height: 1; }

.experience { padding: 8px 0 22px; }
.experience__card { border-radius: 28px; overflow: hidden; display: grid; grid-template-columns: .8fr 1.2fr; }
.experience__copy { padding: 28px 25px; align-self: center; }
.experience__copy p { margin: 0; color: var(--muted); font-size: 15px; line-height: 1.55; }
.experience__gallery { display: grid; grid-template-columns: repeat(3,1fr); min-height: 260px; }
.experience__gallery img { width: 100%; height: 100%; object-fit: cover; }

.closing { padding: 4px 0 26px; }
.closing__card { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 30px 29px; border-radius: 29px; color: white; background: linear-gradient(130deg, var(--sage-deep), var(--sage)); box-shadow: 0 22px 56px rgba(36,54,43,.2); }
.closing__card .section-label { color: #dfc28c; }
.closing__card h2 { color: white; margin-bottom: 8px; }
.closing__card p { margin: 0; color: rgba(255,255,255,.82); font-size: 16px; line-height: 1.5; }
.btn--white { background: white; color: var(--sage-dark); min-width: 210px; }
.footer { padding: 0 0 28px; text-align: center; font-size: 12px; color: #797b70; }
.floating-whatsapp { position: fixed; right: 15px; bottom: 15px; z-index: 30; width: 58px; height: 58px; color: white; background: #267454; border-radius: 19px; display: grid; place-items: center; box-shadow: 0 15px 29px rgba(36,99,70,.28); }
.floating-whatsapp svg { width: 31px; height: 31px; }

@media (max-width: 940px) {
  .hero__card { display: flex; flex-direction: column; min-height: 0; padding: 0 0 12px; }
  .hero__portrait { order: 1; min-height: 0; height: min(78vw, 395px); grid-column: auto; }
  .hero__portrait img { object-position: center 16%; }
  .portrait__badge { display: none; }
  .hero__copy { order: 2; margin: -53px 12px 0; padding: 22px 19px 19px; border-radius: 27px; }
  .founder__grid, .experience__card { display: block; }
  .featured__cards { grid-template-columns: repeat(2, 1fr); }
  .service-list { grid-template-columns: repeat(2, 1fr); }
  .experience__gallery { min-height: 170px; }
}
@media (max-width: 640px) {
  .shell { width: min(var(--max), calc(100% - 18px)); }
  .topbar__inside { height: 64px; }
  .brand img { width: 43px; height: 43px; }
  .brand__name { font-size: 17px; }
  .topbar__cta { font-size: 13px; padding: 12px 15px; }
  .hero { padding-top: 8px; }
  .hero__card { border-radius: 27px; }
  .hero__portrait { height: min(94vw, 402px); }
  .hero__portrait::after { background: linear-gradient(180deg, transparent 54%, rgba(248,243,233,.76) 100%); }
  .hero__copy { margin-top: -62px; padding: 19px 17px 18px; }
  .eyebrow { font-size: 10px; padding: 9px 12px; }
  h1 { font-size: clamp(41px, 12.4vw, 52px); margin: 15px 0 11px; line-height: .95; }
  .lead { font-size: 16px; line-height: 1.47; margin-bottom: 14px; }
  .credentials { gap: 6px; }
  .credentials span { padding: 9px 11px; font-size: 11px; }
  .registration { margin-bottom: 16px; }
  .hero__actions { display: grid; grid-template-columns: 1fr; }
  .btn { width: 100%; min-height: 52px; padding: 14px 17px; font-size: 15px; }
  .founder { padding: 12px 0 18px; }
  .founder__card { padding: 20px 17px; border-radius: 23px; }
  .founder__grid h2 { font-size: 32px; }
  .founder__grid p { font-size: 15px; }
  .featured { padding-top: 13px; }
  .section-head { margin-bottom: 16px; }
  .section-head h2 { font-size: 37px; }
  .section-head p { font-size: 15px; }
  .featured__cards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: -9px; padding: 0 9px 8px; }
  .featured__cards::-webkit-scrollbar { display:none; }
  .care-card { flex: 0 0 82vw; scroll-snap-align: start; min-height: 378px; }
  .care-card__media { height: 186px; }
  .more { padding-top: 7px; }
  .service-list { display: block; padding: 8px; border-radius: 22px; }
  .service-list__item { min-height: auto; padding: 14px 13px; border-radius: 17px; margin-bottom: 7px; align-items: center; }
  .service-list__item:last-child { margin-bottom: 0; }
  .experience { padding-top: 1px; }
  .experience__card { border-radius: 23px; }
  .experience__copy { padding: 21px 17px; }
  .experience__copy h2 { font-size: 34px; }
  .experience__gallery { min-height: 138px; }
  .closing__card { display: block; padding: 23px 17px; border-radius: 23px; }
  .closing__card h2 { font-size: 36px; }
  .closing__card p { margin-bottom: 17px; font-size: 15px; }
}


/* Revisão final de alinhamento, mobile-first e composição desktop */
.founder__card {
  position: relative;
  overflow: hidden;
}
.founder__card::after {
  content: "";
  position: absolute;
  width: 180px; height: 180px;
  top: -92px; right: -72px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199,166,107,.18), transparent 68%);
  pointer-events: none;
}
.featured .shell,
.more .shell,
.experience .shell,
.closing .shell { min-width: 0; }

@media (min-width: 941px) {
  .hero__card { min-height: 660px; grid-template-columns: 1.04fr .96fr; }
  .hero__portrait { min-height: 660px; }
  .hero__copy { margin: 28px -46px 28px 28px; padding: 34px 34px 32px; }
  h1 { font-size: clamp(51px, 4.6vw, 67px); }
  .featured__cards { align-items: stretch; }
  .care-card__media { height: 198px; }
  .service-list { grid-template-columns: repeat(5, minmax(0,1fr)); }
}

@media (max-width: 640px) {
  .founder__grid h2 { max-width: 100%; }
  .featured__cards {
    display: flex;
    width: 100%;
    max-width: 100%;
    gap: 12px;
    overflow-x: auto;
    margin-inline: 0;
    padding: 0 0 10px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    overscroll-behavior-x: contain;
  }
  .care-card {
    flex: 0 0 min(80vw, 316px);
    max-width: min(80vw, 316px);
    scroll-snap-align: start;
  }
  .care-card:first-child { margin-left: 0; }
  .care-card:last-child { margin-right: 2px; }
  .care-card__media { height: 190px; }
  .experience__gallery img { aspect-ratio: .76 / 1; }
}
/* AJUSTE FINAL — CARDS PRINCIPAIS MOBILE */
@media (max-width: 640px) {
  .featured .shell {
    width: calc(100% - 32px);
    margin: 0 auto;
    min-width: 0;
    overflow: hidden;
  }

  .featured__cards {
    display: flex;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    margin: 0;
    padding: 0 0 12px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 0;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .featured__cards::-webkit-scrollbar {
    display: none;
  }

  .care-card {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    min-width: 100%;
    scroll-snap-align: start;
  }

  .care-card__media {
    height: 205px;
  }
}
/* AJUSTE FINAL — DESKTOP */
@media (min-width: 941px) {
  .shell {
    width: min(1140px, calc(100% - 64px));
    margin: 0 auto;
  }

  .hero__card {
    display: grid;
    grid-template-columns: 0.96fr 1.04fr;
    align-items: stretch;
    min-height: 690px;
  }

  .hero__portrait {
    min-height: 690px;
  }

  .hero__copy {
    margin: 34px 34px 34px -54px;
    padding: 38px 38px 34px;
    align-self: center;
    position: relative;
    z-index: 2;
  }

  .featured__cards {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
    overflow: visible;
    margin: 0;
    padding: 0;
  }

  .care-card {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .care-card__media {
    height: 205px;
  }

  .experience__card {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    align-items: stretch;
  }

  .experience__gallery {
    min-height: 290px;
  }
}