:root{
  /* Paleta baseada no convite (aproximações) */
  --bg: #E5E7E9;
  --ink: #2F2F2F;
  --muted: #6C7076;

  --navy: #273259;
  --navy-2: #364670;
  --blue: #58698F;

  --leaf: #9EA8B0;
  --leaf-2:#B8C5CB;

  --gold: #DEC492;

  --card: rgba(255,255,255,0.74);
  --card-strong: rgba(255,255,255,0.86);

  --shadow: 0 14px 40px rgba(0,0,0,0.10);

  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 14px;

  --container: 1080px;
  --gap: 18px;

  --hero-image: url('../../img/convite.png');
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color: var(--ink);
  background: var(--bg);
  overflow-x:hidden;
}

/* Background artistry */
.page-bg{
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:-2;
  background:
    radial-gradient(900px 900px at 12% 15%, rgba(39,50,89,0.15), transparent 65%),
    radial-gradient(800px 800px at 88% 72%, rgba(88,105,143,0.16), transparent 62%),
    radial-gradient(700px 700px at 22% 82%, rgba(222,196,146,0.14), transparent 62%),
    linear-gradient(180deg, rgba(255,255,255,0.75), rgba(255,255,255,0.10));
}

.page-bg::after{
  content:"";
  position:absolute;
  inset:-120px;
  opacity:0.16;
  background-image: var(--hero-image);
  background-size: 1200px auto;
  background-repeat:no-repeat;
  background-position: center 24%;
  filter: blur(0.2px);
  transform: scale(1.05);
}

/* Layout */
.container{
  width:min(var(--container), calc(100% - 32px));
  margin:0 auto;
}

header{
  padding: 28px 0 0;
}

.topbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.60);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(39,50,89,0.12);
}

.brand{
  display:flex;
  flex-direction:column;
  line-height:1.05;
}
.brand .title{
  font-family: "Georgia", "Times New Roman", serif;
  letter-spacing: 0.04em;
  text-transform:uppercase;
  font-size: 12px;
  color: var(--muted);
}
.brand .names{
  font-family: "Georgia", "Times New Roman", serif;
  font-size: 14px;
  color: var(--navy);
}

.lang-note{
  font-size:12px;
  color: var(--muted);
}

/* Hero */
.hero{
  margin-top: 18px;
  padding: 22px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgba(255,255,255,0.86), rgba(255,255,255,0.62));
  border: 1px solid rgba(39,50,89,0.12);
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
}

.hero::before{
  content:"";
  position:absolute;
  inset:-40px;
  opacity:0.22;
  background-image: var(--hero-image);
  background-size: 1100px auto;
  background-repeat:no-repeat;
  background-position: center 10%;
  filter: saturate(0.9) contrast(1.02);
}

.hero-inner{
  position:relative;
  display:grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 22px;
  align-items:center;
}

.h-eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(222,196,146,0.18);
  border: 1px solid rgba(222,196,146,0.48);
  color: var(--navy);
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform:uppercase;
}

.h1{
  margin: 14px 0 0;
  font-family: "Georgia", "Times New Roman", serif;
  font-size: clamp(34px, 3.6vw, 56px);
  letter-spacing: 0.01em;
  color: var(--navy);
}

.h-sub{
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 16px;
  max-width: 54ch;
}

.quote{
  margin: 18px 0 0;
  padding-left: 14px;
  border-left: 2px solid rgba(222,196,146,0.9);
  color: rgba(47,47,47,0.88);
  font-family: "Georgia","Times New Roman",serif;
}
.quote small{
  display:block;
  margin-top:6px;
  color: var(--muted);
  font-family: ui-sans-serif, system-ui;
}

.cta-row{
  margin-top: 20px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  align-items:center;
}

.btn{
  appearance:none;
  border:0;
  cursor:pointer;
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 650;
  letter-spacing: 0.02em;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, opacity .12s ease;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-decoration:none;
}

.btn-primary{
  background: linear-gradient(180deg, var(--navy), var(--navy-2));
  color:#fff;
  box-shadow: 0 12px 22px rgba(39,50,89,0.20);
}
.btn-primary:hover{ transform: translateY(-1px); }
.btn-primary:active{ transform: translateY(0px); opacity:0.96; }

.btn-ghost{
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(39,50,89,0.14);
  color: var(--navy);
}
.btn-ghost:hover{ transform: translateY(-1px); }

.micro{
  color: var(--muted);
  font-size: 12px;
}

/* Details card */
.side-card{
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(39,50,89,0.12);
  padding: 16px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.07);
}

.detail-grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:12px;
}

.detail{
  padding: 14px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(222,196,146,0.35);
}

.detail .k{
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.detail .v{
  margin-top: 6px;
  font-family: "Georgia","Times New Roman",serif;
  font-size: 18px;
  color: var(--navy);
}

/* Sections */
.section{
  margin-top: 18px;
  padding: 18px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.65);
  border: 1px solid rgba(39,50,89,0.10);
}

