/* —— Casamento — 14.11.2026 —— */

:root {
  --green-deep: #143528;
  --green-forest: #1f5c3a;
  --green-vivid: #2a7a4b;
  --green-sage: #8fb89a;
  --green-mist: #d5e8d9;
  --green-wash: #e8f2ea;
  --paper: #f7f4ef;
  --paper-warm: #efe9df;
  --ink: #1a1f1c;
  --ink-soft: #3d4740;
  --white: #ffffff;
  --tape: rgba(255, 255, 255, 0.72);
  --shadow: 0 18px 40px rgba(20, 53, 40, 0.12);
  --radius: 2px;
  --font-script: "Caveat", cursive;
  --font-type: "Special Elite", "Courier New", monospace;
  --font-serif: "Libre Baskerville", Georgia, serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 4rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.05rem;
  line-height: 1.7;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(42, 122, 75, 0.08), transparent 50%),
    radial-gradient(ellipse at 90% 20%, rgba(143, 184, 154, 0.25), transparent 45%),
    linear-gradient(180deg, var(--green-wash) 0%, var(--paper) 28%, var(--paper) 100%);
  background-attachment: fixed;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--green-forest);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

a:hover {
  color: var(--green-vivid);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100%;
  z-index: 1000;
  background: var(--green-deep);
  color: var(--white);
  padding: 0.75rem 1rem;
}

.skip-link:focus {
  top: 1rem;
}

code {
  font-family: ui-monospace, monospace;
  font-size: 0.85em;
  background: var(--green-mist);
  padding: 0.1em 0.35em;
  border-radius: 3px;
}

/* —— Header / Nav —— */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--header-h);
  background: rgba(247, 244, 239, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(31, 92, 58, 0.12);
  transition: background 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.site-header.is-scrolled {
  background: rgba(247, 244, 239, 0.94);
  box-shadow: 0 8px 24px rgba(20, 53, 40, 0.08);
}

.nav {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-brand {
  font-family: var(--font-script);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--green-forest);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
  padding: 0;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 1.4rem;
  background: var(--green-deep);
  transition: transform 0.25s var(--ease);
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.35rem 1.1rem;
}

.nav-menu a {
  font-family: var(--font-type);
  font-size: 0.82rem;
  color: var(--ink-soft);
  text-decoration: none;
  letter-spacing: 0.04em;
}

.nav-menu a:hover,
.nav-menu a:focus-visible {
  color: var(--green-forest);
}

.nav-cta {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  background: var(--green-forest);
  color: var(--white) !important;
  border-radius: var(--radius);
}

.nav-cta:hover {
  background: var(--green-vivid);
}

/* —— Buttons —— */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  font-family: var(--font-type);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  text-decoration: none;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease),
    color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--green-forest);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(31, 92, 58, 0.25);
}

.btn-primary:hover {
  background: var(--green-vivid);
  color: var(--white);
}

.btn-light {
  background: rgba(247, 244, 239, 0.92);
  color: var(--green-deep);
}

.btn-light:hover {
  background: var(--white);
  color: var(--green-deep);
}

.btn-rsvp {
  background: var(--green-vivid);
  color: var(--white);
  font-size: 1.05rem;
  padding: 1.05rem 2rem;
  box-shadow: 0 14px 32px rgba(42, 122, 75, 0.35);
}

.btn-rsvp:hover {
  background: var(--green-forest);
  color: var(--white);
}

/* —— Hero —— */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: end stretch;
  color: var(--white);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.placeholder-photo {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, #2a3d32 0%, #1a2e24 40%, #345844 100%);
  color: rgba(255, 255, 255, 0.55);
  font-family: var(--font-type);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-align: center;
  padding: 1rem;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(20, 53, 40, 0.25) 0%,
      rgba(20, 53, 40, 0.45) 45%,
      rgba(20, 53, 40, 0.88) 100%
    );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  padding: 6rem 1.5rem 5.5rem;
  margin: 0 auto;
  text-align: center;
  animation: hero-rise 1.1s var(--ease) both;
}

