:root{
  --olive: #4a5a3f;        /* fundo verde */
  --olive-2:#5b6a4f;       /* variaÃ§Ã£o */
  --light: #f6f4ef;        /* fundo claro */
  --text: #1f2a1f;
  --muted: rgba(255,255,255,.75);
  --line: rgba(255,255,255,.22);
  --accent: #e25b2f;       /* botÃ£o laranja */
  --radius: 18px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; }
body{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--olive);
}

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

.container{
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
}

.topbar{
  background: rgba(255,255,255,.88);
  color:#2a2a2a;
  font-size: 14px;
}
.topbar__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 10px 0;
}
.link{ color:#2a2a2a; text-decoration:none; }
.link:hover{ text-decoration:underline; }

.hero{
  padding: 38px 0 46px;
  background: var(--olive);
}
.hero__inner{
  display:flex;
  justify-content:center;
}
.hero__card{
  width: min(760px, 100%);
  text-align:center;
}
.hero__photo{
  width: min(420px, 85vw);
  margin: 0 auto 18px;
  border-radius: 8px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: 0 20px 40px rgba(0,0,0,.22);
}
.hero__names{
  margin: 0;
  font-family: "Great Vibes", cursive;
  font-size: clamp(54px, 6.5vw, 88px);
  font-weight: 400;
  line-height: 1.0;
  color: #fff;
}
.hero__quote{
  margin: 10px auto 22px;
  max-width: 640px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
}
.hero__cta{
  display:flex;
  gap: 14px;
  justify-content:center;
  flex-wrap:wrap;
}

.btn{
  appearance:none;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 12px 18px;
  font-weight: 600;
  font-size: 14px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  cursor:pointer;
  transition: transform .08s ease, opacity .15s ease, background .15s ease, border-color .15s ease;
}
.btn:active{ transform: translateY(1px); }

.btn--primary{
  background: var(--accent);
  color:#fff;
}
.btn--primary:hover{ opacity:.92; }

.btn--ghost{
  background: rgba(255,255,255,0.12);
  border: 1px solid #fff;
  color: #fff;
  backdrop-filter: blur(2px);
  transition: all .25s ease;
}

.btn--ghost:hover{
  background: rgba(255,255,255,0.18);
  border-color: #fff;
  color: #fff;
  box-shadow: 0 0 20px rgba(255,255,255,.12);
  transform: translateY(-1px);
}

.section{
  padding: 44px 0 54px;
}
.section--light{
  background: var(--light);
}
.section--olive{
  background: var(--olive);
}
.section__title{
  margin: 0 0 10px;
  text-align:center;
  font-size: 34px;
  letter-spacing: .2px;
  color: #2c3a2c;
}
.section__text{
  margin: 0 auto 26px;
  max-width: 820px;
  text-align:center;
  color: #445244;
  line-height: 1.6;
  font-size: 14px;
}

.photo-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 18px;
}
.photo-grid__item{
  margin:0;
  border-radius: 10px;
  overflow:hidden;
  border: 1px solid rgba(0,0,0,.08);
  background:#fff;
}
.photo-grid__item img{
  width:100%;
  height: 100%;
  object-fit: cover;
}

.cards{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
  align-items:start;
  margin-top: 10px;
}

.info-card{
  color:#fff;
}
.info-card__head{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  margin-bottom: 12px;
}
.info-card__emoji{
  font-size: 20px;
}
.info-card__title{
  margin:0;
  font-size: 20px;
  font-weight: 700;
}

.info-card__box{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
  background: rgba(255,255,255,.06);
}
.info-card__place{
  font-weight: 800;
  font-size: 20px;
  margin-bottom: 6px;
  text-align:center;
}
.info-card__address{
  text-align:center;
  color: rgba(255,255,255,.75);
  font-size: 13px;
  margin-bottom: 16px;
}
.info-card__actions{
  display:flex;
  gap: 12px;
  justify-content:center;
  flex-wrap:wrap;
}
.btn--small{
  padding: 10px 14px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 13px;
}
.btn--outline{
  background: rgba(255,255,255,0.10);
  border: 1px solid #fff;
  color: #fff;
  transition: all .25s ease;
}

.btn--outline:hover{
  background: rgba(255,255,255,0.18);
  border-color: #fff;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 0 15px rgba(255,255,255,.12);
}
.footer{
  background: rgba(255,255,255,.88);
  color:#2a2a2a;
  font-size: 14px;
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding: 12px 0;
}
.footer__right{
  color:#2a2a2a;
  text-decoration:none;
}
.footer__right:hover{ text-decoration: underline; }

.rsvp-box{
  margin-top: 18px;
  display:flex;
  justify-content:center;
}

/* Responsivo */
@media (max-width: 920px){
  .photo-grid{ grid-template-columns: repeat(2, 1fr); }
  .photo-grid__item img{ height: 180px; }
}
@media (max-width: 720px){
  .cards{ grid-template-columns: 1fr; }
  .section__title{ font-size: 28px; }
}

