/* ============================================================
   HEADER + HERO — Layout fiel à imagem
   Topo: degradê vermelho escuro → vermelho → creme/dourado
   Curva dourada ondulada separando header da navbar
   ============================================================ */

/* ============================================================
   HEADER TOPO
   ============================================================ */
.aqp-site-header {
    position: relative;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    align-items: center;
}

/* Fundo degradê — vermelho escuro esquerda → creme/dourado direita */
.aqp-header-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 55% 120% at 0% 50%,   #6B0000 0%, transparent 55%),
        radial-gradient(ellipse 45% 100% at 25% 50%,  #A01010 0%, transparent 55%),
        radial-gradient(ellipse 40% 100% at 55% 50%,  #C0392B 0%, transparent 60%),
        radial-gradient(ellipse 50% 120% at 100% 50%, #F5E6C8 0%, transparent 55%),
        linear-gradient(108deg,
            #5C0000  0%,
            #8B0000  15%,
            #C0392B  38%,
            #D4943A  58%,
            #E8C87A  72%,
            #F5E6C8  85%,
            #FAF0DC  100%
        );
    z-index: 0;
}

/* Bokeh — bolinhas de luz */
.aqp-header-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle 4px  at 8%  25%, rgba(255,255,255,.3)  0%, transparent 100%),
        radial-gradient(circle 6px  at 18% 65%, rgba(255,200,80,.25)  0%, transparent 100%),
        radial-gradient(circle 3px  at 28% 35%, rgba(255,255,255,.2)  0%, transparent 100%),
        radial-gradient(circle 8px  at 38% 75%, rgba(255,220,100,.15) 0%, transparent 100%),
        radial-gradient(circle 5px  at 48% 20%, rgba(255,255,255,.2)  0%, transparent 100%),
        radial-gradient(circle 4px  at 58% 55%, rgba(255,200,80,.2)   0%, transparent 100%),
        radial-gradient(circle 10px at 68% 40%, rgba(255,220,100,.12) 0%, transparent 100%),
        radial-gradient(circle 3px  at 78% 70%, rgba(255,255,255,.15) 0%, transparent 100%),
        radial-gradient(circle 6px  at 88% 30%, rgba(255,200,80,.1)   0%, transparent 100%),
        radial-gradient(circle 4px  at 95% 60%, rgba(255,255,255,.12) 0%, transparent 100%);
    z-index: 1;
}

/* Corações decorativos sutis */
.aqp-header-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(circle 20px at 12% 50%, rgba(255,255,255,.06) 0%, transparent 100%),
        radial-gradient(circle 30px at 22% 30%, rgba(255,255,255,.04) 0%, transparent 100%),
        radial-gradient(circle 15px at 35% 70%, rgba(255,255,255,.05) 0%, transparent 100%);
    z-index: 1;
}

/* Conteúdo do header */
.aqp-header-inner {
    position: relative;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    gap: 1rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* LOGO */
.aqp-header-logo { text-decoration: none; }

.aqp-header-logo-img {
    max-height: 90px;
    max-width: 280px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0,0,0,.3));
}

.aqp-header-logo-default {
    display: flex;
    align-items: center;
    gap: .75rem;
}

/* Ícone de coração com anel dourado — fiel à imagem */
.aqp-header-heart {
    position: relative;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
}
.aqp-header-heart-inner {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #fff 0%, #FFD0D0 30%, #C0392B 70%, #8B0000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow:
        0 0 0 3px rgba(201,168,76,.6),
        0 0 0 5px rgba(201,168,76,.2),
        0 4px 16px rgba(0,0,0,.35);
}
.aqp-header-heart-inner i {
    font-size: 1.8rem;
    color: #C0392B;
    filter: drop-shadow(0 1px 3px rgba(0,0,0,.3));
}
/* Anel dourado */
.aqp-header-heart::after {
    content: '';
    position: absolute;
    top: -4px; right: -2px;
    width: 18px; height: 18px;
    border-radius: 50%;
    background: linear-gradient(135deg, #F0D080, #C9A84C);
    box-shadow: 0 1px 4px rgba(0,0,0,.3);
}

.aqp-header-logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}
.aqp-header-script {
    font-family: 'Dancing Script', cursive;
    font-size: 2.2rem;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0,0,0,.4);
    letter-spacing: .5px;
}
.aqp-header-serif {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #F0D080;
    text-shadow: 0 2px 10px rgba(0,0,0,.4);
    letter-spacing: 4px;
    text-transform: uppercase;
}