@keyframes hero-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-names {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 7vw, 4.2rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.hero-names span {
  display: inline-block;
  font-family: var(--font-script);
  font-weight: 600;
  font-size: 0.72em;
  color: var(--green-sage);
  padding: 0 0.15em;
}

.hero-date {
  margin: 1rem 0 0.75rem;
  font-family: var(--font-type);
  font-size: clamp(1.1rem, 2.5vw, 1.35rem);
  letter-spacing: 0.28em;
  text-indent: 0.28em;
  color: var(--green-mist);
}

.hero-lede {
  margin: 0 auto 1.75rem;
  max-width: 28rem;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.82);
}

.countdown {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin: 0 0 1.75rem;
  flex-wrap: wrap;
}

.countdown-item {
  min-width: 4.4rem;
  padding: 0.7rem 0.55rem;
  background: rgba(20, 53, 40, 0.45);
  border: 1px solid rgba(213, 232, 217, 0.25);
  backdrop-filter: blur(6px);
}

.countdown-value {
  display: block;
  font-family: var(--font-type);
  font-size: 1.55rem;
  line-height: 1.1;
}

.countdown-label {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--green-sage);
}

.countdown-done {
  margin: 0;
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--green-mist);
}

.hero-scroll {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  width: 1.5rem;
  height: 2.2rem;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
}

.hero-scroll span {
  display: block;
  width: 4px;
  height: 4px;
  margin: 0.45rem auto 0;
  background: var(--white);
  border-radius: 50%;
  animation: scroll-dot 1.6s var(--ease) infinite;
}

@keyframes scroll-dot {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  40% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* —— Sections —— */

.section {
  padding: 5.5rem 1.25rem;
}

.section-inner {
  max-width: 1000px;
  margin: 0 auto;
}

.section-inner.narrow {
  max-width: 640px;
}

.section-header {
  text-align: center;
  margin-bottom: 2.75rem;
}

.section-header.left {
  text-align: left;
  margin-bottom: 1.5rem;
}

.section-kicker {
  margin: 0 0 0.35rem;
  font-family: var(--font-script);
  font-size: 1.65rem;
  font-weight: 600;
  color: var(--green-vivid);
  line-height: 1;
}

.section-header h2 {
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 700;
  color: var(--green-deep);
  letter-spacing: -0.02em;
}

.section-intro {
  margin: 0.9rem auto 0;
  max-width: 32rem;
  color: var(--ink-soft);
}

.hint {
  margin: 2rem 0 0;
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-soft);
  opacity: 0.8;
}

/* —— Fotos —— */

.section-fotos {
  background:
    linear-gradient(180deg, transparent, rgba(213, 232, 217, 0.45) 20%, rgba(213, 232, 217, 0.45) 80%, transparent);
}

.photo-frame {
  aspect-ratio: 4 / 5;
  background: #222;
  box-shadow: var(--shadow);
  border: 8px solid var(--paper);
  overflow: hidden;
}

.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-frame.color-photo {
  filter: none;
}

.placeholder-photo.soft-green {
  filter: none;
  background:
    linear-gradient(145deg, var(--green-mist), var(--green-sage) 60%, var(--green-forest));
  color: rgba(20, 53, 40, 0.65);
}

.foto-destaque {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.foto-destaque-media {
  margin: 0;
}

.foto-destaque-media .photo-frame {
  aspect-ratio: 5 / 4;
}

.foto-destaque-text .section-kicker {
  margin-bottom: 0.75rem;
}

.foto-destaque-text p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* Carousel */
.carousel {
  margin-top: 0.5rem;
}

.carousel-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.carousel-label {
  margin: 0;
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--green-forest);
}

.carousel-controls {
  display: flex;
  gap: 0.5rem;
}

.carousel-btn {
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid rgba(31, 92, 58, 0.25);
  background: var(--paper);
  color: var(--green-deep);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background 0.2s var(--ease), transform 0.2s var(--ease);
}

.carousel-btn:hover {
  background: var(--green-mist);
  transform: translateY(-1px);
}

.carousel-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 28%);
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.35rem 0.15rem 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--green-sage) transparent;
}

.carousel-slide {
  margin: 0;
  scroll-snap-align: start;
}

.carousel-slide .photo-frame {
  aspect-ratio: 3 / 4;
}

/* Reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* —— O dia —— */

.section-dia {
  background: var(--green-deep);
  color: var(--paper);
}

.section-dia .section-header h2 {
  color: var(--white);
}

