@import "tailwindcss";

:root {
  --cream: #f8f1eb;
  --paper: #fffaf6;
  --peach: #f3ddd2;
  --wine: #8f2145;
  --wine-dark: #67162f;
  --rose: #c64972;
  --rose-soft: #ead0d8;
  --ink: #3f302d;
  --muted: #75615b;
  --line: rgba(143, 33, 69, 0.17);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "Avenir Next", "Segoe UI", Arial, Helvetica, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 14px;
  left: clamp(12px, 2vw, 28px);
  right: clamp(12px, 2vw, 28px);
  min-height: 78px;
  padding: 10px clamp(20px, 5vw, 72px);
  display: flex;
  align-items: center;
  gap: 36px;
  background: rgba(255, 250, 246, .93);
  border-bottom: 1px solid var(--line);
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 22px;
  box-shadow: 0 14px 40px rgba(77,42,42,.11);
  backdrop-filter: blur(14px);
}
.brand { margin-right: auto; }
.brand img { width: 190px; height: 58px; object-fit: contain; object-position: left center; }
nav { display: flex; gap: 26px; align-items: center; font-size: .89rem; font-weight: 700; }
nav a { position: relative; padding: 10px 0; }
nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 4px; height: 2px; background: var(--rose); transition: right .25s ease; }
nav a:hover::after, nav a:focus-visible::after { right: 0; }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 24px;
  border-radius: 999px;
  background: var(--wine);
  color: white;
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(103, 22, 47, .22);
  transition: transform .2s ease, background .2s ease;
}
.button:hover { background: var(--wine-dark); transform: translateY(-2px); }
.button-small { min-height: 44px; padding: 10px 19px; font-size: .88rem; box-shadow: none; }

