/* ========== VARIÁVEIS (edite as cores aqui) ========== */
:root {
    --vinho: #203b1f;
    --rosa: #f3e3e0;
    --salvia: #7f9078;
    --dourado: #b88a5a;
    --fundo: #fbf7f4;
    --texto: #2a1c22;
    --radius: 14px;
    --serif: "Cormorant Garamond", Georgia, serif;
    --sans: "Manrope", system-ui, sans-serif;
}

/* ========== BASE ========== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 72px;
}

body {
    font-family: var(--sans);
    color: var(--texto);
    background: var(--fundo);
    line-height: 1.65;
}

h1,
h2,
h3 {
    font-family: var(--serif);
    font-weight: 600;
    line-height: 1.15;
    color: var(--vinho);
}

h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1.5rem; }
h3 { font-size: 1.4rem; margin-bottom: .4rem; }

a { color: inherit; }
:focus-visible { outline: 3px solid var(--dourado); outline-offset: 3px; }

.container {
    width: min(1120px, 100% - 2.5rem);
    margin-inline: auto;
}

/* ========== BOTÕES ========== */
.btn {
    display: inline-block;
    padding: .9rem 1.6rem;
    border: 2px solid var(--vinho);
    border-radius: 999px;
    background: var(--vinho);
    color: #fff;
    font: 700 .95rem var(--sans);
    text-decoration: none;
    cursor: pointer;
    transition: background .2s, color .2s;
}

.btn:hover { background: var(--dourado); border-color: var(--dourado); }
.btn--ghost { background: transparent; color: var(--vinho); }
.btn--ghost:hover { color: #fff; }
.btn--small { padding: .55rem 1.1rem; }
.btn--light { background: var(--rosa); border-color: var(--rosa); color: var(--vinho); width: 100%; }
.btn--light:hover { background: #fff; border-color: #fff; }

/* ========== CABEÇALHO ========== */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(251, 247, 244, .94);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(59, 31, 43, .1);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.logo {
    font: 600 1.9rem var(--serif);
    color: var(--vinho);
    text-decoration: none;
}

.nav {
    display: flex;
    align-items: center;
    gap: 1.6rem;
}

.nav a:not(.btn) {
    text-decoration: none;
    font-weight: 500;
    font-size: .95rem;
}

.nav a:not(.btn):hover { color: var(--dourado); }

.menu-toggle {
    display: none;
    background: none;
    border: 0;
    padding: .5rem;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    margin: 5px 0;
    background: var(--vinho);
    transition: transform .2s, opacity .2s;
}

/* ========== HERO ========== */
.hero {
    padding: clamp(3rem, 9vw, 7rem) 0;
    
}
.video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1; /* Joga o vídeo para trás de tudo */
  background-color: #000; /* Fundo preto caso o vídeo demore a carregar */
}

/* Ajuste do vídeo para cobrir a tela sem distorcer */
.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover; /* Funciona como o background-size: cover */
}

.hero__inner {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 3rem;
    align-items: center;
}
h1{
    color: #ffffff;
}
.hero__tag { color: var(--salvia); font-weight: 700; margin-bottom: 1rem; }
.hero__lead { max-width: 52ch; margin: 1.3rem 0 2rem; font-size: 1.1rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__shape {
    aspect-ratio: 4 / 5;
    border-radius: 999px 999px var(--radius) var(--radius);
    display: grid;
    place-items: center;
}
h2{
    color: #ffffff;
}
.hero__shape span { font: 600 3rem var(--serif); color: var(--rosa); }
.hero__shape img { width: 110%; height: 100%; object-fit: cover; border-radius: inherit; }

/* ========== SEÇÕES ========== */
.section { padding: clamp(3rem, 8vw, 6rem) 0; }
.section--alt { background: var(--rosa); }
.section--dark { background: var(--vinho); color: #fff; }
.section--dark h2 { color: #fff; }
.section__lead { margin: -1rem 0 2rem; opacity: .75; }

.grid { display: grid; gap: 1.25rem; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
    padding: 1.6rem;
    border-radius: var(--radius);
    background: #fff;
}

.card--line { border-left: 4px solid var(--salvia); }

/* ========== PASSOS ========== */
.steps {
    list-style: none;
    counter-reset: passo;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.steps li {
    counter-increment: passo;
    padding-top: 1rem;
    border-top: 2px solid var(--dourado);
}

.steps li::before {
    content: counter(passo);
    display: block;
    font: 600 2.2rem var(--serif);
    color: var(--dourado);
}

/* ========== LOCALIZAÇÃO ========== */
.location {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 2.5rem;
    align-items: center;
}

.location__info p { margin-bottom: 1rem; }

.location__map iframe {
    width: 100%;
    height: 360px;
    border: 0;
    border-radius: var(--radius);
}

/* ========== FORMULÁRIO ========== */
.contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact__text p { max-width: 40ch; opacity: .85; }

.form {
    display: grid;
    gap: 1rem;
    padding: 1.8rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .07);
}

.field { display: grid; gap: .35rem; }
.field label { font-weight: 700; font-size: .9rem; }

.field input,
.field select,
.field textarea {
    width: 100%;
    padding: .8rem 1rem;
    border: 2px solid transparent;
    border-radius: 10px;
    background: #fff;
    color: var(--texto);
    font: 1rem var(--sans);
}

.field input.invalid,
.field select.invalid { border-color: #ff8a8a; }

.error { color: #ffb4b4; min-height: 1em; font-size: .85rem; }

.check { display: flex; gap: .7rem; font-size: .85rem; align-items: flex-start; }
.check input { margin-top: .25rem; accent-color: var(--dourado); }

.form__status { min-height: 1.4em; font-weight: 700; }
.form__status.ok { color: #b9e4b0; }
.form__status.fail { color: #ffb4b4; }

/* ========== RODAPÉ E WHATSAPP ========== */
.footer { padding: 1.5rem 0; font-size: .9rem; background: #000000; color: #e9d8d4; }
.footer__inner { display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between; }

.whats {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 60;
    padding: .8rem 1.2rem;
    border-radius: 999px;
    background: #25a244;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

/* ========== RESPONSIVO ========== */
@media (max-width: 960px) {
    .grid--4 { grid-template-columns: repeat(2, 1fr); }
    .grid--3 { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
    .menu-toggle { display: block; }

    .nav {
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 1rem 1.25rem 1.5rem;
        background: var(--fundo);
        border-bottom: 1px solid rgba(59, 31, 43, .1);
        display: none;
    }

    .nav.open { display: flex; }
    .nav a:not(.btn) { padding: .8rem 0; }
    .nav .btn { margin-top: .6rem; text-align: center; }

    .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

    .hero__inner,
    .location,
    .contact { grid-template-columns: 1fr; }

    .hero__inner {
    width: 220px;
    height: 950px;
    gap: 3rem;
    align-items: center;
    }

    
    
    .hero__shape {
        width: 200px; 
        height: 200px%;
    }

    .hero__visual { order: -1; max-width: 240px; }
    .grid--4,
    .grid--3,
    .steps { grid-template-columns: 1fr; }
    .location__map iframe { height: 280px; }
    .hero__actions .btn { flex: 1 1 100%; text-align: center; }
}

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