.timeline {
  list-style: none;
  margin: 0 auto;
  padding: 0;
  position: relative;
  max-width: 560px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 5.5rem;
  top: 0.4rem;
  bottom: 0.4rem;
  width: 1px;
  background: rgba(143, 184, 154, 0.45);
}

.timeline-item {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1.5rem;
  padding: 0 0 2.25rem;
  position: relative;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: calc(5.5rem - 5px);
  top: 0.55rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green-sage);
  box-shadow: 0 0 0 4px rgba(31, 92, 58, 0.5);
}

.timeline-time {
  font-family: var(--font-type);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: var(--green-mist);
  text-align: right;
  padding-top: 0.15rem;
}

.timeline-body h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--white);
}

.timeline-body .place-name {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  color: var(--white);
}

.timeline-body .place-address,
.timeline-body .place-note {
  margin: 0 0 0.45rem;
  color: rgba(247, 244, 239, 0.72);
}

.timeline-body .btn-maps {
  margin-top: 0.85rem;
  padding: 0.55rem 0.95rem;
  font-size: 0.75rem;
  background: transparent;
  color: var(--green-mist);
  border: 1px solid rgba(213, 232, 217, 0.35);
  box-shadow: none;
}

.timeline-body .btn-maps:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  transform: none;
}

.place-name {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-deep);
}

.place-address,
.place-note {
  margin: 0 0 0.75rem;
  color: var(--ink-soft);
}

.place-note {
  font-style: italic;
}

/* —— Meteorologia (dentro de O dia) —— */

.meteo {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 300px);
  grid-template-areas:
    "kicker phone"
    "title phone"
    "lead phone"
    "quote phone";
  column-gap: 2.75rem;
  row-gap: 0.65rem;
  align-items: center;
  margin: 4rem auto 0;
  max-width: 860px;
  padding: 2.75rem 0.5rem 0;
  text-align: left;
}

.meteo::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: min(12rem, 40%);
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(143, 184, 154, 0.65),
    transparent
  );
}

.meteo-kicker {
  grid-area: kicker;
  margin: 0;
  font-family: var(--font-type);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green-sage);
}

.meteo h3 {
  grid-area: title;
  margin: 0;
  font-family: var(--font-script);
  font-size: clamp(2.1rem, 4vw, 2.6rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1;
}

.meteo-lead {
  grid-area: lead;
  margin: 0;
  max-width: 28rem;
  color: rgba(247, 244, 239, 0.86);
  font-size: 1.05rem;
  line-height: 1.75;
}

.meteo-phone {
  grid-area: phone;
  width: 100%;
  max-width: 300px;
  margin: 0;
  justify-self: end;
  padding: 10px;
  background: linear-gradient(160deg, #2a2a2a, #0d0d0d);
  border-radius: 30px;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 24px 48px rgba(0, 0, 0, 0.4);
}

.meteo-phone img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 20px;
}

.meteo-quote {
  grid-area: quote;
  margin: 0.35rem 0 0;
  max-width: 28rem;
  padding: 0;
  border: 0;
}

.meteo-quote p {
  margin: 0 0 0.45rem;
  font-style: italic;
  font-size: 0.98rem;
  line-height: 1.6;
  color: var(--green-mist);
}

.meteo-quote cite {
  display: block;
  font-family: var(--font-type);
  font-size: 0.78rem;
  font-style: normal;
  letter-spacing: 0.08em;
  color: var(--green-sage);
}

/* —— Info —— */

.info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.info-block h3 {
  margin: 0 0 0.6rem;
  font-family: var(--font-script);
  font-size: 1.85rem;
  font-weight: 600;
  color: var(--green-forest);
  line-height: 1;
}

.info-block p {
  margin: 0;
  color: var(--ink-soft);
}

/* —— Presentes —— */

.section-presentes {
  background: var(--paper-warm);
  position: relative;
}

.section-presentes::before {
  content: "";
  position: absolute;
  inset: 1.25rem;
  border: 1px dashed rgba(31, 92, 58, 0.28);
  pointer-events: none;
}

.section-presentes .section-inner {
  position: relative;
  z-index: 1;
}

.honeymoon {
  margin: 0 auto 2.5rem;
  max-width: 960px;
  text-align: center;
}

.honeymoon-emoji {
  margin: 0 0 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  font-size: clamp(3.2rem, 8vw, 4.5rem);
  line-height: 1;
  user-select: none;
}

.honeymoon-emoji-plus {
  font-family: var(--font-serif);
  font-size: 0.45em;
  font-weight: 700;
  color: var(--green-forest);
  opacity: 0.7;
}

.honeymoon-showcase {
  display: grid;
  gap: 0.85rem;
}

.honeymoon-hero {
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 8px solid var(--paper);
  max-height: min(68vh, 560px);
}

.honeymoon-hero img {
  width: 100%;
  height: min(68vh, 560px);
  object-fit: cover;
  object-position: center;
  display: block;
}

.honeymoon-mosaic {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}

.honeymoon-mosaic figure {
  margin: 0;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 8px solid var(--paper);
  aspect-ratio: 4 / 3;
}

.honeymoon-mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.iban-block {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem 1.25rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(31, 92, 58, 0.15);
}

.iban-label {
  margin: 0 0 0.5rem;
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--green-forest);
}