/* estilo da confirmaÃ§Ã£o*/

.page{
  background: #4b563f;
  padding: 48px 16px;
  min-height: calc(100vh - 48px);
}

.container-sm{
  max-width: 720px;
  margin: 0 auto;
}

.card{
  background: #f4f0ea;
  border-radius: 16px;
  box-shadow: 0 12px 30px rgba(0,0,0,.15);
  padding: 24px;
}

.card__header{ margin-bottom: 16px; }

.h1{ font-size: 32px; margin: 0 0 6px; color: #1d2a1f; }
.h2{ font-size: 18px; margin: 0; color: #1d2a1f; }

.muted{ margin: 0; opacity: .78; }

.form{ margin-top: 12px; }
.field{ margin-bottom: 14px; }

.label{ display:block; font-weight:600; margin-bottom:8px; }

.input{
  width: 100%;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.18);
  padding: 0 12px;
  background: #fff;
  outline: none;
}

.input:focus{
  border-color: rgba(227, 90, 30, .75);
  box-shadow: 0 0 0 4px rgba(227, 90, 30, .18);
}

.divider{
  height: 1px;
  background: rgba(0,0,0,.10);
  margin: 16px 0;
}

.row{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 16px;
  margin-bottom: 12px;
}

.stack{
  display:flex;
  flex-direction:column;
  gap:10px;
}

.companion{
  display:flex;
  gap: 10px;
  align-items:center;
}

.iconbtn{
  width: 44px;
  height: 44px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.18);
  background: #fff;
  cursor: pointer;
}

.actions{
  display:flex;
  align-items:center;
  gap: 14px;
  margin-top: 18px;
  flex-wrap: wrap;
}

.btn{
  height: 46px;
  border-radius: 12px;
  padding: 0 18px;
  border: 1px solid transparent;
  cursor: pointer;
  font-weight: 700;
}

.btn--primary{
  background: #e35a1e;
  color: #fff;
}

.btn--primary:hover{ filter: brightness(.96); }

.btn--secondary{
  background: transparent;
  border-color: rgba(0,0,0,.22);
  color: #1d2a1f;
}

.btn[disabled]{ opacity: .7; cursor: not-allowed; }

.link{
  color: #1d2a1f;
  text-decoration: underline;
  opacity: .85;
}

.alert{
  border-radius: 12px;
  padding: 12px 14px;
  margin: 10px 0 14px;
  border: 1px solid rgba(0,0,0,.12);
}

.alert--success{ background: rgba(46, 160, 67, .10); }
.alert--error{ background: rgba(220, 38, 38, .10); }

.error{ color: #b42318; margin: 8px 0 0; font-size: 13px; }
.hint{ margin: 14px 0 0; opacity: .8; font-size: 13px; }

@media (max-width: 520px){
  .card{ padding: 18px; }
  .h1{ font-size: 26px; }
  .row{ flex-direction: column; align-items: stretch; }
  .btn--secondary{ width: 100%; }
}

/* =========================
   Gifts (Lista de Presentes)
========================= */

.gift-head{
  text-align:center;
  margin-bottom: 28px;
}
.gift-title{
  margin: 0 0 6px;
  font-size: 38px;
  letter-spacing: .2px;
  color: #ffffff;
}
.gift-subtitle{
  margin: 0;
  color: #f0f0f0;
}

/* Success box */
.gift-success{
  border: 1px solid rgba(44,58,44,.15);
  background: #ffffff;
  border-radius: 16px;
  padding: 18px;
  margin: 0 auto 18px;
  max-width: 820px;
  box-shadow: 0 18px 30px rgba(0,0,0,.06);
}
.gift-success__title{
  margin: 0 0 6px;
  font-size: 22px;
  color: #2c3a2c;
}
.gift-success__text{
  margin: 0;
  color: #445244;
}
.gift-success__box{
  margin-top: 12px;
  border: 1px solid rgba(44,58,44,.12);
  border-radius: 14px;
  padding: 14px;
  background: rgba(246,244,239,.75);
}
.gift-success__label{
  margin: 0 0 8px;
  color: #445244;
  font-size: 13px;
}
.gift-success__pix{
  margin: 0;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  background: rgba(0,0,0,.04);
  padding: 10px 12px;
  border-radius: 10px;
  word-break: break-all;
}
.gift-success__value{
  margin: 10px 0 0;
  font-weight: 800;
  color: #2c3a2c;
}

/* Grid */
.gift-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 18px;
}
@media (max-width: 980px){
  .gift-grid{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .gift-grid{ grid-template-columns: 1fr; }
}

/* Card */
.gift-card{
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 16px;
  overflow:hidden;
  box-shadow: 0 14px 26px rgba(0,0,0,.06);
  transition: transform .12s ease, box-shadow .2s ease;
}
.gift-card:hover{
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(0,0,0,.10);
}
.gift-card__media{
  height: 190px;
  background: rgba(0,0,0,.04);
}
.gift-card__media img{
  width:100%;
  height:100%;
  object-fit: cover;
}
.gift-card__placeholder{
  height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size: 44px;
  opacity: .55;
}
.gift-card__body{
  padding: 16px;
}
.gift-card__name{
  margin: 0 0 8px;
  font-size: 18px;
  color: #2c3a2c;
}
.gift-card__price{
  font-size: 20px;
  font-weight: 800;
  color: #2c3a2c;
  margin-bottom: 12px;
}
.gift-card__btn{
  width: 100%;
}

/* Modal */
.gift-modal__overlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 18px;
  z-index: 50;
}
.gift-modal{
  width: min(520px, 100%);
  background: #fff;
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 26px 60px rgba(0,0,0,.28);
}
.gift-modal__title{
  margin: 0 0 8px;
  font-size: 22px;
  color: #2c3a2c;
}
.gift-modal__text{
  margin: 0 0 8px;
  color: #445244;
}
.gift-modal__price{
  margin: 0 0 16px;
  font-weight: 900;
  font-size: 20px;
  color: #2c3a2c;
}
.gift-modal__field{
  margin-bottom: 14px;
}
.gift-modal__label{
  display:block;
  font-weight: 700;
  margin-bottom: 8px;
  color: #2c3a2c;
}
.gift-modal__input{
  width:100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,.15);
  outline: none;
}
.gift-modal__input:focus{
  border-color: rgba(0,0,0,.25);
  box-shadow: 0 0 0 4px rgba(226,91,47,.15);
}
.gift-modal__actions{
  display:flex;
  gap: 12px;
}
.gift-modal__btn{
  flex: 1;
}

