@font-face{font-family:Poppins;src:url(clone-assets/poppins.ttf);font-display:swap}
:root{--menu-cream:#f2ede7;--paper:#f2ede7;--white:#fffdfb;--tint:#fbf5f0;--brand:#7f4a42;--accent:#ea9283;--text:#34302e;--line:#7f4a421a}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:30px}body{margin:0;color:var(--text);background:var(--white);font:400 16px/1.6 Poppins,Arial,sans-serif}a{color:inherit;text-decoration:none}button{font:inherit;cursor:pointer}img{display:block;max-width:100%}p,figure,h1,h2,h3{margin:0}p+p{margin-top:24px}h1,h2{font-family:'Instrument Serif',Georgia,serif;color:var(--brand);font-weight:400;text-transform:uppercase;line-height:1.12;letter-spacing:-.045em}h2{font-size:44px}h3{font-size:21px;font-weight:400}button,a,summary{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--accent);outline-offset:5px}.skip{position:absolute;top:-100px}.skip:focus{top:0;z-index:100;background:white;padding:10px}
.container{width:min(1100px,calc(100% - 64px));margin:auto}.narrow{max-width:900px}.section{padding:110px 0}.gray{background:var(--paper)}.center{text-align:center;margin-top:46px}.intro{text-align:center;margin-bottom:46px}.intro h2{margin:25px 0}.intro p{font-size:16px}.tag{display:inline-block;border:1px solid var(--line);border-radius:30px;background:#ffffff35;padding:6px 18px;font-size:10px;letter-spacing:.5em;color:var(--brand)}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;background:linear-gradient(155deg,#8d554b 0%,var(--brand) 55%,#6a3d36 100%);color:white;min-height:62px;border-radius:50px;padding:13px 28px;box-shadow:0 7px 16px #58342f40, inset 0 1px 0 #ffffff24;font-size:13px;line-height:1.35;text-align:left;transition:box-shadow .2s,transform .2s}.button span{display:grid;place-items:center;font-size:22px;width:32px;height:32px;background:var(--paper);color:var(--brand);border-radius:50%;flex:none}.button:hover{box-shadow:0 10px 20px #58342f50, inset 0 1px 0 #ffffff24;transform:translateY(-2px)}
.tint{filter:grayscale(1) sepia(.65) saturate(1.6) hue-rotate(320deg);mix-blend-mode:multiply}.logo{width:116px;height:auto}
header{position:absolute;z-index:20;top:36px;left:50%;transform:translateX(-50%);width:min(1060px,calc(100% - 80px));border:1px solid #7f4a420d;background:var(--menu-cream);border-radius:60px;box-shadow:0 1px 2px #58342f24,0 3px 7px #58342f1a;padding:16px 38px;display:flex;gap:18px;align-items:center;justify-content:space-between}header nav{display:flex;gap:14px;align-items:center;font-size:14px}header nav>a:hover{color:var(--accent)}header .button{font-size:10px;min-height:48px;padding:9px 20px;gap:7px}header .button span{width:25px;height:25px;font-size:18px}.menu{display:none}
.hero{height:695px;position:relative;overflow:hidden;background:var(--tint);isolation:isolate}.hero-photo{position:absolute;right:0;top:0;width:51%;height:100%;background:#74483f}.hero-photo img{width:100%;height:100%;object-fit:cover;object-position:center bottom}.hero-surface{position:absolute;inset:0 auto 0 0;width:56%;background:var(--tint);clip-path:ellipse(94% 130% at 0% 50%)}.hero-copy{position:relative;margin:auto;width:min(880px,calc(100% - 64px));padding-top:237px;z-index:2;pointer-events:none}.hero-copy>*{pointer-events:auto}.hero h1{font-size:49px;line-height:1.15;width:390px}.hero-copy p{font-size:21px;line-height:1.6;margin:20px 0 18px;max-width:440px}.hero-copy .button{font-size:13px;min-height:58px;padding:12px 25px}
.seal{position:absolute;z-index:3;width:126px;height:126px;border-radius:50%;background:var(--paper);display:flex;align-items:center;justify-content:center;box-shadow:0 2px 5px #0000000c}.seal img{width:78px;height:78px;border-radius:50%;filter:grayscale(1) sepia(.7) saturate(1.5) hue-rotate(320deg)}.seal>span{position:absolute;top:10px;font-size:6px;letter-spacing:.17em;color:var(--brand)}.hero>.seal{left:calc(50% - 42px);top:460px}.ribbon{height:65px;background:var(--brand);color:#f2ede77d;white-space:nowrap;overflow:hidden;display:flex;align-items:center;font:18px 'Instrument Serif',serif;word-spacing:10px}
.geometry{position:relative;isolation:isolate}.geometry::before{content:"";position:absolute;inset:auto auto 0 0;width:310px;height:310px;background:conic-gradient(from 90deg at 50% 50%,#7f4a4207 0 25%,transparent 0 50%,#7f4a4207 0 75%,transparent 0);background-size:155px 155px;pointer-events:none;z-index:-1}.hero::before{inset:0 auto 0 0;height:100%;z-index:1;width:310px}
.mouse{display:grid;place-items:center;width:48px;height:48px;border:1px solid #7f4a4255;border-radius:50%;margin:0 auto 52px;color:var(--brand);font-size:24px;font-family:serif}.about{padding:60px 0 170px;position:relative;clip-path:polygon(0 0,100% 0,100% 96%,56% 96%,49% 100%,0 100%)}.about-grid{max-width:930px;display:grid;grid-template-columns:1.1fr 1fr;gap:33px;align-items:start}.about-copy h2{margin:26px 0}.about-copy p{font-size:16px;line-height:1.65}.about-copy .button{margin-top:26px;font-size:12px;white-space:nowrap}.collage{display:grid;grid-template-columns:1fr 1.2fr;gap:12px;position:relative}.collage>img{width:100%;height:330px;object-fit:cover;border-radius:6px}.collage>img:nth-child(3){grid-column:1/-1;height:auto;aspect-ratio:1.4;box-shadow:1px 4px 5px #0003}.collage .seal{left:-55px;top:280px}.orbit{isolation:isolate}
.divider{display:flex;align-items:center;justify-content:center;gap:17px;color:var(--brand);margin:24px auto}.divider::before,.divider::after{content:"";height:1px;width:140px;background:linear-gradient(90deg,transparent,#7f4a4270)}.divider::after{transform:rotate(180deg)}.exam-grid{display:grid;grid-template-columns:1fr 1fr;gap:36px 62px}.exam-grid article{border:1px solid var(--line);border-radius:18px;background:var(--tint);padding:42px 32px;min-height:410px}.exam-grid h3{margin-bottom:25px}.exam-grid p{margin-bottom:25px}.exam-grid ul{list-style:none;margin:0;padding:0;font-size:16px}.exam-grid li{position:relative;padding-left:26px;margin:7px 0}.exam-grid li::before{content:"✓";position:absolute;left:0;top:4px;width:18px;height:18px;font:13px/17px Arial;text-align:center;border:1px solid #7f4a4260;border-radius:50%;color:var(--brand)}
.reviews{clip-path:polygon(0 0,100% 0,100% 100%,52% 100%,45% 96%,0 96%);padding-bottom:140px}.reviews .container{max-width:1020px}.review-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:15px}.review-grid article{border:1px solid var(--line);background:var(--tint);border-radius:18px;padding:32px;display:flex;flex-direction:column}.stars{font-size:16px;color:#c89d23;margin-bottom:18px}.stars b{color:var(--brand);margin-right:4px}.review-grid p{font-size:13px;line-height:1.65}.review-grid footer{display:flex;gap:12px;align-items:center;font-size:10px;margin-top:auto;padding-top:22px}.review-grid footer span{border-radius:50%;background:var(--brand);color:white;padding:7px;font-size:13px}.reviews-row{position:relative}.reviews-row>button{position:absolute;top:45%;border:1px solid var(--brand);color:var(--brand);border-radius:50%;background:none;font:28px/28px Georgia;width:30px;height:30px}.previous{left:-46px}.next{right:-46px}.dots{color:var(--brand);font-size:10px;letter-spacing:2px;text-align:center;margin:15px 0}.reviews .center{margin-top:20px}
.team{padding-top:120px}.featured{max-width:875px;margin:0 auto 26px;display:grid;grid-template-columns:.7fr 1fr;gap:15px}.featured figure{position:relative}.featured figure>img{border-radius:17px;width:100%;height:100%;object-fit:cover;min-height:610px}.featured .seal{top:70px;left:-50px;width:100px;height:100px}.featured .seal img{width:65px;height:65px}.featured article{border:1px solid var(--line);background:var(--tint);border-radius:17px;padding:65px 60px;display:flex;flex-direction:column;justify-content:center}.featured h2{font-size:40px;margin-bottom:26px;white-space:nowrap}.featured p{font-size:16px}.credentials{display:flex;gap:9px;flex-wrap:wrap;margin-top:20px}.credentials span,.read-more{padding:7px 20px;border:1px solid var(--line);border-radius:30px;font-size:14px;background:var(--white)}.featured.reverse{grid-template-columns:1fr .7fr}.reverse article{grid-row:1;grid-column:1}.reverse .seal{left:auto;right:-50px}.reverse figure>img{min-height:610px}.team-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px 14px;margin-top:60px}.team-grid article{border:1px solid var(--line);background:var(--tint);border-radius:17px;padding:24px 26px 35px}.team-grid img{width:100%;aspect-ratio:.625;object-fit:cover;border-radius:16px}.team-grid h3{font:25px/1.2 'Instrument Serif',Georgia,serif;color:var(--brand);text-transform:uppercase;letter-spacing:-.04em;margin:22px 0}.read-more:hover{background:var(--paper)}
.video-grid{display:grid;grid-template-columns:1fr 1.18fr 1fr;gap:30px;align-items:center}.poster{padding:0;background:none;border:0;display:block;border-radius:6px;overflow:hidden}.poster img{width:100%;height:100%;object-fit:cover}.video-grid .poster{aspect-ratio:.6}.video-grid .poster:nth-child(2){aspect-ratio:.6}.video-section .center{margin-top:22px}.plans{width:calc(100% - 100px);max-width:1300px;margin:110px auto 0;padding:75px 75px 95px;border:1px solid var(--line);border-radius:14px;text-align:center;background:#f2ede766}.plans>img{width:100%;margin:36px auto 20px}.plans .center{margin-top:25px}.instagram{padding-top:125px}.instagram h2{margin-top:32px}.social-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.social-grid .poster{aspect-ratio:.64;border-radius:3px}.faq{padding-top:150px}.faq details{border:1px solid var(--line);border-radius:18px;background:var(--white);margin:7px 0;overflow:hidden}.faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;padding:22px 25px;font-size:16px;gap:18px}.faq summary::-webkit-details-marker{display:none}.faq summary span{background:var(--brand);color:white;width:17px;height:17px;border-radius:50%;font:14px/17px Arial;text-align:center;flex:none}.faq details p{font-size:16px;padding:0 25px 28px}.faq .center{margin-top:32px}
.site-footer{position:relative;background:var(--tint);border-top:1px solid var(--line);padding-top:95px}.site-footer>.seal{top:-60px;left:calc(50% - 63px);box-shadow:0 2px 4px #58342f24,0 7px 16px #58342f26}.footer-grid{display:grid;grid-template-columns:1.2fr .6fr 1fr;max-width:930px;gap:65px;padding-bottom:65px}.footer-grid h2{font-size:26px;margin-bottom:26px}.footer-grid h3{margin:24px 0;font-size:22px}.footer-grid p{font-size:16px}.footer-grid p+p{margin-top:14px}.footer-grid a{display:block;margin-bottom:12px}.copyright{text-align:center;font-size:11px;padding:18px 24px;border-top:1px solid var(--line)}
.preview-note{position:fixed;z-index:50;bottom:10px;right:12px;padding:8px 13px;background:#fffdfbe8;backdrop-filter:blur(8px);border:1px solid var(--line);border-radius:8px;font-size:9px;color:var(--brand);box-shadow:0 3px 18px #0001}.preview-note a{margin-left:10px;text-decoration:underline}
dialog{border:1px solid var(--line);border-radius:16px;width:min(550px,calc(100% - 36px));background:var(--paper);padding:34px;max-height:90vh}dialog::backdrop{background:#30201dcc}dialog h2{font-size:28px;margin:10px 25px 20px 0}dialog img{max-height:55vh;margin:auto}dialog p{font-size:13px;margin-top:18px}.close{position:absolute;top:8px;right:13px;background:none;border:0;font-size:30px;color:var(--brand)}
@media(min-width:1600px){.hero{height:760px}.hero-copy{padding-top:265px}.hero-photo{width:51%}}
@media(max-width:1150px){header{width:calc(100% - 40px);padding:14px 22px}header nav{gap:9px;font-size:12px}.hero-copy{padding-left:40px}.hero h1{font-size:45px}.hero-copy p{font-size:18px}.container{width:calc(100% - 100px)}.about-copy .button{white-space:normal}.featured article{padding:35px}.featured h2{font-size:32px}.team-grid article{padding:18px}.team-grid h3{font-size:22px}.reviews-row>button{display:none}.exam-grid{gap:24px}}
@media(max-width:800px){body{font-size:14px}.container{width:calc(100% - 40px)}h2{font-size:34px}.section{padding:75px 0}header{top:18px;min-height:64px}.menu{display:block;background:none;border:1px solid var(--line);padding:7px 13px;border-radius:25px;color:var(--brand);font-size:12px}header nav{display:none;position:absolute;right:0;top:calc(100% + 8px);min-width:230px;background:var(--menu-cream);border:1px solid var(--line);border-radius:18px;padding:20px;flex-direction:column;align-items:flex-start;gap:14px}header nav.open{display:flex}.hero{height:730px}.hero-copy{width:calc(100% - 40px);padding:135px 8px 0}.hero h1{font-size:41px;max-width:100%}.hero-copy p{font-size:16px;line-height:1.5;margin:14px 0}.hero-photo{top:370px;bottom:0;width:100%;height:auto}.hero-photo img{object-position:center 43%}.hero-surface{width:100%;height:400px;clip-path:ellipse(110% 100% at 30% 0%)}.hero>.seal{left:auto;right:26px;top:330px;width:90px;height:90px}.hero>.seal img{width:60px;height:60px}.hero::before{width:140px;opacity:.6}.hero .button{font-size:11px;min-height:45px;padding:8px 18px}.hero .button span{width:26px;height:26px;font-size:18px}.ribbon{height:43px;font-size:14px}.about{padding:48px 0 80px;clip-path:none}.about-grid{grid-template-columns:1fr;gap:40px;max-width:550px}.collage .seal{left:-10px;top:225px;width:90px;height:90px}.collage>img{height:265px}.about-copy p{font-size:14px}.about-copy .button{font-size:10px}.button{font-size:10px;min-height:52px;padding:10px 20px}.intro p{font-size:14px}.intro p br{display:none}.intro h2{margin:20px 0}.exam-grid{gap:16px}.exam-grid article{padding:23px 18px;min-height:0}.exam-grid h3{font-size:17px}.exam-grid ul,.exam-grid p{font-size:13px}.review-grid{grid-template-columns:1fr}.review-grid article{padding:24px}.review-grid article:not(:first-child){display:none}.reviews{clip-path:none}.review-grid p{font-size:14px}.reviews-row>button{display:block;top:calc(100% + 10px);font-size:22px;width:26px;height:26px}.previous{left:0}.next{right:0}.featured,.featured.reverse{grid-template-columns:.8fr 1fr;gap:10px}.featured figure>img,.reverse figure>img{min-height:0;height:100%;object-position:top}.featured article{padding:22px 18px}.featured h2{white-space:normal;font-size:28px}.featured p{font-size:12px}.featured .seal{width:65px;height:65px;left:-10px;top:25px}.featured .seal img{width:42px;height:42px}.seal>span{display:none}.credentials span{font-size:9px;padding:5px 9px}.team-grid{grid-template-columns:repeat(2,1fr);gap:12px;margin-top:28px}.team-grid article{padding:12px}.team-grid img{border-radius:9px}.team-grid h3{font-size:21px;margin:15px 0}.read-more{font-size:11px;padding:6px 13px}.video-grid{gap:12px}.plans{width:calc(100% - 40px);padding:35px 16px;margin-top:65px}.plans h2{font-size:32px}.plans>img{margin:25px auto}.instagram{padding-top:75px}.social-grid{gap:5px}.faq{padding-top:90px}.faq summary,.faq details p{font-size:13px}.faq summary{padding:18px}.faq details p{padding:0 18px 20px}.footer-grid{grid-template-columns:1fr 1fr;gap:35px}.footer-grid>div:first-child{grid-column:1/-1}.footer-grid p{font-size:13px}.footer-grid h2{font-size:25px}.preview-note{font-size:8px}}
@media(max-width:440px){.exam-grid{grid-template-columns:1fr}.featured,.featured.reverse{grid-template-columns:1fr}.featured figure>img{max-height:480px;width:100%;object-fit:cover;object-position:top}.reverse article{grid-row:auto;grid-column:auto}.featured article{padding:30px 25px}.featured p{font-size:14px}.credentials span{font-size:11px}.hero-copy p{font-size:14px}.hero h1{font-size:38px}.hero-copy{padding-top:125px}.hero-photo{top:350px}.hero-surface{height:380px}.hero>.seal{top:325px}.video-grid{gap:7px}.footer-grid{gap:20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.hero-band {
  position: absolute;
  inset: 0 0 auto auto;
  width: 51%;
  height: var(--hero-top-band, 130px);
  background: var(--brand);
  isolation: isolate;
  pointer-events: none;
}
.hero-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/textura-cabecalho.png') center / cover no-repeat;
  filter: grayscale(1) brightness(.81) contrast(1.65);
  mix-blend-mode: soft-light;
}
@media (min-width: 801px) {
  :root { --hero-top-band: 130px; }
  header {
    top: calc(var(--hero-top-band) / 2);
    transform: translate(-50%, -50%);
  }
  .hero-photo {
    top: var(--hero-top-band);
    height: calc(100% - var(--hero-top-band));
  }
  .hero-photo img { object-position: center; }
  .hero-copy { padding-top: 237px; }
}
@media (max-width: 800px) {
  .hero-band { display: none; }
}
.geometry::before {
  width: clamp(200px, 29vw, 440px);
  height: auto;
  aspect-ratio: 1;
  background: var(--brand);
  opacity: .065;
  clip-path: polygon(20% 0, 78% 0, 100% 50%, 78% 100%, 20% 100%, 0 50%);
  transform: translate(-26%, 12%);
}
.hero.geometry::before {
  top: 50%;
  bottom: auto;
  width: clamp(140px, 20vw, 308px);
  height: auto;
  transform: translate(-32%, -50%);
}

.ribbon--madre{height:auto;min-height:36px;white-space:normal;padding:7px 16px;color:#f8ebd7;word-spacing:normal;text-transform:uppercase;font-size:13px;letter-spacing:.08em}
.ribbon--madre ul{display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:5px clamp(12px,3vw,46px);list-style:none;margin:0 auto;padding:0}
.ribbon--madre li{white-space:nowrap}
@media(max-width:600px){.ribbon--madre{font-size:10px;letter-spacing:.04em}}

.seal img{filter:none;object-fit:contain;border-radius:0}

/* Conteúdo institucional do Madre */
.hero-copy p{max-width:370px}
.exam-grid article{min-height:250px}
.madre-projects{grid-template-columns:repeat(3,minmax(0,1fr));align-items:start}
.madre-projects .poster{aspect-ratio:4/5}
.madre-projects h3{margin-top:16px}
.madre-projects p{font-size:14px;margin-top:6px}
.footer-grid a:hover{text-decoration:underline;text-underline-offset:3px}
@media(max-width:800px){.exam-grid article{min-height:0}.madre-projects{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:440px){.madre-projects{grid-template-columns:1fr;gap:24px}.madre-projects .poster{aspect-ratio:4/3}}

/* Tipografia dos títulos do Madre */
@font-face {
  font-family: 'Instrument Serif';
  src: url('clone-assets/InstrumentSerif-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('clone-assets/InstrumentSerif-Italic.ttf') format('truetype');
  font-style: italic;
  font-weight: 400;
  font-display: swap;
}
h1, h2 {
  font-family: 'Instrument Serif', Georgia, serif;
  text-transform: none;
  letter-spacing: -.02em;
}
h1 em, h2 em {
  font-style: italic;
  font-weight: 400;
}
.hero h1 { font-size: clamp(46px, 4.4vw, 64px); }
@media(max-width:800px) {
  .hero h1 { font-size: clamp(37px, 7vw, 54px); }
}

/* Alinha a abertura à borda visível da marca no menu. */
.hero-copy {
  width: auto;
  margin-inline: 0;
  padding-inline-start: calc(max(40px, (100% - 1060px) / 2) + 45px);
  padding-inline-end: 24px;
}
@media (max-width: 1150px) {
  .hero-copy { padding-inline-start: 49px; }
}

/* Abertura e apresentação recebem formas distintas. */
.hero.geometry::before {
  opacity: .045;
}

/* Apresentação da fundadora com o retrato apoiado na base da seção. */
#equipe {
  border-top: 1px solid var(--line);
  background: #e9dbd1;
}
.madre-founder {
  max-width: 1040px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: 'portrait profile';
  column-gap: clamp(24px, 4vw, 60px);
}
.madre-founder figure {
  grid-area: portrait;
  align-self: end;
  overflow: hidden;
}
.madre-founder figure > img {
  width: min(100%, 408px);
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(10px 8px 14px #50362938);
}
.madre-founder article {
  grid-area: profile;
  align-self: center;
  max-width: 42ch;
  padding-block: 56px;
}
.founder-kicker {
  margin-bottom: 14px;
  color: var(--brand);
  font-size: 11px;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.madre-founder h2 {
  margin-bottom: 22px;
  font-size: clamp(38px, 4.2vw, 58px);
  line-height: 1.04;
}
.madre-founder h2 em { display: block; }
.madre-founder article p + p { margin-top: 14px; }
.madre-founder article a {
  display: inline-block;
  margin-top: 24px;
  color: var(--brand);
  font-size: 13px;
  text-decoration: underline;
  text-underline-offset: 4px;
}
#equipe::before, .madre-founder figure::before {
  position: absolute;
  z-index: -1;
  background: url('assets/amanda-textura.webp') left center / cover no-repeat;
  pointer-events: none;
}
@media (min-width: 701px) {
  #equipe {
    position: relative;
    isolation: isolate;
  }
  #equipe::before {
    content: '';
    inset-inline-start: 0;
    inset-block: 0;
    width: 50%;
    mask-image: linear-gradient(to right, #000 72%, transparent);
  }
}
@media (max-width: 700px) {
  .madre-founder {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'profile' 'portrait';
  }
  .madre-founder article {
    width: calc(100% - 40px);
    justify-self: center;
    padding-block: 48px 0;
  }
  .madre-founder figure {
    position: relative;
    isolation: isolate;
  }
  .madre-founder figure::before {
    content: '';
    inset: 0;
    mask-image: linear-gradient(to bottom, transparent, #000 30%);
  }
  .madre-founder figure > img { width: min(100%, 310px); }
}

@media (prefers-reduced-motion: no-preference) {
  .motion-text {
    animation: madre-text-in 560ms ease-out backwards;
    animation-delay: var(--motion-delay, 0ms);
  }
  .motion-photo {
    animation: madre-photo-in 880ms cubic-bezier(.2,.7,.2,1) backwards;
    animation-delay: var(--motion-delay, 0ms);
  }
}

@keyframes madre-text-in {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes madre-photo-in {
  from { opacity: 0; transform: translateY(16px) scale(1.015); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-copy > p { --motion-delay: 75ms; }
.hero-copy > .button { --motion-delay: 150ms; }
.collage > img:nth-child(2) { --motion-delay: 80ms; }
.collage > img:nth-child(3) { --motion-delay: 160ms; }

.hero-title-line {
  display: block;
}
@media (prefers-reduced-motion: no-preference) {
  .hero h1.motion-text {
    animation: none;
  }
  .hero h1.motion-text .hero-title-line {
    animation: madre-title-in 700ms cubic-bezier(.2,.7,.2,1) backwards;
  }
  .hero h1.motion-text .hero-title-line + .hero-title-line {
    animation-delay: 130ms;
  }
}
@keyframes madre-title-in {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.ribbon--highlights {
  height: 36px;
  min-height: 36px;
  padding: 0;
}
.ribbon-window {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.ribbon-track {
  display: flex;
  width: max-content;
}
.ribbon--highlights ul {
  display: grid;
  flex: none;
  grid-template-columns: repeat(5, minmax(145px, 1fr));
  width: max-content;
  min-width: 100vw;
  gap: 0;
  margin: 0;
  padding: 0;
}
.ribbon--highlights li {
  text-align: center;
}
.ribbon--highlights {
  font-family: Poppins, Arial, sans-serif;
  font-size: 11px;
  letter-spacing: .075em;
}
.ribbon--highlights a {
  display: block;
  padding-block: 10px;
}
.ribbon--highlights a:hover {
  text-decoration: underline;
}
@media (prefers-reduced-motion: no-preference) {
  .ribbon--highlights.is-moving .ribbon-window { overflow: hidden; }
  .ribbon--highlights.is-moving .ribbon-track {
    animation: madre-marquee 32s linear infinite;
  }
  .ribbon--highlights:hover .ribbon-track {
    animation-play-state: paused;
  }
  .ribbon-window:has(:focus-visible) .ribbon-track {
    animation: none;
  }
  .ribbon-window:has(:focus-visible) {
    overflow-x: auto !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ribbon-track [aria-hidden="true"] { display: none; }
}
@keyframes madre-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.location {
  background: var(--white);
}
.location-grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
}
.location-copy h2 { margin: 18px 0; }
.location-copy address {
  font-style: normal;
  margin-bottom: 24px;
}
.location-map {
  display: block;
  width: 100%;
  height: clamp(300px, 34vw, 410px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper);
  box-shadow: 0 8px 24px #58342f14;
}
@media (max-width: 800px) {
  .location-grid { grid-template-columns: minmax(0, 1fr); }
}

/* A abertura e a faixa de 36 px compõem a primeira tela. */
.hero {
  height: auto;
  min-height: max(580px, calc(100svh - 36px));
}
header > a { flex-shrink: 0; }
header nav > a { white-space: nowrap; }
@media (min-width: 801px) {
  .hero {
    display: grid;
    align-items: center;
  }
  .hero-copy {
    padding-top: 126px;
    padding-bottom: 36px;
  }
  /* Mantém as pontas do arco sobre a foto e a faixa superior. */
  .hero-surface { clip-path: ellipse(93.5% 160% at 0% 50%); }
  .hero > .seal {
    top: 64%;
    left: 51.8%;
    transform: translateX(-50%);
  }
}
@media (max-width: 1000px) {
  header .menu {
    display: block;
    background: none;
    border: 1px solid var(--line);
    padding: 7px 13px;
    border-radius: 25px;
    color: var(--brand);
    font-size: 12px;
  }
  header nav {
    display: none;
    position: absolute;
    right: 0;
    top: calc(100% + 8px);
    width: min(260px, 100%);
    min-width: 0;
    max-height: min(70vh, 480px);
    overflow-y: auto;
    background: var(--menu-cream);
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  header nav.open { display: flex; }
}
.location-map-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 12px 32px #58342f17;
}
.location-map-label {
  position: absolute;
  z-index: 1;
  inset: 14px 48px auto auto;
  padding: 7px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper);
  box-shadow: 0 2px 8px #58342f26;
  pointer-events: none;
}
.location-map-label img {
  width: clamp(76px, 12vw, 108px);
  height: auto;
}
.location-map-card .location-map {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  filter: saturate(.78);
}

#faq {
  background: var(--white);
  border-top: 1px solid var(--line);
  padding-block: clamp(56px, 7vw, 96px);
}
#faq details {
  background: #b6947f url('assets/textura-faq.png') center / cover no-repeat;
  color: #000;
}
#faq + .location {
  background: var(--paper);
}

/* Fundos de largura total para distinguir as seções consecutivas. */
#sobre, #faq {
  background: var(--paper);
}
#atendimentos, #iniciativas, #faq + .location {
  background: var(--white);
}
#contato {
  background: #e9dbd1;
}

/* Ritmo, profundidade e interação compartilhados entre as seções. */
:root {
  --shadow-soft: 0 2px 4px #58342f08, 0 10px 24px #58342f0d;
  --shadow-raised: 0 3px 6px #58342f0d, 0 16px 32px #58342f14;
}
.section { padding-block: clamp(64px, 7vw, 96px); }
.intro { margin-bottom: clamp(28px, 3vw, 40px); }
.intro h2 { margin-block: 18px; }
.intro > p { max-width: 58ch; margin-inline: auto; }
.center { margin-top: 32px; }
.tag { letter-spacing: .24em; }
.about {
  padding-block: clamp(48px, 5vw, 64px) clamp(64px, 7vw, 96px);
  clip-path: none;
  border-bottom: 1px solid var(--line);
}
.about > .mouse { margin-bottom: 32px; }
.about-grid { gap: clamp(28px, 4vw, 56px); }
.collage > img, .collage > img:nth-child(3) {
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}
.divider { gap: 14px; margin-block: 18px; }
.divider::before, .divider::after {
  width: clamp(48px, 8vw, 100px);
  background: var(--line);
}
.exam-grid { gap: 22px; }
.exam-grid article {
  min-height: 0;
  padding: clamp(24px, 3vw, 32px);
  box-shadow: var(--shadow-soft);
}
.exam-grid h3 { margin-bottom: 18px; line-height: 1.4; }
header { box-shadow: 0 1px 2px #58342f24, 0 4px 10px #58342f14; }
.button {
  box-shadow: 0 2px 4px #58342f18, 0 7px 16px #58342f26, inset 0 1px 0 #ffffff24;
  transition: box-shadow 220ms ease, transform 220ms ease;
}
.seal { box-shadow: 0 2px 4px #58342f12, 0 8px 20px #58342f14; }
.madre-projects { gap: 28px; }
.madre-projects .poster {
  border-radius: 14px;
  box-shadow: var(--shadow-raised);
}
.madre-projects .poster img {
  object-position: center 40%;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
}
.madre-projects h3 { font-size: 20px; line-height: 1.35; margin-top: 22px; }
.video-section .center { margin-top: 36px; }
.location-map-card { box-shadow: var(--shadow-raised); }
#faq details {
  margin-block: 12px;
  box-shadow: var(--shadow-soft);
  transition: box-shadow 220ms ease;
}
#faq details[open] { box-shadow: var(--shadow-raised); }
#faq summary { min-height: 68px; }
#faq summary:focus-visible { outline: 2px solid var(--brand); outline-offset: -5px; border-radius: 18px; }
#faq summary span {
  width: 24px;
  height: 24px;
  font: 18px/24px Arial, sans-serif;
  transition: transform 220ms ease;
}
#faq details[open] summary span { transform: rotate(45deg); }
#faq details p { line-height: 1.7; max-width: 74ch; }
.ribbon--highlights {
  color: var(--paper);
  box-shadow: inset 0 1px 0 #ffffff1a, inset 0 -1px 0 #58342f30;
}
.ribbon--highlights li { position: relative; }
.ribbon--highlights li::after {
  content: '';
  position: absolute;
  inset: 12px 0;
  width: 1px;
  background: #f2ede740;
  pointer-events: none;
}
.ribbon--highlights a { padding-block: 0; line-height: 36px; }
.ribbon--care {
  padding: 0;
  background: var(--paper);
  color: var(--brand);
  border-block: 1px solid var(--line);
  font: 400 11px/1.5 Poppins, Arial, sans-serif;
  letter-spacing: .07em;
}
.ribbon--care ul {
  width: min(100%, 980px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  text-align: center;
}
.ribbon--care li { white-space: normal; padding: 10px 12px; }
.ribbon--care li span { white-space: nowrap; }
.ribbon--care li + li { border-left: 1px solid var(--line); }
@media (hover: hover) and (pointer: fine) {
  .button:hover { box-shadow: 0 4px 8px #58342f20, 0 12px 24px #58342f30; }
  .madre-projects .poster:hover img { transform: scale(1.025); }
  #faq details:hover { box-shadow: var(--shadow-raised); }
}
@media (prefers-reduced-motion: no-preference) {
  header nav.open { animation: madre-menu-in 200ms ease-out; }
  #faq details[open] p { animation: madre-text-in 260ms ease-out; }
}
@keyframes madre-menu-in {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 1000px) {
  header .menu { min-height: 44px; padding-inline: 16px; }
  header nav { box-shadow: var(--shadow-raised); }
  header nav > a { display: flex; align-items: center; min-height: 40px; }
}
@media (max-width: 800px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(270px, 1fr);
  }
  .hero-copy { grid-area: 1 / 1; padding-bottom: 28px; }
  .hero-photo {
    grid-area: 2 / 1;
    position: relative;
    inset: auto;
    height: auto;
    min-height: 270px;
  }
  .hero-photo img { position: absolute; inset: 0; }
  .hero-surface {
    grid-area: 2 / 1;
    position: relative;
    inset: -1px auto auto 0;
    z-index: 1;
    height: 40px;
    clip-path: ellipse(72% 100% at 30% 0);
  }
  .hero > .seal {
    grid-area: 2 / 1;
    position: relative;
    inset: auto;
    align-self: start;
    justify-self: end;
    width: 80px;
    height: 80px;
    margin-right: 24px;
    transform: translateY(-20%);
  }
  .hero > .seal img { width: 54px; height: 54px; }
  .button, .about-copy .button { font-size: 12px; }
  .hero .button { font-size: 12px; }
  .exam-grid { gap: 16px; }
  .exam-grid ul { font-size: 14px; }
  .ribbon--care { font-size: 10px; letter-spacing: .02em; }
  .ribbon--care li { padding: 10px 8px; }
  #faq summary { font-size: 15px; padding: 18px; }
  #faq details p { font-size: 14px; }
}
@media (max-width: 600px) {
  .exam-grid { grid-template-columns: minmax(0, 1fr); }
  .madre-projects { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .madre-projects .poster { aspect-ratio: 4 / 5; }
}