.iban-value {
  margin: 0 0 1.25rem;
  font-family: var(--font-type);
  font-size: clamp(0.95rem, 2.8vw, 1.15rem);
  letter-spacing: 0.06em;
  color: var(--green-deep);
  word-break: break-all;
}

.iban-feedback {
  min-height: 1.4em;
  margin: 0.85rem 0 0;
  font-size: 0.9rem;
  color: var(--green-forest);
}

/* —— RSVP —— */

.section-rsvp {
  background:
    radial-gradient(ellipse at 50% 0%, rgba(42, 122, 75, 0.18), transparent 55%),
    var(--green-mist);
  text-align: center;
}

.section-rsvp .section-intro strong {
  color: var(--green-deep);
}

/* —— Footer —— */

.site-footer {
  padding: 3rem 1.25rem;
  text-align: center;
  background: var(--green-deep);
  color: var(--green-mist);
}

.footer-script {
  margin: 0;
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--white);
}

.footer-date {
  margin: 0.35rem 0 0;
  font-family: var(--font-type);
  letter-spacing: 0.22em;
  font-size: 0.9rem;
}

/* —— Responsive —— */

@media (max-width: 860px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    inset: var(--header-h) 0 auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.25rem;
    background: rgba(247, 244, 239, 0.98);
    border-bottom: 1px solid rgba(31, 92, 58, 0.12);
    box-shadow: 0 16px 32px rgba(20, 53, 40, 0.1);
  }

  .nav-menu.is-open {
    display: flex;
  }

  .nav-menu li {
    border-bottom: 1px solid rgba(31, 92, 58, 0.08);
  }

  .nav-menu a {
    display: block;
    padding: 0.85rem 0;
  }

  .nav-cta {
    margin-top: 0.5rem;
    text-align: center;
  }

  .nav-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(5px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-5px) rotate(-45deg);
  }

  .foto-destaque,
  .info-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .honeymoon-hero,
  .honeymoon-hero img {
    max-height: 48vh;
    height: 48vh;
  }

  .honeymoon-mosaic {
    grid-template-columns: 1fr;
  }

  .honeymoon-mosaic figure {
    aspect-ratio: 16 / 10;
  }

  .meteo {
    grid-template-columns: 1fr;
    grid-template-areas:
      "kicker"
      "title"
      "lead"
      "phone"
      "quote";
    text-align: center;
    padding-top: 2.5rem;
    row-gap: 0.75rem;
  }

  .meteo::before {
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(
      90deg,
      transparent,
      rgba(143, 184, 154, 0.65),
      transparent
    );
  }

  .meteo-lead,
  .meteo-quote {
    margin-left: auto;
    margin-right: auto;
  }

  .meteo-phone {
    max-width: 240px;
    justify-self: center;
    margin: 0.35rem 0;
  }

  .carousel-track {
    grid-auto-columns: minmax(70%, 78%);
  }

  .timeline::before {
    left: 0.35rem;
  }

  .timeline-item {
    grid-template-columns: 1fr;
    padding-left: 1.6rem;
    gap: 0.35rem;
  }

  .timeline-item::before {
    left: 0;
  }

  .timeline-time {
    text-align: left;
  }

  .section-presentes::before {
    inset: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