/* =========================
   TIMELINE (MOBILE FIRST)
   ========================= */

.timeline{
  position: relative;
  margin-top: 30px;
  padding-left: 24px;
  display: grid;
  gap: 18px;
}

.timeline::before{
  content:"";
  position:absolute;
  left: 10px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: rgba(0,0,0,.12);
}

.timeline__item{
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 14px;
  align-items: start;
}

.timeline__center{
  display: contents; /* no mobile, deixa dot + pÃ­lula seguirem o grid normal */
}

.timeline__dot{
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: #5c6f55;
  box-shadow: 0 0 0 4px rgba(92,111,85,.15);
  margin-top: 6px;
}

.timeline__year-pill{
  display: none; /* sÃ³ aparece no desktop */
}

.timeline__content{
  background: #ffffff;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 16px;
  padding: 18px;
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
}

.timeline__meta{
  display: flex;
  align-items: center;
  gap: 10px;
}

.timeline__icon{
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(92,111,85,.10);
  border: 1px solid rgba(92,111,85,.22);
  font-size: 14px;
}

.timeline__year{
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .12em;
  color: #5c6f55;
  text-transform: uppercase;
}

.timeline__title{
  font-weight: 900;
  font-size: 18px;
  margin-top: 6px;
  color: #1f2b1f;
}

.timeline__text{
  margin-top: 8px;
  font-size: 15px;
  line-height: 1.6;
  color: #555;
}

/* =========================
   DESKTOP: ANOS EM COLUNA + ALTERNANDO
   ========================= */

@media (min-width: 980px){
  .timeline{
    padding-left: 0;
    gap: 26px;
  }

  .timeline::before{
    left: 50%;
    transform: translateX(-1px);
  }

  .timeline__item{
    grid-template-columns: 1fr 170px 1fr; /* esquerda | centro | direita */
    gap: 28px;
    align-items: center;
  }

  .timeline__center{
    grid-column: 2;
    justify-self: center;
    display: grid;
    justify-items: center;
    gap: 10px;
  }

  .timeline__dot{
    margin-top: 0;
  }

  .timeline__year-pill{
    display: inline-flex;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(0,0,0,.10);
    box-shadow: 0 12px 28px rgba(0,0,0,.07);
    font-weight: 900;
    letter-spacing: .14em;
    color: #5c6f55;
    text-transform: uppercase;
    font-size: 11px;
  }

  .timeline__content{
    max-width: 520px;
    padding: 22px;
  }

  /* Ã­mpares: esquerda */
  .timeline__item:nth-child(odd) .timeline__content{
    grid-column: 1;
    justify-self: end;
    text-align: right;
  }
  .timeline__item:nth-child(odd) .timeline__meta{
    justify-content: flex-end;
  }

  /* pares: direita */
  .timeline__item:nth-child(even) .timeline__content{
    grid-column: 3;
    justify-self: start;
    text-align: left;
  }
}

/* Destaque do Ãºltimo (2026) */
.timeline__item--final .timeline__dot{
  background: #e56a2a; /* combina com teu laranja */
  box-shadow: 0 0 0 5px rgba(229,106,42,.18);
}