/* LADO DIREITO */
.aqp-header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: .5rem;
}

.aqp-header-social {
    display: flex;
    gap: .4rem;
}
.aqp-header-social a {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,.18);
    border: 1px solid rgba(255,255,255,.3);
    display: flex; align-items: center; justify-content: center;
    color: #fff;
    font-size: .75rem;
    text-decoration: none;
    transition: background .2s, transform .2s;
    backdrop-filter: blur(4px);
}
.aqp-header-social a:hover {
    background: rgba(201,168,76,.5);
    transform: translateY(-2px);
}

.aqp-header-slogan {
    font-size: .7rem;
    color: rgba(255,255,255,.65);
    margin: 0;
    text-align: right;
    font-style: italic;
    max-width: 220px;
}

/* ============================================================
   CURVA DOURADA ONDULADA — separação header / navbar
   Fiel à imagem: linha dourada curva no fundo do header
   ============================================================ */
.aqp-header-wave {
    position: relative;
    height: 28px;
    overflow: hidden;
    background: #FAF5EE; /* cor da navbar abaixo */
    margin-top: -1px;
}
.aqp-header-wave svg {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ============================================================
   NAVBAR — fundo creme abaixo da curva
   ============================================================ */
.aqp-navbar {
    background: #FAF5EE;
    border-bottom: 1px solid #E8D5B0;
    box-shadow: 0 2px 8px rgba(0,0,0,.06);
    padding: 0;
    z-index: 1000;
    position: sticky;
    top: 0;
}

.aqp-navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    min-height: 50px;
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto;
}

