﻿@import url("https://fonts.googleapis.com/css2?family=Cinzel:wght@400;500;600&family=Lato:ital,wght@0,100;0,300;0,400;0,700;1,300;1,400&display=swap");
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --terracota: #9C5B34;
    --terracota-light: #C8916A;
    --bege: #F2E4D7;
    --bege-dark: #E6D3C3;
    --text: #2a1a0e;
    --muted: #907060;
}

html, body { height: 100%; }

body {
    font-family: "Lato", sans-serif;
    background: var(--bege);
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    align-items: stretch;
}

body > form {
    flex: 1;
    display: flex;
    align-items: stretch;
}

/* ─── LEFT PANEL — image / brand ─── */
.PanelLeft {
    width: 42%;
    background: var(--terracota);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 50px;
    flex-shrink: 0;
}

/* Photo background */
.PanelLeft::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('/Images/banners/homepage/01.jpg') center center / cover no-repeat;
    opacity: .7;
}

/* Gradient overlay */
.PanelLeft::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(160deg, rgba(156,91,52,.85) 0%, rgba(42,26,14,.95) 100%);
    opacity: .5;
}

.PanelLeftContent {
    position: relative;
    z-index: 2;
    text-align: center;
}

.PanelLogo {
    margin-bottom: 36px;
}
.PanelLogo img {
    height: 100px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 1;
}

.PanelQuote {
    font-family: "Lato", sans-serif;
    font-style: italic;
    font-weight: 300;
    font-size: 20px;
    line-height: 1.8;
    color: #fff;
    margin-bottom: 28px;
    max-width: 300px;
    margin-left:auto;
    margin-right:auto;
}
.PanelQuote::before { content: "\201C"; }
.PanelQuote::after  { content: "\201D"; }

.PanelDivider {
    width: 40px;
    height: 1px;
    background: #fff;
    margin: 0 auto 24px;
}

.PanelAddress {
    font-size: 13px;
    color: #fff;
    line-height: 1.8;
    letter-spacing: 0.05em;
}
.PanelAddress a {
    color: #fff;
    text-decoration: none;
}

.PanelAddress a:hover, .PanelAddress a:focus {
    text-decoration: underline;
}
/* ─── RIGHT PANEL — content ─── */
.PanelRight {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    padding: 60px 50px;
    background: var(--bege);
    overflow: auto;
}

.RightInner {
    max-width: 380px;
    width: 100%;
}

/* ─── Card ─── */
.Card {
    background: #fff;
    max-width: 520px;
    width: 100%;
    padding: 52px 50px 44px;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 60px rgba(156,91,52,.10), 0 2px 12px rgba(0,0,0,.05);
}

/* Linha decorativa no topo do card */
.Card::before {
    content: "";
    position: absolute;
    top: 0; left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 4px;
    background: var(--terracota);
}

/* ─── Logo ─── */
.Logo {
    margin-bottom: 30px;
}
.Logo img {
    height: 70px;
    width: auto;
}

/* ─── Heading ─── */
.Headline h1 {
    font-family: "Cinzel", serif;
    font-size: 22px;
    font-weight: 500;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.3;
    margin-bottom: 10px;
}
.Subline {
    font-size: 14px;
    font-weight: 300;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 8px;
}

/* Decorative divider */
.Divider {
    width: 50px;
    height: 3px;
    background: var(--bege-dark);
    margin: 20px auto 28px;
}

/* ─── Buttons ─── */
.Buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}

.Buttons a {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 22px;
    border: 1.5px solid var(--bege-dark);
    text-decoration: none;
    color: var(--text);
    background: #fff;
    transition: all 0.22s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}
.Buttons a::after {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--terracota);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
    z-index: 0;
}
.Buttons a:hover::after { transform: scaleX(1); }
.Buttons a:hover { border-color: var(--terracota); color: #fff; }
.Buttons a:hover .BtnIcon { background: rgba(255,255,255,.15); color: #fff; }
.Buttons a:hover .BtnArrow { opacity: 1; transform: translateX(0); }

.BtnIcon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--bege);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
    transition: all 0.22s;
    position: relative;
    z-index: 1;
}
.BtnText {
    flex: 1;
    text-align: left;
    position: relative;
    z-index: 1;
}
.BtnText strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-family: "Cinzel", serif;
}
.BtnText span {
    display: block;
    font-size: 12px;
    font-weight: 300;
    opacity: 0.6;
    margin-top: 2px;
}
.BtnArrow {
    font-size: 18px;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.22s;
    position: relative;
    z-index: 1;
}

/* ─── QR Code ─── */
.QRSection {
    border-top: 1px solid var(--bege-dark);
    padding-top: 28px;
}
.QRLabel {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.43;
}
#qrcode {
    display: inline-block;
}
#qrcode canvas, #qrcode img {
    border: 8px solid var(--bege);
    display: block;
}

/* ─── Footer note ─── */
.FooterNote {
    margin-top: 30px;
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 300;
}
.FooterNote strong {
    color: var(--terracota);
    font-weight: 400;
}

@media (max-width: 560px) {
    .Card { padding: 44px 24px 36px; }
    .Headline { font-size: 18px; }
}

/* ─── Mobile: stack ─── */
@media (max-width: 768px) {
    body > form {
        flex-direction: column;
    }
    .PanelLeft {
    width: 100%;
    padding: 44px 28px 36px;
    min-height: 260px;
    }
    .PanelWaves { display: none; }
    .PanelRight { padding: 40px 24px 50px; }
    .QRRow { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
    .PanelRight { padding: 32px 18px 44px; }
}
@media (max-width: 560px) {
    .Card { padding: 44px 24px 36px; }
    .Headline { font-size: 18px; }
}