.section h2{
  margin:0;
  font-family:"Georgia","Times New Roman",serif;
  color: var(--navy);
  font-size: 22px;
}
.section p{
  margin: 10px 0 0;
  color: rgba(47,47,47,0.88);
  line-height:1.6;
}

/* Footer */
footer{
  padding: 18px 0 34px;
  color: var(--muted);
  font-size: 12px;
}
footer .foot-card{
  border-radius: 999px;
  padding: 10px 14px;
  background: rgba(255,255,255,0.55);
  border: 1px solid rgba(39,50,89,0.10);
  display:flex;
  justify-content:space-between;
  gap: 10px;
  flex-wrap:wrap;
}

/* Modal / Bottom sheet */
.modal-backdrop{
  position:fixed;
  inset:0;
  background: rgba(0,0,0,0.35);
  display:none;
  align-items:flex-end;
  justify-content:center;
  z-index: 50;
}
.modal-backdrop.open{ display:flex; }

.modal{
  width:min(720px, 100%);
  border-radius: 22px 22px 0 0;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.35);
  box-shadow: 0 18px 60px rgba(0,0,0,0.25);
  padding: 14px 14px 18px;
  max-height: 86vh;
  overflow:auto;
}

.modal-top{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap: 14px;
  padding: 6px 4px 10px;
}
.modal-top h3{
  margin:0;
  font-family:"Georgia","Times New Roman",serif;
  color: var(--navy);
  font-size: 22px;
}
.modal-top p{
  margin:6px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height:1.4;
}
.icon-btn{
  background: transparent;
  border: 1px solid rgba(39,50,89,0.14);
  border-radius: 999px;
  padding: 10px 12px;
  cursor:pointer;
  color: var(--navy);
}

.form{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 6px 4px 2px;
}

.field label{
  display:block;
  font-size: 12px;
  color: var(--muted);
  margin-bottom:6px;
  letter-spacing:0.02em;
}
.field input{
  width:100%;
  border-radius: 14px;
  border: 1px solid rgba(39,50,89,0.14);
  padding: 14px 14px;
  font-size: 15px;
  outline:none;
  background: rgba(255,255,255,0.92);
}
.field input:focus{
  border-color: rgba(39,50,89,0.35);
  box-shadow: 0 0 0 4px rgba(39,50,89,0.08);
}

.notice{
  margin-top: 6px;
  font-size: 12px;
  color: var(--muted);
}

.form-actions{
  display:flex;
  gap: 10px;
  flex-wrap:wrap;
  align-items:center;
  margin-top: 2px;
}
.form-actions .btn{ width: 100%; }
.status{
  margin-top: 8px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(39,50,89,0.12);
  background: rgba(255,255,255,0.72);
  font-size: 13px;
  color: rgba(47,47,47,0.92);
  display:none;
}
.status.show{ display:block; }
.status.success{ border-color: rgba(0,128,96,0.25); }
.status.error{ border-color: rgba(180,0,0,0.22); }

hr.sep{
  border:0;
  height:1px;
  background: rgba(39,50,89,0.10);
  margin: 10px 4px;
}

/* Obrigado */
.thanks{
  margin-top: 18px;
  padding: 22px;
  border-radius: var(--radius-xl);
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(39,50,89,0.10);
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
}
.thanks::before{
  content:"";
  position:absolute;
  inset:-60px;
  opacity:0.18;
  background-image: var(--hero-image);
  background-size: 1000px auto;
  background-repeat:no-repeat;
  background-position: center 18%;
}
.thanks-inner{ position:relative; }

.map-wrap{
  margin-top: 14px;
  border-radius: var(--radius-xl);
  overflow:hidden;
  border: 1px solid rgba(39,50,89,0.12);
  background: rgba(255,255,255,0.85);
}
.map-wrap iframe{
  width:100%;
  height: 320px;
  border:0;
  display:block;
}

@media (min-width: 760px){
  .modal-backdrop{
    align-items:center;
  }
  .modal{
    border-radius: 22px;
    max-height: 86vh;
  }
  .form-actions .btn{ width: auto; }
}

@media (max-width: 980px){
  .hero-inner{
    grid-template-columns: 1fr;
  }
  .side-card{ order: 2; }
}



/* CleverFox CTA strip (continuidade após rodapé) */
.cf-strip{
  margin: 10px 0 26px;
  padding: 14px 0;
}

.cf-strip-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
  flex-wrap:wrap;

  border-radius: 999px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.62);
  border: 1px solid rgba(39,50,89,0.10);
  backdrop-filter: blur(10px);
}

.cf-left{
  display:flex;
  align-items:center;
  gap: 12px;
  flex-wrap:wrap;
}

.cf-badge{
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--navy);
  background: rgba(222,196,146,0.16);
  border: 1px solid rgba(222,196,146,0.42);
  white-space: nowrap;
}

.cf-text{
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.35;
  max-width: 70ch;
}

.cf-btn{
  padding: 12px 16px;
  white-space: nowrap;
}

/* Mobile: CTA ocupa largura com bom toque */
@media (max-width: 560px){
  .cf-strip-inner{ border-radius: 22px; }
  .cf-btn{ width: 100%; }
  .cf-text{ width: 100%; }
}