.aqp-nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0;
    align-items: center;
}
.aqp-nav-links li a {
    display: block;
    padding: .75rem 1rem;
    font-family: 'Lato', sans-serif;
    font-size: .9rem;
    font-weight: 600;
    color: #3D1515;
    text-decoration: none;
    letter-spacing: .2px;
    transition: color .2s;
    white-space: nowrap;
    position: relative;
}
.aqp-nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 1rem; right: 1rem;
    height: 2px;
    background: #C0392B;
    transform: scaleX(0);
    transition: transform .2s;
    border-radius: 1px;
}
.aqp-nav-links li a:hover { color: #C0392B; }
.aqp-nav-links li a:hover::after { transform: scaleX(1); }

/* Ações da navbar */
.aqp-nav-actions {
    display: flex;
    align-items: center;
    gap: .5rem;
    flex-shrink: 0;
}

/* Campo de busca */
.aqp-nav-search {
    display: flex;
    align-items: center;
    background: #fff;
    border: 1.5px solid #E8D5B0;
    border-radius: 20px;
    overflow: hidden;
    transition: border-color .2s, box-shadow .2s;
}
.aqp-nav-search:focus-within {
    border-color: #C9A84C;
    box-shadow: 0 0 0 2px rgba(201,168,76,.15);
}
.aqp-nav-search input {
    border: none; outline: none;
    padding: .35rem .75rem;
    font-size: .82rem;
    background: transparent;
    width: 110px;
    color: #3D1515;
    font-family: 'Lato', sans-serif;
}
.aqp-nav-search input::placeholder { color: #C9A84C; font-style: italic; }
.aqp-nav-search button {
    background: none; border: none;
    padding: .35rem .6rem;
    color: #C0392B;
    cursor: pointer;
    font-size: .85rem;
}

/* Botão Inscreva-se */
.aqp-btn-nav-red {
    padding: .45rem 1.4rem;
    background: linear-gradient(135deg, #E8534A, #C0392B);
    border-radius: 22px;
    color: #fff;
    font-size: .88rem;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(192,57,43,.35);
    transition: all .2s;
    white-space: nowrap;
    font-family: 'Lato', sans-serif;
    letter-spacing: .3px;
}
.aqp-btn-nav-red:hover {
    background: linear-gradient(135deg, #C0392B, #9B1B1B);
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(192,57,43,.45);
}

.aqp-btn-nav-outline {
    padding: .35rem 1rem;
    border: 1.5px solid #C0392B;
    border-radius: 20px;
    color: #C0392B;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none;
    transition: all .2s;
    white-space: nowrap;
}
.aqp-btn-nav-outline:hover { background: #C0392B; color: #fff; }

/* Toggler mobile */
.aqp-navbar-toggler {
    display: none;
    background: none;
    border: 1.5px solid #C0392B;
    border-radius: 6px;
    padding: .3rem .6rem;
    color: #C0392B;
    font-size: 1rem;
    cursor: pointer;
}

/* ============================================================
   HERO
   ============================================================ */
.aqp-hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #1A0505;
}
.aqp-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    opacity: 1;
    transition: opacity 1.2s ease-in-out;
}
.aqp-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        108deg,
        rgba(26,5,5,.85)   0%,
        rgba(44,10,10,.68) 30%,
        rgba(192,57,43,.2) 55%,
        transparent        75%
    );
}
.aqp-hero-content {
    position: relative;
    z-index: 2;
    flex: 1;
    display: flex;
    align-items: center;
    padding: 4rem 0 2rem;
}
.aqp-hero h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2rem, 5.5vw, 3.8rem);
    font-style: italic;
    font-weight: 600;
    color: #fff;
    line-height: 1.2;
    text-shadow: 0 3px 20px rgba(0,0,0,.6);
    margin-bottom: 1.5rem;
}
.aqp-hero-btn {
    display: inline-block;
    padding: .7rem 2rem;
    background: linear-gradient(135deg, #C9A84C, #A07830);
    color: #fff;
    font-family: 'Lato', sans-serif;
    font-size: .95rem;
    font-weight: 700;
    border-radius: 30px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(160,120,48,.5);
    border: 1px solid rgba(240,208,128,.4);
    transition: all .2s;
    letter-spacing: .5px;
}
.aqp-hero-btn:hover {
    background: linear-gradient(135deg, #F0D080, #C9A84C);
    color: #2C0A0A;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(160,120,48,.6);
}
.aqp-hero-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
}
.aqp-hero-slide.active { opacity: 1; }

/* ============================================================
   CONTADOR — faixa creme ondulada
   ============================================================ */
.aqp-countdown-bar {
    position: relative;
    z-index: 3;
    background: linear-gradient(180deg, #FAF0E0 0%, #FFF8F0 100%);
    padding: 1.5rem 0;
    border-top: 3px solid transparent;
    border-image: linear-gradient(90deg, transparent, #C9A84C, #F0D080, #C9A84C, transparent) 1;
}
.aqp-countdown-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.aqp-countdown-unit { display: flex; align-items: baseline; gap: .3rem; }
.aqp-countdown-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    color: #2C0A0A;
    line-height: 1;
}
.aqp-countdown-lbl {
    font-family: 'Lato', sans-serif;
    font-size: .8rem;
    color: #8A6A6A;
    font-weight: 400;
    letter-spacing: .5px;
}
.aqp-countdown-dot {
    font-size: 2rem;
    color: #C9A84C;
    font-weight: 700;
    line-height: 1;
    align-self: center;
}

/* ============================================================
   RESPONSIVO
   ============================================================ */
@media (max-width: 992px) {
    .aqp-header-inner { padding: .75rem 1.25rem; }
    .aqp-header-script { font-size: 1.8rem; }
    .aqp-header-serif  { font-size: 1.3rem; }
    .aqp-header-heart  { width: 52px; height: 52px; }
    .aqp-header-heart-inner { width: 52px; height: 52px; }
    .aqp-header-heart-inner i { font-size: 1.4rem; }
    .aqp-navbar-inner { padding: 0 1.25rem; }
    .aqp-hero { min-height: 70vh; }
}

@media (max-width: 768px) {
    .aqp-site-header { min-height: 90px; }
    .aqp-header-slogan { display: none; }
    .aqp-navbar-toggler { display: block; }
    .aqp-navbar-inner { flex-wrap: wrap; padding: .5rem 1rem; min-height: auto; }
    .aqp-nav-links {
        flex-direction: column;
        width: 100%;
        padding: .25rem 0;
        gap: 0;
    }
    .aqp-nav-links li a { padding: .55rem .5rem; }
    .aqp-nav-actions { width: 100%; padding: .5rem 0; flex-wrap: wrap; }
    .aqp-nav-search input { width: 80px; }
    .aqp-hero { min-height: 60vh; }
    .aqp-hero h1 { font-size: 1.9rem; }
    .aqp-countdown-inner { gap: 1rem; }
    .aqp-countdown-num { font-size: 2.2rem; }
    .aqp-header-script { font-size: 1.5rem; }
    .aqp-header-serif  { font-size: 1.1rem; letter-spacing: 2px; }
}

@media (max-width: 480px) {
    .aqp-header-logo-img { max-height: 65px; }
    .aqp-hero h1 { font-size: 1.6rem; }
    .aqp-countdown-num { font-size: 1.8rem; }
    .aqp-countdown-dot { font-size: 1.4rem; }
    .aqp-countdown-inner { gap: .75rem; }
}