.hero {
  min-height: 780px;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  margin: 0 14px;
  padding: 150px clamp(22px, 8vw, 120px) 72px;
  border-radius: 0 0 38px 38px;
}
.hero-image, .hero-wash { position: absolute; inset: 0; }
.hero-image {
  background-image: url('images/cari-nonni-hero-ilustracao.png');
  background-size: cover;
  background-position: center;
}
.hero-wash { background: linear-gradient(90deg, rgba(31,18,20,.92) 0%, rgba(55,25,31,.78) 42%, rgba(55,25,31,.16) 72%, rgba(55,25,31,.06) 100%), linear-gradient(0deg, rgba(34,19,21,.58), transparent 50%); }
.hero-content { position: relative; z-index: 2; width: min(760px, 100%); color: white; }
.eyebrow { margin: 0 0 14px; text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; font-weight: 900; color: var(--rose); }
.hero .eyebrow { color: #f4b5c7; }
h1, h2, h3 { margin-top: 0; line-height: 1.08; }
h1, h2 { font-family: Georgia, 'Times New Roman', serif; font-weight: 500; }
h1 { margin-bottom: 24px; font-size: clamp(2.7rem, 5.6vw, 5.8rem); letter-spacing: -.035em; }
h2 { margin-bottom: 24px; font-size: clamp(2.25rem, 4.2vw, 4.1rem); color: var(--wine); letter-spacing: -.025em; }
.hero-copy { max-width: 670px; font-size: clamp(1.05rem, 1.7vw, 1.3rem); line-height: 1.6; color: rgba(255,255,255,.9); }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 22px; margin-top: 32px; }
.text-link { display: inline-flex; align-items: center; gap: 9px; padding: 10px 0; font-weight: 800; border-bottom: 1px solid currentColor; }
.text-link.wine { color: var(--wine); margin-top: 18px; }
.hero-details { display: flex; flex-wrap: wrap; gap: 18px 42px; margin-top: 48px; padding-top: 26px; border-top: 1px solid rgba(255,255,255,.25); font-size: .9rem; }
.hero-details span { display: grid; }
.hero-details strong { color: #f6c9d5; text-transform: uppercase; letter-spacing: .1em; font-size: .73rem; }

.section { padding: 110px clamp(22px, 7vw, 110px); }
.section-heading { max-width: 790px; margin-bottom: 60px; }
.what-is { background: linear-gradient(135deg, #f6e8e4 0%, #fbf4ef 100%); }
.what-is-grid { display: grid; grid-template-columns: .78fr 1.22fr; gap: clamp(48px, 8vw, 120px); align-items: start; }
.what-is-heading { max-width: 560px; }
.what-is-heading h2 { margin-bottom: 0; font-size: clamp(2.25rem, 3.8vw, 3.7rem); }
.what-is-copy { max-width: 790px; color: var(--muted); }
.what-is-copy .lead { margin-top: 0; font-size: clamp(1.2rem, 1.8vw, 1.55rem); }
.what-is-copy > p:last-child { margin-bottom: 0; }
.intro { background: var(--paper); }
.intro-grid { display: grid; grid-template-columns: .9fr 1.35fr; gap: clamp(50px, 8vw, 120px); align-items: start; }
.intro-copy { color: var(--muted); }
.lead { font-family: Georgia, 'Times New Roman', serif; font-size: clamp(1.35rem, 2.1vw, 1.8rem); line-height: 1.45; color: var(--ink); }
.routine-side { align-self: stretch; padding: clamp(30px, 4vw, 48px); border-radius: 28px; background: var(--wine); color: white; box-shadow: 0 22px 52px rgba(79,41,47,.12); }
.routine-side-label { margin: 0 0 8px; color: #f4bfd0; text-transform: uppercase; letter-spacing: .17em; font-size: .72rem; font-weight: 900; }
.check-list { list-style: none; margin: 30px 0 0; padding: 0; }
.check-list li { position: relative; padding: 15px 0 15px 38px; border-bottom: 1px solid rgba(255,255,255,.2); font-weight: 700; }
.check-list li:last-child { border-bottom: 0; }
.check-list li::before { content: "♡"; position: absolute; left: 0; top: 11px; color: #f4bfd0; font-size: 1.25rem; }

.centered { margin-left: auto; margin-right: auto; text-align: center; }
.section-heading.centered > p:last-child { max-width: 690px; margin: -8px auto 0; color: var(--muted); }

.day-flow { background: var(--wine-dark); color: white; }
.day-flow h2 { color: white; }
.day-flow .eyebrow { color: #f3b4c6; }
.day-flow .section-heading > p:last-child { color: rgba(255,255,255,.72); }
.timeline { max-width: 1060px; margin: 0 auto; display: grid; }
.timeline article { display: grid; grid-template-columns: 90px 1fr; gap: 28px; padding: 30px 0; border-top: 1px solid rgba(255,255,255,.16); }
.timeline article:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.timeline-number { display: grid; place-items: center; align-self: start; width: 58px; height: 58px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); color: #f4bfd0; font-family: Georgia, serif; }
.timeline h3 { margin: 2px 0 8px; font-family: Georgia, serif; font-size: 1.65rem; font-weight: 500; }
.timeline p { margin: 0; color: rgba(255,255,255,.72); }
.timeline-time { color: #f4bfd0 !important; text-transform: uppercase; letter-spacing: .15em; font-size: .72rem; font-weight: 900; }

.team { background: var(--paper); }
.team-intro, .activities-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 8vw, 110px); align-items: end; margin-bottom: 58px; }
.team-intro h2, .activities-heading h2 { margin-bottom: 0; }
.team-intro > p, .activities-heading > p { margin: 0 0 8px; color: var(--muted); }
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.team-grid article { min-height: 250px; padding: 28px; border-radius: 22px; background: var(--cream); border: 1px solid var(--line); transition: transform .25s ease, box-shadow .25s ease; }
.team-grid article:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(79,41,47,.08); }
.team-grid article:nth-child(8) { background: var(--wine); color: white; }
.team-grid article:nth-child(8) h3 { color: white; }
.team-grid article:nth-child(8) p { color: rgba(255,255,255,.82); }
.team-grid article:nth-child(8) .team-icon { color: white; border-color: rgba(255,255,255,.42); background: rgba(255,255,255,.08); }
.team-icon { display: grid; place-items: center; width: 54px; height: 54px; margin-bottom: 34px; border: 1px solid rgba(143,33,69,.25); border-radius: 50%; color: var(--rose); background: rgba(255,255,255,.5); }
.team-icon svg { width: 27px; height: 27px; stroke-width: 1.6; }
.team-grid h3 { margin-bottom: 12px; color: var(--wine); font-family: Georgia, serif; font-size: 1.45rem; font-weight: 500; }
.team-grid p { margin: 0; color: var(--muted); font-size: .92rem; line-height: 1.55; }

.activities { background: linear-gradient(180deg, #f4e6e7 0%, #f7ece8 100%); }
.activity-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 34px; margin-bottom: 64px; }
.activity-list article { padding: 22px 0; border-top: 1px solid rgba(143, 33, 69, .22); }
.activity-list article:nth-last-child(-n+3) { border-bottom: 1px solid rgba(143, 33, 69, .22); }
.activity-list strong { color: var(--wine); font-family: Georgia, serif; font-size: 1.3rem; font-weight: 500; }
.activity-list p { margin: 5px 0 0; color: var(--muted); font-size: .92rem; }
.activity-gallery { columns: 3; column-gap: 18px; }
.activity-gallery figure { position: relative; break-inside: avoid; margin: 0 0 18px; overflow: hidden; border-radius: 22px; background: var(--paper); box-shadow: 0 14px 35px rgba(81,41,47,.1); }
.activity-gallery img { width: 100%; height: auto; object-fit: contain; }
.activity-gallery figcaption { padding: 12px 15px; color: var(--wine); background: var(--paper); font-size: .76rem; font-weight: 900; }

.space { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(44px, 7vw, 95px); align-items: center; }
.space-photo img { width: 100%; min-height: 610px; object-fit: cover; border-radius: 28px 28px 180px 28px; box-shadow: 0 28px 70px rgba(81,41,47,.16); }
.space-copy > p:not(.eyebrow) { color: var(--muted); }
.space-points { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.space-points span { padding: 8px 12px; border-radius: 999px; background: white; border: 1px solid var(--line); color: var(--wine); font-size: .82rem; font-weight: 800; }

.contact { padding-top: 70px; padding-bottom: 70px; background: var(--cream); }
.contact-card { padding: clamp(45px, 7vw, 90px); border-radius: 38px; background: linear-gradient(145deg, var(--wine), var(--wine-dark)); color: white; text-align: center; overflow: hidden; position: relative; box-shadow: 0 30px 70px rgba(81,41,47,.17); }
.contact-card::before, .contact-card::after { content: "♡"; position: absolute; color: rgba(255,255,255,.06); font-family: Georgia, serif; font-size: 17rem; }
.contact-card::before { left: -40px; top: -110px; transform: rotate(-20deg); }
.contact-card::after { right: -20px; bottom: -150px; transform: rotate(18deg); }
.contact-card > * { position: relative; z-index: 1; }
.contact-card > img { width: 240px; max-height: 150px; margin: 0 auto 32px; object-fit: contain; padding: 14px 20px; border-radius: 22px; background: rgba(255,250,246,.96); box-shadow: 0 12px 30px rgba(58,17,30,.18); }
.contact-card .eyebrow { color: #f4bfd0; }
.contact-card h2 { max-width: 780px; margin-left: auto; margin-right: auto; color: white; }
.contact-lead { max-width: 700px; margin: 0 auto 30px; color: rgba(255,255,255,.8); }
.button.light { background: white; color: var(--wine); box-shadow: none; }
.button.light:hover { background: #fdeff3; }
.contact-details { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 22px; max-width: 910px; margin: 54px auto 0; padding-top: 34px; border-top: 1px solid rgba(255,255,255,.22); text-align: left; }
.contact-details div { display: grid; align-content: start; gap: 8px; }
.contact-details span { color: #f4bfd0; text-transform: uppercase; letter-spacing: .14em; font-size: .68rem; font-weight: 900; }
.contact-details strong { font-size: .92rem; line-height: 1.55; }
.social-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 18px 34px; margin-top: 34px; font-size: .85rem; font-weight: 800; }
.social-links a { border-bottom: 1px solid rgba(255,255,255,.45); }

footer { padding: 45px 22px 90px; background: var(--paper); text-align: center; color: var(--muted); font-size: .82rem; }
footer img { width: 160px; max-height: 95px; object-fit: contain; margin: 0 auto 18px; }
footer p { margin: 4px 0; }

.whatsapp-float { position: fixed; z-index: 55; right: 22px; bottom: 22px; display: flex; align-items: center; gap: 8px; padding: 12px 17px; border-radius: 999px; background: #257d4c; color: white; font-weight: 900; box-shadow: 0 12px 35px rgba(23, 80, 48, .3); }

@media (max-width: 1050px) {
  nav { display: none; }
  .what-is-grid, .intro-grid, .space { grid-template-columns: 1fr; }
  .what-is-heading { max-width: 760px; }
  .intro-copy { max-width: 760px; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .activity-gallery { columns: 2; }
  .space-photo img { min-height: auto; aspect-ratio: 16/9; border-radius: 28px 28px 110px 28px; }
}

@media (max-width: 680px) {
  body { font-size: 16px; }
  .site-header { top: 8px; left: 8px; right: 8px; min-height: 72px; padding: 8px 14px; border-radius: 18px; }
  .brand img { width: 145px; height: 50px; }
  .button-small { padding: 9px 13px; font-size: .78rem; }
  .hero { min-height: 720px; margin: 0 6px; padding: 120px 20px 54px; border-radius: 0 0 26px 26px; }
  .hero-image { background-position: 60% center; }
  .hero-wash { background: linear-gradient(90deg, rgba(35,18,22,.9), rgba(48,20,28,.57)), linear-gradient(0deg, rgba(35,18,22,.72), transparent 70%); }
  h1 { font-size: clamp(2.45rem, 12vw, 4rem); }
  h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .hero-details { margin-top: 32px; }
  .section { padding: 78px 20px; }
  .team-intro, .activities-heading { grid-template-columns: 1fr; gap: 20px; }
  .team-grid { grid-template-columns: 1fr; }
  .team-grid article { min-height: auto; }
  .team-icon { margin-bottom: 26px; }
  .timeline article { grid-template-columns: 52px 1fr; gap: 16px; }
  .timeline-number { width: 46px; height: 46px; }
  .activity-list { grid-template-columns: 1fr; margin-bottom: 42px; }
  .activity-list article:nth-last-child(-n+3) { border-bottom: 0; }
  .activity-list article:last-child { border-bottom: 1px solid rgba(143, 33, 69, .22); }
  .activity-gallery { columns: 1; }
  .contact-card { border-radius: 24px; }
  .contact-details { grid-template-columns: 1fr; text-align: center; }
  .whatsapp-float { right: 14px; bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
